PCSX2 in 3d playstation 2 emulator
  6 / 16    
[quote="masterotaku"]Hey! I got PCSX2 to trigger exclusive fullscreen and 3D Vision on Windows 10! The method is a bit different. After everything is installed and configured: - Boot a game. - Press escape and go to GSdx options (it won't crash). - Reboot or resume the game. - Press alt+enter until it works. Usually at the first or second time. - If by any chance you press escape again, PCSX2 will crash. HOWEVER, I can't get PCSX2 to load 3Dmigoto in any way. Even without the other d3d9.dll. 3D Vision is enabled, yes, but without 3Dmigoto there is no 3D for us! Any help here? I tried all hooking methods, all the "allow_" stuff, etc, and still nothing. No logs, no hunting OSD or hotkeys... It just doesn't load. G-Sync+ULMB is saved in this case, but I want 3D.[/quote]I'm going to check this out later. Can you check your PM? I'm having issues with getting Dolphin to work in 3d.
masterotaku said:Hey! I got PCSX2 to trigger exclusive fullscreen and 3D Vision on Windows 10! The method is a bit different. After everything is installed and configured:

- Boot a game.
- Press escape and go to GSdx options (it won't crash).
- Reboot or resume the game.
- Press alt+enter until it works. Usually at the first or second time.
- If by any chance you press escape again, PCSX2 will crash.

HOWEVER, I can't get PCSX2 to load 3Dmigoto in any way. Even without the other d3d9.dll. 3D Vision is enabled, yes, but without 3Dmigoto there is no 3D for us!

Any help here? I tried all hooking methods, all the "allow_" stuff, etc, and still nothing. No logs, no hunting OSD or hotkeys... It just doesn't load.

G-Sync+ULMB is saved in this case, but I want 3D.
I'm going to check this out later. Can you check your PM? I'm having issues with getting Dolphin to work in 3d.

#76
Posted 03/30/2017 08:08 PM   
[quote="masterotaku"]HOWEVER, I can't get PCSX2 to load 3Dmigoto in any way. Even without the other d3d9.dll. 3D Vision is enabled, yes, but without 3Dmigoto there is no 3D for us! Any help here? I tried all hooking methods, all the "allow_" stuff, etc, and still nothing. No logs, no hunting OSD or hotkeys... It just doesn't load.[/quote] If there's no log, I would think that it's not hooking. Have you tried Flugan's wrapper, he uses Deviar hooking (no idea how to spell it or the thread where I saw it)
masterotaku said:HOWEVER, I can't get PCSX2 to load 3Dmigoto in any way. Even without the other d3d9.dll. 3D Vision is enabled, yes, but without 3Dmigoto there is no 3D for us!

Any help here? I tried all hooking methods, all the "allow_" stuff, etc, and still nothing. No logs, no hunting OSD or hotkeys... It just doesn't load.


If there's no log, I would think that it's not hooking.

Have you tried Flugan's wrapper, he uses Deviar hooking (no idea how to spell it or the thread where I saw it)

#77
Posted 03/30/2017 08:35 PM   
[quote="D-Man11"] If there's no log, I would think that it's not hooking.[/quote] Exactly. When I run PCSX2 with Kaldaien's d3d9.dll, I can see in its logs that 3Dmigoto's dlls didn't load. [quote="D-Man11"] Have you tried Flugan's wrapper, he uses Deviar hooking (no idea how to spell it or the thread where I saw it)[/quote] Where can I get the latest version? The only thing I can find is this: https://github.com/Flugan/DirectX-hooks-for-changing-shaders
D-Man11 said:
If there's no log, I would think that it's not hooking.

Exactly. When I run PCSX2 with Kaldaien's d3d9.dll, I can see in its logs that 3Dmigoto's dlls didn't load.

D-Man11 said:
Have you tried Flugan's wrapper, he uses Deviar hooking (no idea how to spell it or the thread where I saw it)


Where can I get the latest version? The only thing I can find is this: https://github.com/Flugan/DirectX-hooks-for-changing-shaders

CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: MSI GeForce RTX 2080Ti Gaming X Trio
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com

#78
Posted 03/30/2017 10:04 PM   
Sorry, I don't know. It used to be on his onedrive or something. I think he uses Flugan.net now? https://forums.geforce.com/default/topic/861858/ I just know that I read that he used a different hooking with his wrapper. edit: 3Dmigoto uses Deviare, Flugan uses something else. [url]https://forums.geforce.com/default/topic/854182/3d-vision/crysis-3-3d-fix-discussion/post/4599766/#4599766[/url]
Sorry, I don't know. It used to be on his onedrive or something.

I think he uses Flugan.net now? https://forums.geforce.com/default/topic/861858/

I just know that I read that he used a different hooking with his wrapper.

edit: 3Dmigoto uses Deviare, Flugan uses something else.

https://forums.geforce.com/default/topic/854182/3d-vision/crysis-3-3d-fix-discussion/post/4599766/#4599766

#79
Posted 03/30/2017 10:29 PM   
Good news! Someone made a workaround to force PCSX2 to load the 3Dmigoto "d3d11.dll". 3D works now on Windows 10. Then I had to change the values of the "allow_" settings in 3Dmigoto to make it work correctly with SpecialK, using a specific combination (basically enabling everything). There is an added hassle I'm seeing for now, and it's that the SBS/TAB shader can't be enabled at boot or the emulator will give a black screen and run at low fps at the last step of booting a game. I has to be disabled first, and then when SpecialK is working (after some steps), I need to edit "d3dx.ini" to enable it and then reload with F10. I'll try to fix this. I'll upload a new fix and instructions when it's ready. And maybe a blog post. I want to experiment with some things first.
Good news! Someone made a workaround to force PCSX2 to load the 3Dmigoto "d3d11.dll". 3D works now on Windows 10.

Then I had to change the values of the "allow_" settings in 3Dmigoto to make it work correctly with SpecialK, using a specific combination (basically enabling everything). There is an added hassle I'm seeing for now, and it's that the SBS/TAB shader can't be enabled at boot or the emulator will give a black screen and run at low fps at the last step of booting a game. I has to be disabled first, and then when SpecialK is working (after some steps), I need to edit "d3dx.ini" to enable it and then reload with F10. I'll try to fix this.

I'll upload a new fix and instructions when it's ready. And maybe a blog post. I want to experiment with some things first.

CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: MSI GeForce RTX 2080Ti Gaming X Trio
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com

#80
Posted 01/10/2018 08:40 PM   
And more stuff: I'm stereoizing shaders so we don't have to depend on old modified GSdx builds. This means native 3D Vision, and no TAB to 3D Vision conversion. This will take more time, because I'll need regex most probably.
And more stuff: I'm stereoizing shaders so we don't have to depend on old modified GSdx builds. This means native 3D Vision, and no TAB to 3D Vision conversion. This will take more time, because I'll need regex most probably.

CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: MSI GeForce RTX 2080Ti Gaming X Trio
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com

#81
Posted 01/10/2018 09:52 PM   
[delete]
[delete]

#82
Posted 01/11/2018 07:01 AM   
There won't be any "weird" hotkeys like before, other than maybe aspect ratio. There is no need to crop anything now or use DSR. It will use your native separation and convergence hoykeys. And I'll make some convergence presets, of course. I already got a regex working and tried a pair of games. There are still some graphics bugs that the other method didn't have, but I'll try to fix them and improve the regex. Note: individual game fixes/mods will be almost impossible with just regex. Also, this new method needs custom resolution and not native resolution multipliers, for now.
There won't be any "weird" hotkeys like before, other than maybe aspect ratio. There is no need to crop anything now or use DSR. It will use your native separation and convergence hoykeys. And I'll make some convergence presets, of course.

I already got a regex working and tried a pair of games. There are still some graphics bugs that the other method didn't have, but I'll try to fix them and improve the regex.

Note: individual game fixes/mods will be almost impossible with just regex. Also, this new method needs custom resolution and not native resolution multipliers, for now.

CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: MSI GeForce RTX 2080Ti Gaming X Trio
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com

#83
Posted 01/11/2018 09:48 AM   
Things are going very well, and it's already a lot better than the old method. Example of my current hotkeys: - Hotkey for aspect ratio. Preferably just for unstretching 4:3 games. There is culling if you try to get a wider AR than what the game wants to use. - Hotkey for centered view, right eye dominant view, and left eye dominant view (inspired by what Helifax does in his wrapper, and what the old PCSX2 plugin did mandatorily). Useful if some games have very convergence dependant HUD, or useful for aiming with crosshairs. - Individual hotkeys to disable the stereoization of each of the three (at the moment) shader regexes I made. Some games need all of them enabled, some need two, some need one, and sometimes a ShaderOverride would be needed to make a game perfect. The problem about needing shader overrides (different behavior for different pixel shaders related to the same vertex shader) to make individual fixes is that you need the hash of the pixel shader, and that can vary per user / PCSX2 build / PCSX2 configuration. Perhaps I can prepare some disabled overrides for fixes I know how to do, and give instructions about what pixel shader users need to dump (like "dump character shadows" or "dump this effect that has haloing"). Then people would just need to work for a few minutes. I'll release a WIP version in 12-24 hours.
Things are going very well, and it's already a lot better than the old method. Example of my current hotkeys:

- Hotkey for aspect ratio. Preferably just for unstretching 4:3 games. There is culling if you try to get a wider AR than what the game wants to use.
- Hotkey for centered view, right eye dominant view, and left eye dominant view (inspired by what Helifax does in his wrapper, and what the old PCSX2 plugin did mandatorily). Useful if some games have very convergence dependant HUD, or useful for aiming with crosshairs.
- Individual hotkeys to disable the stereoization of each of the three (at the moment) shader regexes I made. Some games need all of them enabled, some need two, some need one, and sometimes a ShaderOverride would be needed to make a game perfect.


The problem about needing shader overrides (different behavior for different pixel shaders related to the same vertex shader) to make individual fixes is that you need the hash of the pixel shader, and that can vary per user / PCSX2 build / PCSX2 configuration.

Perhaps I can prepare some disabled overrides for fixes I know how to do, and give instructions about what pixel shader users need to dump (like "dump character shadows" or "dump this effect that has haloing"). Then people would just need to work for a few minutes.


I'll release a WIP version in 12-24 hours.

CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: MSI GeForce RTX 2080Ti Gaming X Trio
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com

#84
Posted 01/13/2018 12:15 AM   
Really interesting stuff masterotaku, when you are involved I know it'll be great :) I don't have much experience with PS2, but it looks like I have some catch up to do ! Can you recommend a couple of PS2 exclusive titles / showcases to start with, perhaps 3rd person action or a cutie ?
Really interesting stuff masterotaku, when you are involved I know it'll be great :)

I don't have much experience with PS2, but it looks like I have some catch up to do !

Can you recommend a couple of PS2 exclusive titles / showcases to start with, perhaps 3rd person action or a cutie ?

Win7 64bit Pro
CPU: 4790K 4.8 GHZ
GPU: Asus Geforce RTX 2080 TI Rog Strix OC
Monitor: Asus PG278QR
And lots of ram and HD's ;)

#85
Posted 01/13/2018 10:00 AM   
Here's a work in progress version: https://s3.amazonaws.com/masterotaku/PCSX2/PCSX2_Windows10_3D_WIP2.7z Before using it, you need to use this (https://s3.amazonaws.com/masterotaku/PCSX2/d3d11_fix.zip) to force PCSX2 to see 3Dmigoto (not made by me, so I don't take responsibility if someone reveals it's harmful or something). [b]WARNING:[/b] it's a test version that I've sent to Kaimasta so he can check if the shader overrides under ";-------------- Specific game fixes --------------" in "d3dx.ini" are valid for him. I still have to hear from him about that. If they interfere, delete them. My PCSX2 version is pcsx2-v1.5.0-dev-2249-g49cd6bc78-windows-x86. Don't use something older than that. I have tested 31 games and wrote what they need in the "PCSX2_3D_game_database.txt" file. The basics are that there are three vertex shaders that have to be stereoized or not depending on the game. I did it with regex to avoid hash changes with different build and settings. There are three hotkeys to toggle the stereoizing of each of them (by default they are 3D). "j", "k" and "l". Some games need the third one disabled, some the second and third, and in my experience none needed the first to be 2D. That info is in the text file I mentioned before. The old 3D method (that needs the old GSdx build) is included in there, but better not use it. Hotkeys: - v: stereo view (centered by default). It cycles through right eye dominant, left eye dominant, and centered. - b: aspect ratio for 4:3 games. Broken at the moment. - j: first regex toggle. - k: second regex toggle. - l: third regex toggle. - h: some convergence presets. Not much. To launch games: - Be sure you are using DX11 hardware renderer first, before installing the fix (you can change it at other times, yes. Just not right after opening the emulator). - Boot a game. - Open the graphics (GSdx) config and close it. Here's when you can change configurations. MAKE SURE "Large Framebuffer" is enabled. - Resume the game. - Double click to make sure it's fullscreen, because otherwise the emulator will probably choose a lower resolution than native from your drivers. - Alt+enter to enable exclusive fullscreen. After that, you can enter and exit fullscreen, but it may be unstable after a few times. You can boot more games in one session with hsome good luck.
Here's a work in progress version: https://s3.amazonaws.com/masterotaku/PCSX2/PCSX2_Windows10_3D_WIP2.7z

Before using it, you need to use this (https://s3.amazonaws.com/masterotaku/PCSX2/d3d11_fix.zip) to force PCSX2 to see 3Dmigoto (not made by me, so I don't take responsibility if someone reveals it's harmful or something).

WARNING: it's a test version that I've sent to Kaimasta so he can check if the shader overrides under ";-------------- Specific game fixes --------------" in "d3dx.ini" are valid for him. I still have to hear from him about that. If they interfere, delete them. My PCSX2 version is pcsx2-v1.5.0-dev-2249-g49cd6bc78-windows-x86. Don't use something older than that.

I have tested 31 games and wrote what they need in the "PCSX2_3D_game_database.txt" file.


The basics are that there are three vertex shaders that have to be stereoized or not depending on the game. I did it with regex to avoid hash changes with different build and settings. There are three hotkeys to toggle the stereoizing of each of them (by default they are 3D). "j", "k" and "l". Some games need the third one disabled, some the second and third, and in my experience none needed the first to be 2D. That info is in the text file I mentioned before.

The old 3D method (that needs the old GSdx build) is included in there, but better not use it.

Hotkeys:

- v: stereo view (centered by default). It cycles through right eye dominant, left eye dominant, and centered.
- b: aspect ratio for 4:3 games. Broken at the moment.
- j: first regex toggle.
- k: second regex toggle.
- l: third regex toggle.
- h: some convergence presets. Not much.



To launch games:
- Be sure you are using DX11 hardware renderer first, before installing the fix (you can change it at other times, yes. Just not right after opening the emulator).
- Boot a game.
- Open the graphics (GSdx) config and close it. Here's when you can change configurations. MAKE SURE "Large Framebuffer" is enabled.
- Resume the game.
- Double click to make sure it's fullscreen, because otherwise the emulator will probably choose a lower resolution than native from your drivers.
- Alt+enter to enable exclusive fullscreen. After that, you can enter and exit fullscreen, but it may be unstable after a few times. You can boot more games in one session with hsome good luck.

CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: MSI GeForce RTX 2080Ti Gaming X Trio
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com

#86
Posted 01/13/2018 02:40 PM   
Reports from Kaimasta: - My shader overrides work for him, so my individual game fixes are valid! At least with our similar PCSX2 builds, and at least with Jak & Daxter. They may break in the future if PCSX2 changes its shader generation. - He couldn't use the workaround to make 3Dmigoto work on Windows 10 at first. The bat file gave him an error. He says that changing "sdbinst -q %~dp0d3d11_fix.sdb" to "sdbinst d3d11_fix.sdb" worked, and that some people may need "sdbinst -q d3d11_fix.sdb".
Reports from Kaimasta:

- My shader overrides work for him, so my individual game fixes are valid! At least with our similar PCSX2 builds, and at least with Jak & Daxter. They may break in the future if PCSX2 changes its shader generation.

- He couldn't use the workaround to make 3Dmigoto work on Windows 10 at first. The bat file gave him an error. He says that changing "sdbinst -q %~dp0d3d11_fix.sdb" to "sdbinst d3d11_fix.sdb" worked, and that some people may need "sdbinst -q d3d11_fix.sdb".

CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: MSI GeForce RTX 2080Ti Gaming X Trio
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com

#87
Posted 01/13/2018 06:19 PM   
Updated contents of "d3dx.ini": https://pastebin.com/ATS67S9h It includes a bunch of individual games fixes. If you suspect that some of them (ShaderOverride) are making some unintended effects 2D, make sure only specific fixes for your game (if it's there) are enabled. And report your experience. I don't have the whole PS2 library :p.
Updated contents of "d3dx.ini": https://pastebin.com/ATS67S9h


It includes a bunch of individual games fixes. If you suspect that some of them (ShaderOverride) are making some unintended effects 2D, make sure only specific fixes for your game (if it's there) are enabled. And report your experience. I don't have the whole PS2 library :p.

CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: MSI GeForce RTX 2080Ti Gaming X Trio
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com

#88
Posted 01/13/2018 10:08 PM   
I'll be updating the ini and database files here, to not upload the entire fix all the time: https://github.com/masterotaku/shader-mods/tree/master/PS2/3D%20database%20and%20ini It already has some additions.
I'll be updating the ini and database files here, to not upload the entire fix all the time: https://github.com/masterotaku/shader-mods/tree/master/PS2/3D%20database%20and%20ini


It already has some additions.

CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: MSI GeForce RTX 2080Ti Gaming X Trio
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com

#89
Posted 01/14/2018 08:11 AM   
Hmm.. Can you provide a link to a respectable site with the 1.5 version ? The official site says 1.4..
Hmm.. Can you provide a link to a respectable site with the 1.5 version ?

The official site says 1.4..

Win7 64bit Pro
CPU: 4790K 4.8 GHZ
GPU: Asus Geforce RTX 2080 TI Rog Strix OC
Monitor: Asus PG278QR
And lots of ram and HD's ;)

#90
Posted 01/14/2018 11:21 AM   
  6 / 16    
Scroll To Top