Next Generation Emulation banner

PeteOpenGL2Tweak - Tweaker for PeteOpenGL2 plugin w/ GTE Accuracy Hack!

367K views 2K replies 166 participants last post by  Polar-kun 
#1 · (Edited)
WARNING: OBSOLETE
I RECOMMENDING USING DUCKSTATION!


PeteOpenGL2Tweak - Tweaker for PeteOpenGL2 plugin

WARNING: This plugin REQUIRES -ORIGINAL- Pete OpenGL2 v2.9 plugin to work ! You will get "Error 0x7e" if you do not have it !

Sources and new releases will be posted on github: Nucleoprotein/PeteOpenGL2Tweak
If emulator is crashing with TextureCache and high scale setting ie. 5 or 6xBRZ download this patch and apply to -emulator- executable (ie. ePSXe.exe or PCSXR.exe):
4GB Patch – NTCore

xBRZ is compatible only with "Hi-Res Textures" option set to "0 - None"
Also make sure that "Framebuffer Effects" is set to "2 - Standard".


Requirements:
gpuPeteOpenGL2 plug-in v2.9 (425984 bytes, need to be in <emu_dir>\plugins)
- download it here: Pete's PSX GPU plugins
GTE Accuracy hack requires latest PCSX-R or ePSXe 2.0+

Files here: OneDrive

About:

PeteOpenGL2Tweak is a PSEMU Pro compatible plug-in that patches PeteOpenGL2 plugin on runtime.
Current tweaks include:

  • Fixed automatic VRAM detection
  • Possible to force VSYNC
  • Hide mouse cursor
  • Adds GTE Accuracy hack by edgbla (Blade_Arma)
  • Adds xBRZ texture scaler with deposterize filter and texture cache
  • Adds ResHack ie. custom internal resolution, can be much higher than build-in options
GTE Accuracy hack is ported from PCSX-R version of PEOPS OpenGL 1.78.
What do this hack ? It cause less polygon shaking in most games !!!

Comparison:

Tomb Raider 3:
PCSXR w/ GTE Widescreen hack + PeteOpenGL2, non-tweaked:


PCSXR w/ GTE Widescreen hack + PeteOpenGL2Tweak w/ GTE Accuracy hack:


xBRZ filter with deposterize:


Usage:
Copy gpuPeteOpenGL2Tweak.dll to plugins directory, then run emulator and select "PeteOpenGL2 Tweaks" as GPU plugin.

Configuration:
Configuration file is: inis\gpuPeteOpenGL2Tweak.ini, all options can be only turn on or off so there is not much to configure, by default FixMemoryDetection and EnableVsync are off.


You are welcome to like it or hate it :)
Thanks:
Pete Bernert
edgbla
Calb
and whole PCSXR team
 
See less See more
2 1
#248 ·
Doesn't say that for me in logs. It only says direct input init ok. Emu is still reading from Epsxe's internal controller. Exe is clean. Got rid of shark once I saw this. I tried with and without RegEmu.
 
#249 ·
There should be a something like that:
Code:
 * Running ePSXe emulator version 1.9.4.
* Memory handlers init.
* Loading Single CUE File ok
* Loading ISO Format [MDF/BIN/IMG2352] ok
* First/Last track: 1 1
* Track 1: (DATA)  - Start 1: (00,02,00) -  Length 55:36
* NTSC cdrom detected. (SLUS_010.42)
TWEAK: Pete OpenGL2 Tweak Enabled
* Doing init gpu[0]...
TWEAK: glTexImage2D 0x00000DE1 0 3 64 64 0 0x00001907 0x00001401 0018C9B0
TWEAK: AMD GPU VRAM: 1024MB
TWEAK: SwapInterval set to -1
TWEAK: ResHack 8 8
TWEAK: ePSXePadSupport: Detected supported ePSXe
TWEAK: ePSXePadSupport: Initalizing Port 1
TWEAK: ePSXePadSupport: Initalizing Port 2
* Gpu open[0]...
* Direct input init ok.
* Init core spu ...  ok
TWEAK: glTexImage2D 0x00000DE1 0 3 128 128 0 0x00001907 0x00001401 00183A7C
 
#250 ·
Hmm, 'TWEAK:' is nowhere on mine. Mine looks like yours except no tweak lines. It doesn't say tweak enabled either.
 
#252 ·
Ohhhhhhh. Silly rabbit. Trix are for kids xD

That, by George, was the problem.


Before you go, do you have documentation or can quickly explain these entries:
-ResHack
-Hardcore mode
-Use Window


Lastly, slow boot option in future?
 
#253 · (Edited)
ResHack, internal res multiply x/y, you can set more than in normal config.
HardcoreMode, disables UsePEC and save states (F1/F2/F3).
UseWindow, uses below options in [Window] section to move GPU window to specified X/Y, you can also specify OnTop flag.

Add "-slowboot" to ePSXe.exe shortcut ?

PS: Alundra pad issue in ePSXe 1.9.25 is caused by HLEBIOS ...
 
#254 ·
Ok, thanks. Yes I know about the shortcut. Was just wondering because this was an option in shark.
Last one I promise xD : Does fixmemory still apply to epsxe?
 
#256 ·
This option: FixMemoryDetection
Was asking about that. So I don't need to enable it when I do update?

I noticed that when I have ontop enabled, it stops the taskbar from going over the window when you press the windows key which is great. But when you press esc and then remaximize the window, the start menu and taskbar can go atop the window again which can make epsxe shribble up in the top left corner (petes bug). Just letting you know.
 
#257 · (Edited)
This is fix for VRAM auto-detection in PeteOpenGL2 plugin, and still works better than original (which I think is not supported method for today drivers).

[Window] will only work properly in Window Mode :p

PS: I can block Windows keys :p

EDIT: LOL, same problem with Alunda (no input) in PCSXR when using it's HLEBIOS... same implementation :p?
EDIT2: I looking now at gpuPeopsOpenGL 1.78 code... this plugin is so obsolete. OpenGL2 have some of this code, which is not strange, same author. Correction: both plugins are obsolete.
 
#258 · (Edited)
Okay, cool. Thanks for the vram explanation.

The thing about that is if something in the taskbar wants to get up front, it will still happen. How about a borderless window mode for fullscreen mode perhaps? At least then, it wouldn't shrink in the upper left corner. But you still would probably need to implement something that'll keep the taskbar pushed back.
 
#260 ·
Accurate hardware rendering isn't all it's cracked up to be imho. The original Playstation wasn't very good to begin with (it was good for it's time, though). I would prefer correcting some of the graphic issues with the current HW Accelerated GPU plug-ins (Pete's to be specific). I know that's not going to happen any time soon or at all since they are closed source and I would be surprised if Pete Bernert let them out to the wild since he hasn't done it yet.
 
  • Like
Reactions: Monater
#262 ·
PeteOpenGL2Tweak - Tweaker for PeteOpenGL2 plugin
//2015-07-12
+xBRZ Texture Scaler:



//2015-07-11
2.0 + Source:
http://dev.tapek.shst.pl/ePSXe/gpuPeteOpenGL2Tweak20.7z
//2015-07-10
PCSXR r96687 + my mods (save state picture display fix and per game memory card - like ePSXe 1.9.25)

http://dev.tapek.shst.pl/PCSXR/PCSXR_r96687+mods.7z
//2015-07-08
Updated pad plugin hack:
*Fixed pooling bug.
*Added ability to run pad plugins configuration dialog by using "Test" button in GPU plugin select dialog.
//2015-07-06
WIP 2.0 - http://dev.tapek.shst.pl/ePSXe/gpuPeteOpenGL2Tweak_20WIP.7z
As Shark has terrible code I added here ePSXe pad plugin hack for 1.9.25, 1.9.0, 1.8.0 and 1.7.0. Also added ResHack, ie. setting any X/Y multiplier.
NOTE: You need to manually add pad plug-in name to inis\gpuPeteOpenGL2Tweak.ini
Something like that:
Code:
[PadPlugin]
Port1 = plugins\padPokopom.dll
Port2 = plugins\padNRagePlugin.dll
Code will be released later - it needs some cleanup.

Requirements:
VS2013 Redistributable (x86): http://www.microsoft.com/en-us/download/details.aspx?id=40784
gpuPeteOpenGL2 plug-in v2.9 (425984 bytes, need to be in <emu_dir>\plugins)
GTE Accuracy hack requires PCSXR

Downloads:
PeteOpenGL2Tweak: http://dev.tapek.shst.pl/PCSXR/gpuPeteOpenGL2Tweak.bin.zip
PeteOpenGL2Tweak Source Code: http://dev.tapek.shst.pl/PCSXR/gpuPeteOpenGL2Tweak.src.zip
PCSXR SVN r91446 (VS2013 build): http://dev.tapek.shst.pl/PCSXR/PCSXR_r91446.zip
gpupec.dll for PCSXR: http://dev.tapek.shst.pl/PCSXR/gpupec_upx.zip
spuPeopsSound 1.10 XAudio2 fix for PEC: http://dev.tapek.shst.pl/PCSXR/spuPeopsSound.zip

Updated [2014-04-12]:
Added option "UsePEC", to chain load gpupec.dll, ie. now you can use GTE Accuracy fix and PEC at once.
WARNING: Do not select PeteOpenGL2Tweak as plugin in gpupec configuration! If you do you need to remove pec.ini from plugin directory and reconfigure PEC plugin! You need to select "Pete's OpenGL2 Driver 2.9".
NOTE: If you remove inis\gpuPeteOpenGL2Tweak.ini then it will be recreated with all new options set to default.

About:
PeteOpenGL2Tweak is a PSEMU Pro compatible plug-in that patches PeteOpenGL2 plugin on runtime.
Current tweaks include:
  • Fixed automatic VRAM detection
  • Possible to force VSYNC
  • Hide mouse cursor
  • Adds GTE Accuracy hack by edgbla (Blade_Arma)
Most noticeable tweak currently is GTE Accuracy hack, ported from PCSXR version of PEOPS OpenGL 1.78. It uses GPUaddVertex function which is currently only supported in PCSXR.
What do this hack ? It cause less polygon shaking in most games !!!

NOTE: edgbla gpuBladeSoft exports GPUaddVertex too, so seems it also can use it.

Comparison (you need only recent browser to watch webm files :) ):

Tomb Raider 3:
PCSXR w/ GTE Widescreen hack + PeteOpenGL2, non-tweaked:


PCSXR w/ GTE Widescreen hack + PeteOpenGL2Tweak w/ GTE Accuracy hack:


Resident Evil 2:
PCSXR w/ GTE Widescreen hack + PeteOpenGL2, non-tweaked:


PCSXR w/ GTE Widescreen hack + PeteOpenGL2Tweak w/ GTE Accuracy hack:

NOTE: There is some misalignment in 3D polygon graphic and prerendered backgrounds when GTE Widescreen hack is active in PCSXR.

You are welcome to like it or hate it :)

Usage:
Copy gpuPeteOpenGL2Tweak.dll to plugins directory, then run emulator and select "PeteOpenGL2 Tweaks 1.0" as gpu plugin.

Configuration:
Configuration file is: inis\gpuPeteOpenGL2Tweak.ini, all options can be only turn on or off so there is not much to configure, by default FixMemoryDetection and EnableVsync are off.

Thanks:
Pete Bernert
edgbla
and whole PCSXR team

Hi tapeq! Please, can you tell us what options you enable to get Alundra look like that image?
I downloaded your PeteOpenGL2Tweak and edited .ini file, (Setting Xbrz= 5) etc, but nothing looks so good than that image.
Thank you : ) "And I apologize for the other post"
 
#265 ·
Hello. I am new here. Bit new to emulation in general, but I'm a big fan of the PS1 and low poly graphics. (I've been inspired, lately. Game project.)

I've been trying for the better part of an hour now and cannot seem to get this working with the GTE accuracy hack.
And after going through 14 pages, my head is spinning. I'm trying to get this to work to get some nice screens (From FFIX, specifically) but the z-buffer problem makes everything wobbly.

Wondering if I could get some help here. Consider it a "clean install" and for dummies like me. :p
Very thankful for the work being put in here.
 
This post has been deleted
#271 ·
This doesn't work for me at all, for some reason... I did everyhing according to the instructions... I put the LilyPad.dll to the plugins folder, then In the "inis" folder I opened "gpuPeteOpenGL2Tweak.ini" and modified the respective line:

[PadPlugin]
Port1 = plugins\LilyPad.dll

When I open the emulator however, it still shows the configuration window for the EPSXe controller plugin. I also tried it with Pokopom, no success there as well. Also, in the GPU config window under "Hi-Res textures" there is no xbr-z to be found, just the standard "2xSaI" and stretched.
 
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top