Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: Gradius on February 13, 2006, 09:26:06 am
-
With previous versions of MAME it was possible by editing the source, but not now. I've thought I could generate a cfg file for each file, but loading every game and writting ok would be a pain. Since all cfgs are the same but with the name of each game, I suppose it would be possible to automatically generate all the files. The problem is how to put the name of the file inside the file's text. If you know any website with all the cfgs, or better a way to do this more easily, please tell me.
-
you can still edit the source code. just change the lines that say "options skip_disclaimer & options skip_warning" both to "options skip_gameinfo" so you can set skip gameinfo to 1 (or just check the box in mame32) and it will skip the ok screen, the "not 100% emulated" warnings, and the info.
if you like the warnings, as some do, of course don't change that one, just change the disclaimer.
-
WOW! Does that really work??? I'm eager to get home and try! Thanx!
-
/* if we didn't find a settings file, show the disclaimer */
if (settingsloaded || options.skip_disclaimer || ui_display_copyright(artwork_get_ui_bitmap()) == 0)
{
/* show info about incorrect behaviour (wrong colors etc.) */
if (options.skip_warnings || ui_display_game_warnings(artwork_get_ui_bitmap()) == 0)
{
/* show info about the game */
if (options.skip_gameinfo || ui_display_game_info(artwork_get_ui_bitmap()) == 0)
{
That's from mame.c
You mean I have to change exactly the 'options.skip_warnings' and the 'options.skip_warnings' strings with 'options.skip_disclaimer'?
Or do I have to change
if (settingsloaded || options.skip_disclaimer || ui_display_copyright(artwork_get_ui_bitmap()) == 0)
and
if (options.skip_warnings || ui_display_game_warnings(artwork_get_ui_bitmap()) == 0)
with
if (options.skip_gameinfo || ui_display_game_info(artwork_get_ui_bitmap()) == 0)
Thanx!
-
what can i use to modify the source notepad cause i really dont want to install c++ on my pc just to do that?
-
what can i use to modify the source notepad cause i really dont want to install c++ on my pc just to do that?
Notepad should work. A 'real' text editor like UltraEd or Crimson Editor (I like CrimsonEd) would be better though, so you can read the line numbers and display the code a little prettier.
Here's a good compiling guide:
http://www.mameworld.net/mrdo/compile.html
-
/* if we didn't find a settings file, show the disclaimer */
if (settingsloaded || options.skip_disclaimer || ui_display_copyright(artwork_get_ui_bitmap()) == 0)
{
/* show info about incorrect behaviour (wrong colors etc.) */
if (options.skip_warnings || ui_display_game_warnings(artwork_get_ui_bitmap()) == 0)
{
/* show info about the game */
if (options.skip_gameinfo || ui_display_game_info(artwork_get_ui_bitmap()) == 0)
{
That's from mame.c
You mean I have to change exactly the 'options.skip_warnings' and the 'options.skip_warnings' strings with 'options.skip_disclaimer'?
Or do I have to change
if (settingsloaded || options.skip_disclaimer || ui_display_copyright(artwork_get_ui_bitmap()) == 0)
and
if (options.skip_warnings || ui_display_game_warnings(artwork_get_ui_bitmap()) == 0)
with
if (options.skip_gameinfo || ui_display_game_info(artwork_get_ui_bitmap()) == 0)
Thanx!
your second option
just change the word "disclaimer" to "gameinfo" and "warnings" to "gameinfo"
-
Yes, it works! Thanx.
I do not edit the lines manually. It was a pain, so I decided to automate all the changes and the compiling process. mame.c is not the only file I modify (for instance driver.h, win32ui.c, etc). I've made a menu under DOS with a big batch file that allow me to prepare the compilation, delete the compilation, apply changes, do it everything at once... I can do it with just one key. The downloaded sources and the modified files are stored in a folder and also the text replacements within files are previously programmed. The menu automatically compiles and moves the binaries to my MAME folder, as well as update the snaps, mameinfo, history, clrmame dats. Everything is hidden to the user and everything is clean an easy. It took me many days to program it, but now it's very confortable everytime I need to compile a new version.