New compression algorithms to add
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
New compression algorithms to add
Feel free to link here any compression algorithm that is not currently available in quickbms.
Doesn't matter if you have the source code or only the binary dump of the function, everything is welcome
Doesn't matter if you have the source code or only the binary dump of the function, everything is welcome
-
- Posts: 1383
- Joined: Sat Aug 09, 2014 2:34 pm
Re: New compression algorithms to add
Ok! Here one - for Zen Studios games. Masm32
-
- Posts: 23
- Joined: Sat Aug 09, 2014 2:28 pm
Re: New compression algorithms to add
Would be nice if these algorithms could be added: http://www.romhacking.net/utilities/826/ The download comes with source files.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: New compression algorithms to add
@ RetroHelix
I think that some of them are already implemented in quickbms, but without samples for each algorithm I'm sure that for me is more simple to add all of them directly to the next quickbms rather than checking each one
I think that some of them are already implemented in quickbms, but without samples for each algorithm I'm sure that for me is more simple to add all of them directly to the next quickbms rather than checking each one
-
- Posts: 23
- Joined: Sat Aug 09, 2014 2:28 pm
Re: New compression algorithms to add
aluigi wrote:@ RetroHelix
I think that some of them are already implemented in quickbms, but without samples for each algorithm I'm sure that for me is more simple to add all of them directly to the next quickbms rather than checking each one
I encoded the history.txt that came with the tool to make some sample files in case you want to test your implementation in quickbms.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: New compression algorithms to add
Thanks a lot, I have checked it and the following are already implemented:
So those to implement are:
Code: Select all
LZSS history (LZ10).txt = LZ77WII and NITROSDK
LZX-evb history (LZ11).txt = LZ77WII
RLE history.txt = LZ77WII and NITROSDK
Code: Select all
BLZ history.txt
LZE history.txt
LZX-ewl history (LZ40).txt
-
- Posts: 23
- Joined: Sat Aug 09, 2014 2:28 pm
Re: New compression algorithms to add
aluigi wrote:Thanks a lot, I have checked it and the following are already implemented:So those to implement are:Code: Select all
LZSS history (LZ10).txt = LZ77WII and NITROSDK
LZX-evb history (LZ11).txt = LZ77WII
RLE history.txt = LZ77WII and NITROSDKCode: Select all
BLZ history.txt
LZE history.txt
LZX-ewl history (LZ40).txt
Very nice! Thank you very much.
-
- Posts: 161
- Joined: Sat Dec 13, 2014 1:01 am
Re: New compression algorithms to add
Can you implement LZEXE? The code for both compression and decompression can be found here: http://bellard.org/lzexe.html
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: New compression algorithms to add
If you mean the algorithm with the magic "FAB", yes it will be implemented in the next version.
It's used in scummvm so it's very easy for me to implement it.
I don't know if the one in lzexe is the same but I will implement also the code of unlzexe5.c
It's used in scummvm so it's very easy for me to implement it.
I don't know if the one in lzexe is the same but I will implement also the code of unlzexe5.c
-
- Posts: 1383
- Joined: Sat Aug 09, 2014 2:34 pm
Re: New compression algorithms to add
STALKER compression open source'd (code) from OpenXRay Engine - https://github.com/OpenXRay/xray-16/blo ... /LzHuf.cpp
Last edited by Ekey on Wed Feb 11, 2015 8:32 pm, edited 1 time in total.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: New compression algorithms to add
Great, added to the TODO.
-
- Posts: 10
- Joined: Tue May 26, 2015 3:58 pm
Re: New compression algorithms to add
Hello again, Please add the updated LZ4 r129 as we discussed in a previous post. Just wanted to tack it here for the official to do list.
Thank you again,
Tom
Thank you again,
Tom
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: New compression algorithms to add
I just released the new quickbms.
-
- Posts: 21
- Joined: Sun Nov 29, 2015 11:06 pm
Re: New compression algorithms to add
Could you add the compression algorithm for yukes.bms(BPE/Byte Pair Encoding) please?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: New compression algorithms to add
If you have the source code of the recompression algorithm yes, otherwise no.
-
- Posts: 21
- Joined: Sun Nov 29, 2015 11:06 pm
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: New compression algorithms to add
That error is caused by the missing algorithm.
-
- Posts: 20
- Joined: Tue Nov 17, 2015 12:11 am
Re: New compression algorithms to add
Could you add a new decompression algorithm? This one is a variant of LZSS, from Donkey Kong: Tropical Freeze. http://www.metroid2002.com/retromodding ... ompression
Basically all this an updated algorithm but it adds some extra features, including different modes.
I also have an example, if needed: https://www.dropbox.com/s/qem0thhn4q7vm ... e.bin?dl=0
Compressed Size: 0x13E6
Uncompressed Size: 0x145E
Thank you so much!
Basically all this an updated algorithm but it adds some extra features, including different modes.
I also have an example, if needed: https://www.dropbox.com/s/qem0thhn4q7vm ... e.bin?dl=0
Compressed Size: 0x13E6
Uncompressed Size: 0x145E
Thank you so much!
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: New compression algorithms to add
Added in my TODO list
-
- Posts: 1383
- Joined: Sat Aug 09, 2014 2:34 pm