Lz77 compression, SD0 Archive Gundam Ghiren
-
- Posts: 22
- Joined: Tue Oct 04, 2016 10:55 pm
Re: Lz77 compression, SD0 Archive Gundam Ghiren
Oh,
I attached the wrong file... (I don't think there are any names)
for some reason in other MKD files it crashes with this code
I attached the wrong file... (I don't think there are any names)
for some reason in other MKD files it crashes with this code
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Lz77 compression, SD0 Archive Gundam Ghiren
Can you upload the MKD file that crashes?
Remember that I don't have the game so everytime you notice a problem you have to upload the file causing it.
Remember that I don't have the game so everytime you notice a problem you have to upload the file causing it.
-
- Posts: 22
- Joined: Tue Oct 04, 2016 10:55 pm
Re: Lz77 compression, SD0 Archive Gundam Ghiren
Sorry,
Common sense escaped me for that moment
https://mega.nz/#!WVMHiYqI!bq6Heid3zFQe ... 11mGRgdtrI
also because it uses chunks...the reimport function doesn't work, correct?
Common sense escaped me for that moment
https://mega.nz/#!WVMHiYqI!bq6Heid3zFQe ... 11mGRgdtrI
also because it uses chunks...the reimport function doesn't work, correct?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Lz77 compression, SD0 Archive Gundam Ghiren
My fault, it was a stupid bug I fixed some seconds after the upload of the script but forgot to reupload it
Script 0.1.1
Script 0.1.1
-
- Posts: 22
- Joined: Tue Oct 04, 2016 10:55 pm
Re: Lz77 compression, SD0 Archive Gundam Ghiren
One final question,
I'm trying to program a re compresser/de comperessor
The C String at MEMORY_FILE10 binary is the Decompression Table right?
I'm trying to program a re compresser/de comperessor
The C String at MEMORY_FILE10 binary is the Decompression Table right?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Lz77 compression, SD0 Archive Gundam Ghiren
No, MEMORY_FILE10 is just the compiled x86 function, the executable code.
-
- Posts: 22
- Joined: Tue Oct 04, 2016 10:55 pm
Re: Lz77 compression, SD0 Archive Gundam Ghiren
Ah thank you, so much to learn!
-
- Posts: 22
- Joined: Tue Oct 04, 2016 10:55 pm
Re: Lz77 compression, SD0 Archive Gundam Ghiren
Hey,
is it impossible to reimport with this script due to it being chunked?
is it impossible to reimport with this script due to it being chunked?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Lz77 compression, SD0 Archive Gundam Ghiren
It's not possible to reimport the files because there is no recompression algorithm available.
-
- Posts: 2
- Joined: Mon Oct 24, 2016 8:23 pm
Re: Lz77 compression, SD0 Archive Gundam Ghiren
Quick question, aLuigi: would you share the source code used to compile that MEMORY_FILE10 DLL?
Did you have to implement the whole of what lsaint described in his long post?
Did you have to implement the whole of what lsaint described in his long post?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Lz77 compression, SD0 Archive Gundam Ghiren
There is no source code.
That one is the original code taken from that tool you linked.
That one is the original code taken from that tool you linked.
-
- Posts: 1
- Joined: Tue Nov 01, 2016 3:12 pm
Re: Lz77 compression, SD0 Archive Gundam Ghiren
Hi,
I'm looking into this game also, and apparently there are RIFF files in one of the archives
and the current script stops when it see's them. I've uploaded an example
https://mega.nz/#!DJlVgTiZ!LixZ0EKDXcPh ... wOrFto1kLI
Can you do an update?
also, what exact kind of compression is it? I've read the thread and the OP's post is hard to follow.
It appears to be some kind of variant of Lz77?
I'm looking into this game also, and apparently there are RIFF files in one of the archives
and the current script stops when it see's them. I've uploaded an example
https://mega.nz/#!DJlVgTiZ!LixZ0EKDXcPh ... wOrFto1kLI
Can you do an update?
also, what exact kind of compression is it? I've read the thread and the OP's post is hard to follow.
It appears to be some kind of variant of Lz77?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Lz77 compression, SD0 Archive Gundam Ghiren
Script 0.1.2
-
- Posts: 22
- Joined: Tue Oct 04, 2016 10:55 pm
Re: Lz77 compression, SD0 Archive Gundam Ghiren
ahh finally!
So here is the binary Luigi dumped, translated into a working program in C.
right now it can only handle single files.
now on to the long road to figuring out re-compression.
So here is the binary Luigi dumped, translated into a working program in C.
right now it can only handle single files.
now on to the long road to figuring out re-compression.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Lz77 compression, SD0 Archive Gundam Ghiren
Well done, less work for me when I will add it natively in quickbms
-
- Posts: 22
- Joined: Tue Oct 04, 2016 10:55 pm
Re: Lz77 compression, SD0 Archive Gundam Ghiren
Glad I could be of some assistance!
do you have any tips about understanding re compression?
do you have any tips about understanding re compression?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Lz77 compression, SD0 Archive Gundam Ghiren
I suggest you to post on http://encode.ru, they can write a compressor on the fly.
-
- Posts: 22
- Joined: Tue Oct 04, 2016 10:55 pm
Re: Lz77 compression, SD0 Archive Gundam Ghiren
Hey,
Thanks for the help luigi and the guys at encode.ru! I have now achieved semi working compression....it's larger than the original but can be decompressed by the girenaxv program. It appears there is another compression on top of the lz and the rle: it avoids using markers for repeated literals. I haven't figured it out yet.
but if anyone is interested I'm attaching my test program....
slow and steady
Thanks for the help luigi and the guys at encode.ru! I have now achieved semi working compression....it's larger than the original but can be decompressed by the girenaxv program. It appears there is another compression on top of the lz and the rle: it avoids using markers for repeated literals. I haven't figured it out yet.
but if anyone is interested I'm attaching my test program....
slow and steady