Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

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

  

Author Topic: hiscore diff (with no nag/white box removal)  (Read 620439 times)

0 Members and 3 Guests are viewing this topic.

dgame

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 620
  • Last login:November 04, 2023, 06:00:54 pm
  • I am no Jedi
Re: hiscore diff (with no nag/white box removal)
« Reply #320 on: June 14, 2009, 04:15:53 pm »
The idea is to patch the MAME source code with the hiscore diff BEFORE compiling.

It is the same as Mr.Do’s "Apply the "u" Update DIFFs" procedure except use your “hi_32” instead of the 0119u1 in his example.

C:\mamesrc\ >patchmame  hi_132

http://mrdo.mameworld.info/compile.html

acevedor2

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 380
  • Last login:January 22, 2022, 07:44:45 pm
Re: hiscore diff (with no nag/white box removal)
« Reply #321 on: June 14, 2009, 04:47:43 pm »
That makes sense!  Light bulb goes on. 

I still have the question about patch.exe.  That file is not in the mamesrc directory when everything is unzipped as it should be. 

Patchmame.bat is there, but in the screen shot on Mr. Do's website, it shows the patch.exe file in the directory as well.  Any ideas about that particular file?  I can't seem to find it anywhere, or even know if should be in there at all.

Thanks again for all of the help!
Dedicated - Working:
Asteroids Deluxe
Firefox
Galaxian
Pacman
Viruta Fighter 2
Zombie Raid
Pool Sharks - Pinball

Projects:
Pole Position
Pole Position 2

dgame

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 620
  • Last login:November 04, 2023, 06:00:54 pm
  • I am no Jedi
Re: hiscore diff (with no nag/white box removal)
« Reply #322 on: June 14, 2009, 05:04:34 pm »
Those screen shots are old.

If you look inside patchmame.bat you will see this:

set path=c:\mingw\bin

patch -p0 -E <%1.diff


The set line means the patch.exe in the c:\mingw\bin folder will be used.

patch.exe does not need to be in the MAME source folder.




acevedor2

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 380
  • Last login:January 22, 2022, 07:44:45 pm
Re: hiscore diff (with no nag/white box removal)
« Reply #323 on: June 14, 2009, 07:41:46 pm »
Thanks!  That answers it.  Lastly even when I rename the txt file to diff, i.e. hi_132.txt to hi_132.diff, it still shows up as a txt file.  I am not trying to make this any more difficult than it needs to be - it is as simple as just right clicking the downloaded file and clicking rename and then typing in hi_132.diff - correct?

Is it also normal for the diff file to be so small?  I think the one for 132 is only 30k.  :cheers:
Dedicated - Working:
Asteroids Deluxe
Firefox
Galaxian
Pacman
Viruta Fighter 2
Zombie Raid
Pool Sharks - Pinball

Projects:
Pole Position
Pole Position 2

DeLuSioNal29

  • Global Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4778
  • Last login:October 20, 2023, 11:39:06 pm
  • Build the impossible -"There is no Spoon"
    • DeLuSioNaL's YouTube Videos
Re: hiscore diff (with no nag/white box removal)
« Reply #324 on: June 14, 2009, 09:27:38 pm »
It may be that Windows is set to "Hide extensions for known file types".  You can fix this (in Win XP) by double clicking my computer and then clicking on the "Tools" menu and then "Folder options".  Then click on the "View" tab.  Under advanced settings, you should NOT have a check box next to "Hide extensions for known file types".

Hope this helped.

~ DeLuSioNaL
Stop by my Youtube channel and leave a comment:

Kman-Sweden

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:October 23, 2015, 07:29:00 am
  • Up the Irons!
Re: hiscore diff (with no nag/white box removal)
« Reply #325 on: June 15, 2009, 02:41:23 am »
Hi everyone.

So I compiled my own mameuifx32 today.
Does anyone know how I update my old mameuifx32?
Should I delete the old .ini file and replace my .exe file?
Is that it?
Is there a better way?

Thanx!

jholman76

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 188
  • Last login:May 05, 2015, 03:40:45 pm
Re: hiscore diff (with no nag/white box removal)
« Reply #326 on: June 22, 2009, 10:03:07 am »
I was able to compile 132 the other night, but I found some of my games didnt work, so I'm going down to 124, which

is what I was using before.

I tried to compile .124 with mameUI. I followed the steps on the first post with the right versions of source/UI,

etc (124) and tried to compile. I get the following error about 8 minutes in:

Compiling src/osd/winui/winui.c...
src/osd/winui/winui.c: In function 'MamePlayBackGame':
src/osd/winui/winui.c:5546: error: 'inp_header' has no member named 'header'
src/osd/winui/winui.c:5551: error: 'inp_header' has no member named 'majversion'
Finished!
0 Hours 8 Minutes and 47 Seconds Elapsed.
src/osd/winui/winui.c:5551: error: 'INP_HEADER_MAJVERSION' undeclared (first use in this function)
src/osd/winui/winui.c:5551: error: (Each undeclared identifier is reported only once
src/osd/winui/winui.c:5551: error: for each function it appears in.)
src/osd/winui/winui.c:5559: error: 'inp_header' has no member named 'gamename'
mingw32-make: *** [obj/winui/mame/osd/winui/winui.o] Error 1

I tried using the mameUI source for 124 and 124.5. am I missing something or do i just have to try .2,.3, and .4 of

the UI source to see what one works for 124? It is a fresh download from mamedev.org.

Also, since 124 is an older version, I dont have to do any supplemental patches right?

Thanks for any input.

Joe

MKChamp

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:February 07, 2024, 02:45:53 pm
  • Stil around.
Re: hiscore diff (with no nag/white box removal)
« Reply #327 on: June 22, 2009, 06:01:06 pm »
I don't believe that would be caused by the patch. Try downloading the source and compiling it without applying any patch and see what results you get. If it compiles fine, try applying the hiscore patch....be sure you use the right patch for whatever version you are going to compile. Let us know how it goes!

jholman76

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 188
  • Last login:May 05, 2015, 03:40:45 pm
Re: hiscore diff (with no nag/white box removal)
« Reply #328 on: June 23, 2009, 11:16:12 am »
I don't believe that would be caused by the patch. Try downloading the source and compiling it without applying any patch and see what results you get. If it compiles fine, try applying the hiscore patch....be sure you use the right patch for whatever version you are going to compile. Let us know how it goes!

I may try it again, but I just updated my rom set to .132 tonight and since I was able to compile .132 sucessfully, I might just roll with that. I spend enough time just going through and picking the games I want. No need to fight with compiling when I got one to work already.

I'll let you know if I fix the error though. Thanks for the reply!

joe

Ond

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2274
  • Last login:Yesterday at 08:13:27 pm
Re: hiscore diff (with no nag/white box removal)
« Reply #329 on: July 06, 2009, 12:30:18 am »
Just wanted to say thanks to MKChamp for keeping this up-to-date,  I live in hope for a Mame release which lets me run Surf Planet without audio glitches.  If anyone has Surf Planet running really smoothly (audio wise) can they let me know please?

 :cheers:

Ond

rooter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 205
  • Last login:October 14, 2021, 01:31:15 pm
    • ShaunRoot.net
Re: hiscore diff (with no nag/white box removal)
« Reply #330 on: July 08, 2009, 01:43:55 pm »
I'm following the instructions that are linked in the first post.
However, on step 4 where I download the MameUI source code, the site requires that I be a member of FilePlanet, which is a pay site.  Does anyone know another place to get the source?  Google is only finding me the binaries.

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: hiscore diff (with no nag/white box removal)
« Reply #331 on: July 08, 2009, 01:56:21 pm »
rooter: You don't have to pay you just need to register and use one of their free download severs.

njay

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 466
  • Last login:February 08, 2022, 06:49:35 am
  • To Nudge or Not to Nudge !
Re: hiscore diff (with no nag/white box removal)
« Reply #332 on: July 11, 2009, 10:09:54 am »
yo headkaze,

your app rocks :)
just compiled my first mame version
Mini Pinball Project [Finished]:
http://forum.arcadecontrols.com/index.php?topic=98826.0

Cab Convert To HyperSpin [Sold due to Move]
http://forum.arcadecontrols.com/index.php?topic=101535.0

New Project - Bartop [Planning Stage]
http://forum.arcadecontrols.com/index.php?topic=105894

cboy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 120
  • Last login:October 07, 2012, 02:09:29 am
Re: hiscore diff (with no nag/white box removal)
« Reply #333 on: July 16, 2009, 08:21:57 pm »
I'm not sure im doing this right....i downloaded 131 source  (this is why my romset is), hi_130u3.diff
and followed mr do's instructions to the letter


it seems to have compiled correctly but did i miss that i need to compile u1,u2 diffs before i need to do 3?

i also noticed its 130u3 and not 131

is this ok?
« Last Edit: July 16, 2009, 08:24:48 pm by cboy »

cboy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 120
  • Last login:October 07, 2012, 02:09:29 am
Re: hiscore diff (with no nag/white box removal)
« Reply #334 on: July 16, 2009, 11:50:09 pm »
ok seems that ive compiled it correctly all the games play!!

« Last Edit: July 17, 2009, 02:55:02 am by cboy »

njay

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 466
  • Last login:February 08, 2022, 06:49:35 am
  • To Nudge or Not to Nudge !
Re: hiscore diff (with no nag/white box removal)
« Reply #335 on: July 17, 2009, 04:34:46 am »
well the guide states you must add the diffs from u1 to u4 then compile it
Mini Pinball Project [Finished]:
http://forum.arcadecontrols.com/index.php?topic=98826.0

Cab Convert To HyperSpin [Sold due to Move]
http://forum.arcadecontrols.com/index.php?topic=101535.0

New Project - Bartop [Planning Stage]
http://forum.arcadecontrols.com/index.php?topic=105894

MKChamp

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:February 07, 2024, 02:45:53 pm
  • Stil around.
Re: hiscore diff (with no nag/white box removal)
« Reply #336 on: July 17, 2009, 10:18:52 am »
Confusion...I believe he was talking about the hiscore diffs and not the u release source diffs.

Cboy...hi_130u3.txt is the right one to use for 131 source. The reason it is called hi_130u3 is because that was the actual version the patch had to be created due to mame source changes. I should probably go and rename all the patches to reflect the actual version....I'll do that now ;-)

cboy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 120
  • Last login:October 07, 2012, 02:09:29 am
Re: hiscore diff (with no nag/white box removal)
« Reply #337 on: July 17, 2009, 02:43:01 pm »
MKChamp - Thanks for the reply and this post.

This is pretty awesome, makes it a much more cleaner looking interface now.


I did notice that Toobin seems to not work (game loads but wont start even with lots of credits) kinda weird.

MKChamp

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:February 07, 2024, 02:45:53 pm
  • Stil around.
Re: hiscore diff (with no nag/white box removal)
« Reply #338 on: July 17, 2009, 04:26:56 pm »
Toobin' uses the 'throw' button to start. By default, it should be mapped to ctrl for player 1. Take a look at your menu (tab -> Input(This Game)) and see what the 'throw' is mapped to. This will get the game started.

cboy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 120
  • Last login:October 07, 2012, 02:09:29 am
Re: hiscore diff (with no nag/white box removal)
« Reply #339 on: July 18, 2009, 03:37:16 am »
ah hah! thanks again!

GaryMcT

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 745
  • Last login:September 24, 2014, 11:19:27 am
    • GaryMcT's arcade blog
Re: hiscore diff (with no nag/white box removal)
« Reply #340 on: July 20, 2009, 03:51:49 am »
I made a version of this patch that is just the no nag/white box removal (without the hiscore diff) so that I can use it with cabmame cleanly since it appears to already have hiscore support.  Should I post this version of the diffs?  Anyone interested?

Thanks!
Gary
My blog on learning how to develop FPGA versions of arcade boards: http://garymct.blogspot.com


mh12

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 125
  • Last login:December 24, 2010, 10:03:57 am
Re: hiscore diff (with no nag/white box removal)
« Reply #341 on: July 21, 2009, 12:44:19 pm »
..nevermind!
« Last Edit: July 29, 2009, 06:46:02 pm by mh12 »

atomikbohm

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 198
  • Last login:January 22, 2018, 11:33:35 am
Re: hiscore diff (with no nag/white box removal)
« Reply #342 on: July 22, 2009, 07:31:10 pm »
GaryMcT, are you sure Cabmame has high score support?  There is no mention of it on SailorSat's English Overview http://community.arcadeinfo.de/showthread.php?t=9555

I made a version of this patch that is just the no nag/white box removal (without the hiscore diff) so that I can use it with cabmame cleanly since it appears to already have hiscore support.  Should I post this version of the diffs?  Anyone interested?

Thanks!
Gary


GaryMcT

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 745
  • Last login:September 24, 2014, 11:19:27 am
    • GaryMcT's arcade blog
Re: hiscore diff (with no nag/white box removal)
« Reply #343 on: July 22, 2009, 07:32:29 pm »
GaryMcT, are you sure Cabmame has high score support?  There is no mention of it on SailorSat's English Overview http://community.arcadeinfo.de/showthread.php?t=9555

I made a version of this patch that is just the no nag/white box removal (without the hiscore diff) so that I can use it with cabmame cleanly since it appears to already have hiscore support.  Should I post this version of the diffs?  Anyone interested?

Thanks!
Gary


Pretty sure.  There are a bunch of diffs there adding something related to hiscores that conflicted with the hiscore diffs here.
My blog on learning how to develop FPGA versions of arcade boards: http://garymct.blogspot.com


LeedsFan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1042
  • Last login:January 17, 2021, 06:14:23 am
Re: hiscore diff (with no nag/white box removal)
« Reply #344 on: July 28, 2009, 11:55:50 am »
I'm totally new to this. When I right click on the links in the OP I don't get an option to "Save as". I only get an option to "Save link as" and I end up with a .txt file and not a .diff file. Is this correct?  :dunno

MKChamp

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:February 07, 2024, 02:45:53 pm
  • Stil around.
Re: hiscore diff (with no nag/white box removal)
« Reply #345 on: July 28, 2009, 05:07:41 pm »
It really doesn't matter the extention as long as you 'call' it correctly when applying. (at least I wouldn't think it would matter).

garnerb350

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 892
  • Last login:May 09, 2019, 09:36:49 pm
  • Crowded elevators smell different to midgets...
    • Hyperspin
Re: hiscore diff (with no nag/white box removal)
« Reply #346 on: August 05, 2009, 08:47:32 am »
MKChamp...

Sorry if this question is stupid...but I just got Misfitmame (still has the new car scent)...Can this be done also on Misfitmame?  :dunno

(I just got it yesterday...playing D2K...other games eventually)

When i first played it, i forgot all about the nag screen... :hissy:
“If first you don't succeed, then skydiving definitely isn't for you..." ~ Jack Handy

MKChamp

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:February 07, 2024, 02:45:53 pm
  • Stil around.
Re: hiscore diff (with no nag/white box removal)
« Reply #347 on: August 05, 2009, 04:48:21 pm »
MKChamp...

Sorry if this question is stupid...but I just got Misfitmame (still has the new car scent)...Can this be done also on Misfitmame?  :dunno

(I just got it yesterday...playing D2K...other games eventually)

When i first played it, i forgot all about the nag screen... :hissy:

It *should*...I've never tried it. Easy to do, though. I believe the last time misfitmame was updated was for 127...so...
1) Get the mame source for 127
2) Get the misfitmame source for 127

3) Apply misfitmame source to core mame source
4) Download the hi_127a.txt and patch away!

Let me know if it worked...

GaryMcT

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 745
  • Last login:September 24, 2014, 11:19:27 am
    • GaryMcT's arcade blog
Re: hiscore diff (with no nag/white box removal)
« Reply #348 on: August 05, 2009, 04:54:51 pm »
GaryMcT, are you sure Cabmame has high score support?  There is no mention of it on SailorSat's English Overview http://community.arcadeinfo.de/showthread.php?t=9555

I made a version of this patch that is just the no nag/white box removal (without the hiscore diff) so that I can use it with cabmame cleanly since it appears to already have hiscore support.  Should I post this version of the diffs?  Anyone interested?

Thanks!
Gary


Pretty sure.  There are a bunch of diffs there adding something related to hiscores that conflicted with the hiscore diffs here.

Looks like the cabmame hiscore diffs are inferior to the ones here (at least I think they are. . doesn't seem to be saving hi scores for some games).  I need to take the opposite approach and remove all the hiscore stuff from cabmame and then apply these patches. :)
My blog on learning how to develop FPGA versions of arcade boards: http://garymct.blogspot.com


atomikbohm

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 198
  • Last login:January 22, 2018, 11:33:35 am
Re: hiscore diff (with no nag/white box removal)
« Reply #349 on: August 05, 2009, 07:06:18 pm »
Gary,

I'd be intrested in getting a copy of that, though you might want to ask sailorsat for help.  Probally cut your time investment down to almost nothing.

Looks like the cabmame hiscore diffs are inferior to the ones here (at least I think they are. . doesn't seem to be saving hi scores for some games).  I need to take the opposite approach and remove all the hiscore stuff from cabmame and then apply these patches. :)

GaryMcT

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 745
  • Last login:September 24, 2014, 11:19:27 am
    • GaryMcT's arcade blog
Re: hiscore diff (with no nag/white box removal)
« Reply #350 on: August 05, 2009, 07:32:47 pm »
Gary,

I'd be intrested in getting a copy of that, though you might want to ask sailorsat for help.  Probally cut your time investment down to almost nothing.

Looks like the cabmame hiscore diffs are inferior to the ones here (at least I think they are. . doesn't seem to be saving hi scores for some games).  I need to take the opposite approach and remove all the hiscore stuff from cabmame and then apply these patches. :)

I won't bother her with this.  It shouldn't take me long once I get to it.  Yay for "Beyond Compare"! :)
My blog on learning how to develop FPGA versions of arcade boards: http://garymct.blogspot.com


atomikbohm

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 198
  • Last login:January 22, 2018, 11:33:35 am
Re: hiscore diff (with no nag/white box removal)
« Reply #351 on: August 06, 2009, 01:58:31 am »
Great to hear I doubt that I'll be the only one interested in this patch.  Keep up the good work Gary, sailorsat and the hiscore team!!!  :applaud:

Kman-Sweden

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:October 23, 2015, 07:29:00 am
  • Up the Irons!
Re: hiscore diff (with no nag/white box removal)
« Reply #352 on: August 06, 2009, 04:33:55 am »
I made a version of this patch that is just the no nag/white box removal (without the hiscore diff) so that I can use it with cabmame cleanly since it appears to already have hiscore support.  Should I post this version of the diffs?  Anyone interested?

Thanks!
Gary

I'd like to have that.. I use MameUIFX32 and that also has the Hiscore support in it already. When I compiled my latest copy it complained about it but it patched the NoNag nicely anyway. :)

pitufo

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:February 21, 2011, 07:50:44 am
Re: hiscore diff (with no nag/white box removal)
« Reply #353 on: September 09, 2009, 06:41:30 am »
undefined symbols:
  "_osd_update_hi", referenced from:
      _video_frame_update_hi in libemu.a(video.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [mame] Error 1

sdlmame 132, hi_txt 132

Did you do a clean compile? I haven't tried to compile sdlmame...maybe someone else can confirm that the patch works ok for that derivitive.

 Yup, I did a clean compile, the problem for sdlmame is that osd_update_hi doesn't exist in the osd driver for sdl as explain in :

  http://forum.arcadecontrols.com/index.php?topic=64298.msg953651#msg953651

the quick and dirty way to resolve the issue is to copy/paste the osd_update function and rename the copy to osd_update_hi but this won't remove the white boxes.

Stormrider

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 318
  • Last login:September 28, 2014, 11:01:54 am
Re: hiscore diff (with no nag/white box removal)
« Reply #354 on: October 04, 2009, 02:52:10 am »
Could you please be so kind to tell me what files have to me modified and how in order to remove the loading screens as well as the whitebox. I don't like applying diffs and I would prefer to do it manually. Are they simple changes (like with the OK screens) or do I have to replace lots of lines and add/remove other lines of code? Thanx.

jasonbar

  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2247
  • Last login:July 30, 2023, 02:52:55 am
  • Dr. Inferno
    • The Infernolab
Re: hiscore diff (with no nag/white box removal)
« Reply #355 on: October 04, 2009, 01:01:03 pm »
Question on the mechanics of the high score writing.

Exactly when does a patched MAME write to the file in the hi folder?

As soon as a game is over?  When exiting MAME?  If I power off my machine without exiting MAME, will the high score get written?

I ask because a few of my high scores lately have not shown up on the next launch of the same game & I haven't been able to figure out the cause.


Thanks!
-Jason

MKChamp

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:February 07, 2024, 02:45:53 pm
  • Stil around.
Re: hiscore diff (with no nag/white box removal)
« Reply #356 on: October 04, 2009, 02:06:32 pm »
Could you please be so kind to tell me what files have to me modified and how in order to remove the loading screens as well as the whitebox. I don't like applying diffs and I would prefer to do it manually. Are they simple changes (like with the OK screens) or do I have to replace lots of lines and add/remove other lines of code? Thanx.

Download the patch and open up in wordpad or notepad. Do a search for MKCHAMP. I have commented every change so it would be easy for you to manually add them in...and know what you are adding :-)

MKChamp

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:February 07, 2024, 02:45:53 pm
  • Stil around.
Re: hiscore diff (with no nag/white box removal)
« Reply #357 on: October 04, 2009, 02:07:47 pm »
Question on the mechanics of the high score writing.

Exactly when does a patched MAME write to the file in the hi folder?

As soon as a game is over?  When exiting MAME?  If I power off my machine without exiting MAME, will the high score get written?

I ask because a few of my high scores lately have not shown up on the next launch of the same game & I haven't been able to figure out the cause.


Thanks!
-Jason


The scores are saved when you exit the game. So, if you power off the machine without 'exiting' MAME, the scores will not be saved.

Stormrider

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 318
  • Last login:September 28, 2014, 11:01:54 am
Re: hiscore diff (with no nag/white box removal)
« Reply #358 on: October 05, 2009, 06:25:40 am »
I have been able to remove the loading messages editing romload.c and deleting this block of text:

   char buffer[200];

   if (name != NULL)
      sprintf(buffer, "Loading (%d%%)", (UINT32)(100 * (UINT64)romdata->romsloadedsize / (UINT64)romdata->romstotalsize));
   else
      sprintf(buffer, "Loading Complete");

   ui_set_startup_text(romdata->machine, buffer, FALSE);


and this one too:

   /* final status display */
   display_loading_rom_message(romdata, NULL);

   /* if we had errors, they are fatal */
   if (romdata->errors != 0)
   {
      const char *rgntag, *nextrgntag;

      /* clean up any regions */
      for (rgntag = memory_region_next(romdata->machine, NULL); rgntag != NULL; rgntag = nextrgntag)
      {
         nextrgntag = memory_region_next(romdata->machine, rgntag);
         memory_region_free(romdata->machine, rgntag);
      }

      /* create the error message and exit fatally */
      mame_printf_error("%s", astring_c(romdata->errorstring));
      astring_free(romdata->errorstring);
      fatalerror_exitcode(romdata->machine, MAMERR_MISSING_FILES, "ERROR: required files are missing, the "GAMENOUN" cannot be run.");
   }

   /* if we had warnings, output them, but continue */
   if (romdata->warnings)
   {
      astring_catc(romdata->errorstring, "WARNING: the "GAMENOUN" might not run correctly.");
      mame_printf_warning("%s\n", astring_c(romdata->errorstring));
   }


Also, I edited mame.c and deleted this line:

   ui_set_startup_text(machine, "Initializing...", TRUE);

I already had the nag screens mod applied, but I'll mention in case anyone is interested.

In mame.c change:

ui_display_startup_screens(machine, firstrun, !settingsloaded);

with

ui_display_startup_screens(machine, !firstrun, settingsloaded);

What I have not been able to get rid of is the white box. Could you please tell me how to remove it? Thanx.
« Last Edit: October 05, 2009, 06:28:04 am by Stormrider »

Kman-Sweden

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:October 23, 2015, 07:29:00 am
  • Up the Irons!
Re: hiscore diff (with no nag/white box removal)
« Reply #359 on: October 05, 2009, 06:56:24 am »
I have been able to remove the loading messages editing romload.c and deleting this block of text:
.
.
.

What I have not been able to get rid of is the white box. Could you please tell me how to remove it? Thanx.
Hi.
Could you post pics of "loading messages" and "white box"? I for one don't know what they refer to.