Main Woodworking Reviews Software Monitor/Video Maximus Arcade
Audio/Jukebox/MP3 Project Announcements Artwork Consoles Buy/Sell/Trade Meet Up
Arcade Miscellaneous Everything Else Politics n Religion Forum Discussion Wiki Discussion GroovyMAME
DOS/WinCab Merit/JVL Touchscreen Automated Projects Driving & Racing Project Arcade Old Boards
Linux Restorations Pinball MaLa Frontend controls.dat Old Archives
    Retail Vendors    

Unread posts | New Replies | Recent posts | Arcade | Rules | Chatroom | Wiki | File Repository | RSS


  

Author Topic: Removing the "initializing" and "loading" messages from mame 1.14  (Read 3970 times)

0 Members and 1 Guest are viewing this topic.

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
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

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 41
Re: Removing the "initializing" and "loading" messages from mame 1.14
« Reply #1 on: May 09, 2007, 08:40:55 pm »
Is there a way to remove the "nag" screens in mame32?  I know you recompile the original mame, but how about 32?

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1133
Re: Removing the "initializing" and "loading" messages from mame 1.14
« Reply #2 on: May 09, 2007, 11:57:27 pm »
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:

Code: [Select]
ui_set_startup_text("Initializing...", TRUE);
To:

Code: [Select]
/*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:

Code: [Select]
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:

Code: [Select]
/*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.

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
Re: Removing the "initializing" and "loading" messages from mame 1.14
« Reply #3 on: May 10, 2007, 02:00:32 am »
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

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1133
Re: Removing the "initializing" and "loading" messages from mame 1.14
« Reply #4 on: May 10, 2007, 09:16:15 pm »
sega_mad,

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


sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
Re: Removing the "initializing" and "loading" messages from mame 1.14
« Reply #5 on: May 11, 2007, 02:22:24 am »
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

MKChamp

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 450
  • I'm a llama!
Re: Removing the "initializing" and "loading" messages from mame 1.14
« Reply #6 on: May 11, 2007, 11:52:11 am »
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

Space Fractal

  • Wiki Master
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1887
  • Space Fractal
    • Space Fractal
Re: Removing the "initializing" and "loading" messages from mame 1.14
« Reply #7 on: May 11, 2007, 05:05:50 pm »
eeah, should you not write which code is commented out instead just write the line number (wich can been moved up or down)?
Currectly in work: Greedy Mouse || Previous Work: MultiFE Frontend, ArcadeMusicBox Jukebox || Music for various games (Tardis.dk + Greatflash.co.uk).

MKChamp

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 450
  • I'm a llama!
Re: Removing the "initializing" and "loading" messages from mame 1.14
« Reply #8 on: May 11, 2007, 06:46:10 pm »
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?

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
Re: Removing the "initializing" and "loading" messages from mame 1.14
« Reply #9 on: May 12, 2007, 02:03:13 am »
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


turbo6

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 45
Re: Removing the "initializing" and "loading" messages from mame 1.14
« Reply #10 on: May 12, 2007, 02:53:51 am »
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.

MKChamp

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 450
  • I'm a llama!
Re: Removing the "initializing" and "loading" messages from mame 1.14
« Reply #11 on: May 12, 2007, 03:12:24 am »
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...

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
Re: Removing the "initializing" and "loading" messages from mame 1.14
« Reply #12 on: May 12, 2007, 03:59:00 am »
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

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1133
Re: Removing the "initializing" and "loading" messages from mame 1.14
« Reply #13 on: May 12, 2007, 03:54:19 pm »
For street fighter, you'll probably have to edit cps2crypt.c located in:

c:\mamesrc\src\mame\machine

and comment out the following:

Code: [Select]
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.   

MKChamp

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 450
  • I'm a llama!
Re: Removing the "initializing" and "loading" messages from mame 1.14
« Reply #14 on: May 12, 2007, 05:30:48 pm »
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...

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
Re: Removing the "initializing" and "loading" messages from mame 1.14
« Reply #15 on: May 12, 2007, 08:37:35 pm »
For street fighter, you'll probably have to edit cps2crypt.c located in:

c:\mamesrc\src\mame\machine

and comment out the following:

Code: [Select]
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

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
Re: Removing the "initializing" and "loading" messages from mame 1.14
« Reply #16 on: May 12, 2007, 11:19:54 pm »
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

MKChamp

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 450
  • I'm a llama!
Re: Removing the "initializing" and "loading" messages from mame 1.14
« Reply #17 on: May 13, 2007, 02:08:14 am »
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.

esaelectrionics

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 80
Re: Removing the "initializing" and "loading" messages from mame 1.14
« Reply #18 on: May 19, 2007, 06:40:14 pm »
doesent arcadeOS have an option for removing the nag screens?,dont know if it works,ive not tried it ,but just noticed the option.


sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
Re: Removing the "initializing" and "loading" messages from mame 1.14
« Reply #19 on: May 19, 2007, 11:14:03 pm »
No idea, as I use MaLa. But I have removed all nag screens thanks to the info provided by MKChamp and SGT.

MKChamp

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 450
  • I'm a llama!
Re: Removing the "initializing" and "loading" messages from mame 1.14
« Reply #20 on: May 20, 2007, 12:57:30 am »
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.

tomsurfnj

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
Re: Removing the "initializing" and "loading" messages from mame 1.14
« Reply #21 on: May 20, 2007, 10:09:07 pm »
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.

ARTIFACT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 746
    • ARTIFACT - my scratch designed & built arcade cabinet
Re: Removing the "initializing" and "loading" messages from mame 1.14
« Reply #22 on: September 11, 2007, 12:39:56 am »
this ROCKS (MKChamp + SGT) ... thanks

  
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29