RETROBAT Official Board
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Why Retrobat cannot read MAME system ini files but delete them automatically?

4 posters

Go down

Why Retrobat cannot read MAME system ini files but delete them automatically? Empty Why Retrobat cannot read MAME system ini files but delete them automatically?

Post by teller 27/10/24, 09:53 am

Hello Retrobat Team!

I have added a mame system called "vg5k" (Philips VG-5000 Computer) for mame-libretro and wanted to add an vg5k.ini file with autocommands in this directory:
bios\mame\ini

Why?
I need autocommands, so that cassettes can get auto-loaded when starting up. Here's the command:
#
# SCRIPTING OPTIONS

autoboot_command          "cload\n"
autoboot_delay            3
autoboot_script      

When I load a game in Retrobat my vg5k.ini file gets always deleted.
Why?

Is there a way that Retrobat can read ini files for MAME systems?

Please let me know, thanks!


Last edited by teller on 27/10/24, 10:30 am; edited 2 times in total
teller
teller

Messages : 10
Date d'inscription : 2024-10-27

Back to top Go down

Why Retrobat cannot read MAME system ini files but delete them automatically? Empty Re: Why Retrobat cannot read MAME system ini files but delete them automatically?

Post by getupor 27/10/24, 09:57 am

Hello ?


Why Retrobat cannot read MAME system ini files but delete them automatically? Modo
getupor
getupor
Admin

Messages : 1388
Date d'inscription : 2020-10-04

teller likes this post

Back to top Go down

Why Retrobat cannot read MAME system ini files but delete them automatically? Empty Re: Why Retrobat cannot read MAME system ini files but delete them automatically?

Post by tartifless 27/10/24, 09:58 am

Hello,
What version of retrobat are you using ?


Why Retrobat cannot read MAME system ini files but delete them automatically? Modo
tartifless
tartifless
Admin

Messages : 1642
Date d'inscription : 2021-04-27

teller likes this post

Back to top Go down

Why Retrobat cannot read MAME system ini files but delete them automatically? Empty Re: Why Retrobat cannot read MAME system ini files but delete them automatically?

Post by teller 27/10/24, 10:02 am

Hi,
I use v6.31 stable.
teller
teller

Messages : 10
Date d'inscription : 2024-10-27

Back to top Go down

Why Retrobat cannot read MAME system ini files but delete them automatically? Empty Re: Why Retrobat cannot read MAME system ini files but delete them automatically?

Post by tartifless 27/10/24, 10:04 am

This is the reason that is in the code:
// Cleanup previous ini file
// This is required, else there might be multiple image devices listed and MAME might autoload the wrong one

It's there for a very long time, so i guess it's to avoid loading some inifile with wrong values that would override options sent by retrobat.


Why Retrobat cannot read MAME system ini files but delete them automatically? Modo
tartifless
tartifless
Admin

Messages : 1642
Date d'inscription : 2021-04-27

teller likes this post

Back to top Go down

Why Retrobat cannot read MAME system ini files but delete them automatically? Empty Re: Why Retrobat cannot read MAME system ini files but delete them automatically?

Post by teller 27/10/24, 10:13 am

I've just removed my ini files and started from scratch.
Two ini (mame & plugin) files are getting auto-written.

My ini files are set for each system differently, which makes sense in my opinion.

Is there no way around to override this cleaning feature?
teller
teller

Messages : 10
Date d'inscription : 2024-10-27

Back to top Go down

Why Retrobat cannot read MAME system ini files but delete them automatically? Empty Re: Why Retrobat cannot read MAME system ini files but delete them automatically?

Post by teller 27/10/24, 11:36 am

I can set under Emulation "READ INI FILE: YES" but the ini file still gets ignored and deleted!


teller
teller

Messages : 10
Date d'inscription : 2024-10-27

Back to top Go down

Why Retrobat cannot read MAME system ini files but delete them automatically? Empty Re: Why Retrobat cannot read MAME system ini files but delete them automatically?

Post by tartifless 27/10/24, 12:26 pm

This option does not change the behaviour for .ini files, it's just used for the -noreadconfig command line


Why Retrobat cannot read MAME system ini files but delete them automatically? Modo
tartifless
tartifless
Admin

Messages : 1642
Date d'inscription : 2021-04-27

Back to top Go down

Why Retrobat cannot read MAME system ini files but delete them automatically? Empty Re: Why Retrobat cannot read MAME system ini files but delete them automatically?

Post by Lorenzolamas 27/10/24, 06:51 pm

teller wrote:Hi,
I use v6.31 stable.

please,

Why Retrobat cannot read MAME system ini files but delete them automatically? WLojfOS
Lorenzolamas
Lorenzolamas
Admin

Messages : 2641
Date d'inscription : 2019-07-28

Back to top Go down

Why Retrobat cannot read MAME system ini files but delete them automatically? Empty Re: Why Retrobat cannot read MAME system ini files but delete them automatically?

Post by tartifless 27/10/24, 06:56 pm

I added option to use own ini in next version


Why Retrobat cannot read MAME system ini files but delete them automatically? Modo
tartifless
tartifless
Admin

Messages : 1642
Date d'inscription : 2021-04-27

teller likes this post

Back to top Go down

Why Retrobat cannot read MAME system ini files but delete them automatically? Empty Re: Why Retrobat cannot read MAME system ini files but delete them automatically?

Post by teller 27/10/24, 06:59 pm

Thanks, I'm looking forward to it!


Last edited by teller on 27/10/24, 07:18 pm; edited 1 time in total
teller
teller

Messages : 10
Date d'inscription : 2024-10-27

Back to top Go down

Why Retrobat cannot read MAME system ini files but delete them automatically? Empty Re: Why Retrobat cannot read MAME system ini files but delete them automatically?

Post by teller 27/10/24, 07:12 pm

Lorenzolamas wrote:
teller wrote:Hi,
I use v6.31 stable.

please,

Why Retrobat cannot read MAME system ini files but delete them automatically? WLojfOS

Well I was up-to-date as there was no update available on Retrobat directly. I then updated manually to the latest version as quoted by you.
teller
teller

Messages : 10
Date d'inscription : 2024-10-27

Lorenzolamas likes this post

Back to top Go down

Why Retrobat cannot read MAME system ini files but delete them automatically? Empty Re: Why Retrobat cannot read MAME system ini files but delete them automatically?

Post by tartifless 27/10/24, 08:43 pm

But this is not at all a blocking issue, you know you can manage autoboot by adding a .autorun file in the same folder and with the same name as your rom.

Moreover, it's necessary to delete the .ini most of the time when using a frontend, as it can mess with the command line arguments being sent.
Ultimately, letting users manage the .ini files bring far more issue then deleting them.

tartifless
tartifless
Admin

Messages : 1642
Date d'inscription : 2021-04-27

teller likes this post

Back to top Go down

Why Retrobat cannot read MAME system ini files but delete them automatically? Empty Re: Why Retrobat cannot read MAME system ini files but delete them automatically?

Post by teller 28/10/24, 04:28 pm

tartifless wrote:But this is not at all a blocking issue, you know you can manage autoboot by adding a .autorun file in the same folder and with the same name as your rom.

Moreover, it's necessary to delete the .ini most of the time when using a frontend, as it can mess with the command line arguments being sent.
Ultimately, letting users manage the .ini files bring far more issue then deleting them.


Hello,
thanks for letting me know about the .autorun file! I tested it and the typing command "CLOAD" works fine on MAME64, but not on mame-libretro.
Unfortunately with .autorun I cannot use MAME specific commands such as for example:
Code:
mame videopac -cart1 voice -cart2 crazyc

I also tried with a .cmd file in the same folder and with the same name as the rom.file but that didn't work either.

Is there another way I can use mame-specific commands in Retrobat?
teller
teller

Messages : 10
Date d'inscription : 2024-10-27

Back to top Go down

Why Retrobat cannot read MAME system ini files but delete them automatically? Empty Re: Why Retrobat cannot read MAME system ini files but delete them automatically?

Post by tartifless 28/10/24, 05:30 pm

The videopac is already managed by retrobat, but multicart is not possible in RetroBat


Why Retrobat cannot read MAME system ini files but delete them automatically? Modo
tartifless
tartifless
Admin

Messages : 1642
Date d'inscription : 2021-04-27

Back to top Go down

Why Retrobat cannot read MAME system ini files but delete them automatically? Empty Re: Why Retrobat cannot read MAME system ini files but delete them automatically?

Post by teller 28/10/24, 05:44 pm

tartifless wrote:The videopac is already managed by retrobat, but multicart is not possible in RetroBat

The o2em-libretro is a very poor VIDEOPAC emulation in comparison to what MAME is capable of (thanks to HAP who worked very hard for improving the videopac on MAME). o2em-libretro still doesn't have perfect sound, it lacks of playing many modules, such as the 16k games (Helicopter Rescue, Trans-American Rally etc.), the Chess and the Homecomputer Module with Cassette support. I'm a collector of the real hardware and I know what I'm talking about.
I don't know what you mean with Multicart, as -cart1 and -cart2 is a general function in MAME. For the sake of VIDEOPAC you select the voice module first in -cart1 and with -cart2 the game module, so the voice module gets enabled.
If Retrobat will manage supporting all the functions for MAME, then it even gains more attraction as it already has, and I really love your work with Retrobat!
teller
teller

Messages : 10
Date d'inscription : 2024-10-27

Back to top Go down

Why Retrobat cannot read MAME system ini files but delete them automatically? Empty Re: Why Retrobat cannot read MAME system ini files but delete them automatically?

Post by tartifless 28/10/24, 06:13 pm

What is would suggest is that you join the discord of retrobat to give us info on how to make MESS (non-arcade mame) better, as the old computers emulation with mame needs much knowledge and we are only 2 developers and none of us really knowledgeable (or willing to spend time) on these.

So we could really need help if we do it slowly, system by system.


Why Retrobat cannot read MAME system ini files but delete them automatically? Modo
tartifless
tartifless
Admin

Messages : 1642
Date d'inscription : 2021-04-27

teller likes this post

Back to top Go down

Why Retrobat cannot read MAME system ini files but delete them automatically? Empty Re: Why Retrobat cannot read MAME system ini files but delete them automatically?

Post by teller 28/10/24, 06:18 pm

With pleasure. I already joined your discord channel.
teller
teller

Messages : 10
Date d'inscription : 2024-10-27

Back to top Go down

Why Retrobat cannot read MAME system ini files but delete them automatically? Empty Re: Why Retrobat cannot read MAME system ini files but delete them automatically?

Post by tartifless 28/10/24, 06:43 pm

I cannot find you, any user name i should look for ?


Why Retrobat cannot read MAME system ini files but delete them automatically? Modo
tartifless
tartifless
Admin

Messages : 1642
Date d'inscription : 2021-04-27

Back to top Go down

Why Retrobat cannot read MAME system ini files but delete them automatically? Empty Re: Why Retrobat cannot read MAME system ini files but delete them automatically?

Post by teller 28/10/24, 06:56 pm

g7200 Wink
teller
teller

Messages : 10
Date d'inscription : 2024-10-27

Back to top Go down

Why Retrobat cannot read MAME system ini files but delete them automatically? Empty Re: Why Retrobat cannot read MAME system ini files but delete them automatically?

Post by getupor 28/10/24, 08:48 pm

You have to validate your membership by pushing the green tick. But only one time (until your nickname become red)


Why Retrobat cannot read MAME system ini files but delete them automatically? Modo
getupor
getupor
Admin

Messages : 1388
Date d'inscription : 2020-10-04

Back to top Go down

Why Retrobat cannot read MAME system ini files but delete them automatically? Empty Re: Why Retrobat cannot read MAME system ini files but delete them automatically?

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum