Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe

Search found 1910 matches

by aluigi
Sat Jun 20, 2009 8:30 am
Forum: Compressed files and methods
Topic: writing a .bms for a frreware 3d game: magic pets
Replies: 29
Views: 9851

Re: writing a .bms for a frreware 3d game: magic pets

the archive begins directly with a bitmap file so the only other location where was possible to find the index table was at the end. so here we find the size of the index (which includes also this 12 bytes header), a number which I have not verified and the "3DR\0" signature. figuring the ...
by aluigi
Thu Jun 18, 2009 6:01 pm
Forum: Compressed files and methods
Topic: writing a .bms for a frreware 3d game: magic pets
Replies: 29
Views: 9851

Re: writing a .bms for a frreware 3d game: magic pets

the following is the BMS script for extracting the 3dr files with quickbms: goto -4 idstring "3DR\0" goto -12 savepos MAX_OFFSET get INFO_OFFSET long math INFO_OFFSET *= -1 goto INFO_OFFSET savepos INFO_OFFSET set FILES long MAX_OFFSET math FILES -= INFO_OFFSET math FILES /= 4 get OFFSET l...
by aluigi
Mon Jun 15, 2009 8:28 pm
Forum: Compressed files and methods
Topic: Need help with a .hgz file from resistance retribution...
Replies: 18
Views: 5680

Re: Need help with a .hgz file from resistance retribution...

well, having created the extractor probably I need to reply.
in this period the max I do is writing the extractors on the fly for quickbms so any other project (moreover rebuilding which is something that I don't like because it's boring) is out
by aluigi
Sun Jun 14, 2009 4:33 pm
Forum: Compressed files and methods
Topic: writing a .bms for a frreware 3d game: magic pets
Replies: 29
Views: 9851

Re: writing a .bms for a frreware 3d game: magic pets

usually it's not needed to rename the files, just open them directly with 7-zip and if they are a known compressed format the job is done (like in this case)
by aluigi
Wed Jun 10, 2009 6:07 pm
Forum: Tutorials
Topic: QUICKBMS GUIDE 2 ZLIB
Replies: 17
Views: 19985

Re: QUICKBMS GUIDE 2 ZLIB

you can specify the desired compression method using the comtype command. by default it's the zlib one (RFC 1950, windowbits 15) so if you need the raw inflate (RFC 1951, windowbits -15) it's enough to use: comtype inflate then the decompression can happen in the classical "clog FILENAME OFFSET...
by aluigi
Tue Jun 09, 2009 3:54 pm
Forum: Game Archive
Topic: Tatsunoko vs Capcom (Wii)
Replies: 28
Views: 13659

Re: Tatsunoko vs Capcom (Wii)

uhmm maybe I'm wrong but I think that the lzss.c version with N, F and THRESHOLD (like http://dev.gameres.com/Program/Other/LZSS.C) is the oldest one, or at least is the most used.
by aluigi
Tue Jun 09, 2009 3:34 pm
Forum: Game Archive
Topic: Tatsunoko vs Capcom (Wii)
Replies: 28
Views: 13659

Re: Tatsunoko vs Capcom (Wii)

another interesting thing I noticed some months ago about LZSS.
the following is the latest source of Okumura
http://oku.edu.mie-u.ac.jp/~okumura/compression/lzss.c
but even if you change the EI, EJ and P parameter to make them compatible with the classical algorithm it's not compatible at all.
by aluigi
Tue Jun 09, 2009 3:23 pm
Forum: Game Archive
Topic: Tatsunoko vs Capcom (Wii)
Replies: 28
Views: 13659

Re: Tatsunoko vs Capcom (Wii)

N=10? so basically the data is almost uncompressed :)
other games other than s2?
by aluigi
Tue Jun 09, 2009 3:02 pm
Forum: Game Archive
Topic: Tatsunoko vs Capcom (Wii)
Replies: 28
Views: 13659

Re: Tatsunoko vs Capcom (Wii)

@rheini do you have a list of games that use modified lzss parameters (N, F and THRESHOLD) and these customized values? if I'm not in error I saw only a customized N value one time (I don't remember well) but for the rest I have never seen games which use the LZSS algorithm with customized F and THR...
by aluigi
Tue Jun 09, 2009 2:41 pm
Forum: Tutorials
Topic: QUICKBMS GUIDE 2 ZLIB
Replies: 17
Views: 19985

Re: QUICKBMS GUIDE 2 ZLIB

imho it's only needed a bit of usage of phpbb code without useless pdf stuff
by aluigi
Tue Jun 09, 2009 2:40 pm
Forum: Game Archive
Topic: XOR Tool for Multiple files
Replies: 7
Views: 4174

Re: XOR Tool for Multiple files

create the folder c:\output and then:

Code: Select all

find C:\Test\images -type f -exec c:\xor.exe "{}" "c:\output\{}" 0x01 ;
c:\output is needed because xor uses fopen(..., "wb") and reads 8kb of data each time (for using less resources) so the output file can NOT be the same of input
by aluigi
Tue Jun 09, 2009 11:48 am
Forum: Compressed files and methods
Topic: Need help with a .hgz file from resistance retribution...
Replies: 18
Views: 5680

Re: Need help with a .hgz file from resistance retribution...

remember that thing I said about the size of the compressed blocks, so you can't just compress the whole HOG file and then adding a new header.
anyway I guess that the game could work also with the HOG files without recompressing them
by aluigi
Tue Jun 09, 2009 11:44 am
Forum: Game Archive
Topic: XOR Tool for Multiple files
Replies: 7
Views: 4174

Re: XOR Tool for Multiple files

there is the find utility which does this job executing a specified executable and its parameters over any found file in a directory. http://gnuwin32.sourceforge.net/downlinks/findutils-bin-zip.php http://gnuwin32.sourceforge.net/downlinks/libintl-bin-zip.php http://gnuwin32.sourceforge.net/downlink...
by aluigi
Tue Jun 09, 2009 11:37 am
Forum: Compressed files and methods
Topic: Mana Khemia (PS2) LZR Compression? Certainly compressed!
Replies: 18
Views: 8128

Re: Mana Khemia (PS2) LZR Compression? Certainly compressed!

no, doesn't seem LZR.
I have spent various time using LZRDecompress on various blocks at the beginning without success.
by aluigi
Mon Jun 08, 2009 11:38 pm
Forum: Compressed files and methods
Topic: Need help with a .hgz file from resistance retribution...
Replies: 18
Views: 5680

Re: Need help with a .hgz file from resistance retribution...

the following is the bms script for extracting the files from these HOG archives: # Resistance Retribution (HOG extractor) # for generating the HOG file from an HGZ one: # use "offzip -a -1 UNFREED.HGZ c:\ 0x14" # rename c:\00000014.dat to UNFREED.HOG # script for QuickBMS http://aluigi.or...