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.
[02:57 am]
Ahli -- KrayZee
KrayZee shouted: When Kotick leaves, I'd say this.
too bad that he will leave with an additional f*ckton of money after the acquisition will be completed :(
[12:41 am]
KrayZee -- When Kotick leaves, I'd say this.
[12:28 am]
NudeRaider -- Ultraviolet
Ultraviolet shouted: that SC and to a lesser extent SC2 are still available to play online free today at all is somewhat amazing
underrated fact
[10:43 pm]
fusiongtxo0 -- can someone help me in ums assistance
[07:40 pm]
Ultraviolet -- that SC and to a lesser extent SC2 are still available to play online free today at all is somewhat amazing
[07:38 pm]
Ultraviolet -- MTiger156
MTiger156 shouted: Ah, the final nail in the coffin for the company I once loved the dearest... thought was 100% for the people, 100% uncorruptable. You may have given me Starcraft which helped me get through hard times, but you've now broken my heart, stole my faith in the world, and killed the gaming industry. I will spit on your graves, Blizzard fuckheads.
can't blame individuals for getting out of the business when it no longer served them, be grateful for the good they gave, not bitter for what was eventually lost
[05:36 pm]
Oh_Man -- And blizzcon also surely not worth the amount of money they spend on it it's basically a theme park
[05:36 pm]
Oh_Man -- They were generous with their wealth by keeping servers up wen many others didn't
[05:15 pm]
lil-Inferno -- Blizzard is no exception even when they were a small startup known as Silicon & Synapse
[05:14 pm]
lil-Inferno -- they may create products you enjoy and create memories with but ultimately they don't care about you, they care about your willingness to spend your money on their products
Please log in to shout.


Members Online: Roy, Vrael