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.
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
[06:38 pm]
Vrael -- I need a go-to solution and someone who understands that Carpets are more than just decorative elements in my home.
Please log in to shout.


Members Online: lil-Inferno, Vrael, Roy