Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: mame.ini help  (Read 2901 times)

0 Members and 1 Guest are viewing this topic.

jardine

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:May 12, 2025, 05:09:12 am
mame.ini help
« on: March 08, 2008, 10:57:44 pm »
I'm trying to get mamewah running with not much success..can't seem to get the games list running....read the wiki where it explains about changing the mame.ini.. took me a while but i think i got the right file....this is what mine looks like..is it right?

### List Generation Settings ###
rom_path                               C:\Documents and Settings\JarrodM\My Documents\Downloads\M.A.M.E\MAME .123\roms
rom_extension                             zip
dat_file                                 
nms_file                                 
catver_ini_file                           [emuexepath]\catver.ini
list_generation_method                    rom_folder_vs_listxml

### Execution Settings ###
pre_emulator_app_commandlines             
emulator_commandline                      C:\Documents and Settings\JarrodM\My Documents\Downloads\M.A.M.E\MAME .123\mame\mame.exe [name]{nodosbox}{nosafelaunch}
post_emulator_app_commandlines           
general_app_commandlines       


What is in bold is all i have changed but still do not have any games list..can someone please help out a newbie to all this....any help is greatley appreicated.

THANX
« Last Edit: March 09, 2008, 01:42:56 am by jardine »

BradC

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 182
  • Last login:December 22, 2010, 05:56:28 pm
    • My First Arcade Cabinet
Re: mame.ini help
« Reply #1 on: March 09, 2008, 11:31:30 am »
I assume you're talking about the mame.ini that's inside the config folder in the Mamewah directory. Here's how mine looks (and it works for me).

Code: [Select]
### List Generation Settings ###
rom_path                                  C:\Program Files\MAME\roms
rom_extension                             zip
dat_file                                 
nms_file                                 
catver_ini_file                           C:\Program Files\MAME\catver.ini
list_generation_method                    rom_folder_vs_listxml

### Execution Settings ###
pre_emulator_app_commandlines             
emulator_commandline                      C:\Program Files\mame.exe [name]{nodosbox}
post_emulator_app_commandlines           
general_app_commandlines 

Maybe try spelling out your path in the catver_ini_file instead of using [emuexepath]? That's the only basic difference I see between yours and mine for list generation.

jardine

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:May 12, 2025, 05:09:12 am
Re: mame.ini help
« Reply #2 on: March 09, 2008, 09:29:27 pm »
Thanx man...the problem was in the list_gen_method...needed it to point towards listxml2!!!

Now just gotta work out how to launch a game?? Any ideas??

BradC

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 182
  • Last login:December 22, 2010, 05:56:28 pm
    • My First Arcade Cabinet
Re: mame.ini help
« Reply #3 on: March 10, 2008, 01:06:22 pm »
What happens when you try to launch?

jardine

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:May 12, 2025, 05:09:12 am
Re: mame.ini help
« Reply #4 on: March 10, 2008, 05:50:47 pm »
absolutly nothing im afraid....posted another thread to try and solve this which Minwah responded to....yeah....

not very computer savvy when it comes to changing .ini files and the like so will see how it goes...his response below....

Pushing one player or key 1 on the keyboard doesn't work...is there a trick to this??


If nothing at all seems to happen, then your emulator executable may be incorrect. If it tries to do something but doesn't get as far as the game then your commandline_format is probably wrong.

Also, have a look in mamewah.log - it should give you a point in the right direction.


Quote
Also...how do i get it to show screenshots of the games?


In emuname.ini, set (eg):

artwork_image_paths c:\emulator\snap

This will display the images in Artwork #1...to display in more Artwork objects, seperate paths with a semi-colon:

artwork_image_paths c:\emulator\snap;c:\emulator\titles;c:\emulator\marquees

etc

Ensure you have the system files installed also, or PNG files will not be displayed.


Able to put this in English for me...i'm guessing that all of this is again in the cfg file, but what do i have to change the commandline_format to??? and what does it look like....will be out for a bit so cant try straight away.

Thanx


BradC

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 182
  • Last login:December 22, 2010, 05:56:28 pm
    • My First Arcade Cabinet
Re: mame.ini help
« Reply #5 on: March 10, 2008, 06:33:23 pm »
The main thing he suggests that really helps out, is to look at the log file.

Open the program and try to run a game. Then exit, and look in the Mamewah directory. There is a file called mamewah.log If you open this file, it will tell you everything the program is doing. Look at the latest entries there and see what they say.

As for getting the screenshots to show, there is a bit to it. If your screenshots are named the same as the roms (for example, the Donkey Kong rom is named dkong.zip and the screenshot is dkong.jpg) then you can just put all of your screenshots in the c:\mame\snap\ folder. See if that works.

jardine

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:May 12, 2025, 05:09:12 am
Re: mame.ini help
« Reply #6 on: March 10, 2008, 07:07:22 pm »

Thanx Brad...back now and will give it a go...appreicate the help, will keep you posted (wth more questions to come no doubt)

Thanx again mate.

jardine

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:May 12, 2025, 05:09:12 am
Re: mame.ini help
« Reply #7 on: March 10, 2008, 07:36:19 pm »
OK....went into the text doc. and yes it seems that it aint finding the executable.... It states :

C:\Documents and Settings\JarrodM\My Documents\Downloads\M.A.M.E\MAME .123\mame\mame.exe [name]{nodosbox}{nosafelaunch} does not exist in rungame


what im gleaning from this is that the executable is the .exe file that runs mame...is this correct? ie: when you double click on this file it opens mame fine.

If this is the case i have the command line pointed at the right file (now!!! had one to many mames' in there)...

The only thing is when i right cilck on the file to ensure it is an .exe file it doesn't show it as one. Only shows it as an application file. Also, the file seems to be missing any sort of icon as such...just a square box with a blue stripe...is this file corrupt? Should i re install?

BradC

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 182
  • Last login:December 22, 2010, 05:56:28 pm
    • My First Arcade Cabinet
Re: mame.ini help
« Reply #8 on: March 11, 2008, 11:09:40 am »
The file is fine. You most likely have your windows machine set up to hide file extensions (which is the ".exe" part). The little box is the correct icon and it is an application file.

Sounds like you are set to go.