QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Gaming > Sony PlayStation 3 > PS3 Main > PS3 Linux
The above video goes away if you are a member and logged in, so log in now!

xmame.SDL installation guide and FAQ YDL 5 ps3 linux

This is a discussion on xmame.SDL installation guide and FAQ YDL 5 ps3 linux within the PS3 Linux forums, part of the PS3 Main category; Ok there have been people on here who have posted advancedmame and a few other binaries with no clear instructions ...

Reply
 
LinkBack Thread Tools
Old 01-29-2007, 01:43 PM   #1
 
Join Date: Jan 2007
Posts: 60
Trader Feedback: 0
Default xmame.SDL installation guide and FAQ YDL 5 ps3 linux

Ok there have been people on here who have posted advancedmame and a few other binaries with no clear instructions on how to install them leaving many newbs on the dust wondering if they can ever get a mame emulator running on the ps3

RUNNING xmame.SDL 0.79 gives SIGNIFICANT PREFORMANCE BOOSTS over running version .106 not only that but sound problems are almost all fixed using the xmame.SDL so follow my instructions to install it

first start out by logging on as root

second off you need to have YUM configured correctly in order for this to work right because there are some dependecies that will be resolved automatically if YUM is configured right
to configure YUM go to http://tictech2.blogspot.com/
follow his instructions and you will have a very nice working version of YUM neccessary not just for this but for all APPs on YDL 5

Ok once you did that you need to download and install the following
you can do this two diffrent ways you can do Yum search xmame and when you get the latest version do yum install <exact name of version you get from search in here>

or you can go here
http://bordeaux.freshrpms.net/rpm.html?id=1236

next you will also need a stable version of the SDL i used this one simply because it
worked fine on the ps3 there are newer versions out and you can find em ureself if u want
http://rpmfind.net/linux/RPM/freshrp...-1.fr.ppc.html

If yum is installed correctly you should have no problems installing those two files...

Now you will need to rember the following folders
to get to folders quickly go to any folder and press ctrl+L and then copy and paste the folders i put up here
/usr/share/xmame is the folder that you will place your xmamerc file which holds all the values including your joystick and full screen and audio modes

/usr/share/xmame/roms you will put your mame roms in here

/root/.xmame is also a very important folder that you can only get at by using ctrl+L

/root/.xmame/cfg is a folder that contains the actual user defined controls for ure ps3 remote it stores them as default.cfg so if you mess up while ure setting ure remote settings just delete this file and any other file that is specific to the rom you set ure controls for if you dont understand its ok you will later

ok now that you are familiar with the folders that we will use go to
/usr/share/xmame
in this folder right click and go to create document and name the new document as
xmamerc

once you did that now open your xmamerc file and paste the following into it

######################### ######################### ########################
### xmame running parameters ###

### Digital sound related ###
# dsp-plugin <NULL> (not set)
timer 0

### Sound mixer related ###
# sound-mixer-plugin <NULL> (not set)

### Video Related ###
bpp 0
arbheight 0
heightscale 1
widthscale 1
effect 2
autodouble 1
scanlines 0
artwork 1
use_backdrops 1
use_overlays 1
use_bezels 1
artwork_crop 0
artwork_resolution 0
frameskipper 0
throttle 1
frames_to_run 0
sleepidle 1
autoframeskip 1
maxautoframeskip 8
frameskip 0
brightness 1.000000
pause_brightness 0.650000
gamma 1.000000
norotate 0
ror 0
rol 0
autoror 0
autorol 0
flipx 0
flipy 0


### Vector Games Related ###
# vectorres <NULL> (not set)
beam 1.000000
flicker 0.000000
antialias 1
translucency 1

### SDL Related ###
fullscreen 1
doublebuf 0
vidmode_w -1
vidmode_h -1
modenumber -1


### X11-window Related ###


### XFree86 DGA Related ###

### Video Mode Selection Related ###
keepaspect 1
displayaspectratio 1.3333333333333



### Sound Related ###
sound 1
samples 1
samplefreq 44100
bufsize 3.000000
volume -3
# audiodevice SDL
# mixerdevice <NULL> (not set)

### Input Related ###
joytype 7
analogstick 1
joydevname /dev/input/js0
mouse 1
ugcicoin 0
usbpspad 1
rapidfire 0
# ctrlr <NULL> (not set)

### Fileio Related ###
rompath /usr/share/xmame/roms
samplepath /usr/share/xmame/samples
inipath /usr/share/xmame/ini
cfg_directory $HOME/.xmame/cfg
nvram_directory $HOME/.xmame/nvram
memcard_directory $HOME/.xmame/memcard
input_directory $HOME/.xmame/inp
hiscore_directory $HOME/.xmame/hi
state_directory $HOME/.xmame/sta
artwork_directory /usr/share/xmame/artwork
snapshot_directory .
diff_directory $HOME/.xmame/diff
ctrlr_directory /usr/share/xmame/ctrlr
cheat_file /usr/local/share/xmame/cheat.dat
hiscore_file /usr/local/share/xmame/hiscore.dat
history_file /usr/share/xmame/history.dat
mameinfo_file /usr/share/xmame/mameinfo.dat
# record <NULL> (not set)
# playback <NULL> (not set)

### Mame Related ###
defaultgame robby
language english
fuzzycmp 1
cheat 0
skip_disclaimer 1
skip_gameinfo 0
crconly 0
bios default
# state <NULL> (not set)


### Frontend Related ###
clones 1

### Internal verification list commands (only for developers) ###

### Rom Identification Related ###

### General Options ###
loadconfig 0



### SDL keymapping ###
#
# sdlmapkey <SDLcode>,<Scancode>
#
# SDLcode means the HEX code of the key as it appears in
# include/SDL/SDL_keysym.h
# Scancode means the hexadecimal code that represents the value used for Xmame
# in keyboard inputs, as defined in src/unix/keyboard.h xmame source file
#

# An example: map space as "firebutton" (Mame predefines it as KEY_LCONTROL)
# in symbolic SDL/Mame notation it should be:
#
# sdlmapkey SDLK_SPACE,KEY_LCONTROL
#
# So, looking in X11/keysymdef.h and src/unix/keyboard.h, we'll write
# sdlmapkey 0x0020,0x001d
#
# (Other example). To use the F8 key to insert a coin, you should use
# sdlmapkey 0x0121,0x0006

### Suggested French (azerty) SDL keymap mods by Luc Saillard.
#
# SDLK_WORLD_18 ² => KEY_TILDE
#sdlmapkey 0x00b2,0x0029
# SDLK_AMPERSAND => KEY_1
#sdlmapkey 0x0026,0x0002
# SDLK_WORLD_73 é => KEY_2
#sdlmapkey 0x00e9,0x0003
# SDLK_QUOTEDBL => KEY_3
#sdlmapkey 0x0022,0x0004
# SDLK_QUOTE => KEY_4
#sdlmapkey 0x0027,0x0005
# SDLK_LEFTPAREN => KEY_5
#sdlmapkey 0x0028,0x0006
# SDLK_MINUS => KEY_6
#sdlmapkey 0x002d,0x0007
# SDLK_WORLD_73 è => KEY_7
#sdlmapkey 0x00e8,0x0008
# SDLK_UNDERSCORE => KEY_8
#sdlmapkey 0x005f,0x0009
# SDLK_WORLD_71 ç => KEY_9
#sdlmapkey 0x00e7,0x000a
# SDLK_WORLD_64 à => KEY_10
#sdlmapkey 0x00e0,0x000b
# SDLK_RIGHTPAREN => KEY_11
#sdlmapkey 0x0029,0x000c
# SDLK_EQUALS => KEY_12
#sdlmapkey 0x003d,0x000d

# SDLK_A => KEY_Q
#sdlmapkey 0x0041,0x0010
# SDLK_Z => KEY_W
#sdlmapkey 0x005a,0x0011
# SDLK_CARET => KEY_OPENBRACE
#sdlmapkey 0x005e,0x001a
# SDLK_DOLLAR => KEY_CLOSEBRACE
#sdlmapkey 0x0024,0x001b

# SDLK_Q => KEY_A
#sdlmapkey 0x0051,0x001e
# SDLK_M => KEY_COLON
#sdlmapkey 0x004d,0x0027
# SDLK_WORLD_89 ù => KEY_QUOTE
#sdlmapkey 0x00f9,0x0028
# SDLK_ASTERISK => KEY_TILDE
#sdlmapkey 0x002a,0x0029

# SDLK_W => KEY_Z
#sdlmapkey 0x0057,0x002c
# SDLK_COMMA => KEY_M
#sdlmapkey 0x002c,0x0032
# SDLK_SEMICOLON => KEY_COMMA
#sdlmapkey 0x003b,0x0033
# SDLK_COLON => KEY_STOP
#sdlmapkey 0x003a,0x0034
# SDLK_EXCLAIM => KEY_SLASH
#sdlmapkey 0x0021,0x0035
######################### ######################### ######################### #

now hit save and your xmamerc file should look like mine this is the file you mess with for full screen which joystick to use and what kinda sound etc etc

i already configured this file to work in full screen and have the best possiible display on the PS3 on YDL 5 and that includes sound

now once all of this is done you need to put some working roms in your /usr/share/xmame/roms folder the roms are usualy in zip format

I am not allowed to say where you can find working roms as that is illegal unless you own the actual game itself. But i will say that they are out there.

Now for the best part ever to start your games

simply open up terminal and type

xmame.SDL <romname>
where <romname> represents the actual rom itself rom.zip for example etc etc.

and BAMMM you got yourself a working arcade emulator on the PS3 YDL linux

to edit your ps3 remote simply hit TAB on your keyboard once the emulator starts this will open up a menu with the inputs you want with the xmamerc file i made the emulator will recognize your ps3 if you mess up rember all you have to do is delete the default.cfg i told you about earlier

a good link to setting up your controls is this as it guides you step by step
http://www.mame.net/mamefaq.html#h03



now if anyone has problems or needs help just post up here and i will be more then happy tto help you out with this as i know i was looking forward to be able to run arcade games
-= Double Post =-
images of it running =)



and





oh yeh its going down right on my ps3 lol now whose up for some online play i warn u tho im niceee

Last edited by lucegunz; 01-30-2007 at 11:05 PM.. Reason: Automerged Doublepost
lucegunz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-29-2007, 02:26 PM   #2
 
Razgoull's Avatar
 
Join Date: Dec 2006
Posts: 62
Trader Feedback: 0
Default

Wow man you're little faster than me. Congratulation ! You do the dirty work for me. I'm also happy that I'm not alone try to help newb. (we all know linux is for devoted pc lover... joke )

Ok now for those of you who want explications on how to make advancemame work i will give them. But i suggest you STRONGLY to use xmame, it's better. You can also use GXMAME (front-end) with it.

LUCEGUNZ did an awesome job but I have to do some corrections.
First you dont need to do Ctrl-L to find the .xmame files:
---/root/.xmame is also a very important folder that you can only get at by using ctrl+L---

All the folders who as a dot in front is an HIDDEN FOLDER !
To resolve that problem, just go to your root folder click on VIEW and check SHOW HIDDEN FILES. Or you can also do Ctrl-H. Now all files in the root folder will be accessible.

The second thing is the xmame.rc will be automatically created the first time you will run ./xmame. But copy past is more sure. At least you know where it is.

so good luck PS3 lovers!
LUCEGUNZ I congrat you again!
Razgoull is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-29-2007, 03:57 PM   #3
 
Join Date: Jan 2007
Posts: 60
Trader Feedback: 0
Default

Quote:
Originally Posted by Razgoull
Wow man you're little faster than me. Congratulation ! You do the dirty work for me. I'm also happy that I'm not alone try to help newb. (we all know linux is for devoted pc lover... joke )

Ok now for those of you who want explications on how to make advancemame work i will give them. But i suggest you STRONGLY to use xmame, it's better. You can also use GXMAME (front-end) with it.

LUCEGUNZ did an awesome job but I have to do some corrections.
First you dont need to do Ctrl-L to find the .xmame files:
---/root/.xmame is also a very important folder that you can only get at by using ctrl+L---

All the folders who as a dot in front is an HIDDEN FOLDER !
To resolve that problem, just go to your root folder click on VIEW and check SHOW HIDDEN FILES. Or you can also do Ctrl-H. Now all files in the root folder will be accessible.

The second thing is the xmame.rc will be automatically created the first time you will run ./xmame. But copy past is more sure. At least you know where it is.

so good luck PS3 lovers!
LUCEGUNZ I congrat you again!

thx bro i couldnt have done it without u throwing clues at me =) lol

but the rc file for xmame has no . in it and i strongly suggest that they use the file i made because it is configured to use the playstation 3 controller and its configured with sound working and a few other things that are a pain in the ass to get working if u gotta use the defoult =)
-= Double Post =-
http://bordeaux.freshrpms.net/rpm.html?id=852

is the front end for this i cant get it to work right now but i really didnt try cuz i dont care for it but im sure you guys can get it to work its for the right platform and its the right version so it should work

also if you cant find roms anywhere this a link to the LEGAL FREE roms supplied by the makers of xmame so you can test your xmame works
http://bordeaux.freshrpms.net/rpm.html?id=744

you can start them by duin xmame.SDL robby.zip on your console if you followed my instructions the other games are
polyplay.zip and gridlee.zip these are all LEGAL and FREE so no worries

Last edited by lucegunz; 01-29-2007 at 04:04 PM.. Reason: Automerged Doublepost
lucegunz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-29-2007, 05:11 PM   #4
 
Razgoull's Avatar
 
Join Date: Dec 2006
Posts: 62
Trader Feedback: 0
Default

Allo guys. Now for the cream on the cake, use gxmame-0.35-0.20040828.1.0.yd4.fr.ppc .rpm for GXMAME. All you have to do is put the right path in the option directories. I know you don't like searching so... the execute files are on the /bin folder in the system. Have fun!
-= Double Post =-
LUCEGUNZ if you want to contact me in my ps3. My Playstation network ID is Razgoull.
BTW we have to do something for the other emulators.

Last edited by Razgoull; 01-29-2007 at 05:11 PM.. Reason: Automerged Doublepost
Razgoull is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-29-2007, 05:27 PM   #5
 
Join Date: Jan 2007
Posts: 60
Trader Feedback: 0
Default

Quote:
Originally Posted by Razgoull
Allo guys. Now for the cream on the cake, use gxmame-0.35-0.20040828.1.0.yd4.fr.ppc .rpm for GXMAME. All you have to do is put the right path in the option directories. I know you don't like searching so... the execute files are on the /bin folder in the system. Have fun!
-= Double Post =-
LUCEGUNZ if you want to contact me in my ps3. My Playstation network ID is Razgoull.
BTW we have to do something for the other emulators.

no doubt just send me a friends invite on the psn mine is lucegunz as well
lucegunz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-29-2007, 05:38 PM   #6
 
Razgoull's Avatar
 
Join Date: Dec 2006
Posts: 62
Trader Feedback: 0
Default

Sorry it's not /bin folder but /usr/bin for the execute files. you have to choose xmameSDL. other path are in the /us/share/xmame.
Razgoull is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-29-2007, 06:29 PM   #7
 
Join Date: Sep 2005
Location: meh
Posts: 2,799
Trader Feedback: 0
Default

Thanks for this, I'll port this guide over to the wiki
cyanide is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-30-2007, 08:08 PM   #8
 
Join Date: Jan 2007
Posts: 60
Trader Feedback: 0
Default

Quote:
Originally Posted by cyanide
Thanks for this, I'll port this guide over to the wiki
thnx =)
lucegunz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-30-2007, 09:43 PM   #9
 
Join Date: Jan 2007
Posts: 87
Trader Feedback: 0
Default

I've just installed it on Gentoo. The frame-rate is bit choppy, on games like Ms. Pacman. Sound is very choppy as well. I've installed a pre-compiled 32-bit userland version. Running this on XFCE4, with 720P resolution.

How are you guys doing on the performance front? Did you compile this using any flags that turn the SPUs? I might compile my own just to see if there is any performance improvements with 2 SPUs. Also, does xmame support directfb, or fbcon? If so, it should help the framebuffer rendering significantly...

The install was fairly easy.... 'emerge -vG xmame'

I am going to recompile and do it all over again. It's kinda neat being able to play all my roms over the network using samba...
asong26 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-30-2007, 11:00 PM   #10
 
Join Date: Jan 2007
Posts: 60
Trader Feedback: 0
Default

Quote:
Originally Posted by asong26
I've just installed it on Gentoo. The frame-rate is bit choppy, on games like Ms. Pacman. Sound is very choppy as well. I've installed a pre-compiled 32-bit userland version. Running this on XFCE4, with 720P resolution.

How are you guys doing on the performance front? Did you compile this using any flags that turn the SPUs? I might compile my own just to see if there is any performance improvements with 2 SPUs. Also, does xmame support directfb, or fbcon? If so, it should help the framebuffer rendering significantly...

The install was fairly easy.... 'emerge -vG xmame'

I am going to recompile and do it all over again. It's kinda neat being able to play all my roms over the network using samba...
as far as preformance goes xmame 106 itself has horid preformance with sound being choppy
and games not displaying proper colors and frame rates being very low...

however if people followed my installation guide they can avoid all this

its why on this installation i told people to instal the last SDL version made for the SDL which is .79 i think for the ppc the SDL version has significant imrpovments on sound and video with frame rates well above 30 on certain games and some above 20 using effects to scale the screen so thats not bad at all and sound preforms very well using SDL to produce it...

as far as compiling it yourself im sure it has improvments but i highly suggest you use the SDL .79 version it runs very very smoth on the playstation 3...

not sure if having roms networked has anything to do with the preformance? i doubt though witht he expception of initial phase while they load into memory

anyway hit me back and let me know if you find improvments using SDL you should see significant improvments to the point where you cant tell the diffrence if its running on ure pc or ps3
lucegunz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-31-2007, 07:47 AM   #11
 
Join Date: Jan 2007
Posts: 87
Trader Feedback: 0
Default

Well... I didn't follow your suggestion of installing .71 xmame. I've recompiled my own (1.06) with 2 SPUs enabled. I've also comiled gxmame (frontend for xmame).

To keep it light as possible, I've disabled everything that is not known to run well on PS3 Linux. After modifying my USE flags on Gentoo, this is how gentoo compiles my xmame 106
Quote:
asong@localhost ~ $ emerge -pv xmame
!!! Invalid PORTDIR_OVERLAY (not a dir): '/root/livecd/overlays/portage'

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] games-emulation/xmame-0.106 USE="X alsa joystick xv -arts -dga -esd -expat -ggi -lirc (-mmx) -net -opengl -sdl (-svga) -xinerama" 0 kB
As you can see, I've only enabled items that I knew worked well on linux for PS3 on framebuffer mode. I've even turned off SDL, and only allowed ALSA.

Test results:

using xmamerc file provided by you guys, the frame-rate and everything else was still very very choppy. No difference at all from my own compiled version vs. the pre-packaged GRP.

However, when I used gxmame, and scaled everything to double, everything played fine. Within gxmame, I've also turned off every openGL related items. So I am only using x11 (OpenGL never really worked as tested on MPlayer and VLC).

Using this combo, I am running everything from the network, and the games play at their full speed, full screen. No noticeable drop in frame rate. The sound is also perfect. On 720P desktop, this is quite impressive. I can't tell the difference between my PC version at all. All games including NeoGeo runs at their finest. I've even tested Street Fighter Alpha 3. Absolutely perfect!

In case you're interested, here's my USE flag in /etc/make.conf to give you an indication as to how I am compiling this. NOTE: I am using 32-bit userland for now, because I've detected performance issues with the 64-bit userland. I think it may have to do with the amount of memory that's available on our systems. But 32-but userland works beautifully, not only for mame, but also for MPlayer and VLC:

Quote:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.

CFLAGS="-mcpu=G5 -O2 -maltivec -mabi=altivec -pipe -fno-strict-aliasing"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-wl,-O1"
MAKEOPTS="-j2"


Isn't Gentoo awesome? Just set the ueflags you want, and type 'emerge' everything downloads, compiles to your spec, including all dependencies and not to mention automatic install.

Give it a try. You'll see how awesome this thing performs. I am very happy, and thanks to you guys for spurring my interest. BTW: I've been following the MAME scene, since 1996. Man, how this thing grew, I remember when it only ran Donkey Kong and Frogger....

Here are some shots:





Last edited by asong26; 01-31-2007 at 08:34 AM..
asong26 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-31-2007, 10:11 AM   #12
 
Join Date: Jan 2007
Posts: 60
Trader Feedback: 0
Default

Quote:
Originally Posted by asong26
Well... I didn't follow your suggestion of installing .71 xmame. I've recompiled my own (1.06) with 2 SPUs enabled. I've also comiled gxmame (frontend for xmame).

To keep it light as possible, I've disabled everything that is not known to run well on PS3 Linux. After modifying my USE flags on Gentoo, this is how gentoo compiles my xmame 106


As you can see, I've only enabled items that I knew worked well on linux for PS3 on framebuffer mode. I've even turned off SDL, and only allowed ALSA.

Test results:

using xmamerc file provided by you guys, the frame-rate and everything else was still very very choppy. No difference at all from my own compiled version vs. the pre-packaged GRP.

However, when I used gxmame, and scaled everything to double, everything played fine. Within gxmame, I've also turned off every openGL related items. So I am only using x11 (OpenGL never really worked as tested on MPlayer and VLC).

Using this combo, I am running everything from the network, and the games play at their full speed, full screen. No noticeable drop in frame rate. The sound is also perfect. On 720P desktop, this is quite impressive. I can't tell the difference between my PC version at all. All games including NeoGeo runs at their finest. I've even tested Street Fighter Alpha 3. Absolutely perfect!

In case you're interested, here's my USE flag in /etc/make.conf to give you an indication as to how I am compiling this. NOTE: I am using 32-bit userland for now, because I've detected performance issues with the 64-bit userland. I think it may have to do with the amount of memory that's available on our systems. But 32-but userland works beautifully, not only for mame, but also for MPlayer and VLC:




Isn't Gentoo awesome? Just set the ueflags you want, and type 'emerge' everything downloads, compiles to your spec, including all dependencies and not to mention automatic install.

Give it a try. You'll see how awesome this thing performs. I am very happy, and thanks to you guys for spurring my interest. BTW: I've been following the MAME scene, since 1996. Man, how this thing grew, I remember when it only ran Donkey Kong and Frogger....

Here are some shots:




thats very nice i am having alot of trouble with gxmame and YDL 5.0 i dont know why but it installs fine and when i start it, it never starts....

very weird im going to try and compile it and install it using ure flags maaybe it will make a diffrence??

can you post how you compiled gxmame?
lucegunz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-31-2007, 07:06 PM   #13
 
Join Date: Jan 2007
Posts: 87
Trader Feedback: 0
Default

I don't know about YDL, but on Gentoo online source tree, there are only 2 options available. That's nls, and joystick. I've enabled them both.

As for hardware CFLAGS, look at my previous post. You'll see what I am enabling. With that setting, you're enabling 2 SPUs to work in conjunction. I wanted to enable more, but I was seriously warned that without access to RSX, and with limited memory, this would not work out. On the gameOS, the XMB is very lightweight, so there isn't too much of memory issues to enable all SPUs, but when running linux, a full blown OS, memory does become a problem....

Give Gentoo a try. You won't regret it! I used to use YDL, and tried Fedora, but nothing compares to Gentoo. Everything just works, taylored to your system.

If you want to give Gentoo a try, stick with the 32bit userland for now.... 64bit versions seem to be a little sluggish due to memory (lack of) I think....
-= Double Post =-
I don't know if this would help, but it just occurred to me.... I had some issues of accessing /usr/share/games/ and /usr/games/ directories, regardless if I added myself to the 'games' group. So, I cheated by chmod 777 for both of directories recursively...

chmod -R 777 /usr/share/games
chmod -R 777 /usr/games/

Try that first before recompiling everything. And if it still doesn't work, then install Gentoo
-= Double Post =-
In case you're going Gentoo route, here's my entire /etc/make.conf content

You'll see that no audio devices are enabled except for ALSA. The reason for this is the fact that the default audio driver for the PS3 linux is ALSA. If you think you're using OSS or something else, you're only using the emulated version of OSS via ALSA, so there is no point in having these devices compile, and it doesn't perform very well... Same goes for OpenGL.
Quote:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.

CFLAGS="-mcpu=G5 -O2 -maltivec -mabi=altivec -pipe -fno-strict-aliasing"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-wl,-O1"
MAKEOPTS="-j2"

USE="aac amr cflags dga dv enca livecd musepack openal v4l2 x264 h264 ffmpeg xanim tga rtc nas dxr3 imagemagick mmap mng modplug vidix xvmc altivec nptl nptlonly samba x ssl jpeg mpeg perl png truetype xml zlib ipv6 dvd dvdread dvdnav matroska xvid alsa a52 aalib avahi bidi cdda cddb corba daap directfb dts dvb fbcon flac ggi httpd libcaca libnotify live mod nsplugin optimisememory rtsp shout skins speex stream svga theora upnp v4l vcd vlm mp3 mp4 mp3a mp4a wxwindows xine-lib xv dkbfft threads -build -debug -doc -theora -arts -dga -esd -ggi -opengl -sdl -svg joystick"

# This should not be changed unless you know exactly what you are doing. You
# should probably be using a different stage, instead.

CHOST="powerpc-unknown-linux-gnu"
PORTDIR_OVERLAY="/root/livecd/overlays/portage"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTAGE_BINHOST="http://ftp-atl.osuosl.org/pub/gentoo-ps3/grp32/All"
FEATURES="parallel-fetch"
-= Double Post =-
Quick question regarding xmame joystick support. Do you guys have PS3 controller enabled, or are you using a standard usb game pad?

Last edited by asong26; 01-31-2007 at 07:06 PM.. Reason: Automerged Doublepost
asong26 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-01-2007, 10:08 AM   #14
 
Razgoull's Avatar
 
Join Date: Dec 2006
Posts: 62
Trader Feedback: 0
Default

Yes you can use the PS3 controller but there's some issues. Because it's pressure sensitive. BTW I'm using gxmame on yld 5.0 and it's awsome. Sure you have some config to done but when it's done it's perfect! I use a usb ps2 connector to play.
Razgoull is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-01-2007, 10:56 AM   #15
 
Join Date: Jan 2007
Posts: 60
Trader Feedback: 0
Default

Quote:
Originally Posted by asong26
I don't know about YDL, but on Gentoo online source tree, there are only 2 options available. That's nls, and joystick. I've enabled them both.

As for hardware CFLAGS, look at my previous post. You'll see what I am enabling. With that setting, you're enabling 2 SPUs to work in conjunction. I wanted to enable more, but I was seriously warned that without access to RSX, and with limited memory, this would not work out. On the gameOS, the XMB is very lightweight, so there isn't too much of memory issues to enable all SPUs, but when running linux, a full blown OS, memory does become a problem....

Give Gentoo a try. You won't regret it! I used to use YDL, and tried Fedora, but nothing compares to Gentoo. Everything just works, taylored to your system.

If you want to give Gentoo a try, stick with the 32bit userland for now.... 64bit versions seem to be a little sluggish due to memory (lack of) I think....
-= Double Post =-
I don't know if this would help, but it just occurred to me.... I had some issues of accessing /usr/share/games/ and /usr/games/ directories, regardless if I added myself to the 'games' group. So, I cheated by chmod 777 for both of directories recursively...

chmod -R 777 /usr/share/games
chmod -R 777 /usr/games/

Try that first before recompiling everything. And if it still doesn't work, then install Gentoo
-= Double Post =-
In case you're going Gentoo route, here's my entire /etc/make.conf content

You'll see that no audio devices are enabled except for ALSA. The reason for this is the fact that the default audio driver for the PS3 linux is ALSA. If you think you're using OSS or something else, you're only using the emulated version of OSS via ALSA, so there is no point in having these devices compile, and it doesn't perform very well... Same goes for OpenGL.

-= Double Post =-
Quick question regarding xmame joystick support. Do you guys have PS3 controller enabled, or are you using a standard usb game pad?

see im a CS major in college and i know plenty about computers and all these architectures and i know plenty of programming including c and c++ and java
but im like a total newb when it comes to linux because we just didnt use it much we talked about it but never really got into now that im playing around with it on my ps3 i see how much fun linux is...

i like the fedora and YDL setup very much because its very simple but the gentoo seems very cool too because it builds everything from scratch for ure specific architecture so now im not sure what i wanna use i might have to try gentoo now lol but i might try it on my amd 64 dual core first

any idea if there are any issues with raid configuration? because i have a raid 0 on my amd 64 box and i knoe how much of a pain in the ass it is to get it recognized
lucegunz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-01-2007, 11:12 AM   #16
 
Join Date: Sep 2005
Location: meh
Posts: 2,799
Trader Feedback: 0
Default

lol, is it fake software raid or have you bought addon raid controllers?
cyanide is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-01-2007, 12:03 PM   #17
 
Join Date: Jan 2007
Posts: 60
Trader Feedback: 0
Default

fake software raid?? lol they have software raid??

my mother board is a DFI lanparty UT
http://us.dfi.com.tw/Product/xx_prod...YPE=LP&SITE=NA

i build the pc myself i am running a dual core amd 64 3800+ overcloded to 2.5 ghz a core. The hard drives are two 160 gig SATA drives with two nvidia 7800 GT's running in SLI and 4 gigs of ram

and i am seriously thinking of upgrading to a 8800 right now but im not sure if i wana spend the money
lucegunz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-01-2007, 12:25 PM   #18
 
Join Date: Sep 2005
Location: meh
Posts: 2,799
Trader Feedback: 0
Default

Yes, the onboard raid = fake raid or software raid since it's basically a driver which does the work of a raid controller. And yes, you have one of those, so don't expect great results first time. If possible, take backups since this could mess up your raid array.

http://gentoo-wiki.com/HOWTO_Install...D_using_dmraid
I noticed that your mobo has a nForce chipset with NVRAID, so these instructions are basically tailor-made for your PC. Just make sure you know what you're doing

And btw, nice PC
cyanide is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-01-2007, 04:45 PM   #19
 
Join Date: Jan 2007
Posts: 87
Trader Feedback: 0
Default

Quote:
Originally Posted by Razgoull
Yes you can use the PS3 controller but there's some issues. Because it's pressure sensitive. BTW I'm using gxmame on yld 5.0 and it's awsome. Sure you have some config to done but when it's done it's perfect! I use a usb ps2 connector to play.

I couldnt' get SIXAXIS to work right.... I dug up my old Saitek USB gamepad. Works flawlessly with xmame. Besides, I never thought PS2 directional pads were really all that great for fighting games w/ half circle moves like Street Fighter series. Saitek works really well. I am pulling fireballs and dragon punches at will!

Thanks for the tip.
asong26 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-02-2007, 09:14 PM   #20
 
Join Date: Jan 2007
Posts: 60
Trader Feedback: 0
Default

Quote:
Originally Posted by cyanide
Yes, the onboard raid = fake raid or software raid since it's basically a driver which does the work of a raid controller. And yes, you have one of those, so don't expect great results first time. If possible, take backups since this could mess up your raid array.

http://gentoo-wiki.com/HOWTO_Install...D_using_dmraid
I noticed that your mobo has a nForce chipset with NVRAID, so these instructions are basically tailor-made for your PC. Just make sure you know what you're doing

And btw, nice PC

thank you very much for that link its perfect =)

as far as the pc goes it could be better im waiting for the quad core amd's before i upgrade the cpu and hopefully they will have the same socket so i wont need to change the mobo but it might not be the case because i heard amd is duing some amzing shyt with their quad cores and the architechture is something totally diffrent so they will probably change the sockets..

anyway thank you very much for that link its just what i needed
lucegunz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-04-2007, 02:12 AM   #21
Translator Extraordinare
 
Join Date: Jun 2005
Posts: 9
Trader Feedback: 0
Default

Thanks for posting the walkthrough. Being new to Linux this whole process took me a really long time, but at last I have MAME working. I just have a couple of questions.

1. I tried to install GXMAME, but when I try to run it, it just appears on the bottom of the screen in the task bar for a bit and then dissapears. Does anyone know what might be causing this issue?

2. asong26 said that he had compiled his own version and than used GXMAME to make everything run perfectly. asong26 could you post up your compiled version for everyone to try out? Does using GXMAME allow all version of MAME to run smoother. It was indeed a little choppy.

Thanks for your help.

Tenchu
Tenchu is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-04-2007, 04:28 AM   #22
 
Join Date: Jan 2007
Posts: 87
Trader Feedback: 0
Default

Quote:
Originally Posted by Tenchu
Thanks for posting the walkthrough. Being new to Linux this whole process took me a really long time, but at last I have MAME working. I just have a couple of questions.

1. I tried to install GXMAME, but when I try to run it, it just appears on the bottom of the screen in the task bar for a bit and then dissapears. Does anyone know what might be causing this issue?

2. asong26 said that he had compiled his own version and than used GXMAME to make everything run perfectly. asong26 could you post up your compiled version for everyone to try out? Does using GXMAME allow all version of MAME to run smoother. It was indeed a little choppy.

Thanks for your help.


Tenchu

I am using Gentoo. Simply 'emerge -v xmame gxmame'. If you're using Gentoo, try that, if not, I can't help you.... Sorry....
asong26 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-04-2007, 11:21 PM   #23
 
Join Date: Jan 2007
Posts: 60
Trader Feedback: 0
Default

Quote:
Originally Posted by Tenchu
Thanks for posting the walkthrough. Being new to Linux this whole process took me a really long time, but at last I have MAME working. I just have a couple of questions.

1. I tried to install GXMAME, but when I try to run it, it just appears on the bottom of the screen in the task bar for a bit and then dissapears. Does anyone know what might be causing this issue?

2. asong26 said that he had compiled his own version and than used GXMAME to make everything run perfectly. asong26 could you post up your compiled version for everyone to try out? Does using GXMAME allow all version of MAME to run smoother. It was indeed a little choppy.

Thanks for your help.

Tenchu
if u followed the process and ure using xmame.SDL <romname> to start ure games which is version 0.79 i belive of the xmame.SDL u shouldn't be having any issues with slowdowns...

every game runs 27 FPS or better on mine now even games like street fighter alpha 3 and marvel vs campcom etc...

some games have sound issues of their own but for the most part even the sound works perfect on almost all games

as far as GXMAME goes i couldnt get it to run either i had the exact same issue you did on my system it appears in the bottom but never comes up

it has some kind of bug in it with the ps3 because it trys to allocate a certain amount of memory and its not able to youll see the error if you run gxmame on ure console after u install it... The only way to fix that is have it compile for the ps3 like these other guys did i never tryed to cuz to recompile it on YDL 5 is a hastle its not like gnetoo where everything is compiled all the time before install

However you dont even really need see i just made shortcuts in my games directory that basically all they do is they run a command in terminal for me so lets say i make a shortcut in the games directory called Marvel vsCapcom and when u click it all the shorcut does is exceute xmame.SDL mvsc.zip and the thing works without u having to type in xmame.SDL mvsc.zip all the time

mess around with it u can do alot of cool shyt on linux im still really a newb myself so if u get gxmame to run post it up lol =)
lucegunz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-05-2007, 08:46 AM   #24
 
Razgoull's Avatar
 
Join Date: Dec 2006
Posts: 62
Trader Feedback: 0
Default

ok for those of you who as problems with Gxmame, only this one work ok in ydl 5.0 -----gxmame-0.35-0.20040828.1.0.yd4.fr.ppc------
or
you have some problem with gtk.
Razgoull is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-07-2007, 08:07 PM   #25
 
Join Date: Jan 2007
Posts: 60
Trader Feedback: 0
Default

Quote:
Originally Posted by Razgoull
ok for those of you who as problems with Gxmame, only this one work ok in ydl 5.0 -----gxmame-0.35-0.20040828.1.0.yd4.fr.ppc------
or
you have some problem with gtk.

well that one wasnt working for me either but you gave me a greatttt idea

i downloaded the version for yellow dox linux 3 and it worked perfect

if anyone is having those troubles just download the version for yellow dog linux 3 and it works no problem
lucegunz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-09-2007, 07:56 PM   #26
Translator Extraordinare
 
Join Date: Jun 2005
Posts: 9
Trader Feedback: 0
Default

Hey everyone thanks for the replies. Sorry it took me so long to write back. It's been a pretty busy week at work.
So, am I to expect MAME to run around 20fps? That's about 1/3 the full 60fps a second one would be expecting on NTSC games like CPS1 and NEOGEO. Perhaps that's why I experienced all the stutter. For some reason I couldn't get any of my NEOGEO roms to work either. They work on other emulators, but when I run them on xmame it always says some files are missing. I guess we'll have to wait until someone comes along and makes a more pimp version of MAME designed to use with the PS3.
Tenchu is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-10-2007, 05:35 AM   #27
 
Razgoull's Avatar
 
Join Date: Dec 2006
Posts: 62
Trader Feedback: 0
Default

Put the neogeo bios in the same folder where you put your roms.
Lucegunz are you able to play games with .chd file? I can't.
Razgoull is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-11-2007, 09:49 AM   #28
 
geterman's Avatar
 
Join Date: Dec 2006
Posts: 71
Trader Feedback: 0
Default

-= Double Post =-
Quote:
Originally Posted by Razgoull
Yes you can use the PS3 controller but there's some issues. Because it's pressure sensitive. BTW I'm using gxmame on yld 5.0 and it's awsome. Sure you have some config to done but when it's done it's perfect! I use a usb ps2 connector to play.
How do you get your controllers to work? I am using YDL 5.0 and I can't seem to get the controllers to work. I have the PS3 controller and a PS2 controller with a usb adapter. I can't find the ctrlr file either

Last edited by geterman; 02-11-2007 at 09:51 AM.. Reason: Automerged Doublepost
geterman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-13-2007, 07:10 AM   #29
 
Join Date: Nov 2005
Posts: 515
Trader Feedback: 0
Default

DO you need a keyboard and mouse for this?
__________________
PSP Firmware: 3.03 OE-C
Memory Stick: 256MB, 1GB, and 4GB
PSN Handle: Hell-Kaiser
Website: [URL="http://forums.forgottenmem.net"]Forgotten Memories[/URL]
Terror-X is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-14-2007, 04:49 AM   #30
 
geterman's Avatar
 
Join Date: Dec 2006
Posts: 71
Trader Feedback: 0
Default Re: xmame.SDL installation guide and FAQ YDL 5 ps3 linux

Can anyone tell me how to get a usb controller working on this?
geterman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
faq , guide , installation , linux , ps3 , xmamesdl , ydl

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 10:09 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us