StartHua / HoloVCS

HoloVCS - Atari 2600, NES and Virtual Boy games with 3D layers on the Looking Glass Portrait holographic device

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HoloVCS - Atari 2600, NES, & Virtual Boy games with 3D layers on the Looking Glass Portrait holographic device

License: BSD style attribution, see LICENSE.md

A twitter movie of Super Mario Bros/Castlevania in action

A twitter movie of Virtualboy in action

You a player? Then you probably want to visit the user page, it has the ready to run download version.

Check the user page linked above for which games are currently supported.

You a developer and want to compile the project? Read on

Steps to compile

  • You should have Visual Studio 2022 installed (I use the free community edition)
  • You should have Unreal Engine installed. (I used 4.27.2)
  • Download the Holoplay plugin for Unreal Engine
  • Created a plugins subdir in the HoloVCS dir and drag the Holoplay folder into it
  • Contact Seth to get two missing source files - (SynthComponentSethHack.cpp and SynthComponentSethHack.h) - You must have accepted the UE4 developer license before I can share those as they contain engine code, it's a legal thing. What am I doing with engine code? It's a method I used to work around a UE4 bug with changing audio sample rate on the fly, an alternative is you can just rename things to use SynthComponent instead, it's pretty easy to do, you just want be able to change the sample rate of the synth generator buffer.
  • Right click the HoloVCS.uproject file and choose "Generate VStudio project"
  • Open the HoloVCS.sln file and make sure the active project is HoloVCS 64bit, set to Development_Editor and press F5 to run.

That should do it! It should work and warn you about a missing .rom file which you should add.

It uses special version of stella_libretro.dll which is included in Binaries/Win64. To build this, I checked out Stella and then made a few small hacks so we could do the 3d stuff. Those changes I made are the .dif file in the StellaModifications dir in case you want to build your own version. For NES support, it uses a barely modified version of fceumm_libretro.dll, I added a way to enable/disable bg/sprite rendering.

Cool stuff to have

I'm lazy and probably won't do much, but here are some things that would be nice:

  • Improve 3d effects/compatibility with games
  • Make faster
  • Support more systems (not too hard considering we support the libretro core format, but each would require customizations to make 3D type stuff work)
  • Do builds for other 3D displays like Vive/Oculus/Hololens? It would actually be pretty simple and run much faster considering we only need stereo rendering vs the 30+ frames we render for Looking Glass. Not sure how to set things up to be able to do builds for all of those at once with the same project though.
  • Improve game/audio timing, it's tricky because you can't always assume you'll hit 60fps or a reasonable frame division with how intensive the holographic rendering is

Have some free time and the wherewithal to fix things up to work better or add features? Please feel free to submit submit bug reports, code, patches or whatever!

Credits and links

About

HoloVCS - Atari 2600, NES and Virtual Boy games with 3D layers on the Looking Glass Portrait holographic device

License:Other


Languages

Language:C 63.1%Language:C++ 34.7%Language:Batchfile 1.8%Language:C# 0.5%