News: 11 March 2016 - Forum Rules

Author Topic: [Graphics] [SNES] Sugoi Hebereke compression format  (Read 1600 times)

Luciano The Windows Fan

  • Jr. Member
  • **
  • Posts: 9
    • View Profile
[Graphics] [SNES] Sugoi Hebereke compression format
« on: September 02, 2021, 11:54:55 am »
Hi. So apparently, I wanted to translate the game. The problem is most of the graphics are compressed. In fact, the only uncompressed graphic I could find in the ROM is for the Popoons (that appear when a player is defeated, located at 0x5C39E). The reason is that it was released on NSO, but in Japan only (I even forced the developers to localize it). I could also imagine a (de)conp tool for this game.

slidelljohn

  • Sr. Member
  • ****
  • Posts: 353
    • View Profile
Re: [Graphics] [SNES] Sugoi Hebereke compression format
« Reply #1 on: September 24, 2021, 02:37:50 am »
I was able to insert some new gfx.

original


new


Here is a patch:
https://www.mediafire.com/file/e9fgj96o4ejn27y/Sugoi_Hebereke_%2528J%2529_-_gfx_hack.ips/file

The compression isn't complex. I could possibly make a tool for this.

Here are the pointers to the compressed gfx/data:
Code: [Select]
$8C:C000-$8C:C224 pointers to compressed gfx/data

25 02 00
EE 1A 00
BC 36 00
54 51 00
FC 67 00
F9 7E 00
A5 95 00
89 AF 00
A8 CA 00
22 CF 00
B1 D3 00
C3 D5 00
06 D8 00
51 DC 00
26 E1 00
68 E4 00
47 E6 00
09 FA 00
82 06 01
C0 07 01
32 08 01
78 08 01
78 08 01
F3 08 01
FF 0A 01
12 0C 01
95 1D 01
28 20 01
A4 21 01
0D 24 01
B6 5C 01
2D 6D 01
44 95 01
58 96 01
BE 96 01
1F A4 01
B0 BC 01
E9 BC 01
DD C7 01
4A C8 01
FF D5 01
FF D5 01
FF D5 01
FF D5 01
44 DB 01
5D DB 01
57 DD 01
68 E9 01
8F EB 01
5E 03 02
23 1C 02
4A 1D 02
60 1E 02
C0 2C 02
AE 2D 02
C4 2E 02
9C 3C 02
BA 3E 02
D1 3F 02
54 51 02
B0 51 02
B0 51 02
B0 51 02
B0 51 02
B0 51 02
43 70 02
99 73 02
54 74 02
1C 86 02
9C 86 02
22 93 02
72 93 02
A2 A1 02
B5 A2 02
00 A4 02
B8 A4 02
8F A5 02
30 A6 02
4D A7 02
DD A7 02
67 A8 02
48 A9 02
1F AA 02
D6 AA 02
E4 D2 02
30 D3 02
70 D3 02
AD D3 02
30 F8 02
52 F8 02
2E 14 03
73 14 03
B7 14 03
F7 14 03
61 15 03
BE 39 03
53 3A 03
A5 3A 03
F0 3A 03
8E 3B 03
2A 62 03
96 62 03
C5 62 03
0A 63 03
3A 63 03
89 63 03
27 86 03
9A 86 03
F8 86 03
73 87 03
20 AC 03
A9 AC 03
F0 AC 03
59 AD 03
B8 AD 03
9F D5 03
27 D6 03
8B D6 03
B4 D6 03
CE D6 03
1F FC 03
D4 FC 03
B3 12 04
FA 13 04
62 16 04
15 2A 04
49 2C 04
A0 32 04
93 34 04
96 3B 04
A0 3C 04
B4 3C 04
59 3D 04
66 44 04
AB 46 04
7D 4B 04
04 4D 04
E7 51 04
B4 53 04
C5 59 04
A2 5A 04
D8 5A 04
99 5D 04
89 5F 04
84 61 04
92 8A 04
3E 8D 04
E0 8E 04
EE C3 04
F2 C6 04
51 C7 04
A2 C7 04
93 C9 04
4C F4 04
53 F7 04
9A F8 04
65 21 05
4D 24 05
2E 26 05
6B 65 05
E7 68 05
4C 82 05
6E 84 05
CA B6 05
44 B8 05
F5 F6 05
4B F7 05
FB FA 05
4C 00 06
8D 07 06
03 08 06
2B 08 06
BE 0A 06
69 0E 06
80 10 06
78 11 06
68 33 06
A2 34 06
3C 35 06
7E 46 06
D2 46 06
0B 47 06
AE 4B 06

This $80/9504 is the start of the decompression routine and it uses a sliding window
for the compression.

Luciano The Windows Fan

  • Jr. Member
  • **
  • Posts: 9
    • View Profile
Re: [Graphics] [SNES] Sugoi Hebereke compression format
« Reply #2 on: October 20, 2021, 02:46:00 pm »
I could possibly make a tool for this.
Hope someone does so.

Anime_World

  • RHDN Patreon Supporter!
  • Jr. Member
  • *****
  • Posts: 76
    • View Profile

Luciano The Windows Fan

  • Jr. Member
  • **
  • Posts: 9
    • View Profile
Re: [Graphics] [SNES] Sugoi Hebereke compression format
« Reply #4 on: October 21, 2021, 10:17:08 am »
ALAKAZAM!

https://github.com/hansbonini/snes_lz_sunsoft
Thanks for my wish. However, when I used the tool, I still get come compressed garbage, even with the pointers slidelljohn sent.

October 21, 2021, 11:00:43 am - (Auto Merged - Double Posts are not allowed before 7 days.)

I finally managed to insert new GFX, the compression process is so long though.
« Last Edit: October 21, 2021, 11:00:43 am by Luciano The Windows Fan »

Anime_World

  • RHDN Patreon Supporter!
  • Jr. Member
  • *****
  • Posts: 76
    • View Profile
Re: [Graphics] [SNES] Sugoi Hebereke compression format
« Reply #5 on: October 21, 2021, 06:27:08 pm »
Fixed, please update.  ;)
Worked?  :huh:
« Last Edit: October 24, 2021, 12:26:27 pm by Anime_World »