Hacking ROM Hack Project [ACWW] LZ77 compressed texts, have you already seen it ?

Pikario

New Member
OP
Newbie
Joined
Mar 7, 2023
Messages
4
Trophies
0
XP
41
Country
France
Hello!

I'm currently trying to extract all the texts from Animal Crossing Wild World, I used Tinke to browse the ROM content and I found the texts under the folder "script", all of them are .bmg files. I extracted them with Tinke and openned them with my text editor (Kate). I can see they are texts but the encoding seems incorrect, I tried all the ones available in the editor without success.
I noticed all the files begin with this characters : "LZ77÷", so they are LZ77 compressed? I know the principles of the algorithm, I tried some decompressor but it didn't work.
Here is a screenshot of a file in Kate:

1700175852742.png


Have you already encountered similar files? I attach a bmg (I changed the extension to txt) to this post.
 

Attachments

  • bbs_pelican.txt
    5.8 KB · Views: 18

SolatoroboHacking

Member
Newcomer
Joined
Jul 18, 2023
Messages
12
Trophies
0
Age
19
XP
124
Country
United States
Yes, you need to run that through an LZ77 decompressor. These tools are excellent, and will work with every variant of LZ77 compression used by the DS. Try running it through these tools until you get a decompressed file that gives no errors and/or has no garbled text.

Edit: It also looks as though these files don't quite use standard headers, so you might have to mess around with a hex editor a bit. The header is probably supposed to be 0x10 followed by the uncompressed file size in three bytes. That information is probably in there somewhere, you just might need to dig a bit to find it.
 
Last edited by SolatoroboHacking,
  • Like
Reactions: Pikario

Pikario

New Member
OP
Newbie
Joined
Mar 7, 2023
Messages
4
Trophies
0
XP
41
Country
France
Thank you for your help and information! I've managed to make my own decompressor for Wild World files, based on the tools you mentioned.
Here is the source code, if it can help someone in the future: Pikari0/ACWW_texts_decompressor on GitHub (it seems I can't post full links as a new user)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +1
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
    rqkaiju2 @ rqkaiju2: i like physical media because it actually feels like you own it. thats why i plan on burning...