DSHack

Archive Generated December 23rd, 2018
Manually editing KMP file with HxD crashes EFE & KMP Expander when replacing or opening file
Author Posted on 2016/01/03
#1276
User 171 I know that this process is tedious and is not recommended for beginners, but as the title says, I can't manually edit a KMP file for MK7 without it crashing any program! :( Can someone tell me what I am doing wrong, or if I can't do it at all? I know that I am waiting for EFE & KMP Expander to be developed more since both are in beta stages, but I am trying to see if there is a certain pattern with manually editing it using HxD. I will send screenshots to help you guys figure it out more. Hope this helps!

Before deleting a random coin location on KMP:

http://prntscr.com/9ltz8g

Ok, now I saved it like normal (Ctrl+S)

When I replace or open the newly edited file:

EFE: http://prntscr.com/9lu0wf

KMP Expander: http://prntscr.com/9lu142 (Gets glitchy when moving to new tabs if press continue)

Author Posted on 2016/01/03
#1277
MKGirlism When adding or deleting anything from the KMP File manually, you always need to make sure you change the Header of the KMP File, also.
This is to match the amount of values you have.

Also, be aware that MK7 uses Little Endian Floating Points, which means that not only you'll need to keep decimals as Hex in mind, it also means the values are reversed.
Like, 44FC0000 becomes 0000FC44.
Author Posted on 2016/01/04
#1278
User 171
When adding or deleting anything from the KMP File manually, you always need to make sure you change the Header of the KMP File, also.
This is to match the amount of values you have.

Also, be aware that MK7 uses Little Endian Floating Points, which means that not only you'll need to keep decimals as Hex in mind, it also means the values are reversed.
Like, 44FC0000 becomes 0000FC44.

Okay. I see now. For what part of the header am I supposed to modify? I see the format in the wiki, but I am not sure what address it is.

http://prntscr.com/9lyx11
Author Posted on 2016/01/04
#1279
MKGirlism For this part, I think Ermii, Pablo, or perhaps Yawshi may be of a more proper assistance.
Author Posted on 2016/01/04
#1280
User 171
For this part, I think Ermii, Pablo, or perhaps Yawshi may be of a more proper assistance.

Okay. Got it. Thanks for at least trying to help me.
Author Posted on 2016/01/04
#1283
Miles Ermiiworth
For this part, I think Ermii, Pablo, or perhaps Yawshi may be of a more proper assistance.

Okay. Got it. Thanks for at least trying to help me.


You can try using KMP Expander 1.6. Import your KMP and it'll fix the header by itself.
https://github.com/Ermelber/KMP-Expander
Author Posted on 2016/01/04
#1284
User 171
For this part, I think Ermii, Pablo, or perhaps Yawshi may be of a more proper assistance.

Okay. Got it. Thanks for at least trying to help me.


You can try using KMP Expander 1.6. Import your KMP and it'll fix the header by itself.
https://github.com/Ermelber/KMP-Expander


I can't find the download for that link. I will just find the old version on the hack store of this website.

UPDATE: I couldn't find the 1.6 download link in the GitHub page. :/

UPDATE 2: Close this thread. MK7tester helped me solve it! :D
Author Posted on 2016/01/04
#1285
MKGirlism
UPDATE 2: Close this thread. MK7tester helped me solve it! :D

Okay.