Jump to content
LaunchBox Community Forums

Recommended Posts

Posted
1 hour ago, Retrofrogg said:

Yes you can - just rename the file to neogeo.ini and place it in the name/ini/source folder. 

Thanks. 

I have an ini/preset and ini/examples  no source. 

Also, why the name neogeo.ini ? I thought the names have to match the rom names? 

Is there a way to configure individual games? Is neogeo.ini a key name?

Posted

There is a hierarchy that MAME uses. If a  rom has its own .ini, then it uses that. If not; the next thing it looks for is the source ini. If not, then the generic MAME.ini (you can specify this in the MAME.ini).  

Posted (edited)

OK, I think I answered my own question. 

In the documentation. Here it explains the ini file load order. 

https://docs.mamedev.org/advanced/multiconfig.html

 

Quote

 

Driver source file INI file. MAME will attempt to load source/<sourcefile>.ini where <sourcefile> is the base name of the source code file where the system driver is defined. A system’s source file can be found using mame -listsource <pattern> at the command line.

For instance, Banpresto’s Sailor Moon, Atlus’s Dodonpachi, and Nihon System’s Dangun Feveron all run on similar hardware and are defined in the cave.cpp source file, so they will all load source/cave.ini at this step.

 

I'm in win10 so I ran the below command to find metal slug sources and most of them are named neogeo.cpp so creating a source/neogeo.ini file is what's needed. 

.\mame64.exe -listsource | Select-String -Pattern "slug"

 

So I tried this for nba jam and it didn't work!

Edited by MowTin
Posted

Update: It seems for some reason mame was saving ini files for each games in the mame root directory. When I edit those my settings stick. 

But now I'm confused because it's contrary to the docs. 

Posted

You can just move the neogeo.ini to the ..\ini folder.  If you want to have things a little more tidy, create a "source" folder below ini    ..\ini\source    You will then need to add that inside mame.ini on the "inipath" line.  (as you have found, it's not setup up by default that way by MAME)image.png.418dcf209f61583ad80e6ffa69dd52e8.png

Posted (edited)

Yeah, I wouldn't bother with individual game inis, unless you have something specific you want to do for a particular game. Having neogeo.ini in the mame/ini/source folder should work. Good advice from @JoeViking245 - check the core search path options in your mame.ini. You don't want any individual game inis in the root MAME folder. What are you using to run the MAME or NeoGeo games? The standard MAME build or something else?

Edited by Retrofrogg
  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...