and0p / N3S

DirectX 3D NES Emulator for Windows
http://n3s.io
60 stars 19 forks source link

Missing "VxlApp.h" and "VxlUtil.h" #5

Open Baddaboo opened 7 years ago

Baddaboo commented 7 years ago

The project seems to be missing these files. Not sure if it was intentional or just a bit of an oversight. Thanks! 😃

and0p commented 7 years ago

Hi Baddaboo,

Thanks for the interest in the project! What branch are on where you're experiencing this issue?

Baddaboo commented 7 years ago

Ah my apologies, I was on the master branch. I didn't realize that the files were only included in the HoloLens branch. I'll switch to that and see how it works

and0p commented 7 years ago

The hololens port is in limbo at the moment, believe it or not it doesn't perform very well on Hololens, despite pretty heavy optimization. Since N3S will eventually have larger, user-made voxel objects for sprites, which will perform worse, it's sort of a dead end (for now).

There's another issue with the Hololens port.. Since I'm using a fork of the Nestopia libretro library, and that sits in a different repo, there are differences between the newest commit to that repo vs the version the hololensopt branch is compatible with. It's been a while but this is what I wrote to someone else:


Check out commit e1f2f38 from the hololensopt branch of the NesVoxel project. Check out 426a746 for the Nestopia fork in my repos on Github and compile that version of msvc-2010.dll (If you get graphical glitches somehow, try 253b698)

You'll also have to go into the HoloLens app and link the resource mario.nes to an actual ROM that exists on your local machine (not distributing that for obvious reasons, and ROM path was hardcoded at this point in development).

Also might need to use this update for the controller firmware: https://support.xbox.com/en-US/xbox-one/accessories/update-controller-for-stereo-headset-adapter

I also fixed a bug after that commit that was causing the app to crash on start half the time. However, I'm just now realizing that I reverted the controller support in committing the change (probably a Git sync issue in VS). So you might want to apply the quick fixes in the top three files here: https://github.com/and0p/NesVoxel/commit/6e9217112ebbee6f79b44e765f3aef4886a8fe3c


I actually borrowed the HoloLens I used to make the port and can't test the changes @toolboc made (which I may have rolled back by accident 😢) so if you could let me know if that works... I can add it to the project readme.

Thanks!

toolboc commented 7 years ago

Oh noes! I believe the latest changeset on my fork works on HoloLens. My dev machine had an unforeseen OS failure, but I'm pretty sure I had everything in a working state with controller support synced to GitHub. You are welcome to test from https://github.com/toolboc/NesVoxel/tree/hololensopt

Make absolutely sure you use the hololensopt branch and you should be good to go!

toolboc commented 7 years ago

@Baddaboo @and0p I took some time to catch up to the latest changes in my fork of NesVoxel.

I moved the dependency on and0p's fork of netsopia by including it as a submodule. I also re-added in some reverted changes including hard-coded paths and controller support. You should be able to pull down my latest fork, switch to hololensopt branch, and build with HoloLens Release config without any issues.

and0p commented 7 years ago

Thanks, Paul!

Someone from a Japanese game studio is going to grab your version soon too, I guess the team wants to experiment with retro graphics on HoloLens so I'm forwarding them over :)

toolboc commented 7 years ago

@an0p , Whoah! That sounds awesome!

It is not my intention to take your work, but in light of this I will go ahead and create very clear instructions and background in a Readme on my repo to assist anyone who is interested in running it to get it started in just a few commands. Feel free to follow up with me offline if there are any concerns.

toolboc commented 7 years ago

Here it is, this should make it very easy to get the N3S HoloLens build to deploy on HoloLens devices: https://github.com/toolboc/NesVoxel