Patch to make Pribluda version 1.1.1.0 run with the new OpenGL rasteriser (roglv2.dll)

9.2.2009

by Petteri Pajunen

0. If you unzipped the files somewhere other than the GPL directory, copy the file pribpatch.exe to your GPL directory
1. Install Pribluda version 1.1.1.0 and make sure it runs correctly. Alternatively, check that you are running the correct version of Pribluda
2. open a console and go to GPL directory, where the pribluda.dll is located
3. run the command "pribpatch.exe pribluda.dll pribludav2.dll". You might need admin rights to do this.
4. Back up the original pribluda.dll, and copy the file pribludav2.dll to pribluda.dll

Now Pribluda should work with the old Direct3D rasteriser (rastd3d7.dll) and the new OpenGL rasteriser (roglv2.dll), but not with any other rasteriser. If you want to revert to the old OpenGL rasteriser, simply restore the original pribluda.dll

Known issues:
- this patch will not make Pribluda work with the new Direct3D rasteriser.
- fonts may be upside down if using ATI video cards. Install and use special fonts which are already upside down
- the new OpenGL rasteriser may give lower fps. Check all the relevant options in Core.ini as well as the control panel of your video driver. Reducing antialiasing improved fps for me
- the patched pribluda.dll may not work correctly, and may even crash GPL. All I know is that it works for me and several testers
- the patch relies on having a specific version of roglv2.dll (the one that has been released at the time of writing this). When a new version is released, a new patch needs to be released as well.

That's it, report on SRMZ or RSC forums if something is severely wrong (for example, pribpatch.exe not working at all etc..).

Credits:
	Nigel Pattinson for making the new rasterisers
	Denis Fedorov for creating Pribluda
	Amir Kamal for adding OpenGL support and a lot more to Pribluda
