Author Topic: Video or hu-video code sample  (Read 187 times)

bfrasure

  • Newbie
  • *
  • Posts: 6
Video or hu-video code sample
« on: October 17, 2024, 11:11:47 PM »
Does anyone happen to have any code samples that would enable, even at a rudimentary level, video with sound on the PC engine?

Necromancer

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 21366
Re: Video or hu-video code sample
« Reply #1 on: October 18, 2024, 12:39:09 AM »
Tom posted some examples of replacing the video in Gulliver Boy with something else, but I don't know if he investigated far enough to determine exactly how it works or to easily add huvideo to entirely new games.
U.S. Collection: 97% complete    155/159 titles

bfrasure

  • Newbie
  • *
  • Posts: 6
Re: Video or hu-video code sample
« Reply #2 on: October 19, 2024, 12:48:48 AM »
Thanks, I'm guessing Elmer is Tom.
I found his stuff thanks to you. I don't think source code was released but let's see what we can get.

Necromancer

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 21366
Re: Video or hu-video code sample
« Reply #3 on: October 19, 2024, 12:00:43 PM »
Elmer is a different talented dude.  Tom has also gone by malducci and bonknuts.

Anyways, it'd be awesome to see some more HuVideo stuff, especially if it's use in a cool homebrew game.
U.S. Collection: 97% complete    155/159 titles

bfrasure

  • Newbie
  • *
  • Posts: 6
Re: Video or hu-video code sample
« Reply #4 on: October 19, 2024, 08:32:39 PM »
Ok I dropped BonkNuts a note, hopefully he'll see it :)

Paranoia Dragon

  • Newbie
  • *
  • Posts: 17
Re: Video or hu-video code sample
« Reply #5 on: October 21, 2024, 11:37:03 PM »
Ok I dropped BonkNuts a note, hopefully he'll see it :)

He's currently known as Turboxray on most forums and such. You can find him on Twitter and YouTube under that name, as well as the PC Engine Discord channels.

elmer

  • Hero Member
  • *****
  • Posts: 2153
Re: Video or hu-video code sample
« Reply #6 on: November 02, 2024, 09:19:46 AM »
Does anyone happen to have any code samples that would enable, even at a rudimentary level, video with sound on the PC engine?

As mentioned, Tom replaced some of the video in Gulliver (I think) about 17 years ago as a proof-of-concept. It was just 16-color video (easy to create), and I don't know if it contained audio.

Also many years ago, Mooz documented the important bits of the HuVIDEO format, and extracted the HuVIDEO data from all the games that use it. His work is available online.

https://silentdebuggers.com/doku.php?id=grafx:huvideo
https://github.com/BlockoS/YunaHuVideo


I reverse engineered both the PCE's CD-ROM routines and HuVIDEO playback a few years ago, and asm source has been available for a year or two now, and an example of using it to play back Gulliver Boy's HuVIDEO using a TurboEverdrive is in my asm example projects directory in HuC.

There aren't public tools (yet) to create a HuVIDEO-compatible data stream, but there are folks working on that.

HuC is unlikely to ever be capable of playing back HuVIDEO because it's impossible to create a HuC program that has the 240KB of free RAM that's needed for the HuVIDEO buffering.

It will be supported in HuCC at some point, but it's not been a priority to get working because there's no homebrew HuVIDEO data to play back (yet)!

_joshuaTurbo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5156
Re: Video or hu-video code sample
« Reply #7 on: November 07, 2024, 08:04:41 AM »
Ok I dropped BonkNuts a note, hopefully he'll see it :)

He's currently known as Turboxray on most forums and such. You can find him on Twitter and YouTube under that name, as well as the PC Engine Discord channels.

Jesus christ doods, so Tom is the same guy as BonkNuts, Malducci, and Turboxray? I honestly thought those were all different guys that just disappeared over the years.

DarkKobold

  • Hero Member
  • *****
  • Posts: 1200
Re: Video or hu-video code sample
« Reply #8 on: November 18, 2024, 01:08:36 PM »
Ok I dropped BonkNuts a note, hopefully he'll see it :)

He's currently known as Turboxray on most forums and such. You can find him on Twitter and YouTube under that name, as well as the PC Engine Discord channels.

Jesus christ doods, so Tom is the same guy as BonkNuts, Malducci, and Turboxray? I honestly thought those were all different guys that just disappeared over the years.

RIP in Peace, Bonknuts.
Hey, you.