The NEW Build Your Own Arcade Controls
Main => Software Forum => Topic started by: sega_mad on May 09, 2007, 07:34:23 pm
-
Hi all, just re-compiled mame 1.14 to remove the "nag" screens (many thanks to all that helped with my stupid Q's), and it's all good,
I would now like to get rid of the "initializing" and "loading" messages that "pop" up when each game is loading.
Is there a patch available??
Cheers :)
-
Is there a way to remove the "nag" screens in mame32? I know you recompile the original mame, but how about 32?
-
I would now like to get rid of the "initializing" and "loading" messages that "pop" up when each game is loading.
The following method worked for me. Use at your own risk as you are directly editing source files instead of applying a patch.
Use notepad to edit mame.c which is located at c:\mamesrc\src\emu
Remark out the following line. In other words find and change:
ui_set_startup_text("Initializing...", TRUE);
To:
/*ui_set_startup_text("Initializing...", TRUE);*/
Then edit c:\mamesrc\src\emu\romload.c
Remark out the lines of code by changing the following from:
char buffer[200];
if (name != NULL)
sprintf(buffer, "Loading (%d%%)", 100 * romdata->romsloaded / romdata->romstotal);
else
sprintf(buffer, "Loading Complete");
ui_set_startup_text(buffer, FALSE);
To:
/*char buffer[200];
if (name != NULL)
sprintf(buffer, "Loading (%d%%)", 100 * romdata->romsloaded / romdata->romstotal);
else
sprintf(buffer, "Loading Complete");
ui_set_startup_text(buffer, FALSE);*/
Then recompile, by running makemake.bat again. Copy the new EXE over to your Mame folder after renaming your old mame.exe in case you need it later.
Warning: I know very little C programming, but I did stay at a Holiday Inn Express last night.
-
Hi SGT,
I have been PM MKChamp and he has it sorted.
A pretty easy fix (not that I could have ever worked it out!!).
Pretty much the same fix (not a patch). Change the mame.c, romload.c & video.c files to comment out (by using //), re-compile, and she's away.
Many thanks for all your help
Cheers
-
sega_mad,
Why was video.c edited? Was it to get rid of the "Decoding" message?
-
Hi SGT,
Sure was. Everything removed now, except the thin white line that flashes briefly around the edge of the screen......any idea how to remove that??
Cheers
-
Not sure if this has any ill effects, but to get rid of the white box you can comment out the following 2 lines in emu/ui.c
line #372
line #376
-
eeah, should you not write which code is commented out instead just write the line number (wich can been moved up or down)?
-
eeah, should you not write which code is commented out instead just write the line number (wich can been moved up or down)?
/* clear the input memory */
while (code_read_async() != CODE_NONE) ;
/* loop while we have a handler */
while (ui_handler_callback != handler_ingame && !mame_is_scheduled_event_pending(Machine))
video_frame_update();
/* clear the handler and force an update */
ui_set_handler(handler_ingame, 0);
video_frame_update();
You would need to comment out the 2 "video_frame_update();". This is in the int ui_display_startup_screens section.
P.S. what does eeah mean?
-
Hi MKChamp,
Sorry, I couldn't understand your instructions on removing the "White Box". Could you spell it out again in "simple speak"!!
Also, after commenting out the video.c file, it did appear to work, but on some of the bigger games (Street Fighter 2, 3) it still shows the "decoding message"
Any thoughts?
Cheers
-
Would these modifications to the source also work when compiling an older version of Mame32, such as v0.90 or 0.93??? I looked at the source but couldn't find the lines you mentioned to modify. Maybe its too late, and need to try and find them after some sleep. Hope I didn't send this thread off its track by asking, but its the same idea... just using older versions... Thanks.
-
Hi MKChamp,
Sorry, I couldn't understand your instructions on removing the "White Box". Could you spell it out again in "simple speak"!!
Also, after commenting out the video.c file, it did appear to work, but on some of the bigger games (Street Fighter 2, 3) it still shows the "decoding message"
Any thoughts?
Cheers
I'm doing this on the fly, so let me know if this gets rid of the white box and the 'decoding' message you are still seeing...
In the ui.c file in the emu folder if you search for "video_frame_update();"
there are 3 occurences of it...comment out the first 2...
-
Hi again,
We are getting there!!
That was successful for the older/smaller file size games.....Donkey kong, Galaga etc (no messages, no white box) But on Street Fighter 2 & 3, plus other (big file size games) it still has the white box, and now says "decrypting"
Cheers
-
For street fighter, you'll probably have to edit cps2crypt.c located in:
c:\mamesrc\src\mame\machine
and comment out the following:
char loadingMessage[256]; // for displaying with UI
sprintf(loadingMessage, "Decrypting %d%%", i*100/0x10000);
ui_set_startup_text(loadingMessage,FALSE);
I have not tested it, though. That would probably only remove it from the cps2 games.
-
For street fighter, you'll probably have to edit cps2crypt.c located in:
Yep...that's the only file I see with 'Decrypting' being displayed...
-
For street fighter, you'll probably have to edit cps2crypt.c located in:
c:\mamesrc\src\mame\machine
and comment out the following:
char loadingMessage[256]; // for displaying with UI
sprintf(loadingMessage, "Decrypting %d%%", i*100/0x10000);
ui_set_startup_text(loadingMessage,FALSE);
I have not tested it, though. That would probably only remove it from the cps2 games.
Hi guys
So in the c:\mamesrc\src\mame\machine folder, I just have to put // in front of
ui_set_startup_text(loadingMessage,FALSE);
then recompile
Is that correct??
I've only been replacing the mame.exe file once I've recompiled it...is that OK?
Cheers
-
SGT & MKChamp,
That was it. Followed all instructions, recompiled and it's all good. Looks like everthing is now hidden.
I can't thank you guys enough!!
I don' tknow how you guys work this stuff out....but I'm stoked!!
Cheers
-
It's easy pointing to a brick in a wall...the hard part is building the wall in the first place. The 'awe' goes to the mamedevs.
-
doesent arcadeOS have an option for removing the nag screens?,dont know if it works,ive not tried it ,but just noticed the option.
-
No idea, as I use MaLa. But I have removed all nag screens thanks to the info provided by MKChamp and SGT.
-
Just to clarify...
those aren't the nag screens. The nag screens are the 'type ok' and/or 'the game not working completely' etc.
The screens removed in this post are for the 'status' screens...like loading/decoding which do not require user input to 'move on' from.
-
I found something under options- default game options-misc- (skip game info) in mame32 to kill the nag screens. I go right the game after the first time doing the "nag" screens. One time nag screens.
-
this ROCKS (MKChamp + SGT) ... thanks