Homebrew GoodMerge Compression Error

Devante

Crescent fresh at best.
OP
Member
Joined
Nov 29, 2002
Messages
1,221
Trophies
2
XP
772
Country
United States
Just got 8 GB worth of goodmerged GBA games only to find that VBAGX won't load them because "dictionary size too large" when trying to decompress.

Does anyone know the maximum size of the dictionary that VBAGX can handle?
Does anyone know of a way to 'convert' the 7z sets I have now to this new compression setting? Or will I have to unzip everything and start from scratch?

I also hope that with answers, this thread will show others what they need to know as I haven't found much by searching.

I'll update this top post with any useful settings/answers.

Thanks!

By the way, one useful tidbit I found in another thread from a while ago:
These are the maximum safe settings for Snes9xGx (and the others) on the GameCube:

7za a -t7z -m0=lzma -mx=9 -mfb=768 -md=384k -ms=off

Tested w/ Snes9xGx version 4.2.8
 

PsyBlade

Snake Charmer
Member
Joined
Jul 30, 2009
Messages
2,204
Trophies
0
Location
Sol III
XP
458
Country
Gambia, The
I don't think that there is a way to directly recompress
but it might be possible to decompress to a pipe or memory and then compress from there

"man 7za" gives:

-t7z
7z archive

-m0=lzma
lzma method

-mx=9
level of compression = 9 (Ultra)

-mfb=64
number of fast bytes for LZMA = 64

-md=32m
dictionary size = 32 megabytes

ms=on
solid archive = on


edit:
pipe does not work nice with multiple files inside the archive
but /dev/shm works fine
in the directory with the files run:

find . -not -path "./out*" -iname "*.7z" -exec sh -c '7za x $1 -o/dev/shm/7z; 7za a -t7z -m0=lzma -mx=9 -mfb=768 -md=384k -ms=off out/$1 /dev/shm/7z/*; rm /dev/shm/7z -r' \{\} \{\} \;
 

CheatFreak47

Catgirl Expert
Member
Joined
Oct 11, 2011
Messages
1,576
Trophies
2
Age
28
Location
Michigan, USA
XP
2,785
Country
United States
Does anyone know of a way to 'convert' the 7z sets I have now to this new compression setting? Or will I have to unzip everything and start from scratch?

That's what i had to do. Its roughly 66gb fully extracted. You might be able to batch compress everything to another archive format to save space, but if you aren't tight on space, I'd say just keep everything extracted for quick loading and access.
 

Devante

Crescent fresh at best.
OP
Member
Joined
Nov 29, 2002
Messages
1,221
Trophies
2
XP
772
Country
United States
Does anyone know the maximum safe size for dictionary? I find even a few of my SNES ROMs have the same problem.
 

PsyBlade

Snake Charmer
Member
Joined
Jul 30, 2009
Messages
2,204
Trophies
0
Location
Sol III
XP
458
Country
Gambia, The

Devante

Crescent fresh at best.
OP
Member
Joined
Nov 29, 2002
Messages
1,221
Trophies
2
XP
772
Country
United States
Thanks for pointing that out. I didn't realize you changed the flag!
I'll try it out and report back!
 

Devante

Crescent fresh at best.
OP
Member
Joined
Nov 29, 2002
Messages
1,221
Trophies
2
XP
772
Country
United States
So I tried various dictionary sizes from 32m down to 8m. About 16m is when it starts giving the error. Anything below that actually doubles the file size! (although still a lot smaller than ALL the games together).

I ended up just using UnGoodMerge to get the single games from each collection and using those on my Wii.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: im back