+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  text compression
Pages: [1]
Author Topic: text compression  (Read 2 times)
Noitora
Guest
« on: July 07, 2008, 01:45:20 am »

I want to translate some text from the opening of the game Mugen no frontier:SRT for the DS but there seems to be some compression of some kind.I tried inversing bits but I don't think I got something...If anybody can help here is the file with the text. download
here is what the text looks like in the game:
 
DarthNemesis
Guest
« Reply #1 on: July 07, 2008, 03:36:07 am »

It's compressed with LZ77. Here's an extractor: LZ77Util.zip http://www.romhacking.net/utils/511/ should be able to extract and compress, try that.
« Last Edit: July 07, 2008, 04:27:45 am by DarthNemesis »
Noitora
Guest
« Reply #2 on: July 07, 2008, 03:45:36 am »

thanks,Darth you're awesome!
Edit:Does anybody know if there is a LZ77 packer too?
« Last Edit: July 07, 2008, 04:03:11 am by Noitora »
tc
Guest
« Reply #3 on: July 07, 2008, 04:02:29 am »

Hooray for more SRW! :thumbsup:
Noitora
Guest
« Reply #4 on: July 17, 2008, 02:49:06 am »

I need some help again I have downloaded Atlas and I don't know how to insert text.I have a script:

By HernanZh
Code:
//Create table
//Replace PP15A.tbl with the name of your table. You're not working with the Puyo Puyo table after all.
#VAR(Table, TABLE)
#ADDTBL("PP15A.tbl", Table)
#ACTIVETBL(Table)

//Create custom pointer
#VAR(MyPtr, CUSTOMPOINTER)
#VAR(PtrTable, POINTERTABLE)

//Replace $0 with the size of the pointer table.
#CREATEPTR(MyPtr, "LINEAR", $0, 32)
#PTRTBL(PtrTable, $8, 4, MyPtr)

//Replace $0 with the start address of the text.
#JMP($0)
//Also replace [stop] with the control code that ends a text
#AUTOWRITE(PtrTable, "[stop]")
Ryusui
Guest
« Reply #5 on: July 17, 2008, 03:06:48 am »

Have you dumped the text already and compiled a table for reinsertion? Then you're all set. Just fill in the blanks and insert your script at the end of the file.
Noitora
Guest
« Reply #6 on: July 17, 2008, 03:13:08 am »

I have dumped the text and I have an sjis.tbl
Noitora
Guest
« Reply #7 on: July 17, 2008, 03:15:59 am »

I have dumped the text and I have an sjis table this should work, right?
But what do you mean enter the script at the end of the file? like this?:

#JMP($0)
//Also replace [stop] with the control code that ends a text
#AUTOWRITE(PtrTable, "[stop]")
test1
test2
test3
Ryusui
Guest
« Reply #8 on: July 17, 2008, 03:31:34 am »

Hold on. The script's compressed, right? Are you using Atlas to reinsert into some file that's being recompressed into the ROM, or are you trying to use it to insert the script directly into the ROM?

In the latter case, it won't work. Atlas doesn't do compression.
Noitora
Guest
« Reply #9 on: July 17, 2008, 04:25:57 am »

No the text isn't compressed I just want to put it in the rom.
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC