This is an old revision of the document!
Table of Contents
HuVIDEO
- Hudson School Graduation CD ?
- Power Golf 2 - Golfer / パワーゴルフ2 ゴルファー (HCD4056)
- John Madden Duo CD Football (TGXCD1045)
- Ginga Ojousama Densetsu Yuna HuVIDEO CD / 銀河お嬢様伝説ユナ (HCD5078)
- Kuusou Kagaku Sekai Gulliver Boy / 空想科学世界ガリバーボーイ (HCD5076)
research history / Beyond shadow gate code / Rich's doc
Description
Offset | Size (bytes) | Description |
---|---|---|
0 | 16 | Signature ⚬ “HuVIDEO ” for Power Golf 2 and John Madden ⚬ “HuVideo\0\0\0\0\0\0\0\0\0” for Yuna and Gulliver Boy |
16 | 2 | Video frame count |
18 | 2 | Width (in pixels) |
20 | 2 | Height (in pixels) |
22 | 1 | Flag (unused) |
23 | 1 | VRAM format (0: background tiles, 1: sprites) |
24 | 2 | ADPCM buffer length |
26 | 6 | Unknown |
Power Golf 2
The next 32 bytes following the header contains the palette of the video. The first frame is located 8 sectors away from the header. Frames are stored sequentially. There's no ADPCM and all frames use the palette. All videos have the same size which is 128 by 128 pixels.
Here is the header of one of the video.
Offset | Hex | ASCII | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
03739450 | 48 | 75 | 56 | 49 | 44 | 45 | 4F | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | H | u | V | I | D | E | O | |||||||||
03739460 | 77 | 00 | 80 | 00 | 80 | 00 | 00 | 00 | 80 | 7C | 3E | 80 | 7C | 44 | 80 | 7C | w | . | . | . | . | . | . | . | . | | | > | . | | | D | . | | |
According to the header description, this video contains 119 (77h) frames of 128 (80h) by 128 (80h) pixels encoded as background tiles. As we know that the videos does not contain ADPCM, we can safely the last 8 bytes of the header.
Sector | Description |
---|---|
00 | header + palette |
01 | skip |
02 | |
03 | |
04 | |
05 | |
06 | |
07 | |
08 | |
09 | frame #0 |
0a | |
0b | |
0c | |
0d | frame #1 |
0e | |
0f | |
10 |