LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Configure Mame for opensuse (https://www.linuxquestions.org/questions/linux-software-2/configure-mame-for-opensuse-4175588250/)

igloo22 08-29-2016 12:59 PM

Configure Mame for opensuse
 
Hello. i have scoured the internet to find some direction on configuring mame for opensuse tumbleweed. i have mame installed and i think im stuck on create a rompath because when i type mame and enter it gives me error message there are no roms. i installed a chd file for street fighter but how do i accociate it with mame. Thank you for any help.

Ztcoracat 08-29-2016 01:37 PM

I don't have experience with Mame but these links look like a place to start.

https://forums.opensuse.org/showthre...recognize-roms

https://www.google.com/#q=how+to+cre...me+on+opensuse

-::-Look in the Open Suse Forum-::-
https://forums.opensuse.org/forumdis...-To-FAQ-Forums

Search on Rom errors:
https://www.google.com/#q=mame+there+are+no+roms

Is this the error your getting?
http://en.appnee.com/index.php?qa=68&

igloo22 08-29-2016 02:27 PM

Error message:"no games found. Please check the rompath specified in the mame.ini file. If this is your first time using mame, please check the config.txt file in the docs directory for information on configuring mame."

igloo22 08-29-2016 02:45 PM

I have also followed the steps on http://www.upubuntu.com/2012/10/how-...le-arcade.html but when i put in sudo nautilus /usr/local/share/games/mame/roms at the end i receive error message
polo@linux-zwyw:~/.mame> sudo nautilus /usr/local/share/games/mame/roms
Unable to init server: Could not connect: Connection refused

(nautilus:10336): Gtk-WARNING **: cannot open display:

Ztcoracat 08-29-2016 10:29 PM

Quote:

please check the config.txt file in the docs directory for information on configuring mame.
Look in the config.txt file. It should say how to configure mame.
Post the contents of the file if you can.

igloo22 08-30-2016 09:29 PM

I am still very new to linux. how do i access the config.txt file? i have tried cat and vim but the file cannot be found. also with that being said where are the programs stored? Thank you again for the help.

Ztcoracat 08-30-2016 09:48 PM

Quote:

Originally Posted by igloo22 (Post 5598511)
I am still very new to linux. how do i access the config.txt file? i have tried cat and vim but the file cannot be found. also with that being said where are the programs stored? Thank you again for the help.

The config.txt file could be in one of 2 places. Either in the Home directory or in the mame directory.

To find a program or application you can use the terminal and use the locate cmd. For example lets say you have Cheese installed and you want to find it. Open your terminal and run:
Code:

locate cheese
If that doesn't help look in /usr/bin. OR look in the doc's directory.

I downloaded the Mame Guide PDF. That will take me a while to read that.

Ztcoracat 08-30-2016 10:09 PM

The Mame Guide is the first listing on this Google search. I suggest you download it and read it while I'm doing much the same.

https://www.google.com/#q=mame+guide+pdf

After 2 days of reading the PDF Manual on Virtual Box I was only than able to install it and run it properly. I know it can be boring and redundant to read manuals but I think that's the only way to learn about mame at this point.;)

igloo22 08-31-2016 09:37 PM

i have found out how to access the mame directory but still cannot find the config.txt. i have "cfg comments diff inp mame.ini memcard nvram roms snap sta" in the mame.ini file i have

#
# CORE CONFIGURATION OPTIONS
#
readconfig 1
writeconfig 0

#
# CORE SEARCH PATH OPTIONS
#
rompath /home/polo/Downloads;/home/polo/Downloads
hashpath hash
samplepath $HOME/.mame/samples;/usr/share/mame/samples
artpath $HOME/.mame/artwork;$HOME/.mame/effects;/usr/share/mame/artwork;/usr/share/mame/effects
ctrlrpath $HOME/.mame/ctrlr;/usr/share/mame/ctrlr
inipath $HOME/.mame/ini;/etc/mame
fontpath /usr/share/mame/fonts
cheatpath $HOME/.mame/cheats;/usr/share/mame/cheats
crosshairpath $HOME/.mame/crosshair;/usr/share/mame/crosshair

#
# CORE OUTPUT DIRECTORY OPTIONS
#
cfg_directory $HOME/.mame/cfg
nvram_directory $HOME/.mame/nvram
input_directory $HOME/.mame/inp
state_directory $HOME/.mame/sta
snapshot_directory $HOME/.mame/snap
diff_directory $HOME/.mame/diff
comment_directory $HOME/.mame/comments

#
# CORE STATE/PLAYBACK OPTIONS
#
state
autosave 1
playback
record
mngwrite
aviwrite
wavwrite
snapname %g/%i
snapsize auto
snapview internal
snapbilinear 1
statename %g
burnin 0

#
# CORE PERFORMANCE OPTIONS
#
autoframeskip 0
frameskip 0
seconds_to_run 0
throttle 1
sleep 1
speed 1.0
refreshspeed 0

#
# CORE ROTATION OPTIONS
#
rotate 1
ror 0
rol 0
autoror 0
autorol 0
flipx 0
flipy 0

igloo22 08-31-2016 10:22 PM

i have also downloaded a zip of streat fighter and placed it in my rom directory. but when i try to run it by typeing mame sfiii3.zip i am met with error message "polo@linux-zwyw:~/.mame/roms> mame sfiii3.zip
Error: attempt to free untracked memory 0x7020a80 in (null)(0)!
Ignoring MAME exception: Error: attempt to free untracked memory
Error: attempt to free untracked memory 0x7022e50 in (null)(0)!
Ignoring MAME exception: Error: attempt to free untracked memory
Error: attempt to free untracked memory 0x7024490 in (null)(0)!
Ignoring MAME exception: Error: attempt to free untracked memory
Error: attempt to free untracked memory 0x7024b70 in (null)(0)!
Ignoring MAME exception: Error: attempt to free untracked memory
Error: attempt to free untracked memory 0x7025910 in (null)(0)!
Ignoring MAME exception: Error: attempt to free untracked memory
cap-33s-2.chd NOT FOUND
FATALERROR: Required files are missing, the game cannot be run."

Ztcoracat 08-31-2016 11:13 PM

Quote:

but still cannot find the config.txt. i have "cfg comments diff inp mame.ini memcard nvram roms snap sta" in the mame.ini file i have
That config.txt file should be in the docs directory. Look in you Home directory and search for hidden files and folders. While in your Home directory go to >View> show hidden files.

Quote:

Required files are missing, the game cannot be run."
As long as the ROM files are missing that will continue to be the case.

Did you know that there are Legal issues involved?

The use of a game ROM's in the United States is only allowed if the person owns the game, has permission to use it from the owner of the game or games. From what I understand you will hav to purchase licenses.

http://wiki.mamedev.org/index.php/FAQ:ROMs

I haven't finished reading the Manual.

Do you have the legal right to posses a copy of and use games?

Ztcoracat 08-31-2016 11:17 PM

A CHD file is a compressed representation of a game's hard disk, CD-ROM, or laserdisc, and is generally not included as part of a game's ROMs. However, in most cases, these files are required to run the game, and MAME will complain if they cannot be found.

If you don't have the proper files, licenses and complied with the legal issues I won't be able to help you.


All times are GMT -5. The time now is 12:30 AM.