I'm the kid that can put the remote control back together
Posts: 17
|
Post by zatarita on Jul 11, 2022 15:01:24 GMT 10
Hello! I recently threw together a quick python script to handle packing and unpacking Room/Stage DAT files using the context menu for quick extraction and repacking.
This should work for any version of the game, so long as the DAT file is decompressed. (It doesn't work for PS2 SND files disguised as a DAT though)
It does require python to work. Make sure to add python to the path during install (Your version will be different to mine) ------------------------------------------------------------------------------------------------------------------------------------------
After installing python, installing the DAT (Un)Packer is easy
extract the document and run "setup.bat"; It will handle everything for you
To use it right click a DAT file, go to "Send To" and select extract. Regardless of version it should extract if it's a container. There are some DAT files that aren't actually related to RE4 as it's a generic file format. (like the "uninst000.dat" which is a windows file for the uninstaller.)
This will create a new folder in the current directory with the files inside of them. Once done editing you can repack using the same "Send To" Menu
The three types of supported packing formats are
DAT(big) - For nintendo versions (and select files in other versions) of the game. A big endian DAT file
DAT(little) - For most other versions of the game. A little endian DAT files. GCA - For the 2007 version of the game, the "stage" DATs that hold the other style DATs
This should repack the DAT for you! Happy modding c:
Post any bugs below. I'll try to address as many as I can
|
|
I'm the kid that can put the remote control back together
Posts: 17
|
Post by zatarita on Jul 14, 2022 0:43:56 GMT 10
Нахуя на питоне весь этот треш Python is a programming language, Since I wrote the "program" in python, it's required for everything to work. Kinda like JavaScript
|
|
|
Post by zzoopz on Oct 14, 2022 20:16:06 GMT 10
а нахуя этот скрипт для чего?
|
|
I'm the kid that can put the remote control back together
Posts: 17
|
Post by zatarita on Oct 18, 2022 1:59:24 GMT 10
It unpacks and repacks dat files for RE4? It works for the all versions of the game from gamecube, through uhd. Also works on GCA 2007 dat files.
|
|
|
Post by ventoms on Nov 9, 2022 4:45:27 GMT 10
is it normal for the repacking step to get stuck?
i was repacking into GCA format and the CMD stopped after showing;
"Saving File To: (Directory) Formatting Filetable Entries: Success Formatting Filenames: Success Formatting Filetable Header: Success"
|
|
I'm the kid that can put the remote control back together
Posts: 17
|
Post by zatarita on Nov 14, 2022 8:53:16 GMT 10
Not usually Can you tell me what you did so I can maybe recreate the steps on my end
|
|