Qhimm.com Forums
Miscellaneous Forums => Archive => Topic started by: Ragna on 2007-04-13 16:10:46
-
Hey, I wonder how can I decompile the kernel.bin file,
I have Gzip, but I dont know how to decompile the kernel.bin^^U
Can you help me?
Thank you in advance^^
-
there is a thread about this already http://forums.qhimm.com/index.php?topic=6216.0 you should've used the search :-D
-
Thank you, but as I said I already have that Gzip, but just dont know what must I do with that to decompile the kernel.bin file^^U
-
Hmm...first backup your original kernel.bin, then
1. Open command console and go to directory where your kernel.bin and ff7dec.exe exisist(of course you have to extract kernel from the cd first :-))
2. Type "ff7dec d kernel.bin", without quotes of course(or kernel2.bin if you want to extract texts)
3. When finished editing, just repeat step 1 and type "ff7dec e kernel.bin"
that should cover it :-D
and sorry about my bad english...
-
Thank you, but can you tell me why cant I do that?
It says ff7dec.exe is not a valid win32 app when I write ff7dec d kernel.bin on the command prompt..
Please, tell me the meaning of that thing..^^U
Now my problem is fixed and i can decompile and compile the file^^
-
Still I don't understand. I got the ff7gzip already but I don't know how to decompile the kernel.bin file. Could you please teach me how with some help from print screen image? Please..........
-
*sigh* I'm baffled too although its probably really simple.
-
1. Copy and paste all the files from the gzip folder into: C:/documents and settings/admin
2. Copy and paste your kernel.bin file into: C:/documents and settings/admin
3. Click on Start, All Programs, Accessories, Command Promt.
4. In command promt type in: ff7dec d kernel.bin
5. Press enter.
The kernel bin will then be decompressed into several seperate files. Look in Qhimms wiki to find out what data each file holds. You can edit each file using a hex editor. If you don't have one, there are several free ones available on the net, just google search it.
Once you've done the editing, you need to compress all the files back into a single kernel.bin file.
6. Open up command promt. Type in: ff7dec e kernel.bin
7. Press enter and your new kernel.bin will be created!
EDIT: Got rid of the typo - Hes editor - lol!
-
...
3. Click on Start, All Programs, Accessories, Command Promt.
...
Regarding point 1 - 3 (which is totally ok btw) you could also just click the Windows buttom+R to open the Run program. Then just drag ff7dec.exe into the text input field. You'll now have something like this in the same field: C:\YOURFOLDER\ff7_gzip\ff7dec.exe (where YOURFOLDER is the folder you extracted it in).
After ff7dec.exe type "d kernel.bin" to decompile. The whole line being: C:\YOURFOLDER\ff7_gzip\ff7dec.exe d kernel.bin
And so on...
5. Press enter.
The kernel bin will then be decompressed into several seperate files. Look in Qhimms wiki to find out what data each file holds. You can edit each file using a hes editor. If you don't have one, there are several free ones available on the net, just google search it.
....
That was probably a type-O byr it's not hes editor but HEX editor.
-
Thanks for that, I successfully managed to split kernel.bin into the 26 kernel.binX files I need. What is the next step from there?
I am specifically looking to change the weapon data, which I know is stored in kernel.bin6. I've been searching for the past few days on the forums but can't find specific instructions on how to ungzip kernel.bin6. I know the exact values I need to change (using a hex editor (I'm using Cygnus Hex Editor)) but when I open kernel.bin6 it doesn't look as it should.
How exactly would I use gunzip.exe to decompress kernel.bin6 so that I could edit it?
-
How exactly would I use gunzip.exe to decompress kernel.bin6 so that I could edit it?
you don't need to decompress that, just open kernel.bin6 with your hex editor and thats it.
when done editing, just type ff7dec e kernel.bin in command console(remember:if there is a kernel.bin file in the directory already, compression will fail)
happy editing :-D
-
Thats what I've been doing, but the values don't match with anything I've seen before. I'm going to take the original kernel.bin from the game disc instead of the game data folder and see if that makes a difference. I can only hope.
-
thats probably because the kernel file count starts at 0 and in the wiki http://wiki.qhimm.com/FF7/Kernel/Kernel.bin (http://wiki.qhimm.com/FF7/Kernel/Kernel.bin) the file count starts at 1...so if you want to edit weapon data(witch is section 6 in qhimmwiki), the file needed to edit is kernel.bin5.
-
Well for future dummies like me that should be edited ^_^
-
Scorpicus.....
THANKS A LOT for your explaination regarding to my question. Now I can try doing some editing to the files. Thanks again :-D
-
1. Copy and paste all the files from the gzip folder into: C:/documents and settings/admin
2. Copy and paste your kernel.bin file into: C:/documents and settings/admin
3. Click on Start, All Programs, Accessories, Command Promt.
4. In command promt type in: ff7dec d kernel.bin
5. Press enter.
The kernel bin will then be decompressed into several seperate files. Look in Qhimms wiki to find out what data each file holds. You can edit each file using a hex editor. If you don't have one, there are several free ones available on the net, just google search it.
Once you've done the editing, you need to compress all the files back into a single kernel.bin file.
6. Open up command promt. Type in: ff7dec e kernel.bin
7. Press enter and your new kernel.bin will be created!
EDIT: Got rid of the typo - Hes editor - lol!
Sorry, but I have a problem:
(http://img502.imageshack.us/img502/3310/kernelprobxk9.png)
-
its not for kernel2.bin its only for kernel.bin. Theres an editor you can get called Teioh (check the wiki) that edits all the text in kernel2.
-
its not for kernel2.bin its only for kernel.bin. Theres an editor you can get called Teioh (check the wiki) that edits all the text in kernel2.
I´m sorry, but no results found when I search for Teioh. :|
-
Its right here!
http://forums.qhimm.com/index.php?topic=6385.0 (http://forums.qhimm.com/index.php?topic=6385.0)
All I did was type Teioh into search :-)
-
Heh, I have question, this decompresion works???
I downloaded ff7dec from link in second message.
I musted hexedit ff7dec to get it work.
ff7dec use gunzip, but its gzip, not gunzip(yeah are same).... . It dont use gunzip -d, so I musted write it there.
Unmodified version create nothing, but during docompresion there are some file, but deleted on the end.
ffdec says
Creating file Kernel.bin0!
gunzip says
GUNZIP: Kernel.bin0.gz already has .gz suffix -- unchanged