![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
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 ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() |
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 |
|
|
|
|
|
#2 |
![]() |
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! |
|
|
|
|
|
#3 | |
![]() |
Quote:
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 |
|
|
|
|
|
|
#4 |
![]() |
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 |
|
|
|
|
|
#5 | |
![]() |
Quote:
no doubt just send me a friends invite on the psn mine is lucegunz as well |
|
|
|
|
|
|
#9 |
![]() |
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... |
|
|
|
|
|
#10 | |
![]() |
Quote:
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
|
|
|
|
|
|
|
#11 | ||
![]() |
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:
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:
![]() 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.. |
||
|
|
|
|
|
#12 | |
![]() |
Quote:
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? |
|
|
|
|
|
|
#13 | |
![]() |
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:
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 |
|
|
|
|
|
|
#14 |
![]() |
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.
|
|
|
|
|
|
#15 | |
![]() |
Quote:
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 |
|
|
|
|
|
|
#17 |
![]() |
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 |
|
|
|
|
|
#18 |
![]() |
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
|
|
|
|
|
|
#19 | |
![]() |
Quote:
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. |
|
|
|
|
|
|
#20 | |
![]() |
Quote:
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 |
|
|
|
|
|
|
#21 |
|
Translator Extraordinare
|
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 |
|
|
|
|
|
#22 | |
![]() |
Quote:
I am using Gentoo. Simply 'emerge -v xmame gxmame'. If you're using Gentoo, try that, if not, I can't help you.... Sorry.... |
|
|
|
|
|
|
#23 | |
![]() |
Quote:
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 =) |
|
|
|
|
|
|
#25 | |
![]() |
Quote:
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 |
|
|
|
|
|
|
#26 |
|
Translator Extraordinare
|
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. |
|
|
|
|
|
#28 | |
![]() |
-= Double Post =-
Quote:
Last edited by geterman; 02-11-2007 at 09:51 AM.. Reason: Automerged Doublepost |
|
|
|
|
![]() |
| Tags |
| faq , guide , installation , linux , ps3 , xmamesdl , ydl |
| Thread Tools | |
|
|