Users browsing this thread: 1 Guest(s)
WarioWare Gold's LZ77 and DAT files
#1
Howdy folks! So, I've been trying to rip sprites from WarioWare Gold, mostly microgames, and I found out the microgames use an LZ77 file and sometimes a DAT file. However, I can't seem to figure out how to open or extract either one.

I've tried using Switch Toolbox, but it won't open the LZ77 file and throws an error whenever I try to open the DAT file. I've also tried doing a texture dump with Citra, and had no luck there (either the sprites were oddly rotated (unless that's how they are in the files), stretched out, or both at the same time).

Does anyone know how to open or extract both files?
Here's a couple sample files if anyone's interested:

.zip   MarioBros.zip (Size: 12.76 KB / Downloads: 108)

(I'm not sure which one contains the sprites, but judging by the file sizes, I'm going to assume the LZ77 file contains the microgame's sprites.)
If you can't handle the heat.
You can't handle the Neutron Style.
Reply
Thanked by:
#2
LZ77 is a data compressing algorithm, so there's no microgame sprites inside the .LZ77 file.
The only one that remains is the .DAT file.

I tried extracting it with Universal Extractor 2. Nothing.
I tried extracting it with Brightmoon. Nothing.

I can't extract the .DAT file, sadly.
Reply
Thanked by:
#3
Has anyone had any luck extracting the LZ77 or DAT files? I've been looking online for a way to extract them, and I still haven't been successful.

I still think it's possible that the LZ77 file contains the microgame's sprites. I've been looking inside WarioWare Gold's files and I found out that some of the files, like the saving and loading icons, only have an LZ77 file.
If you can't handle the heat.
You can't handle the Neutron Style.
Reply
Thanked by:
#4
The Lyt.arc.lz77 file is compressed with the standard LZ type 0x11 algorithm from the DS. dsdecmp should be able to decompress it.
3D Screenshot Tools (NDS / N64 / PS1 / PS2)
Other Tools (apicula / Vagrant Story / Star Ocean Blue Sphere)
Reply
Thanked by:
#5
Dsdecmp doesn't seem to decompress the Lyt.arc.lz77 file. Is there another way to decompress it?
If you can't handle the heat.
You can't handle the Neutron Style.
Reply
Thanked by:
#6
This should be the decompressed file.


.zip   Lyt.arc.zip (Size: 9.76 KB / Downloads: 166)
3D Screenshot Tools (NDS / N64 / PS1 / PS2)
Other Tools (apicula / Vagrant Story / Star Ocean Blue Sphere)
Reply
Thanked by:
#7
How were you able to decompress the file? I can't seem to figure out how to decompress it with dsdecmp.
If you can't handle the heat.
You can't handle the Neutron Style.
Reply
Thanked by:
#8
DSDecmp.exe Lyt.arc.lz77 out.arc
3D Screenshot Tools (NDS / N64 / PS1 / PS2)
Other Tools (apicula / Vagrant Story / Star Ocean Blue Sphere)
Reply
Thanked by:
#9
Every time I try to run dsdecmp, a window opens and closes after a brief second, and I don't think it decompressed the file. Did you put the compressed file in the same folder as dsdecmp's program file then opened the program, or did you drag the compressed file onto dsdecmp's program file? And where does the decompressed file get exported to?
If you can't handle the heat.
You can't handle the Neutron Style.
Reply
Thanked by:
#10
It's a command line program, you need to run it from the command line. Run it with no arguments and it will tell you how to use it.
3D Screenshot Tools (NDS / N64 / PS1 / PS2)
Other Tools (apicula / Vagrant Story / Star Ocean Blue Sphere)
Reply
Thanked by:
#11
So a while ago, I was able find a way to decompress the LZ77 file. I was having trouble learning how to use dsdecmp, so I put that problem aside to work on something else. And while I was learning how to decompress Paper Mario: Sticker Star's BCREZ files, I found out the set of tools I had also worked with WarioWare Gold's LZ77 file.

In case anyone ever stumbles across this thread wanting to know how to decompress WarioWare Gold's LZ77 files, here's how I did it:
  • First, download these tools.
  • Next, open the command prompt, drag-and-drop "lzx.exe" onto the command prompt, type "-d", and drag-and-drop one of WarioWare Gold's LZ77 files onto the command prompt (the line should look like this: "[FILE LOCATION]\lzx.exe -d [FILE LOCATION]\Lyt.arc.lz77").
  • After that, press enter and the command prompt should decompress the file.

However, my problem isn't solved just yet. Whenever I open the BFLIM files inside the LZ77 file with Switch Toolbox, it either loads up scrambled images or doesn't load anything.
Here's an example of what I'm talking about (the sprite below is from Pro Bowling):
   

If anyone knows how to properly open and extract the BFLIM files, I would definitely appreciate it. And it would also make ripping sprites from WarioWare Gold much easier, LOL.

Here's the decompressed LZ77 file in case anyone is interested in helping:

.zip   MarioBros.zip (Size: 9.92 KB / Downloads: 108)

(Until my problem is solved, I'm going to stick to texture dumping with Citra like I've done with most of my WarioWare Gold rips.)
If you can't handle the heat.
You can't handle the Neutron Style.
Reply
Thanked by:


Forum Jump: