Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Changing Player Colors in a CHK (.SCX) File Help
Changing Player Colors in a CHK (.SCX) File Help
Apr 26 2017, 11:19 pm
By: Pauper  

Apr 26 2017, 11:19 pm Pauper Post #1



Hi,

I found out that you can hex edit the .CHK files in the map MPQ. I have changed the player colors from their defaults to 08 - 15. These changes don't take effect in the map editor from what I can tell. I am at work right now and cannot really test.

Will the player colors be different in the game?

Thank you,
Bitz

EDIT: I know editing this file works because I was able to resize the map from 128 x 128 to 64 x 64 (say the minimap size change but the map crashed because it had tile data I didn't edit).



Alias: Oo.Pauper.oO - Mp)Madness - Bitz - p00pyjoel

Apr 27 2017, 12:55 am O)FaRTy1billion[MM] Post #2

👻 👾 👽 💪

Yes. That's how scmdraft does it.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Apr 27 2017, 1:50 am Pauper Post #3



Okay thank you.

Now, after playing around with it a bit I wasn't able to get it working. The editor would open, colors would be the usual but the game was marked as invalid or corrupt in Starcraft but not the editor..

Does staredit sign the scenario file when it's saved? Does Starcraft check that signature to verify the file hasn't been tampered with?

I ask because if that's the case I don't think I'd be able to do it because my editor doesn't read the player colors according to the map itself but the editor defaults...

Any thoughts on that?

EDIT: Also I know that StarEdit settings have priority over a modified scenario file because if you open the file and re save it the player settings are restored.

Post has been edited 1 time(s), last time on Apr 27 2017, 2:00 am by Pauper.




Apr 28 2017, 9:08 pm O)FaRTy1billion[MM] Post #4

👻 👾 👽 💪

Colors are not read by StarEdit, and it will always overwrite that section.

I just had the same problem of StarEdit marking the map as unreadable. It appears that StarEdit does do something to sign the files ... In WinMPQ I just deleted (Attributes) and it seemed to fix it.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Apr 28 2017, 10:04 pm Pauper Post #5



Quote from O)FaRTy1billion[MM]
Colors are not read by StarEdit, and it will always overwrite that section.

I just had the same problem of StarEdit marking the map as unreadable. It appears that StarEdit does do something to sign the files ... In WinMPQ I just deleted (Attributes) and it seemed to fix it.

I had a feeling something weird was going on.. Did this not happen previously (modifying the .CHK files is totally new to me).

I will give it a shot right now and let you know if removing the attribute file works for me to.

EDIT: Can confirm that removing the attribute file resolves the issue. I was able to change the player colors! Woohoo! I guess we found something new about the latest patch..



Alias: Oo.Pauper.oO - Mp)Madness - Bitz - p00pyjoel

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:41 am]
v9bettel -- Nice
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
Please log in to shout.


Members Online: C(a)HeK