Main > Software Forum

Removing the "initializing" and "loading" messages from mame 1.14

(1/5) > >>

sega_mad:
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 :)

nic8612:
Is there a way to remove the "nag" screens in mame32?  I know you recompile the original mame, but how about 32?

SGT:

--- Quote from: sega_mad on May 09, 2007, 07:34:23 pm ---I would now like to get rid of the "initializing" and "loading" messages that "pop" up when each game is loading.

--- End quote ---


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:


--- Code: ---ui_set_startup_text("Initializing...", TRUE);
--- End code ---

To:


--- Code: ---/*ui_set_startup_text("Initializing...", TRUE);*/
--- End code ---


Then edit c:\mamesrc\src\emu\romload.c

Remark out the lines of code by changing the following from:


--- Code: --- 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);
--- End code ---

To:


--- Code: --- /*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);*/
--- End code ---

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.

sega_mad:
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

SGT:
sega_mad,

Why was video.c edited?  Was it to get rid of the "Decoding" message?

Navigation

[0] Message Index

[#] Next page

Go to full version