Yoshi's Woolly World .gfa

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Larsenv
Posts: 137
Joined: Thu Jun 04, 2015 11:20 pm

Yoshi's Woolly World .gfa

Post by Larsenv »

Yes, these are probably different than ones from Kirby's Epic Yarn.

I want to be the first to extract these and upload all of the textures and whatnot before anyone! :)

Here!

Also, there are .bfres files in there I see with a hex editor (I figured.), I can extract them so no worries...
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Yoshi's Woolly World .gfa

Post by aluigi »

It's the usual Kirby format:
http://aluigi.org/papers/bms/others/kirby_epic_yarn.bms

Or do you refer about the format of the extracted files?
Larsenv
Posts: 137
Joined: Thu Jun 04, 2015 11:20 pm

Re: Yoshi's Woolly World .gfa

Post by Larsenv »

Ah, never mind then, when I found these I thought they used a different version of the GFA format since this is a Wii U Game and not a Wii Game.

I can extract the .bfres files, which is what they output.

They are like the Wii's .brres file format.

Also, since Yoshi's Woolly World, Wario Land: Shake It!, and Kirby's Epic Yarn use the same GFA format, wouldn't it make sense to just call the BMS Script Good Feel or something?

Good Feel made all three of these games so I think it would make sense.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Yoshi's Woolly World .gfa

Post by aluigi »

Script 0.2.1 just relased.
Doctor Loboto
Posts: 376
Joined: Sun May 31, 2015 2:23 am

Re: Yoshi's Woolly World .gfa

Post by Doctor Loboto »

Not working for me.
"55 clog MEMORY_FILE OFFSET ZSIZE SIZE"
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Yoshi's Woolly World .gfa

Post by aluigi »

Do you have a sample to check?
Doctor Loboto
Posts: 376
Joined: Sun May 31, 2015 2:23 am

Re: Yoshi's Woolly World .gfa

Post by Doctor Loboto »

Basically any of them, but here's a few...

https://www.dropbox.com/s/k5npl4je7c7w5uc/boss.zip?dl=0
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Yoshi's Woolly World .gfa

Post by aluigi »

Script 0.2.3.
The problem was with the guessing of an additional type of compression that was checked at the wrong place.
TheLordScruffy
Posts: 1
Joined: Mon Jul 31, 2017 4:35 pm

Re: Yoshi's Woolly World .gfa

Post by TheLordScruffy »

I keep getting the error:

Error: the uncompressed data (-1) is bigger than the allocated buffer (73867680)

Last script line before the error or that produced the error:
60 clog MEMORY_FILE OFFSET ZSIZE SIZE

These are the files that threw the error:

https://mega.nz/#!sro00YRS!PdFxdkYV67h3 ... Flyxyfyke0

EDIT: Nevermind, I just updated to the latest QuickBMS version.
rollin
Posts: 1
Joined: Fri Apr 26, 2019 6:39 am

Re: Yoshi's Woolly World .gfa

Post by rollin »

Hi,
I'm reviving this old thread as it shows up on the internet search and perfectly fits.

I followed the above instructions and was able to extract the gfa files. Now I want to re-pack the files after editing them.

I found:
https://gbatemp.net/threads/release-gfa ... ld.468131/
https://github.com/jam1garner/gfa-packer

and with a bit of luck:
https://web.archive.org/web/*/http://ww ... ress/bpe.c

Now I wasn't able to get this all working and the file I want to re-compress 'TF01.bfres -> TF01.gfa' is definitely above 1MB

I did glanze over both the python script and the c-source of bpe and I'm not sure if this 1MB limit is easy to overcome or not. Just changing the defines might work or not
#define BLOCKSIZE 10000 /* maximum block size */
#define HASHSIZE 8192 /* size of hash table */
#define MAXCHARS 220 /* char set per block */
#define THRESHOLD 3 /* minimum pair count */

I might be experienced enough to get this working but first I want to ask here if there is not an obviously better or more recent way of doing this?

Cheers!