Linux PSX 1 Emulator

Play with your Puppy.
Post Reply
Message
Author
Jeff2

Linux PSX 1 Emulator

#1 Post by Jeff2 »

Please ignore if you don't have the PSX bios rom file!

This is an rpm repackage from http://www.epsxe.com/. It's a playstation(TM) 1 emulator

You can find it here

http://www.mytempdir.com/446536

It requires a PSX bios which cannot be distributed because of copyright laws, so please don't ask.

I have included some non-3D drivers from http://www.pbernert.com/index.htm but have not included any openGL because I haven't got it working yet.

I can get 6 to 10 fps in Tomb Raider 2, this should improve when openGL support is added.

Regards
Jeff..

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »


Jeff2

#3 Post by Jeff2 »

It seems I missed out a dotpup menu entry.

The emulator is in /usr/local/epsxe160lin but a psx bios (scph****) is needed within the bios folder before epsxe is run.

Regards
Jeff.

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#4 Post by Pizzasgood »

Cool. I've already had epsxe installed with the P.E.Op.S. software plugin for a while. I checked today, and with my 450MHz system I was getting about 20fps (playing RoadRash3D from an iso on my harddrive). I do have my graphics card set up though, so I don't know if that impacted it. It did seem smoother than when I'd used it before.

I had forgotten to try this with an openGL plugin, though, so I downloaded one just now. It took some experimentation to get it to work, but I figured out that I needed to disable the pixelshaders option. That was enough to get it started. In RoadRash3D, I now only got 12fps, so, I lowered the internal resolution settings to low, and it increased to 32fps.

I also loaded up Final Fantasy Tactics. It didn't work from the iso, so I used the disk. That did work. It also got about 32fps with the same settings. However, it isn't degraded as much by activating frame skipping, since it's a turn based game.

EDIT: Vigilante8 got about 50-ish, but it jumped around between 40 and 65 alot. Not too shabby.

Oh, also something to remember: Lowering the resolution sometimes makes the graphics look better. Otherwise some things get drawn clear and others are pixelated. But then, I suppose there are blending filters to fix that, I didn't check since high res was only 30% as fast as low (and it didn't offer a medium).


One tip I should mention to anyone who wants to install a plugin: Put the config stuff in the cfg directory, not the plugins directory. It says so in the readme, but I didn't read it, and assumed they went with the plugin :roll:
Last edited by Pizzasgood on Sat 11 Mar 2006, 05:07, edited 2 times in total.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#5 Post by Pizzasgood »

Bah. I double posted :(

Soy un perdedor
I double posted, baby,
so why don't you delete me...
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

T_B
Posts: 160
Joined: Sun 08 Apr 2007, 12:54

#6 Post by T_B »

I got this running (and it runs pretty good), but I can not configure video (to use full screen mode)

epsxe starts with these messages:

Gtk-WARNING **: Unable to locate image file in pixmap_path: "bg-down.xpm" line 12

Gtk-WARNING **: Unable to locate image file in pixmap_path: "bg.xpm" line 13

Gtk-WARNING **: Unable to locate image file in pixmap_path: "bg.xpm" line 14

Gtk-WARNING **: Unable to locate image file in pixmap_path: "bg-highlight.xpm" line 16

No problem to start ISO's or IMG's but when I select video epsxe crashes without any further message.

I've downloaded some video plugins and put them in the config and plugin directory (just to be sure)
Sound also crashes epsxe.

Any ideas?

I'm using 2.15CE btw..

T_B
Posts: 160
Joined: Sun 08 Apr 2007, 12:54

#7 Post by T_B »

Didn't work through the gui, but I adjusted the gpuPeopsSoftX.cfg file and change the full screen flag to 1.
Works great, unfortunately not a very high resolution.

Also tried the gpuPeteXGL2 plugin (had to change the hidden epsxerc config file), but that didn't work.
This should be the best plugin for epsxe, so I hope I can get it working. Also tried gpuPeteMesaGL.cfg, had a much better resolution, but was very slow.

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#8 Post by wow »

The gpuPeteMesaGL plugin is fast for my card(old GeForce2 MX400). Have you installed the drivers for your card? MesaGL plugin will be slow with an older card or OnBoard graphics.
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

T_B
Posts: 160
Joined: Sun 08 Apr 2007, 12:54

#9 Post by T_B »

Funny, I've got the same old crappy videocard :)
Would be nice if you could post your config file, maybe I can find a solution in there. I've tried a lot of different settings, but fps is always below 30 while I'm getting 60 on gpuPeopsSoftX

I' ve installed the NVIDIA driver btw.

EDIT: maybe good to compare: I got 16-20 fps running the 3d-demo (in 3DCC), I think that's bad...
I'm pretty sure my NVIDIA driver is working fine, because I've set up TV-out and Puppy boots with the NVIDIA bootscreen.

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#10 Post by wow »

T_B wrote:EDIT: maybe good to compare: I got 16-20 fps running the 3d-demo (in 3DCC), I think that's bad...
I'm pretty sure my NVIDIA driver is working fine, because I've set up TV-out and Puppy boots with the NVIDIA bootscreen.
Sure, but give me some time. I need to test this on a fresh install because my current Puppy has a different Xorg and OpenGL libraries. Also I've installed the driver without 3DCC and I don't have those demos right now.
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

T_B
Posts: 160
Joined: Sun 08 Apr 2007, 12:54

#11 Post by T_B »

wow wrote: Sure, but give me some time. I need to test this on a fresh install because my current Puppy has a different Xorg and OpenGL libraries. Also I've installed the driver without 3DCC and I don't have those demos right now.
Thanks, but it looks like my problems are not the config files of epsxe, but due to problems with the glx module (driver/X?).
Could be a 2.15CE related problem so I will test other versions later.

After every reboot/logout glx fails to load and 3d is very slow. Directly after installing nvidia drivers the speed is good and epsxe is running great with high resolution.

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#12 Post by wow »

T_B wrote:but due to problems with the glx module (driver/X?).
nVidia has its own GLX module you don't need to install any other GLX module.

Here is my config file and more info,

OS: Puppy-2.13
Boot mode: RAM mode
Processor: Celeron 1.7 Ghz
Gfx card: GeForce2 MX/MX 400 (AGP, 64MB)
RAM: 256MB
Swap: 722.9 MB
Screen: 1024x768 16bpp

I installed MU's nvidia-installer/3DCC-Nvidia, ran 'installnvidia' after exit X then I'd choose '6: install Nvidia driver 9629 (run xorgwizard first!)' and X didn't start. I had to load the i2c-core module manually to start X, then I extracted the contents of gpupetemesagl176.tar.gz to:

./epsxe160lin/cfg:
cfgPeteMesaGL
gpuPeteMesaGL.cfg

./epsxe160lin/plugins:
libgpuPeteMesaGL.so.1.0.76

This is my config file(/cfg/gpuPeteMesaGL.cfg)800x600 window, color dithering, texture filtering, auto frameskip, etc.

Code: Select all

[screen]
ResX            = 800    # X resolution (def=640)
ResY            = 600    # Y resolution (def=480)
KeepRatio       = 0      # Keep psx aspect ratio (0/1, def=0)
Dithering       = 1      # dithering (0/1, def=0)
FullScreen      = 0      # fullscreen (0/1, def=0), still needs correct ResX/Y!

[textures]
TexCaching      = 2      # texture caching (0-2, def=2)
TexQuality      = 3      # texture quality (0: def, 1:4bit, 2:5bit, 3:8bit, 4:8bit BGR)
TexFilter       = 1      # texture filtering (def=0: none ,1-4: filtering)
VRamSize        = 64     # vram size in MBytes, def=0: autodetect, 1-1024 possible)
HiResTextures   = 0      # 2xSaI/scaled Hi-Res textures (0-2, def=0), needs lotta vram

[framerate]
ShowFPS         = 0      # show fps menu on startup (0/1, def=0)
UseFrameLimit   = 1      # fps limitation (0/1, def=0)
UseFrameSkip    = 1      # frame skipping (0/1, def=0)
FPSDetection    = 1      # rate detection (0:user val,def=1:auto)
FrameRate       = 120    # user value for frame rate (1-1000 ;)

[compatibilty]
OffscreenDrawing= 3      # OD (0-4, def=2)
OpaquePass      = 1      # correct opaque drawing (0/1, def=1)
AdvancedBlend   = 1      # correct light blending (0/1, def=0)
FrameTextures   = 2      # (0=vram,1=black,2=gfx card, 3=gfx card + software)
FrameAccess     = 0      # (0=vram,1=read,2=move,3=read+move,4=FVP)

[misc]
MaskDetect      = 1      # psx mask bit (zbuffer needed) (0/1, def=0)
FastMdec        = 0      # unfiltered, faster mdecs (0/1, def=1)
15bitMdec       = 0      # reduced color mdecs, faster (0/1, def=0)
LineMode        = 0      # draw lines only (0/1, def=0)
AntiAlias       = 0      # polygon/line aa (NOT FSAA!!!) (0/1, def=0)
OGLExtensions   = 1      # use OpenGL extensions (0/1, def=1)
ScreenSmoothing = 0      # Blur the whole screen (0/1, def=0)
ScanLines       = 0      # (0/1, def=0)
ScanLinesBlend  = 200    # Blending value (0-255, -1=dotmode, 0=def)

[fixes]
UseFixes        = 0      # use CfgFixes (0/1, def=0)
CfgFixes        = 0      # fix bits (0=none,1=FF7 cursor,2=direct FB,4=Lunar,8=swap back/front,16=no coord check,32=blue glitch,64=soft FB access,128=pc fps,256=old skipping, 512=FF9 yellow rect, 1024=no subtractive blending, 2048=DW7, 4096=odd/even, 8192=screen width, 16384=old filter, 32768=more uploads)
I edited /epsxe160lin/.epsxerc to load the new video plugin:

Code: Select all

#
#  ePSXe config file
#

# Plugins names
VideoPlugin = libgpuPeteMesaGL.so.1.0.76
SoundPlugin = libspuPeopsOSS.so.1.0.9
PadPlugin = INTERNAL
Ok, I was ready to play :) . The game selected was 'Driver'(SLUS_00842/NTSC), loaded from the CD. These are my results:
Auto fps limitation(60fps for NTSC games, 50fps for PAL) and some texture filters enabled(see the cfg file above):
Image
Image
Without frame limit and the same texture filters enabled:
Image
Image
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

T_B
Posts: 160
Joined: Sun 08 Apr 2007, 12:54

#13 Post by T_B »

Amazing, very detailed explanation thanks! I guess I have some testing to do :)

Post Reply