READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Kingdom Hearts 1 Models

Post questions about game models here, or help out others!
Roxas75
ultra-n00b
Posts: 9
Joined: Fri Dec 03, 2010 2:20 pm
Been thanked: 2 times

Re: Kingdom Hearts 1 Models

Post by Roxas75 » Sat Nov 05, 2011 2:18 pm

Falo, could you PM me the source of your tool?
I'm studying the structure of KH1 & KH1FM to make an english patch...
I have some doubts... Can you help me?
Thanks! :)

PS: if you won't give the source, can you just tell me some text files name, if you found them?

Knehcs
ultra-n00b
Posts: 2
Joined: Wed Apr 18, 2012 5:52 am

Re: Kingdom Hearts 1 Models

Post by Knehcs » Wed Apr 18, 2012 6:03 am

I've skimmed this thread, but it appears as though the link to the dumper has been removed. Is there anywhere else that I can find it? I'm looking to dump KH2 or KH2FM (whichever it works best with), and then wade through the sea of cutscene and battle audio files.

Edit:
Roxas75 wrote:Falo, could you PM me the source of your tool?
I'm studying the structure of KH1 & KH1FM to make an english patch...
I have some doubts... Can you help me?
Thanks! :)

PS: if you won't give the source, can you just tell me some text files name, if you found them?
Any luck with this?

User avatar
GovanifY
advanced
Posts: 59
Joined: Wed Apr 16, 2014 9:25 pm
Location: In the depths of a game...
Has thanked: 1 time
Been thanked: 32 times
Contact:

Re: Kingdom Hearts 1 Models

Post by GovanifY » Fri Apr 18, 2014 5:43 pm

I'm not sure if this is totally out of the subject but anyways.
I made a Toolkit for KH2FM, which contains an extractor(with a huge hashlist for now =D ), a patchmaker and a patcher. The patching process is longer than Xeeynamo's b\c it's rebuilding totally the IMG and the IDX(where Xeeynamo was just opening the IDX, finding the file, and replacing it. If a bigger file was selected, it will overwrite some files so that wasn't really a good solution. Anyways ya can found a demo of my Toolkit here: https://www.youtube.com/watch?v=V6XFdC9 ... XhBHpEpJEQ

Download links:
Executable: http://www.govanify.x10host.com/_files/ ... oolkit.exe

License: http://www.govanify.x10host.com/_files/ ... ICENSE.txt

If ya want more help do the command KH2FM_Toolkit -help, it will extract a Readme. It will require the .NET Framework too, normally shipped w/ windows so I think there will be not so much issues with that.

I'm not sure I'll work on KH1, but maybe I'll do a Toolkit for him, that's a possibility. The problem is I never really worked on kh1, and I don't really want to work on him^^
So, I want to say, we'll see

Btw, don't consider that like an ad, I personally don't want to be known, I just want my Toolkit to be known :p It's the best ya can found for now, so that's why^^
Last thing: the HashList isn't complete(there's still ~1.000 nonames for KH2FM), but I'm updating it pretty quickly, so I think the nonames will be an old story in not so long =D

Bye!, GovanifY
The only limit I've encountered so far is my brain.

-----------------------------------------------
Ya can check my work here:
http://www.govanify.blogspot.fr
http://www.govanify.com
https://twitter.com/GovanifY

User avatar
GovanifY
advanced
Posts: 59
Joined: Wed Apr 16, 2014 9:25 pm
Location: In the depths of a game...
Has thanked: 1 time
Been thanked: 32 times
Contact:

Re: Kingdom Hearts 1 Models

Post by GovanifY » Thu May 08, 2014 2:45 pm

Me again, I just finally started to work on kh1, and the IDX format's pretty similar to kh2, see by yourself: http://govanify.x10host.com/_img/KH1IDX.png
I'm sure he already been RE but just posting that. I dunno when I'll have a workable version of my KH1FM_Toolkit but be sure I'm workin' on it now!

Glad to help ya, GovanifY
The only limit I've encountered so far is my brain.

-----------------------------------------------
Ya can check my work here:
http://www.govanify.blogspot.fr
http://www.govanify.com
https://twitter.com/GovanifY

Devilot
ultra-veteran
ultra-veteran
Posts: 428
Joined: Tue Sep 07, 2010 10:12 am
Has thanked: 157 times
Been thanked: 41 times

Re: Kingdom Hearts 1 Models

Post by Devilot » Thu May 08, 2014 5:11 pm

a toolkit? what will it feature?

User avatar
GovanifY
advanced
Posts: 59
Joined: Wed Apr 16, 2014 9:25 pm
Location: In the depths of a game...
Has thanked: 1 time
Been thanked: 32 times
Contact:

Re: Kingdom Hearts 1 Models

Post by GovanifY » Fri May 09, 2014 1:24 pm

Same as my KH2FM_Toolkit and all my next toolkits: an extractor, patcher, patchmaker + some other bonus features like somes for verify if you have a good dump of the game. I don't includes a full repacker b\c you can repack everything using the patchmaker and the patcher but I could do it. Not THAT complicated. Normally it'll be able to add files into the game too.
Basically it's just extracting the game by reading the IDX and opening a Stream into the IMG or it's patching the game by rebuilding the IDX and the IMG by copying the old one andmodifying the new one by reading my custom patch file format.

Workin' on it, GovanifY

EDIT: Btw, th position of the file KINGDOM.IMG is hardcoded inside the ISO, I dunno why square tried to hide that but anyways, that's pretty annoyin'. If I can found how to have a stream of him, then I can consider the extract thingy as 90% done^^

EDIT2: I don't really have any idea of how to find this file, been a long time I'm searchin' it. I'm still tryin' but square's always screwin' us at the bad timin' ~.~

EDIT3: Found a strange hash into the KINGDOM.IDX. It's E4EB9203. He isn't compressed. Trying to brute-force his name now

EDIT4: I maybe know what is the name of this hash but if this is the one I guess...just WTF

EDIT5: Square, Square, Square...When will you stop to do shits? This hash got for clear name "kingdom.img", literally. Square stored files of the ISO into the IDX, aka the lba of the game. WTF SQUARE
The only limit I've encountered so far is my brain.

-----------------------------------------------
Ya can check my work here:
http://www.govanify.blogspot.fr
http://www.govanify.com
https://twitter.com/GovanifY

Devilot
ultra-veteran
ultra-veteran
Posts: 428
Joined: Tue Sep 07, 2010 10:12 am
Has thanked: 157 times
Been thanked: 41 times

Re: Kingdom Hearts 1 Models

Post by Devilot » Sat May 10, 2014 8:42 am

so they put an iso inside another iso?

User avatar
GovanifY
advanced
Posts: 59
Joined: Wed Apr 16, 2014 9:25 pm
Location: In the depths of a game...
Has thanked: 1 time
Been thanked: 32 times
Contact:

Re: Kingdom Hearts 1 Models

Post by GovanifY » Sat May 10, 2014 9:27 am

They just hardcoded the files in the iso. Some files like pre-rendered cinematics, the main img etc...which are supposed to be at the root of the iso got a reference into the IDX. I'm trying to make the main core of my soft right now, and this is working pretty well for now. I am able to extract the files kh1 listed on his IDX(with some exceptions)as nonames b\c I don't brute-forced any names for now, I'll try to view how many names from kh1 1.5 got, and adding them on my Hashlist.
I still need to reverse the compression/decompression algo. I'm still hopin' that it's the same as kh2.

Anyways for now, it's working at least =D.

http://govanify.x10host.com/_img/KH1FM_ ... _DEBUG.png

Reversing a game, GovanifY
The only limit I've encountered so far is my brain.

-----------------------------------------------
Ya can check my work here:
http://www.govanify.blogspot.fr
http://www.govanify.com
https://twitter.com/GovanifY

Devilot
ultra-veteran
ultra-veteran
Posts: 428
Joined: Tue Sep 07, 2010 10:12 am
Has thanked: 157 times
Been thanked: 41 times

Re: Kingdom Hearts 1 Models

Post by Devilot » Sat May 10, 2014 11:23 am

I'm impressed :)

User avatar
GovanifY
advanced
Posts: 59
Joined: Wed Apr 16, 2014 9:25 pm
Location: In the depths of a game...
Has thanked: 1 time
Been thanked: 32 times
Contact:

Re: Kingdom Hearts 1 Models

Post by GovanifY » Sat May 10, 2014 12:17 pm

Well my toolkit was only extracting shits, now that I modified it it's extracting the original files and able to decompress them(afaik same as kh2 but still not sure).
Also, not like kh2, the only flag I saw was the flag 0x1, which means that the file is compressed, so there's not any other kind of flags afaik for now, this part's simpler than kh2.

Oh and the structure of the iso was a pain in the ass to be reversed, never had to face somethin' like that before, this thing is just totally stupid >_<.

Anyways, back to work, GovanifY
The only limit I've encountered so far is my brain.

-----------------------------------------------
Ya can check my work here:
http://www.govanify.blogspot.fr
http://www.govanify.com
https://twitter.com/GovanifY

User avatar
GovanifY
advanced
Posts: 59
Joined: Wed Apr 16, 2014 9:25 pm
Location: In the depths of a game...
Has thanked: 1 time
Been thanked: 32 times
Contact:

Re: Kingdom Hearts 1 Models

Post by GovanifY » Sat May 10, 2014 6:19 pm

KH1FM_Toolkit, first "usable" version. Patching part in dev.

http://govanify.x10host.com/_img/KH1FM_ ... DEBUG2.png
The only limit I've encountered so far is my brain.

-----------------------------------------------
Ya can check my work here:
http://www.govanify.blogspot.fr
http://www.govanify.com
https://twitter.com/GovanifY

User avatar
GovanifY
advanced
Posts: 59
Joined: Wed Apr 16, 2014 9:25 pm
Location: In the depths of a game...
Has thanked: 1 time
Been thanked: 32 times
Contact:

Re: Kingdom Hearts 1 Models

Post by GovanifY » Sun May 11, 2014 1:44 pm

The patching part should work but, I dunno why, I have always some NullReferences Exceptions and this is annoyin' me as hell ~.~
At least my toolkit will be finished in not so long so that's cool =D(Don't attempt one SUPA fast like my kh2fm one b\c my code's a mess right now)

Bye, GovanifY
The only limit I've encountered so far is my brain.

-----------------------------------------------
Ya can check my work here:
http://www.govanify.blogspot.fr
http://www.govanify.com
https://twitter.com/GovanifY

User avatar
GovanifY
advanced
Posts: 59
Joined: Wed Apr 16, 2014 9:25 pm
Location: In the depths of a game...
Has thanked: 1 time
Been thanked: 32 times
Contact:

Re: Kingdom Hearts 1 Models

Post by GovanifY » Thu May 15, 2014 2:38 pm

For anyone who wants here's a way to find manually where's a file in the iso: take the "offset" of the file into the IDX, convert it into BIG Endian, find the offset of the file SYSTEM.CNF(for me it's 8 D000)and do the followin' step: SYSTEM.CNF OFFSET + IDX OFFSET*2048.
You should be able to found the desired file with that.

Bye, GovanifY
The only limit I've encountered so far is my brain.

-----------------------------------------------
Ya can check my work here:
http://www.govanify.blogspot.fr
http://www.govanify.com
https://twitter.com/GovanifY

User avatar
GovanifY
advanced
Posts: 59
Joined: Wed Apr 16, 2014 9:25 pm
Location: In the depths of a game...
Has thanked: 1 time
Been thanked: 32 times
Contact:

Re: Kingdom Hearts 1 Models

Post by GovanifY » Fri May 16, 2014 9:43 pm

Ok, I know, this is my 5th post and always forgottin' to use the EDIT button but don't consider this as a spam, in exchange u'll see a (little) part of my source : 3

http://govanify.x10host.com/_img/KH1FM_ ... RACTOR.png

Yup, the decompression algo's finally finished and, even if he's not fast at all for now, he is working fuck ^3^
Just saying that my Toolkit's mostly finished, just some little things to add and it will be finished =D

EDIT:(I finally used this button)My Toolkit's practically finished, all's workin', you'll not be able to add new files when I'll release the soft, but be sure I'll try to add it quickly. And my code is a mess like always^^"
The only limit I've encountered so far is my brain.

-----------------------------------------------
Ya can check my work here:
http://www.govanify.blogspot.fr
http://www.govanify.com
https://twitter.com/GovanifY

User avatar
GovanifY
advanced
Posts: 59
Joined: Wed Apr 16, 2014 9:25 pm
Location: In the depths of a game...
Has thanked: 1 time
Been thanked: 32 times
Contact:

Re: Kingdom Hearts 1 Models

Post by GovanifY » Sat May 17, 2014 6:56 pm

Hey, here he is my KH1FM_Toolkit's finally released =D

He is able to extract the game(-extractor command) and patch it using a propriatary patch system (-patchmaker for create a patch file and drag the patches on the soft for patch the game)
/!\The features of adding new files and modifying the ISO aren't inplemented yet, so by default my soft will patch the files linked into the IDX and can't add new files/!\

Download links:
Executable: http://govanify.x10host.com/_files/KH1F ... oolkit.exe

License: No need anymore of the license, she is builted inside ;)

If ya want more help do the command KH1FM_Toolkit -help, it will extract a Readme. It will require the .NET Framework too, normally shipped w/ windows so I think there will be not so much issues with that.

The soft tooked me not so long b\c he isn't really completed but still, he's perfectly workin' for now. I'll try to make it faster, optimize him, and add some functions that are in my KH2FM_Toolkit when I'll got some time


Bye and Enjoy!, GovanifY

EDIT: Found some bugs on the patchin' process, will try to delete them.
The only limit I've encountered so far is my brain.

-----------------------------------------------
Ya can check my work here:
http://www.govanify.blogspot.fr
http://www.govanify.com
https://twitter.com/GovanifY

Post Reply