Silent Debuggers Is A WIP

This is an old revision of the document!


HuVIDEO

FIXME

  • 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)

FIXME research history / Beyond shadow gate code / Rich's doc

https://www.youtube.com/watch?v=aRNw9ccJHS4

https://www.researchgate.net/publication/335322903_A_Tale_of_Two_CDs_Archaeological_Analysis_of_Full-Motion_Video_Formats_in_Two_PC_EngineTurboGrafx-16_Games

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
037394504875564944454F202020202020202020HuVIDEO
037394607700800080000000807C3E807C44807Cw........|>.|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

John Madden Duo CD Football

The header is the same as Power Golf 2. The only way to tell if a video has ADPCM is to check its size. There are 3 kind of videos:

  • 128×128 px tiles with ADPCM
  • 256×112 px tiles without ADPCM
  • 128×64 px sprites with ADPCM

The ADPCM data is stored between the palette and graphical data. The length to read is given by the word stored at the offset 24 in the header. As the ADPCM chip in the PC-Engine CD ROM is an Oki MSM5205, the encoding is compatible with Dialogic ADPCM. You can easily replay or convert it with sox. Note that the file must have .vox extension.

sox --rate 16k adpcm_sample.vox sample.ogg

Yuna HuVIDEO CD / Gulliver Boy

FIXME some examples (non spoiler ones)

Print/export
QR Code
QR Code grafx:huvideo (generated for current page)