+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Star Ocean compression Huffmann?! and DTE?!
Pages: [1]
Author Topic: Star Ocean compression Huffmann?! and DTE?!  (Read 1 times)
RedScorpion
Guest
« on: July 06, 2010, 08:38:17 am »

Greetz @ all.

i have again a problem with the compression of a game. This game i think use a hard compression.
My last information are that the englisch translation of Dejap use huffmann and DTE incl. Dictonary.

I try to find the routine by using the Geiger debugger.

This log is from the first dialog in the game when you press the A button and the next dialog appears.
Unfortunatly i dont know what this code do?! Can anyone explain this?!

At the moment i have a 85% translated SO script, we use the script dump from dejap,
but i have not found a possibility to insert any of the german script.


$C2/2D6D 20 0C 31    JSR $310C  [$C2:310C]   A:00B0 X:00B0 Y:3708 P:envmxdizc
$C2/2D70 EB          XBA                     A:0000 X:00B0 Y:370A P:envmxdizc
$C2/2D71 4A          LSR A                   A:0000 X:00B0 Y:370A P:envmxdiZc
$C2/2D72 4A          LSR A                   A:0000 X:00B0 Y:370A P:envmxdiZc
$C2/2D73 69 00 20    ADC #$2000              A:0000 X:00B0 Y:370A P:envmxdiZc
$C2/2D76 AA          TAX                     A:2000 X:00B0 Y:370A P:envmxdizc
$C2/2D77 E2 20       SEP #$20                A:2000 X:2000 Y:370A P:envmxdizc
$C2/2D79 9E 18 00    STZ $0018,x[$7E:2018]   A:2000 X:2000 Y:370A P:envMxdizc
$C2/2D7C C2 20       REP #$20                A:2000 X:2000 Y:370A P:envMxdizc
$C2/2D7E 60          RTS                     A:2000 X:2000 Y:370A P:envmxdizc
$C6/555F 9D 19 00    STA $0019,x[$7E:2019]   A:0000 X:2000 Y:370D P:eNvMxdizc
$C6/5562 BD 24 00    LDA $0024,x[$7E:2024]   A:0000 X:2000 Y:370D P:eNvMxdizc
$C6/5565 D0 0D       BNE $0D    [$5574]      A:0000 X:2000 Y:370D P:envMxdiZc
$C6/5567 9E 29 00    STZ $0029,x[$7E:2029]   A:0000 X:2000 Y:370D P:envMxdiZc
$C6/556A 80 08       BRA $08    [$5574]      A:0000 X:2000 Y:370D P:envMxdiZc
$FF/C229 A9 44       LDA #$44                A:3D10 X:B945 Y:B945 P:envMxdizC
$FF/C22B 20 38 C2    JSR $C238  [$FF:C238]   A:3D44 X:B945 Y:B945 P:envMxdizC
$FF/C22E E8          INX                     A:3D44 X:B945 Y:B945 P:eNvMxdizc

Greetz

red
mopoz
Guest
« Reply #1 on: July 07, 2010, 05:31:01 pm »

Huffman+mte
RedScorpion
Guest
« Reply #2 on: July 08, 2010, 06:17:27 am »

Quote from: mopoz on July 07, 2010, 05:31:01 pm
Huffman+mte

hmm okay. Do you see a possibility to decompress the huffman code?

I have read a lot of huffman basic informations, but if i understand it on the right way, the algorythm is always different, depends from the amount of chars and text.

regards

red
KaioShin
Guest
« Reply #3 on: July 08, 2010, 06:25:51 am »

Quote from: RedScorpion on July 08, 2010, 06:17:27 am
Quote from: mopoz on July 07, 2010, 05:31:01 pm
Huffman+mte

the algorythm is always different, depends from the amount of chars and text.


The algorithm is always the same, what's different are the codewords that the algorithm generates.
mopoz
Guest
« Reply #4 on: July 08, 2010, 07:05:40 am »

I removed the Huffman in the game, but it did not help the cause...
I can not write compressors utility...
ROM can not be expanded to 8 MB ...

July 08, 2010, 07:25:30 am - (Auto Merged - Double Posts are not allowed before 7 days.)
Log full decompression.
If you can help it.
http://slil.ru/29443759
« Last Edit: July 08, 2010, 07:25:30 am by mopoz »
RedScorpion
Guest
« Reply #5 on: July 08, 2010, 12:47:46 pm »

Quote from: mopoz on July 08, 2010, 07:05:40 am
I removed the Huffman in the game, but it did not help the cause...
I can not write compressors utility...
ROM can not be expanded to 8 MB ...

July 08, 2010, 07:25:30 am - (Auto Merged - Double Posts are not allowed before 7 days.)
Log full decompression.
If you can help it.
http://slil.ru/29443759

Thanks for this? How can i use it in connection with the rom?
Is that only the decompression ASM Code?!

regards

red
Pages: [1]  


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