Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Using Mapkit for String Editing
Using Mapkit for String Editing
This topic is locked. You can no longer write replies here.
Jan 1 2010, 9:23 pm
By: Zhuinden  

Jan 1 2010, 9:23 pm Zhuinden Post #1



There is a program called MapKit on Maplantis which can seperate a map's CHK into sections, and manually access the String section, and you can edit it right. But apparently the "CompileMap" that would recompile the map from its sections doesn't want to work for me.

Does anyone know how to use it so it would recompile the map, or does anyone know of a different tool that would recompile the map from its sections?



None.

Jan 1 2010, 9:29 pm ImagoDeo Post #2



Wouldn't it be simpler to use SCMD's string editing tool? Or are you using a mac or something, and therefore can't do that?



None.

Jan 1 2010, 9:32 pm Zhuinden Post #3



SCMDraft? Can't use that. I must decompile the map into pieces and edit the string section individually, because the map itself cannot be neither unprotected nor opened by SCMDraft.



None.

Jan 1 2010, 9:39 pm Apos Post #4

I order you to forgive yourself!

Can you post the map?




Jan 1 2010, 9:50 pm rockz Post #5

ᴄʜᴇᴇsᴇ ɪᴛ!

mapkit just separates scenario.chk into sections. I can't get compile map to work either. Just manually put in the fixed string section back into the chk.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Jan 1 2010, 9:51 pm Zhuinden Post #6



Uh... The question is, how do I manually put the fixed string section back into the chk? :P

In case people wanna know, I have found a program that is capable of reversing CMP Debugger's protection, but only to 1.70 state, and that cannot be unprotected too well. But it keeps the map in tact, therefore the STR section can be modified to translate korean maps. I'm sure there is a way to fix this issue with MPQ Repair (by Special) but I couldn't get it to work, probably needs a korean windows XP like CMP Debugger 1.70.

Post has been edited 1 time(s), last time on Jan 1 2010, 10:01 pm by Zhuinden.



None.

Jan 1 2010, 10:05 pm rockz Post #7

ᴄʜᴇᴇsᴇ ɪᴛ!

find "STR" in both scenario.chk and the string section, then copy/paste in a hex editor back into the chk. If you insert (which you should) make sure you delete the old string section up until whatever comes next in the map. See scenario.chk format for more details on all that in the wiki.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Jan 1 2010, 10:46 pm Zhuinden Post #8



The original map file is the same as the Scenario.chk, right? Except the map can also include external files like WAVs next to the CHK, and so it is a part of it.



None.

Jan 2 2010, 12:15 am rockz Post #9

ᴄʜᴇᴇsᴇ ɪᴛ!

scenario.chk is a raw format. mapname.scx is a mpq archive. scenario.chk is a file inside of mapname.scx, alongside any wavs and external files. The chk is the map itself. Any wav files referenced in there reference themselves through strings in the chk, which point to the wav file in the mpq archive.

open the scx in winmpq to extract scenario.chk.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Jan 2 2010, 1:59 am Zhuinden Post #10



Ehhh... I extracted it, put in the new STR section with Notepad, and afterwards it says it's invalid. I don't get it why. Any ideas?



None.

Jan 2 2010, 2:31 am LegacyWeapon Post #11



You can't use Notepad. See: hex editor



None.

Jan 2 2010, 8:03 am rockz Post #12

ᴄʜᴇᴇsᴇ ɪᴛ!

I use notepad++ with the hex editor plugin.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Jan 2 2010, 11:57 am Zhuinden Post #13



Aaaaand done! Thanks everyone for your help, now a half-english version of TWOE II is complete!!! :D I used Hex Workshop to do it and this way now it works flawlessly.
Truly I am in your debt.

Attachments:
twoe_II_[nv9c]e1.scx
Hits: 0 Size: 440.21kb



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[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
[2024-4-17. : 1:52 am]
Vrael -- hah do you think I was born yesterday?
[2024-4-17. : 1:08 am]
O)FaRTy1billion[MM] -- i'll trade you mineral counts
[2024-4-16. : 5:05 pm]
Vrael -- Its simple, just send all minerals to Vrael until you have 0 minerals then your account is gone
[2024-4-16. : 4:31 pm]
Zoan -- where's the option to delete my account
[2024-4-16. : 4:30 pm]
Zoan -- goodbye forever
Please log in to shout.


Members Online: Roy