Hello,
I recently got the game files of Kingdom Hearts HD on ps4, and I am looking for the model data. I wasn't quite sure where to start, as the extracted files don't have proper filenames or extensions. After looking at the files, I have found out some which seem to have index/vertex data.
Here are some samples : http://www.mediafire.com/file/1phso0fpk ... amples.rar
At first glance it looks like there are indices near the beginning, and a bit after that is a set of floats (possibly vertex data). Still there are lots of repeating indices which doesn't make much sense, so I might be mistaken. I would appreciate it if you can take a look.
Thanks for your help.
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Kingdom Hearts HD Models [PS4]
- shakotay2
- MEGAVETERAN
- Posts: 4284
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1146 times
- Been thanked: 2242 times
Re: Kingdom Hearts HD Models [PS4]
Hello, I'd suggest to start with vertices here, since as long as you don't get a decent point cloud even perfect face indices wouldn't help you.
I tried multiples of four for the FVF size (12, 16, ...) to no avail:
I tried multiples of four for the FVF size (12, 16, ...) to no avail:
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
-
- double-veteran
- Posts: 640
- Joined: Fri Jul 08, 2011 10:36 am
- Has thanked: 65 times
- Been thanked: 898 times
Re: Kingdom Hearts HD Models [PS4]
Thanks for the tip shakotay, I will focus on the vertices. I also still have doubts if these are really model files, so I will check out some other files first.shakotay2 wrote:I'd suggest to start with vertices here, since as long as you don't get a decent point cloud even perfect face indices wouldn't help you.
-
- double-veteran
- Posts: 640
- Joined: Fri Jul 08, 2011 10:36 am
- Has thanked: 65 times
- Been thanked: 898 times
Re: Kingdom Hearts HD Models [PS4]
An update on this. Those were indeed not the model files. Also there are no indices for the meshes, vertices are already provided in order.
I decided to switch to KH1 files and noticed the "MOBJ" header in some files. The model format is almost identical to KH1 on ps2. So revelation's noesis plugin code is still viable. I just noticed a small difference for bone matrices, that's all.
In the end I was able to load quite a few models, by re-implementing the plugin code. Here is Yuffie for example.
There are out of place vertices for some of the characters. Either there are some small changes in the format that I didn't notice or there is a slight problem with my implementation. Still it is sufficient for me atm.
The character models don't seem really impressing though. There is little to no improvement on the models/textures compared to the ps2 version. I will still take a look at the KH2 models, but I don't think I will see much improvement there either.
I decided to switch to KH1 files and noticed the "MOBJ" header in some files. The model format is almost identical to KH1 on ps2. So revelation's noesis plugin code is still viable. I just noticed a small difference for bone matrices, that's all.
In the end I was able to load quite a few models, by re-implementing the plugin code. Here is Yuffie for example.
There are out of place vertices for some of the characters. Either there are some small changes in the format that I didn't notice or there is a slight problem with my implementation. Still it is sufficient for me atm.
The character models don't seem really impressing though. There is little to no improvement on the models/textures compared to the ps2 version. I will still take a look at the KH2 models, but I don't think I will see much improvement there either.
Re: Kingdom Hearts HD Models [PS4]
I just got Kingdom Hearts HD 1.5+2.5
How did you extract psacr files, my psarc.exe not working
How did you extract psacr files, my psarc.exe not working
-
- double-veteran
- Posts: 640
- Joined: Fri Jul 08, 2011 10:36 am
- Has thanked: 65 times
- Been thanked: 898 times
Re: Kingdom Hearts HD Models [PS4]
Use this quickbms script : http://aluigi.org/bms/brink.bmsonelight wrote:my psarc.exe not working
Re: Kingdom Hearts HD Models [PS4]
Think you, brink.bms working though files don't have proper filenames or extensions.akderebur wrote:Use this quickbms script : http://aluigi.org/bms/brink.bmsonelight wrote:my psarc.exe not working
-
- double-veteran
- Posts: 640
- Joined: Fri Jul 08, 2011 10:36 am
- Has thanked: 65 times
- Been thanked: 898 times
Re: Kingdom Hearts HD Models [PS4]
Still the names don't seem to be all that random. It looks like files have hashes as names. For KH2 the extracted file with the name "00000000000000000000000000000000" contains the proper names for all of the files. There is also another file called "KH2.IDX" which seems to contain some offsets, and possibly hashes. I think you might be able to get proper names using both of those files.onelight wrote:files don't have proper filenames or extensions.
I only wanted to get the models, so I ended up writing a program that bulk parses all the files and loads the ones that have model data. It worked out well for me, so I didn't bother with the file names.
Re: Kingdom Hearts HD Models [PS4]
I finally found a worikng psarc.exe and get the files with right names.akderebur wrote:Still the names don't seem to be all that random. It looks like files have hashes as names. For KH2 the extracted file with the name "00000000000000000000000000000000" contains the proper names for all of the files. There is also another file called "KH2.IDX" which seems to contain some offsets, and possibly hashes. I think you might be able to get proper names using both of those files.onelight wrote:files don't have proper filenames or extensions.
I only wanted to get the models, so I ended up writing a program that bulk parses all the files and loads the ones that have model data. It worked out well for me, so I didn't bother with the file names.
BTW, do you have any idea how to modding this game, for exmaple, how to edit *.bar file
You do not have the required permissions to view the files attached to this post.
-
- double-veteran
- Posts: 640
- Joined: Fri Jul 08, 2011 10:36 am
- Has thanked: 65 times
- Been thanked: 898 times
Re: Kingdom Hearts HD Models [PS4]
File formats are almost identical to the ps2 version, at least the ones related to models. If you can find some info on ps2 modding, you can probably apply it to these files too.
- Tosyk
- double-veteran
- Posts: 1027
- Joined: Thu Oct 22, 2009 10:24 am
- Location: Russia, Siberia
- Has thanked: 269 times
- Been thanked: 154 times
- Contact:
-
- double-veteran
- Posts: 640
- Joined: Fri Jul 08, 2011 10:36 am
- Has thanked: 65 times
- Been thanked: 898 times
Re: Kingdom Hearts HD Models [PS4]
I did make a tool for my personal use, but actually you don't need new tools to load these files. For KH2, after you unpack the psarc, you can use the bms script I attached to unpack the textures and the mdlx file from the model files. Finding which files are model related isn't easy without proper names, but if onelight shares the psarc program he mentioned, you can probably spot them easier. After you have the mdlx, you can just load it with Noesis, using the KH2 plugin for ps2.Tosyk wrote:akderebur, is any progress on the tool?
Of course the KH2 plugin doesn't use the new GNF textures, but it uses the lower quality ones (for ps2) inside the mdlx file. So I made a tool for myself to load the models faster and bit more conveniently. It is based on the ps2 model viewer khkh_xldMii, I just added support for the GNF textures. Also you don't need the bms script anymore. I might release it after I polish it a bit, but I don't think it is that necessary.
You do not have the required permissions to view the files attached to this post.
- HeliosAI
- mega-veteran
- Posts: 166
- Joined: Wed Nov 17, 2010 2:57 pm
- Has thanked: 151 times
- Been thanked: 62 times
Re: Kingdom Hearts HD Models [PS4]
Nice work here akderebur
Just for the future, Noesis supports .psarc files (also from PS4 games) with names extraction, should make it easier.
Just for the future, Noesis supports .psarc files (also from PS4 games) with names extraction, should make it easier.
-
- double-veteran
- Posts: 640
- Joined: Fri Jul 08, 2011 10:36 am
- Has thanked: 65 times
- Been thanked: 898 times
Re: Kingdom Hearts HD Models [PS4]
Didn't know that noesis is able to extract psarc archives. I will take note of that.o0Crofty0o wrote: Just for the future, Noesis supports .psarc files (also from PS4 games) with names extraction, should make it easier.
- Tosyk
- double-veteran
- Posts: 1027
- Joined: Thu Oct 22, 2009 10:24 am
- Location: Russia, Siberia
- Has thanked: 269 times
- Been thanked: 154 times
- Contact:
Re: Kingdom Hearts HD Models [PS4]
thanks for the info, akderebur, I'll take a look at it when I get back home this evening. It' would be nice to have the better textures and the only way to get them is to use your tools as I understand - so please share it if possible thanks againakderebur wrote:I did make a tool for my personal use ... I might release it after I polish it a bit, but I don't think it is that necessary.Tosyk wrote:akderebur, is any progress on the tool?