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.
[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.
[2024-4-11. : 4:18 pm]
IlyaSnopchenko -- still better than "Pakistani hookers in Sharjah" that I've seen advertised in another forum
[2024-4-11. : 4:07 pm]
Ultraviolet -- These guys are hella persistent
[2024-4-11. : 3:29 pm]
Vrael -- You know, the outdoors is overrated. Got any indoor gym and fitness equipment?
[2024-4-10. : 8:11 am]
Sylph-Of-Space -- Hello!
Please log in to shout.


Members Online: jun3hong, eksxo