MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

Keatah
MAME Fan
Reged: 10/23/12
Posts: 38
Send PM


Mame0147 not parsing mame.ini correctly?
#297923 - 10/23/12 02:41 AM


According to the manual, MAME should parse its .ini file, even if renamed.
So why doesn't mame0147.exe parse mame0147.ini ??

mame.exe parses mame.ini just fine, though.. So what's happening? Anyone know?





Exceprt from manual

Configuration options
---------------------

-[no]readconfig / -[no]rc

Enables or disables the reading of the config files. When enabled
(which is the default), MAME reads the following config files in order:

- mame.ini
- .ini (i.e. if MAME was renamed mame060.exe, MAME
parses mame060.ini here)
- debug.ini (if the debugger is enabled)
- vector.ini (for vector games only)
- .ini (based on the source filename of the driver)
- .ini (for clones only, may be called recursively)
- .ini

The settings in the later ini's override those in the earlier ini's.
So, for example, if you wanted to disable overlay effects in the
vector games, you can create a vector.ini with the "effect none" line
in it, and it will override whatever effect value you have in your
mame.ini. The default is ON (-readconfig).



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: Mame0147 not parsing mame.ini correctly? new [Re: Keatah]
#297935 - 10/23/12 05:29 AM


I'm not sure that behavior still exists. Is there some specific reason you need it to be mame0147.ini instead of mame.ini?



krick
Get Fuzzy
Reged: 02/09/04
Posts: 4235
Send PM


Re: Mame0147 not parsing mame.ini correctly? new [Re: Keatah]
#297939 - 10/23/12 06:23 AM


I did a survey of some old MAME source and version 0.111 behaves the way you describe, parsing mame.ini followed by exename.ini, but version 0.122 no longer parses exename.ini, so the change happened somewhere between those two versions. I'll try to narrow it down.

The bottom line is that it's been at least 5 years since MAME behaved the way described in that documentation. I don't know if it was a deliberate change, or if someone just rewrote the code and forgot to put that feature back in.



GroovyMAME support forum on BYOAC



Keatah
MAME Fan
Reged: 10/23/12
Posts: 38
Send PM


Re: Mame0147 not parsing mame.ini correctly? new [Re: R. Belmont]
#297943 - 10/23/12 08:00 AM


I like how it behaves the original way, it happens to fit nicely with my style of working and organizing things. It's handy when hosting multiple versions.

One instance why I use an older version is because the sound in Liberator seems muffled and the ships in Tac/Scan aren't completely symmetrical. Perhaps I can tweak something, perhaps not. So I just use an older version for those. Older version on older hardware. That's all.

And having mameXYZ.ini "track" mameXYZ.exe makes a lot of sense. And if this feature can be made to work again, well, it simply makes m.a.m.e just a tiny bit better.

Been following this project since its inception back in the 1990's! And I tend to do things old-school style.



B2K24
MAME @ 15 kHz Sony Trinitron CRT user
Reged: 10/25/10
Posts: 2663
Send PM


Re: Mame0147 not parsing mame.ini correctly? new [Re: Keatah]
#297945 - 10/23/12 08:32 AM


Another option would be to have all your different MAME executables in different directories with the directories named exactly how you want thing organized so MAME and the ini files can stay at the default naming.



Keatah
MAME Fan
Reged: 10/23/12
Posts: 38
Send PM


Re: Mame0147 not parsing mame.ini correctly? new [Re: B2K24]
#297949 - 10/23/12 10:39 AM


Uh huh, I can see that.



CiroConsentino
Frontend freak!
Reged: 09/21/03
Posts: 6211
Loc: Alien from Terra Prime... and Brazil
Send PM


Re: Mame0147 not parsing mame.ini correctly? new [Re: B2K24]
#297952 - 10/23/12 01:00 PM


I agree. It's not wise to have multiple MAME build in the same folder.



Emu Loader
Ciro Alfredo Consentino
home: http://emuloader.mameworld.info
e-mail: [email protected]



B2K24
MAME @ 15 kHz Sony Trinitron CRT user
Reged: 10/25/10
Posts: 2663
Send PM


Re: Mame0147 not parsing mame.ini correctly? new [Re: Keatah]
#297959 - 10/23/12 04:24 PM


> Uh huh, I can see that.

Do it then!



Keatah
MAME Fan
Reged: 10/23/12
Posts: 38
Send PM


Re: Mame0147 not parsing mame.ini correctly? new [Re: B2K24]
#297983 - 10/24/12 02:57 AM


I have everything setup just about right, a few more tweaks here and there; With 4 versions all in their own sub-folder.

Today, now, I have no idea why I was trying to mash it all into one massive folder. I supppose old school habits (and directory structures apparently) die hard at times.

Edited by Keatah (10/24/12 03:46 AM)



Dullaron
Diablo III - Dunard #1884
Reged: 07/22/05
Posts: 6125
Loc: Fort Worth, Tx
Send PM


Re: Mame0147 not parsing mame.ini correctly? new [Re: Keatah]
#297990 - 10/24/12 06:31 AM


> I have everything setup just about right, a few more tweaks here and there; With 4
> versions all in their own sub-folder.
>
> Today, now, I have no idea why I was trying to mash it all into one massive folder. I
> supppose old school habits (and directory structures apparently) die hard at times.

Why do you want all four? I only have two. 0.147u1 and other one that just have the Cave games only. Note: Cave games and other MAME is back up onto a 8GB stick.

Just keep the ones that have games removed. No need to have ton of MAME.



W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB



joey35car
MAME Fan
Reged: 02/07/07
Posts: 1111
Loc: Planet Claire
Send PM


Re: Mame0147 not parsing mame.ini correctly? new [Re: Dullaron]
#297995 - 10/24/12 07:59 AM



> Why do you want all four? I only have two. 0.147u1 and other one that just have the
> Cave games only. Note: Cave games and other MAME is back up onto a 8GB stick.
>
> Just keep the ones that have games removed. No need to have ton of MAME.

I probably have the same 2 you use also.



Keatah
MAME Fan
Reged: 10/23/12
Posts: 38
Send PM


Re: Mame0147 not parsing mame.ini correctly? new [Re: Dullaron]
#298005 - 10/25/12 04:38 AM


Speed consideration on older hardware. And some accuracy in TAC/SCAN, the player's ships don't look right. But that's a topic for another thread.

Eventually I'll combine everything into one or two configurations.



angileena
MAME Fan
Reged: 10/25/12
Posts: 1
Send PM


Re: Mame0147 not parsing mame.ini correctly? new [Re: Keatah]
#298024 - 10/25/12 08:52 AM Attachment: 4892eec29808.jpg 39 KB (0 downloads)


Nice surprise about this shorter form. Can you tell us what it is you are talking/writing about?
Has any info. about this shorter form been posted before (and i just missed it)?


[ATTACHED IMAGE]

Attachment



angileena



Keatah
MAME Fan
Reged: 10/23/12
Posts: 38
Send PM


Re: Mame0147 not parsing mame.ini correctly? new [Re: joey35car]
#298025 - 10/25/12 10:58 AM


I'm using 0.147 and 0.68

0.68 for a lot of the older games and vector games. Surprisingly, 0.68 gives me a better image than 0.147 for those.

And 0.147 for Liberator and Primal Rage.



Ziggy100
MAME Fan
Reged: 06/14/08
Posts: 314
Send PM


Re: Mame0147 not parsing mame.ini correctly? new [Re: Keatah]
#298028 - 10/25/12 01:57 PM


> I'm using 0.147 and 0.68
>
> 0.68 for a lot of the older games and vector games.

WOW!!..where did you find a rom set compatible with such an old build.?

EDIT:

Ooops..this might construed as a request for Rom download links.

It's not.

Edited by Ziggy100 (10/25/12 02:02 PM)



joey35car
MAME Fan
Reged: 02/07/07
Posts: 1111
Loc: Planet Claire
Send PM


Re: Mame0147 not parsing mame.ini correctly? new [Re: Ziggy100]
#298072 - 10/26/12 04:56 AM


I think you would rebuild them with rollback roms.



Tourniquet
Semi-Lurker
Reged: 09/20/03
Posts: 155
Send PM


Re: Mame0147 not parsing mame.ini correctly? new [Re: Keatah]
#298159 - 10/27/12 10:49 PM


> According to the manual, MAME should parse its .ini file, even if renamed.
> So why doesn't mame0147.exe parse mame0147.ini ??

I recall it being removed (and yes, it was like >5 years ago). I think I was the one who put it in originally, but there's not too many reasons for having different options for different binaries anymore. You can always just wrap it in a script and pass in extra cmdline params if needed.


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 161 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2521