View Single Post
Old November 18th, 2006   #30 (permalink)
pepsi_max2k
Registered User
 
Join Date: May 2005
Location: UK
Posts: 4
gpuPeteOGL2.fp.txt
gpuPeteOGL2.vp.txt

EDIT: linux compatible SimoneT's Bump Map Shader files attached. Remember to remove ".txt" from the endings.

Hey yoshi314, could you explain a bit more how you got the linux shader plugins working? I've tried to get SimoneT's Bump Map Shader working but so far no luck...

I've put gpuPeteOGL2.fp and gpuPeteOGL2.vp in /usr/local/games/epsxe152lin/shaders and edited the GPU plugin config file so it looks like this:

Code:
[filters]
ScreenFilter     = 1      # bilinear fullscreen filter (0/1, def=0)
FullscreenShader = 3      # pixel shader effects (0-5, def=0)
FSShaderLevel    = 3      # strength of pixel shader effect (0-3, def=0)
BlackBorder      = 0      # a black border around the screen to avoid flickering with FS effects
ShaderDir        = /usr/local/games/epsxe152lin/shaders/     # you can specify a directory for custom shader files here
That's shader effects @ 3 (ARB for vp/fp) and level at 3.

I've also tried quotes around the directory, leaving off the trailing /, screen filter off and shader at various levels but the image continues looking the same whatever. I also can't see anything obvious in the shader files (like main ()...) that could be edited. I'm guessing it's something simple like the directory format but I obviously can't figure it out on my own, so if anyone'd care to help..


Only possibly relevant stuff on command line is:

Code:
 * Init gpu[0][libgpuPeteXGL2.so.2.0.8]
Error in vertex program at offset 485.init.
 * ePSXe: PSX BIOS loaded [/home/christopher/Documents/Sources/epsxe152lin/bios/
                                      Error Message:
                                                    >Error on line 13: unrecognised statement (hint: 'EN')<ATI Technologies Inc.
                                                RADEON 9600 Generic
                                                                    * Open gpu[0]
fwiw, it's working fine in windows.


EDIT: ok forget it, working now. here's how:

I followed yours and others advice and deleted all the blank lines and spaces from the .vp and .fp file, and made sure there was a blank line at the end, and voila: "Error in vertex program at offset 485.init." dissapears and everything looks spiffily bumped again. other stuff i did on the way there that may have had an effect but then again may not have:

added quote marks around the directory in the GPU plugin settings, it now looks like:

Code:
[filters]
ScreenFilter     = 1      # bilinear fullscreen filter (0/1, def=0)
FullscreenShader = 3      # pixel shader effects (0-5, def=0)
FSShaderLevel    = 3      # strength of pixel shader effect (0-3, def=0)
BlackBorder      = 0      # a black border around the screen to avoid flickering with FS effects
ShaderDir        = "/usr/local/games/epsxe152lin/shaders/"     # you can specify a directory for custom shader files here
i ran the following command to chown all files under my epsxe directory to the user i'm running as:

Code:
chown -R christopher /usr/local/games/epsxe152lin
made sure the .vp and .fp files were executable. that's it i think...

For the hell of it, I'm attaching the two linux compatible versions of the bump map shader files to this, just to save anyone else the bother of deleting lines and stuff... Just remove the ".txt" endings and stick in ~/epsxe/plugins/

gpuPeteOGL2.fp.txt
gpuPeteOGL2.vp.txt

Last edited by pepsi_max2k; November 27th, 2006 at 09:54.
pepsi_max2k is offline   Reply With Quote