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.



Trial and error... mostly error.

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



Trial and error... mostly error.

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

Sic Semper Tyrannis

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.




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?



Trial and error... mostly error.

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

Sic Semper Tyrannis

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.




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



Trial and error... mostly error.

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

Sic Semper Tyrannis

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.




Oct 2 2020, 6:43 pm Moondrix Post #54



Its over dla chłopa

Post has been edited 2 time(s), last time on Aug 16 2021, 6:57 pm by Moondrix.



None.

Oct 2 2020, 6:50 pm Moondrix Post #55



[quote=name:Moondrix]Hello i have issue with PyDat, instead of sprite i got black space with blue circle
Anyone have idea how to fix it?

Attachments:
sprites.png
Hits: 3 Size: 67.07kb



None.

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.
[05:05 pm]
Vrael -- Its simple, just send all minerals to Vrael until you have 0 minerals then your account is gone
[04:31 pm]
Zoan -- where's the option to delete my account
[04:30 pm]
Zoan -- goodbye forever
[04:30 pm]
Zoan -- it's over, I've misclicked my top right magic box spot
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- there are some real members mixed in those latter pages, but the *vast* majority are spam accounts
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- there are almost 3k pages
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- the real members stop around page 250
[2024-4-14. : 9:20 pm]
O)FaRTy1billion[MM] -- look at the members list
[2024-4-12. : 12:52 pm]
Oh_Man -- da real donwano
da real donwano shouted: This is the first time I've seen spam bots like this on SEN. But then again, for the last 15 years I haven't been very active.
it's pretty common
[2024-4-11. : 9:53 pm]
da real donwano -- This is the first time I've seen spam bots like this on SEN. But then again, for the last 15 years I haven't been very active.
Please log in to shout.


Members Online: jun3hong, Vrael, Roy, lil-Inferno