First of all: I realize making a smooth modding experience isn't a priority yet. I might just be doing something wrong. I'm not just asking for a revert - In generally I support increasing modularity. This mostly revolves around the sub-scenes in live_game, which is where I've worked so far. There are more scenes in the debugger list, all labeled "Coherent UI View", and they appear in random order. At least before I could figure out that the main game view was 3/4. I don't suppose that you have a hook to put a useful label on the items in the scene list? Because the sub-scenes are created and destroyed dynamically, I have go through the above randomly-sorted list every time instead of simply getting the debugger in place and leaving it up. I'm also curious about the rational for the change. Is it just for your own sanity, or was the intent that status bar modders would just shadow the entire scene?
Found another one: I can't use the debugger feature to click on the desired element in a sub-scene and have it highlighted in the elements panel.
Debugger it's just HTML/javascript files and you don't actually need executable at all. So you might try to host them on local server and use from any browser, this way it's usually work better.
I think they are trying to reduce the size of live_game.js. I welcome that. The current way seems to be kind of ugly towards the debugger though.
All the views have the same name because of coherent, nothing we can do about that. It will get fixed eventually. More importantly, the separation of the panels allows them to animate without triggering a full screen memory copy. This has been a performance problem for a long time.
Thanks for the tip. Still can't select into a subscene however, and the Go button is kind of handy because I have to keep going back to the index to figure out which view it is this time.
Yah, scene titles... except now the scenes themselves are white pages and debugging is completely broken.
What do you mean by debugging? Can't see any issues anymore. Apart from the fact that live_game econ by default still spams so much logs that it kills the debugger.
I answered you on bugtracker (PA#3273), but repeat here. 62857 using new version of Coherent and you need new version of debugger or HTML files if you use it from browser. For me in both Linux and Windows versions debugger works just fine.
And here I am still using the debugger version that was distributed as an extra thing in the forums xD
I find interesting thing in new version of PA on Linux. Now I can use debugger directly from browser without even uploading any files to server, e.g: http://127.0.0.1:9999/devtools/devt...ols/page/8B061C8B-67F4-EBE4-BD50-D29EEB1A1091 And this works perfectly as intended. Now I'm trying to understand how to reproduce same behavior on Windows.
So this devtools stuff is fascinating. I did notice that when I first downloaded the debugger, renaming Debugger.app to say CoherentDebugger.app prevented it from working.
I don't have any Macs so it's hard to tell how exactly it's working on OS X. So I just wonder if you trying to open URL manually and click on some View is Debugger working for you or not?
I tried that several times. It used to work. Progress report: I did some searching for OS X file monitors, and found a mention of opensnoop. Code: bamboo:MacOS jlove$ sudo opensnoop -n CoherentUI_Host UID PID COMM FD PATH 501 1833 CoherentUI_Host -1 /Users/jlove/Library/Application Support/Uber Entertainment/Planetary Annihilation/data/streams/stable/PA.app/Contents/MacOS/host/devtools/devtools.html (I left out other gobbdlygook entries) There is of course no devtools directory.
If you can put "devtools" it here it's will work. Linux version of PA have "Coherent" directory that contain it, possible Mac version too? E.g: /PA.app/Contents/MacOS/Coherent/Debugger/html/ PS: Uploaded current "devtools" directory in ZIP if you need one.
It's not included in OS X. Copying the contents of the html directory from Debugger.app into the host directory of PA.app provides at least basic function. I might yet run into minor version issues but so far the console seems to be working.