Saturday, June 1, 2024

Super Mario 64 PC [DX11]







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

Update (2024-06-01): added geo-11 fix. Skyboxes and cannon crosshairs handled for all texture packs (to this date) that can be selected from sm64pcbuilder2.
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/


Fixed
- Stereoized geometry.
- Skybox at full depth.
- Cannon crosshair at 90% depth.
- HUD depth options.


Installation
- geo-11 fix (with build v0.6.164): 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". Remember to edit "d3dxdm.ini" to change your "direct_mode" to the output you need. For 3D Vision monitors, "nvidia_dx9" doesn't work.
- (Old 3D Vision fix, for historical purposes. Use the geo-11 fix instead) 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.


Hotkeys and features
F1 or XB_RIGHT_THUMB: convergence presets (0, 200, 400, 600, 900). 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

4 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