Staredit Network > Forums > Modding Discussion > Topic: PyMS - Download, Support, and Maintenance
PyMS - Download, Support, and Maintenance
Jan 10 2019, 9:08 pm
By: poiuy_qwert
Pages: < 1 2 3
 

Aug 1 2019, 10:12 pm poiuy_qwert Post #41

PyMS and ProTRG developer

Thanks Neiv, that will be quite helpful! What does "CEF" mean/stand for?

I still need some SCR dialog .bin files to test with, so if anyone has a second to send me some (or all) I can get it going.




Aug 2 2019, 9:53 am IlyaSnopchenko Post #42

The Curious

Sent you a PM.



Who am I, and why should I care?

Aug 3 2019, 10:44 pm Neiv Post #43



CEF is Chromium Embedded Framework, the library that SCR uses for rendering the new web-based parts of its menus. (Or to be exact, it seems to run in a separate process? Not sure how the web contents end up being rendered in the end)

I'd say that 'Web widget' or something is more descriptive, I just didn't spent any time thinking on how to name it.



None.

Aug 6 2019, 2:37 am poiuy_qwert Post #44

PyMS and ProTRG developer

I have added SCR support for PyBIN. Let me know if you have any issues.




Aug 6 2019, 6:14 am IlyaSnopchenko Post #45

The Curious

Short summary: it works. Thanks a ton! (all I did so far - and all I'll be doing for a little while - was changing labels in the gluexpcmpgn.bin anyway, so maybe deeper editing can reveal some inconsistencies).

Caveat: the new PYMS build doesn't support AISE? I had a suspicion to that extent when unpacking the files over the old ones and the aibin.py was way smaller than the previous version, and now opening AI script bins caused the message of "Unsupported command, possibly corrupt bwscript.bin". Thank God I had the old version (Nov. 24, 2018) stashed elsewhere so I just overwrote the "new" aibin.py and pyai.pyw with older ones, it works now.

Minor point: there doesn't seem to be an .ICO file for PYBIN? No big deal of course but all (?) the other applets have their own icons so...

Attachments:
binedit.jpg
Hits: 1 Size: 599.26kb

Post has been edited 1 time(s), last time on Aug 6 2019, 12:27 pm by IlyaSnopchenko. Reason: typo



Who am I, and why should I care?

Aug 6 2019, 1:45 pm UEDCommander Post #46



SCR seems to reference the animated images on the campaign screen in some weird way - only references to images i can find in gluCmpgn.BIN and gluExpCmpgn.BIN are for menu sections and for purple disks, but not for the animated images themselves. Also not being able to see neiter those nor SD previews on the canvas is really counterproductive. Other than that seems to be working fine.



Humanity first. No matter the cost.

Aug 6 2019, 5:18 pm IlyaSnopchenko Post #47

The Curious

Quote from UEDCommander
SCR seems to reference the animated images on the campaign screen in some weird way - only references to images i can find in gluCmpgn.BIN and gluExpCmpgn.BIN are for menu sections and for purple disks, but not for the animated images themselves. Also not being able to see neiter those nor SD previews on the canvas is really counterproductive. Other than that seems to be working fine.
When viewing a file with ASCII viewers such as the one from FAR Manager it appears the references to the .webm files are there, just not seen in the editor. Maybe one of the unknown advanced properties may do something (speaking of "Advanced" checkbox - the "MPQ" button that appears next to the String Text appears to do nothing?



Who am I, and why should I care?

Aug 6 2019, 5:20 pm UEDCommander Post #48



Quote from IlyaSnopchenko
When viewing a file with ASCII viewers such as the one from FAR Manager it appears the references to the .webm files are there, just not seen in the editor.

It does reference purple disk thing, and the disks are for some reason separated for each campaign, so maybe you have seen that.
Btw, "unknown" function signed as SCR seems to reference list of campaign missions, at least in campaign-related BIN files - when i changed this on Zerg campaign selector to match Protoss campaign's one, it started to show Protoss list of mission instead of the Zerg one.



Humanity first. No matter the cost.

Aug 6 2019, 5:25 pm IlyaSnopchenko Post #49

The Curious

Quote from UEDCommander
Quote from IlyaSnopchenko
When viewing a file with ASCII viewers such as the one from FAR Manager it appears the references to the .webm files are there, just not seen in the editor.

It does reference purple disk thing, and the disks are for some reason separated for each campaign, so maybe you have seen that.
Btw, "unknown" function signed as SCR seems to reference list of campaign missions, at least in campaign-related BIN files - when i changed this on Zerg campaign selector to match Protoss campaign's one, it started to show Protoss list of mission instead of the Zerg one.
These, too, but not only them. See the screenshot - there are references to XProt.webm and XProtOn.webm (the figure and the overlay; ditto for each of the three races).

Re: the campaign list - cool to know, does it work properly?

Attachments:
binedit-1.jpg
Hits: 1 Size: 252.97kb



Who am I, and why should I care?

Aug 9 2019, 4:22 am poiuy_qwert Post #50

PyMS and ProTRG developer

I think there is just a misunderstanding of how the "SMKs" (I guess that will have to be renamed now that they use webm) work. "SMKs" can have "overlay smks", so the reason there is a separate disk smk for each race is because they each have a different overlay SMK for the race, and each of those overlays has its own overlay for when you hover over it. You can see in the screenshot that the "Zerg Episode II" button has a disk SMK with a Zerg overlay, which itself has a ZergOn overlay that will show on hover:

I made a small update to show the overlay smk path in the dropdown selector to make it more obvious as well as easier to choose the correct SMK based on its overlay.




Aug 9 2019, 8:11 pm Pr0nogo Post #51



Glad to see you're still updating PyMS. A pernicious bug with PyGRP has been rearing its head more often lately which involves creating random black pixel artifacts on sprites. Hopefully you can fix this while you're still in the business of pushing updates. Example: grp made with PyGRP grp made with SFGrpConv imgur album of black pixels

edit: according to DF, the "Copy+paste megatile flags" commit (Apr 7, 2018) by zzahos is the update that intriduced the issue (Libs/Tilesets.py). caused by the stuff pertaining to "path_or_text" (raises error PyMSError('Importing',"Could not load file '%s'" % path)). Removing the if isstr block and reverting path_or_text to path "fixes" the error.

edit 2: also according to DF, sfxdata flags are as follows:
1 = makes the game preload the sound (loads the sound in memory when starcraft is launched, presumably for UI sounds)
2 = designates sound as unit speech (presumably so it gets muted when you turn unit speech/acknowledgements off in the game options)
16 = sound only plays one at a time
32 = not sure exactly about that one, seems to be used with unit speech and advisor lines - may place the sound at high priority when all other sound channels are full
Flags are used in combination, e.g. 48 is flags 16 + 32
PyDAT does not have any information about the flags when the field is moused over. Hopefully this information is trivial to add, or to turn into a checkbox setup like units.dat's advanced section. It should be noted that apparently SC:R modified these in some way, Neiv will be able to get you the specifics (or maybe I'm thinking of some other underused .dat file like portdata).

Post has been edited 2 time(s), last time on Aug 10 2019, 6:31 am by Pr0nogo.




Aug 10 2019, 1:48 pm Neiv Post #52



Seems that contorl ID and SCR unknown fields got mixed up in the new PyBIN.



None.

Aug 14 2019, 2:53 pm UEDCommander Post #53



Well, i just tried changing one SMK reference to another (within bounds of one .BIN file, in this particular case - tried to replace XProtoss campaign preview with XTerran) and this is what happened to .bin file (attached). The game says "Error reading game data" when i try to open expansion campaign list.

EDIT: Actually i was using wrong .bin format, lmao at me, but this issue still persists even with newer one.

Attachments:
gluExpCmpgn.BIN
Hits: 0 Size: 2.15kb

Post has been edited 1 time(s), last time on Aug 15 2019, 6:38 pm by UEDCommander.



Humanity first. No matter the cost.

Options
Pages: < 1 2 3
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:15 am]
IlyaSnopchenko -- Or was it a switch :)
[06:59 am]
IlyaSnopchenko -- But I need to do more work on the system to make it look better (hard to explain without showing the map and explaining precisely what i added them for)
[06:57 am]
IlyaSnopchenko -- I've added set death hypertriggers
[04:02 am]
Pr0nogo -- single frame hypers with a simple line of code without using EUDs imo
[2019-8-24. : 11:01 pm]
Suicidal Insanity -- They never go to bed on time
[2019-8-24. : 9:49 pm]
NudeRaider -- But why would you even want to do that? Hypers have almost no downsides.
[2019-8-24. : 9:49 pm]
NudeRaider -- IlyaSnopchenko
IlyaSnopchenko shouted: A stupid question: can I run hypertriggers for just one phase in the map, not all of it (I know I can... just wanting to know if there are any caveats)
you can, but you'd need to run switched hypers. Classic hypers can't be stopped afaik.
[2019-8-24. : 4:42 pm]
TF- -- It should be fine
[2019-8-24. : 3:41 pm]
IlyaSnopchenko -- Is that a yea or nay? :)))
[2019-8-24. : 3:36 pm]
TF- -- 🤙🏾
Please log in to shout.


Members Online: Roy