3DNes emulator, shadows fix for DX9
I have tried this emulator for the first time, using the new official build (v1.1b1), and saw that it works with 3D Vision when you use the "dx9.bat" file. With "Quality" on Medium and High, shadows are broken, but I have fixed the shader: https://www.dropbox.com/s/zhhs6wxmn2lu9hp/3DNes_3D_Vision_fix.7z?dl=0 If you change the quality setting while you play, shadows can break. If that happens, keep changing the quality setting until it fixes itself.
I have tried this emulator for the first time, using the new official build (v1.1b1), and saw that it works with 3D Vision when you use the "dx9.bat" file. With "Quality" on Medium and High, shadows are broken, but I have fixed the shader: https://www.dropbox.com/s/zhhs6wxmn2lu9hp/3DNes_3D_Vision_fix.7z?dl=0


If you change the quality setting while you play, shadows can break. If that happens, keep changing the quality setting until it fixes itself.

CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: Gainward Phoenix 1080 GLH
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com

#1
Posted 07/15/2016 10:38 PM   
Wow.Thank you masterotaku.
Wow.Thank you masterotaku.

#2
Posted 07/15/2016 11:19 PM   
I didn't even know this emu existed. As a retro gaming dude who's original NES is still hooked up... HOLY COW! COOL! Of course I see not all games work well, but it's still neat as hell. I'm having a good time finding what games work and which don't. :D Thanks for the post and the fix on this!
I didn't even know this emu existed. As a retro gaming dude who's original NES is still hooked up... HOLY COW! COOL! Of course I see not all games work well, but it's still neat as hell. I'm having a good time finding what games work and which don't. :D

Thanks for the post and the fix on this!

AsRock X58 Extreme6 mobo
Intel Core-i7 950 @ 4ghz
12gb Corsair Dominator DDR3 1600
ASUS DirectCU II GTX 780 3gb
Corsair TX 950w PSU
NZXT Phantom Red/Black Case
3d Vision 1 w/ Samsung 2233rz Monitor
3d Vision 2 w/ ASUS VG278HE Monitor

#3
Posted 07/16/2016 12:45 AM   
It turns out that by default it runs in DX11 mode and 3D Vision isn't broken with that. I assumed it would be OpenGL so I didn't try it until now. But if someone wants to use the DX9 version for some reason (edit: SGSSAA with "0x004000C1" compatibility bits), my fix is useful :p.
It turns out that by default it runs in DX11 mode and 3D Vision isn't broken with that. I assumed it would be OpenGL so I didn't try it until now.

But if someone wants to use the DX9 version for some reason (edit: SGSSAA with "0x004000C1" compatibility bits), my fix is useful :p.

CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: Gainward Phoenix 1080 GLH
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com

#4
Posted 07/16/2016 08:48 AM   
any screens please?
any screens please?

All hail 3d modders DHR, MasterOtaku, Losti, Necropants, Helifax, bo3b, mike_ar69, Flugan, DarkStarSword, 4everAwake, 3d4dd and so many more helping to keep the 3d dream alive, find their 3d fixes at http://helixmod.blogspot.com/ Also check my site for spanish VR and mobile gaming news: www.gamermovil.com

#5
Posted 07/16/2016 01:16 PM   
[quote="birthright"]any screens please?[/quote] http://u.cubeupload.com/masterotaku/3dnes008.png http://u.cubeupload.com/masterotaku/3dnes007.png http://u.cubeupload.com/masterotaku/3dnes006.png http://u.cubeupload.com/masterotaku/3dnes005.png http://u.cubeupload.com/masterotaku/3dnes004.png

CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: Gainward Phoenix 1080 GLH
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com

#6
Posted 07/16/2016 01:42 PM   
Mmmm, there is an imperfection in the shadows (look at the left): [img]http://u.cubeupload.com/masterotaku/3dnes009.png[/img] It happens in DX11 mode and with my fixed DX9 mode. Maybe DarkStarSword's Unity scripts can fix that. Although I'm stuck with the autofix.sh: [code]C:\Users\Alejandro\Documents\3DNes>sh.exe autofix.sh autofix.sh: unity_asset_extractor.py: command not found autofix.sh: extracted: No such file or directory autofix.sh: extract_unity_shaders.py: command not found autofix.sh: cleanup_unity_shaders.py: command not found No se encuentra el archivo: ( No se encuentra el archivo: -NAME No se encuentra el archivo: 05F7E52C.TXT No se encuentra el archivo: -O No se encuentra el archivo: -NAME No se encuentra el archivo: 678DC18B.TXT No se encuentra el archivo: ) autofix.sh: xargs: command not found No se encuentra el archivo: -A No se encuentra el archivo: -PRINT0 autofix.sh: sed: command not found autofix.sh: xargs: command not found autofix.sh: unix2dos: command not found autofix.sh: tee: command not found autofix.sh: shadertool.py: command not found autofix.sh: unix2dos: command not found autofix.sh: tee: command not found autofix.sh: shadertool.py: command not found autofix.sh: unix2dos: command not found autofix.sh: tee: command not found[/code] Python is installed (I can run .py files from the CMD), and bash.exe is in system32 (also copied as sh.exe). shadertool.py, shaderutil.py, extract_unity_shaders.py and unity_asset_extractor.py are also in the root 3DNes folder. Or I'm not sure if I should use hlsltool.py. I'm probably using it wrong too: [code]C:\Users\Alejandro\Documents\3DNes>hlsltool.py extracted/unity_builtin_extra/Internal-PrePassLighting.shader --install --no-validate --fix-unity-light ing-ps parsing extracted/unity_builtin_extra/Internal-PrePassLighting.shader... Traceback (most recent call last): File "C:\Users\Alejandro\Documents\3DNes\hlsltool.py", line 1454, in <module> main() File "C:\Users\Alejandro\Documents\3DNes\hlsltool.py", line 1403, in main shader = HLSLShader(file) File "C:\Users\Alejandro\Documents\3DNes\hlsltool.py", line 572, in __init__ self.param_end_match = self.param_end_pattern.search(self.text, self.main_match.end()) AttributeError: 'NoneType' object has no attribute 'end'[/code]
Mmmm, there is an imperfection in the shadows (look at the left):

Image

It happens in DX11 mode and with my fixed DX9 mode.

Maybe DarkStarSword's Unity scripts can fix that. Although I'm stuck with the autofix.sh:

C:\Users\Alejandro\Documents\3DNes>sh.exe autofix.sh
autofix.sh: unity_asset_extractor.py: command not found
autofix.sh: extracted: No such file or directory
autofix.sh: extract_unity_shaders.py: command not found
autofix.sh: cleanup_unity_shaders.py: command not found
No se encuentra el archivo: (
No se encuentra el archivo: -NAME
No se encuentra el archivo: 05F7E52C.TXT
No se encuentra el archivo: -O
No se encuentra el archivo: -NAME
No se encuentra el archivo: 678DC18B.TXT
No se encuentra el archivo: )
autofix.sh: xargs: command not found
No se encuentra el archivo: -A
No se encuentra el archivo: -PRINT0
autofix.sh: sed: command not found
autofix.sh: xargs: command not found
autofix.sh: unix2dos: command not found
autofix.sh: tee: command not found
autofix.sh: shadertool.py: command not found
autofix.sh: unix2dos: command not found
autofix.sh: tee: command not found
autofix.sh: shadertool.py: command not found
autofix.sh: unix2dos: command not found
autofix.sh: tee: command not found


Python is installed (I can run .py files from the CMD), and bash.exe is in system32 (also copied as sh.exe). shadertool.py, shaderutil.py, extract_unity_shaders.py and unity_asset_extractor.py are also in the root 3DNes folder.

Or I'm not sure if I should use hlsltool.py. I'm probably using it wrong too:

C:\Users\Alejandro\Documents\3DNes>hlsltool.py extracted/unity_builtin_extra/Internal-PrePassLighting.shader --install --no-validate --fix-unity-light
ing-ps
parsing extracted/unity_builtin_extra/Internal-PrePassLighting.shader...
Traceback (most recent call last):
File "C:\Users\Alejandro\Documents\3DNes\hlsltool.py", line 1454, in <module>
main()
File "C:\Users\Alejandro\Documents\3DNes\hlsltool.py", line 1403, in main
shader = HLSLShader(file)
File "C:\Users\Alejandro\Documents\3DNes\hlsltool.py", line 572, in __init__
self.param_end_match = self.param_end_pattern.search(self.text, self.main_match.end())
AttributeError: 'NoneType' object has no attribute 'end'

CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: Gainward Phoenix 1080 GLH
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com

#7
Posted 07/16/2016 03:55 PM   
nice idea for this fix :)
nice idea for this fix :)

Corei7 4790K 32GB / 2xSLI: Titan X Pascal 3DSurr 7680x1440 +FSIM cockpit :D

My Hardcore gamer rig : http://forum.hardware.fr/configuration.php?config=hardwarefr.inc&pseudo=greatxerox
YOUTUBE Video updated : https://www.youtube.com/channel/UC7CDItQG3ycOxD7alNomG3A?view_as=subscriber
Pictures : http://www.casimages.com/u/greatxerox/369138
Best site Emulation on the net : http://www.emu-france.com/

#8
Posted 07/16/2016 07:06 PM   
tanks for the screens, it looks really cool
tanks for the screens, it looks really cool

All hail 3d modders DHR, MasterOtaku, Losti, Necropants, Helifax, bo3b, mike_ar69, Flugan, DarkStarSword, 4everAwake, 3d4dd and so many more helping to keep the 3d dream alive, find their 3d fixes at http://helixmod.blogspot.com/ Also check my site for spanish VR and mobile gaming news: www.gamermovil.com

#9
Posted 07/17/2016 02:08 PM   
I made a new fix for the V1.1.3 version of the emulator, because it hangs for me in DX11 mode. My reddit post (https://www.reddit.com/r/emulation/comments/572pq9/3dnes_v113_realtime_game_speed_customization/): Versions above "3DNes_v1.1b3" (so v1.1 and up) hang at startup (where it says "Made with unity personal edition") for me, unless I force DirectX 9. The "dx9.bat" that you provided in some old versions worked the best, allowing me to use the "d3d9.dll" I needed (it somehow doesn't work with a shortcut). That made me make a 3D Vision fix for the shadows, by the way (the old one I made doesn't work because shadows now have a different CRC name): https://s3.amazonaws.com/masterotaku/3DNes/3DNes_V1.1.3_dx9_3d_vision_fix.zip Unzip it in where "3dnes.exe" is, and play using "dx9.bat". Hotkeys: - F5: high convergence. New preset can be saved with ctrl+F7. - F6: low convergence. New preset can be saved with ctrl+F7. - F8: toggles the invisible borders of the emulator box. It can give you more view at sharp camera angles (the downside is that things disappear at the sides in a not so smooth way). Untouched by default. About the hanging, I'm using Windows 7 x64 and the 372.90 Nvidia drivers, with a GTX 1080.
I made a new fix for the V1.1.3 version of the emulator, because it hangs for me in DX11 mode. My reddit post (https://www.reddit.com/r/emulation/comments/572pq9/3dnes_v113_realtime_game_speed_customization/):

Versions above "3DNes_v1.1b3" (so v1.1 and up) hang at startup (where it says "Made with unity personal edition") for me, unless I force DirectX 9. The "dx9.bat" that you provided in some old versions worked the best, allowing me to use the "d3d9.dll" I needed (it somehow doesn't work with a shortcut).

That made me make a 3D Vision fix for the shadows, by the way (the old one I made doesn't work because shadows now have a different CRC name): https://s3.amazonaws.com/masterotaku/3DNes/3DNes_V1.1.3_dx9_3d_vision_fix.zip


Unzip it in where "3dnes.exe" is, and play using "dx9.bat". Hotkeys:

- F5: high convergence. New preset can be saved with ctrl+F7.
- F6: low convergence. New preset can be saved with ctrl+F7.
- F8: toggles the invisible borders of the emulator box. It can give you more view at sharp camera angles (the downside is that things disappear at the sides in a not so smooth way). Untouched by default.

About the hanging, I'm using Windows 7 x64 and the 372.90 Nvidia drivers, with a GTX 1080.

CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: Gainward Phoenix 1080 GLH
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com

#10
Posted 10/12/2016 10:43 AM   
So we can't find a way to play PS1 games in 3D but there's a way to play NES games in 3D!? ...Lol
So we can't find a way to play PS1 games in 3D but there's a way to play NES games in 3D!? ...Lol
#11
Posted 10/13/2016 07:24 PM   
thx for the update Masterotaku, i relay it on FB emufrance. [url]https://www.facebook.com/groups/20892669800/[/url]
thx for the update Masterotaku, i relay it on FB emufrance. https://www.facebook.com/groups/20892669800/

Corei7 4790K 32GB / 2xSLI: Titan X Pascal 3DSurr 7680x1440 +FSIM cockpit :D

My Hardcore gamer rig : http://forum.hardware.fr/configuration.php?config=hardwarefr.inc&pseudo=greatxerox
YOUTUBE Video updated : https://www.youtube.com/channel/UC7CDItQG3ycOxD7alNomG3A?view_as=subscriber
Pictures : http://www.casimages.com/u/greatxerox/369138
Best site Emulation on the net : http://www.emu-france.com/

#12
Posted 10/14/2016 03:10 AM   
Scroll To Top