News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Dragon Ball Z - Legend of Saiyajins - compression type?!  (Read 3733 times)

RedScorpion

  • Full Member
  • ***
  • Posts: 102
    • View Profile
    • Snes-Projects
Dragon Ball Z - Legend of Saiyajins - compression type?!
« on: January 03, 2014, 09:20:46 pm »
Hi guys,

hope you could give me some advice about the compression in the outro area of the game.

Is this a known compression typ? Couldn't find any informations ;/

Thanks in advance

red

Code: [Select]
80 16 81 01 2F 00 2F 00 2F 00 2F 00 2F 00 E2 00
CB E1 0C 2F 00 2F 00 87 00 2B 04 F3 00 F5 FF 00
F2 00 DD 00 F8 00 DC 2F 00 F7 00 EC C0 00 F1 0F
06 2F 00 00 2F 00 0F 06 2F 00 2F 00 2F 00 2F 00
2F 00 2F 00 E8 2F 00 0F 0C E4 09 DD 60 0E F5 00
DE 02 02 0F DE A0 0F 2F 02 2F 00 2F 00 2F 00 4B
00 07 DB 00 FC 6F 01 2F 00 2F 00 2F 00 A6 00 FF
9E 04 96 04 98 04 9D 04 FF 9E 04 9C 04 94 04 01
00 35 97 E0 00 B1 E0 00 B2 04 A1 00 0F 03 FF AE
04 A6 04 A8 04 AD 04 5F AE 04 AC 04 A4 00 03 A7
E0 00 8D C1 E0 00 C2 04 A1 00 0F 03 2F 00 DA 7C
E0 20 21 12 90 04 BD 04 9A 2F 03 7C 2F 00 C4 00
A0 04 CD 04 AA 04 03 00 ED 15 29 27 0F 18 0F 18
2F 00 2F 00 2F 00 0F 18 70 2F 00 2F 00 2F 00 69
00 91 04 90 E0 17 A9 93 60 00 E1 16 92 80 18 BD
60 18 9B E3 04 B3 40 01 A1 00 2D 00 A1 04 A0 D2
E0 17 A3 60 00 E1 16 A2 80 18 CD 04 5F CC 04 AB
04 C3 40 01 CD 0F 03 40 2F 00 2F 00 2F 00 2F 00
0F 30 EE 17 EA 60 3F 07 DA 00 F0 20 00 2F 18 2F
04 2F 00 2F 00 40 0F 18 0F 18 2F 00 2F 00 2F 00
2F 00 B3 60 2F 97 90 04 92 40 30 B8 6F 14 2F 00
00 5D C3 60 2F A0 04 A2 40 30 C8 0F 03 40 2F 00
2F 00 2F 00 2F 00 2F 00 08 18 01 00 47 95 FB 42
47 F8 62 56 F9 00 48 AD 30 F5 00 C6 02 2F 00 2F
00 2F 00 2F 00 2F 00 2F 00 2F 00 B8 2F 00 C3 00
81 47 91 04 B4 40 17 B4 54 C0 40 01 47 B3 02 31
90 A0 41 90 8F 15 5D 00 81 47 A1 04 C4 40 17 C4
C0 40 2A 01 47 C3 02 31 A0 A0 41 A0 0F 03 2F 00
C0 2F 00 2F 00 2F 00 0F 18 AF 47 A2 47 01 00 1D
F6 20 6F DA 00 DF 20 00 69 6E 2F 04 E4 2F 00 8B
11 BD 20 40 AF 10 01 00 9C 92 60 53 90 E0 59 61
43 B4 40 5B 63 12 AD 28 C0 51 AF 10 81 05 AC 60
53 A0 E0 59 61 43 C1 C4 40 5B 6F 12 2F 00 2F 00
C1 61 98 04 45 99 A2 62 BC A0 61 21 08 A1 62 9C
80 63 71 B3 C0 63 2D 03 C1 61 A8 04 A9 A2 62 28
41 62 21 08 A1 62 AC 80 63 C3 C0 63 2F 06 00 2F
00 2F 00 0F 18 0F 48 03 48 85 2F 0F 18 2F 00 A8
2F 00 EF 40 29 2B 98 60 6B 9A 00 73 B1 A8 68 0C
EF 40 27 2B A8 60 6B AA 00 73 C1 50 6F 0F 2F 00
2F 00 E2 00 9A C0 79 B5 82 7A AE CD 01 90 04 9B
80 7B B2 24 21 93 2E C2 7B 01 00 AA C0 79 C5 E4
17 6D 74 15 AB 80 7B C2 24 21 A3 C2 7B 0F 07 2F
00 54 0F 18 0B 90 DE A0 2F EC 40 60 F1 EF 17 08
0F 18 2F 00 4C 00 97 C0 81 AD 89 A7 01 A1 31 04
A1 2F 07 8A A7 C0 81 AD 89 A7 01 A1 31 A1 2F 44
07 8A C3 87 B4 C0 47 01 2C A9 46 9E E2 1D 44 8D
1F C3 87 C4 C0 47 01 2C 49 34 AE E2 1D 22 8D 1F
96 C0 8D C1 39 61 4C 91 E8 0B 05 3C 44 E1 25 E9
95 A6 C0 8D C1 39 61 4C A1 E8 0B 00 05 3C E1 25
E9 95 0F 18 0F 18 0F 18 2F 00 2F 00 04 C3 00 E3
9F 9D 82 46 81 12 0B 48 A1 49 01 5A 04 87 40 E3
9F AD 82 46 81 12 0B 48 A1 49 01 5A A0 87 40 01
5E 81 34 AF 43 21 4D B1 20 A9 9B A0 EA 2E 01 5E
81 34 CF 2A 21 4D C1 20 A9 AB 0A EA 2E 93 C0 AC
9D 02 4B 03 31 2F 00 4B 00 85 A3 C0 AC AD 02 4B
0F 31 2F 00 AB 5D F6 02 C0 CE F8 44 AD 89 18 0F
60 2F 00 2F 00 2F 00 00 2F 00 2F 00 2F 00 45 1A
A1 BD EF 01 2F 00 45 1A 00 A1 BD EF 01 2F 00 2F
00 2F 00 2F 00 2F 00 2F 00 88 2F 00 2F 00 ED 2D
DA 80 77 01 30 E3 77 F1 A0 60 E7 0F 60 2F 00 2F
00 69 76 B4 00 60 92 4A 6E D0 B8 A2 49 97 E6 43
67 76 C4 00 60 15 A2 6E D0 C8 A2 49 A7 E6 43 CF
06 2F 00 22 2F 00 94 06 45 C3 DA AB 52 B6 40 C4
E5 82 42 E3 46 A4 06 45 C3 DA 27 05 A1 52 C6 40
C4 00 E5 82 EB 46 2F 00 2F 00 0F 18 0F 18 0F 18
2F 00 5C 2F 00 2F 00 01 00 9F E0 E8 94 E0 D0 17
B8 04 BE 82 87 B8 C4 A1 41 0F EF 02 D7 01 00 AF
E0 E8 A4 E0 D0 C8 04 05 CE 02 47 C8 C4 A1 41 0F
EF 02 2F 00 2F 00 00 2F 00 85 4A 21 F3 EB 63 2F
00 89 4A 21 F3 EB 63 A0 2F 00 2F 00 2F 00 AB 45
4B 47 F2 C2 A7 EC 00 E4 A8 0F 18 2F 00 2F 00 2F
00 2F 00 2F 00 2F 00 C8 2F 00 2F 00 05 5B BF 40
F0 03 F0 B1 04 C9 9F AF EF 0E 5B CF 40 F0 03 F0
C1 04 01 AF AF EF 2F 00 2F 00 2F 00 2F 00 2F 00
C4 00 45 FE 02 E9 EC E0 D6 C1 EE 61 BF F8 60 D7
55 EC C0 D7 FF 40 C0 EB 00 D8 DE 02 31 A1 EB 40
A9 EF 03 2F 00 2D 00 DF 20 DC ED BA 20 7D 01 20
35 F9 00 42 80 35 F2 94 22 05 C1 36 F1 A0 7E F0
C0 AE 61 DF F2 40 62 1F 2F 00 2F 00 2F 00 87 0C
41 3B DD E0 B3 2E 01 07 81 00 89 20 00 82 CF 02
2F 00 00 2F 00 2F 00 2F 00 2F 00 2F 00 2F 00 2F
00 C6 7E 4A C1 BA 96 80 A2 9D C0 E4 01 B1 9B A0
24 51 B9 2F 21 C6 7E C1 BA A6 80 A2 AD C0 E4 0A
01 B1 AB A0 27 C9 0F 03 2F 00 2F 00 2F 00 00 2F
00 2F 00 2F 00 2F 00 2F 00 2C 61 61 E2 A1 8E 00
CF 01 2F 00 21 61 61 E2 A1 8E CF 01 2F 00 2F 00
00 2B 00 FF FF FF FF FF FF FF FF FF FF FF FF FF
E0 03 FF 00 00 05 6B 95 98 F1 74 5E 91 00 6A 77
6E 0B 10 01 01 94 01 7E 84 00 80 E0 FF F7 7F 3B
91 00 EF 20 44 AF F2 82 00 0F 0F 07 FE 02 01 0C
0F 06 00 00 FF FF EF FE FE FB FB 90 04 0B FC 04
FD 06 00 01 00 FB FD FD FE FE BE 90 05 08 FC 04
02 02 21 06 C0 77 FF 78 2F B2 06 C0 78 20 83 00
7B FF F0 29 08 1C FB FC FF B2 08 77 04 43 44 32
09 10 48 4C 05 01 FF 1C 21 20 21 1F 0F 00 00 87
07 1E 0F 71 00 D1 01 84 0B 83 00 FB FF 6F EF EF
FF F9 B4 FA 62 FF 9A 9A 98 16 17 6B 65 07 FF 1B
3B 39 70 70 60 60 06 FF 0A 0A 08 10 10 20 60 F3
FF C3 03 FF FF 7F 7E FF 0E FF 3E FE 7E BE DE DC
C0 FE FF FE FE 7E 02 02 05 00 02 FF 02 02 7E 3E
1E 1C 00 1F 8B 12 10 41 09 07 84 00 E0 0C 22 00
F8 EE E5 11 FE 3F 1F 10 00 78 80 A1 FF 10 08 0E
08 08 00 00 A0 FF D2 E9 EF E9 E8 80 00 21 7E 04
01 C0 20 C0 30 C8 E4 F0 02 1F C0 00 C0 B0 18 24
13 52 0F 04 01 99 01 A0 06 22 15 01 01 95 15 E9
17 68 FF D6 61 20 3F FC C0 00 17 5F 2B FE FF EC
C0 0F 02 C0 D2 04 CC 44 05 1F 00 00 38 4C 03 3D
04 41 A6 FF 98 41 28 5F 37 02 00 41 E7 67 3E 1F
70 00 1F 06 3E 9F FD F7 F8 F1 14 60 1A 6C 52 D7
0E B6 01 20 0C 18 33 16 0C 10 B3 16 80 B6 04 20
00 80 03 20 00 80 03 20 00 B9 80 00 20 02 1A 4F
BE 1C 00 1A 1E E7 0E 00 47 80 20 0C 1A 67 9F 6F
FF 9E 1F 1F 3F 62 9A 66 9A FF 7B FB F7 EF 07 03
07 03 FF 03 03 05 09 06 1A 66 82 6F 02 03 07 0F
02 1A FF FE 01 1A C6 B0 19 FC 00 61 00 04 1A 02
01 10 28 FF 25 12 18 3D 1F 06 00 10 CF 18 0D 0F
17 F1 25 EB 2B 3C 10 37 1F FE F8 30 21 CF EF 72
00 EE 2D A3 7F 83 63 2E 74 00 D6 2D 03 E4 2F 0E
7F 3F 7F FF 9F 8F CF 9F 81 25 8F 60 70 39 70 87
31 81 26 B0 30 80 BF 43 FF FA AC 44 84 B1 14 51
F7 99 39 79 00 31 01 11 59 B9 BE 81 00 41 55 DB
BB 7B E0 2D FD F7 0F FD 71 41 33 C0 F8 06 9E AE
81 2F C0 F9 66 83 00 F8 81 00 C0 1F 20 F0 E8 10
E0 12 21 72 00 90 22 79 F0 82 00 E3 37 7C 60 87
BF 51 07 C7 23 0F 67 C8 07 41 30 D3 24 CC FD 5A
B3 31 B1 84 20 39 39 63 3B 3B 22 19 2F 00 00 67
FE B3 34 98 05 2B A4 35 00 85 00 FF FF FF FF FF

Gemini

  • Hero Member
  • *****
  • Posts: 2015
  • 時を越えよう、そして彼女の元に戻ろう
    • View Profile
    • Apple of Eden
Re: Dragon Ball Z - Legend of Saiyajins - compression type?!
« Reply #1 on: January 04, 2014, 05:34:30 am »
Looks like LZSS. Grab a debugger and see where the decompression code is in order to get the specific jump/size pair.
I am the lord, you all know my name, now. I got it all: cash, money, and fame.

RedScorpion

  • Full Member
  • ***
  • Posts: 102
    • View Profile
    • Snes-Projects
Re: Dragon Ball Z - Legend of Saiyajins - compression type?!
« Reply #2 on: January 04, 2014, 08:14:03 am »
Have check the decompress faq from document, but do not find a structure! ;(

Any ideas?

Gemini

  • Hero Member
  • *****
  • Posts: 2015
  • 時を越えよう、そして彼女の元に戻ろう
    • View Profile
    • Apple of Eden
Re: Dragon Ball Z - Legend of Saiyajins - compression type?!
« Reply #3 on: January 04, 2014, 11:56:13 am »
Use a debugger, it's extremely likely to be a substandard algorithm made for the occasion. You won't find much help from FAQs.
I am the lord, you all know my name, now. I got it all: cash, money, and fame.

justin3009

  • Hero Member
  • *****
  • Posts: 1614
  • Welp
    • View Profile
Re: Dragon Ball Z - Legend of Saiyajins - compression type?!
« Reply #4 on: January 04, 2014, 01:27:25 pm »
Is this the SNES card-game RPG?  It's a standard LZSS compression I think with a 'slight' variant to it if I remember right.
« Last Edit: January 04, 2014, 01:53:36 pm by justin3009 »
'We have to find some way to incorporate the general civilians in the plot.'

'We'll kill off children in the Juuban district with an infection where they cough up blood and are found hanging themselves from cherry blossom trees.'