ROM Hack Character Model Swapping in KH 358/2 Days?

SaroxXIII

Member
OP
Newcomer
Joined
Nov 25, 2019
Messages
7
Trophies
0
XP
66
Country
United States
I've been wanting to backport a character model from Kingdom Hearts Re:Coded into Kingdom Hearts 358/2 Days, because the version in Re:Coded is of higher quality. Is that possible, and are there tools for it? I'm generally new to ROM hacking so I apologize for asking. I've been looking around but I couldn't find anything.

Thank you for taking the time to read my post.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
DS 3d format manipulation is still rather primitive (3ds 3d format hacking arguably surpassed it back when it was still just Smea messing around "ruining" pokemon and most people could not do much more than play DS games with the 3ds) and unlike 2d stuff there are few easy paths.

Nintendo provided a 3d format in their SDK though it came a bit later in the day (metroid prime hunters quite notably using a precursor format) and plenty of people made their own formats as well ( http://problemkaputt.de/gbatek.htm#ds3dvideo if you have to reverse one as such things will almost have to keep it close to the hardware). Said format is known as NSMBD and is flanked mostly by NSBTX (textures) and NSBCA (animations) but NSBMD itself has limited support for textures, and plenty of things just use material colours and some vertex colours. There are also some further formats but they are rare.
For a very old take on NSBMD then http://kiwi.ds.googlepages.com/nsbmd.html

Some people use a old leaked version of the SDK to convert things using equally old versions of popular 3d modelling programs. You can find those yourself, though frankly I find them more limiting than useful, and likely even more for what you want to do here (most people use it to make whole new models for mario kart or new super mario brothers, though I suppose it is an option for you to recreate a character from scratch/by copying key features from a viewer).

https://github.com/scurest/apicula has some nice abilities, and there are a few other tools ranging from the humble nsbmdtool ( https://gbatemp.net/download/nsbmd-tool.28230/ ) to tinke's texture stuff to MKDS course modifier but nothing you can click and drag stuff around with if that is where you were heading.

If you were thinking there might be a plugin for blender or something similar that would allow you to open a file, manipulate it a bit and then export it back, then while it is technically a possibility I am not aware of anything in reality for it, unlike some other consoles.

"is of higher quality. Is that possible"
Both are on the same system and from the same dev/publisher so that likely makes things easier as they will likely use if not the same then substantially similar formats. If you are lucky a copy and paste might work (you can often copy-paste things from within the same game and play the game as the villain or a town NPC or something, which is far nicer than doing a similar hack for 2d sprites), if not then you get to figure out what you want to do. Different quality does make things slightly harder if does not just go straight across -- if the higher quality one has more bends in the arms* or something (or uses better textures) you start running into problems with animations, memory limitations and more besides. Your job as hacker would be to either elevate the game to handle the better model (the harder method but likely better results -- it is probably going to end in assembly but you might get lucky and be able to match animation calls or something to the base game and get yourself where you need to be) or reduce the complexity of the better model to match that of the one you want replacing.

*the DS does not do skeletal/bones animation like many things do and instead goes for vertex (the points on the surface that make up the triangles/quads) animation which changes a bit compared to what 3d work most people see these days, though vertex approaches certainly have a long history.

In the end I am not going to say don't try, even if you are still getting to grips with the basics, but it is quite an ambitious hack. I would probably start with take either game you want and learn to tweak the model in that (even if it is just a big head or a giant long arm), maybe play with some textures and at least follow along with what animations do in the game. Does not have to be crazy artistic or make sense/look good but does have to be a change and some understanding of what goes on. Indeed while I could probably jump in and start doing the final hack right away (or after having found the models I care about in the game I could) I might even still do what I just described and fiddle with some things first as a proof of concept.
 
  • Like
Reactions: SaroxXIII

SaroxXIII

Member
OP
Newcomer
Joined
Nov 25, 2019
Messages
7
Trophies
0
XP
66
Country
United States
Thank you for the reply! I'll check out the tools you linked and see what I can do. Is it okay if I come back here again if I have any problems? I don't want to bother anyone but it's just hard to do this stuff on your own as a beginner. Especially when it doesn't seem there is much documentation.

"is of higher quality. Is that possible"
Oh trust me, it is. Here's some screenshots to show the difference in quality.

Here's the model in 358/2 Days I want to replace:
upload_2019-11-30_13-13-4.png


And here's the Re:Coded version I want to replace it with:
upload_2019-11-30_13-14-16.png


The problem is in 358/2 Days Sora's model was never intended to be seen up close, so they made it noticeably lower quality. In Story Mode it only appears in a few real time scenes where you can't see it up close. But in Mission Mode they made him an unlockable bonus character, and instead of giving him a new higher quality model as a playable character, they just reused the lower poly model. It's quite noticeable there and looks... pretty terrible compared to the other characters. The Re:Coded model is of the same quality as the other characters, which is why I wish to backport it to Days.

They have different animations, I'm not sure if that will give me problems. The Re:Coded model would have to have Days animations.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Lol no Gigabytes per song