PCEngineFans.com - The PC Engine and TurboGrafx-16 Community Forum

Tech and Homebrew => Turbo/PCE Game/Tool Development => Topic started by: bfrasure on October 17, 2024, 11:11:47 PM

Title: Video or hu-video code sample
Post by: bfrasure 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?
Title: Re: Video or hu-video code sample
Post by: Necromancer 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.
Title: Re: Video or hu-video code sample
Post by: bfrasure 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.
Title: Re: Video or hu-video code sample
Post by: Necromancer 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.
Title: Re: Video or hu-video code sample
Post by: bfrasure on October 19, 2024, 08:32:39 PM
Ok I dropped BonkNuts a note, hopefully he'll see it :)
Title: Re: Video or hu-video code sample
Post by: Paranoia Dragon 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.
Title: Re: Video or hu-video code sample
Post by: elmer 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)!
Title: Re: Video or hu-video code sample
Post by: _joshuaTurbo 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.
Title: Re: Video or hu-video code sample
Post by: DarkKobold 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.