Saturday, September 19, 2020

Super Mario 64 PC [DX11]







3D Vision fix for the Super Mario 64 PC port, only for the DX11 renderer.

Update (2022-03-23): fix updated to add depth to all skyboxes of the newest Render96 HD textures (I only tested the full size).

What I used to build the game was this: https://sm64pc.info/sm64pcbuilder2/
I have tested the "Render96ex" version with its HD texture pack, and the unmodded "sm64-port" version. I wasn't able to compile the "sm64ex" version in DX11.


Warning: if you use Special K by Kaldaien, it can make the skybox 2D.


Fixed
- Stereoized geometry.
- Skybox at full depth.
- HUD depth options.


Installation
- Download this file and extract its contents in the game folder, like "Render96ex-master\build\us_pc" or "sm64-port-master\build\us_pc" folder, where the game exe is. In my case "sm64.us.f3dex2e.exe".
- Run the game and let it overwrite the Nvidia profile.


Hotkeys and features
F1 or XB_RIGHT_THUMB: convergence presets (0, 200, 400, 600). 600 is the default setting.
F2 or XB_LEFT_THUMB: HUD depth presets (0, 0.2, 0.4, 0.6, 0.8, 1). Screen depth (0) by default.


Recommendations
- The game has very low requirements. I recommend playing with 4xDSR.
- The game has uncapped fps that can make it go over 100% speed. If you use the 60fps patch, 120Hz 3D and vsync, you will have the correct fps without capping them. Otherwise, use RTSS to cap it to either 30fps (unmodded) or 60fps (if you use the 60fps patch).


About the skybox
- To put the skybox at full depth, I had to identify the resolution of its textures. In "d3dx.ini" you can find three blocks starting with "[TextureOverrideSkybox1]". I defined sizes of 528x528, 526x526 (both for the "Render96ex" texture pack) and 32x32 (unmodded game). However, that last one can put at full depth some text in the star selection screen with the texture pack I mentioned. Feel free to comment or modify this last block. If you use another texture pack and you see that the skybox is at screen depth, then it will be dependant on the HUD depth setting. Putting the HUD at full depth will also put that skybox at full depth.


If you liked the fix and want to contribute for more future fixes, you can donate to this PayPal account: masterotakusuko@gmail.com

3 comments:

  1. That's the way a super Mario should be played!! Thanks master.

    ReplyDelete
  2. Somthing must be weird with my system or something changed on the builder but the game only runs at 60fps and no more than that. With the 3d fix installed it runs at 30fps and no more. RTX 2060 w/R5-5600x so my system is not underpowered. I just used the tool referenced to build and chose DX11 Render64.

    ReplyDelete