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 616828 times)

0 Members and 1 Guest are viewing this topic.

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:April 07, 2022, 04:55:03 am
  • ZSystem
Re: hiscore diff (with no nag/white box removal)
« Reply #1080 on: April 19, 2016, 12:41:56 pm »
I came up with my own patch for uxme because these patches never actually removed the white border. It appeared to work because when all messages are hidden the white border is never rendered. If any message is displayed before the machine starts, a white border will still be rendered.

Here's my take in patch form: https://playground.zaplabs.com/sandbox/kb/arcade/emulation/mame/mods/version/0.172/skip-messages-and-remove-white-border.patch.source

Provides three separate options: skip_loading, skip_warning, and render_border.

It's obvious now to see why the Disable Nag in the Hi_Score patch was affecting the Loading messages (Kind of a double up on function).
« Last Edit: April 23, 2016, 12:02:58 pm by ozfalcon »

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:April 07, 2022, 04:55:03 am
  • ZSystem
Re: hiscore diff (with no nag/white box removal)
« Reply #1081 on: April 20, 2016, 08:31:59 am »
Updated Hi_Score Patch 0.172c.txt
Hi_Score 0.172 has been repaired for both Win & SDL to provide expected operational behaviour.
It only deals with the suppression patches and does not alter the Hi_Score patch in any way.

In a nutshell, I noticed the suppression patches were not working correctly for SDL Mame (& Probably Windows too).

This patch has been built under the MinGW (Windows) environment and can be used by either Windows or SDL users.

Patch Notes:
The patch has been built on a Win7 64bit system in the MinGW environment (http://mamedev.org/tools/)
The patch has been compiled/tested on a Win7 64bit system.
The patch has been compiled/tested on a Linux 32bit system.
Mac has not been tested.



« Last Edit: April 23, 2016, 10:20:57 pm by ozfalcon »

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:April 07, 2022, 04:55:03 am
  • ZSystem
Re: hiscore diff (with no nag/white box removal)
« Reply #1082 on: April 21, 2016, 07:39:47 pm »
Updated Hi_Score Patch 0.172d.txt
For end users, skip_gameinfo needs to be set in mame.ini
For maintainers, The suppression patches have been simplified.

Key points of Rev D
* KISS Philosopy applied to suppression patches - Making them simple & easy to maintain.
* Suppression & Hi_Score code separated in both diff & source files.
* Detailed explanation of suppression patches.
* Hi_Score code unaltered.

There are two areas to deal with regarding suppression of messages.
Note: The depth of patch is important, We want to keep it moderate as to not make the patch too abstract.

1. The Initializing, Loading & Decrypting messages.
2. The Warning (User input to continue) messages.

1. The Initializing, Loading & Decrypting messages.
These messages are sent via different subroutines to the "set_startup_text" function.
fgrep "ui().set_startup_text"  * -R
Code: [Select]
emu/machine.cpp: ui().set_startup_text("Initializing...", true);
emu/romload.cpp: machine().ui().set_startup_text(buffer, false);
mame/machine/cps2crpt.cpp: machine.ui().set_startup_text(loadingMessage,FALSE);

The current patch disables the message at each subroutine.
The natural progression is to follow the path and disable at the "set_startup_text" function.
This also has the benifit of being simpler and not interfering with the Hi_Score patch files.

The new method disables all the messages by immediately returning from the "set_startup_text" function call.


2. The Warning (User input to continue) messages.
These messages are all sent via the "display_startup_screens" function.

The old patch disables all interactive messages regardless of message type.
Code: [Select]
1. show_warnings
2. show_gameinfo
3. show_mandatory_fileman  (Mess related notice, May be ignored/omitted)

The new method targets show_warnings only, And will still display game_info if enabled.
(skip_gameinfo may be enabled/disabled by the standard Mame configuration option)




Build Notes:
This patch has been built under the MinGW (Windows) environment and can be used by either Windows or SDL users.

Patch Notes:
The patch has been built on a Win7 64bit system in the MinGW environment (http://mamedev.org/tools/)
The patch has been compiled/tested on a Win7 64bit system.
The patch has been compiled/tested on a Linux 32bit system.
Mac has not been tested.


« Last Edit: June 01, 2016, 07:42:42 am by ozfalcon »

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:April 07, 2022, 04:55:03 am
  • ZSystem
Re: hiscore diff (with no nag/white box removal)
« Reply #1083 on: April 23, 2016, 12:38:17 pm »
The next logical step might be to tie all the suppression patches to "skip_gameinfo" thereby making the suppression patches fully separated from the Hi_Score patch (ie. declarations) AND able to be toggled on/off by the standard Mame "skip_gameinfo" option.....
« Last Edit: April 24, 2016, 02:50:57 am by ozfalcon »

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:April 07, 2022, 04:55:03 am
  • ZSystem
Re: hiscore diff (with no nag/white box removal)
« Reply #1084 on: April 23, 2016, 09:47:13 pm »
Updated Hi_Score Patch 0.172e.txt FINAL
This should be the final release of the updates.
Summary of changes
* hi_172c - Repair of suppression patches.
* hi_172d - Simplify suppression patches.
* hi_172e - Liberate suppression patches.

Key points of Rev E
* KISS Philosopy applied to suppression patches - Making them simple & easy to maintain.
* Suppression patches now toggled on/off by the Mame "skip_gameinfo" option.
* Suppression & Hi_Score code separated in both diff & source files.
* Hi_Score code unaltered.

Maintenance note: The suppression patches have been fully separated from the hi_score patch (ie declarations).

Build Notes:
This patch has been built under the MinGW (Windows) environment and can be used by either Windows or SDL users.

Patch Notes:
The patch has been built on a Win7 64bit system in the MinGW environment (http://mamedev.org/tools/)
The patch has been compiled/tested on a Win7 64bit system.
The patch has been compiled/tested on a Linux 32bit system.
Mac has not been tested.




abelenki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:December 21, 2022, 06:58:00 pm
    • MAME Stuff
Re: hiscore diff (with no nag/white box removal)
« Reply #1085 on: April 27, 2016, 06:43:57 am »
hi_172.txt doesn't work with 0.173 source tree.
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:April 07, 2022, 04:55:03 am
  • ZSystem
Re: hiscore diff (with no nag/white box removal)
« Reply #1086 on: April 27, 2016, 07:24:35 pm »
hi_172.txt doesn't work with 0.173 source tree.

This patches ok and executable seems to work without any problems.

« Last Edit: April 27, 2016, 08:49:29 pm by ozfalcon »

abelenki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:December 21, 2022, 06:58:00 pm
    • MAME Stuff
Re: hiscore diff (with no nag/white box removal)
« Reply #1087 on: April 27, 2016, 09:15:10 pm »
This patches ok and executable seems to work without any problems.
your diff somehow crashes patch.exe:

Code: [Select]
[MINGW64] D:\emulation\ExtraStuff\BuildTools\src>patch -p0 -E  < hi_173.txt
patching file src/emu/emuopts.cpp
Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

patch 2.5.9, Windows 10 x64
« Last Edit: April 27, 2016, 09:49:18 pm by abelenki »
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:April 07, 2022, 04:55:03 am
  • ZSystem
Re: hiscore diff (with no nag/white box removal)
« Reply #1088 on: April 27, 2016, 09:43:39 pm »
This patches ok and executable seems to work without any problems.
your diff somehow crashes patch.exe:

Code: [Select]
[MINGW64] D:\emulation\ExtraStuff\BuildTools\src>patch -p0 -E  0<hi_173.txt
patching file src/emu/emuopts.cpp
Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

patch 2.5.9, Windows 10 x64

You need to patch like this
Code: [Select]
patch --binary -p0 -E <hi_173.txt
There is a writeup on using the MinGW environment here:
http://forum.attractmode.org/index.php?topic=348.0

abelenki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:December 21, 2022, 06:58:00 pm
    • MAME Stuff
Re: hiscore diff (with no nag/white box removal)
« Reply #1089 on: April 27, 2016, 09:47:59 pm »
You need to patch like this
Code: [Select]
patch --binary -p0 -E <hi_173.txt
i don't patch binaries, i patch MAME source:

Code: [Select]
patch -p0 -E  < hi_173.txt
Quote
There is a writeup on using the MinGW environment here:
http://forum.attractmode.org/index.php?topic=348.0
thanks, i don't need instructions on how to use patch.exe.
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:April 07, 2022, 04:55:03 am
  • ZSystem
Re: hiscore diff (with no nag/white box removal)
« Reply #1090 on: April 27, 2016, 09:50:41 pm »
You need to patch like this
Code: [Select]
patch --binary -p0 -E <hi_173.txt
i don't patch binaries, i patch MAME source:

Code: [Select]
patch -p0 -E  < hi_173.txt
Quote
There is a writeup on using the MinGW environment here:
http://forum.attractmode.org/index.php?topic=348.0
thanks, i don't need instructions on how to use patch.exe.

I'm sure you will work it out then.

abelenki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:December 21, 2022, 06:58:00 pm
    • MAME Stuff
Re: hiscore diff (with no nag/white box removal)
« Reply #1091 on: April 27, 2016, 09:52:05 pm »
I'm sure you will work it out then.
yeah, already worked out - your diff crashes patch.exe.
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:April 07, 2022, 04:55:03 am
  • ZSystem
Re: hiscore diff (with no nag/white box removal)
« Reply #1092 on: April 27, 2016, 09:54:00 pm »
I'm sure you will work it out then.
yeah, already worked out - your diff crashes patch.exe.

Well why don't you be helpful rather than an Ass and post what you did to work it out, So others can benefit....

abelenki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:December 21, 2022, 06:58:00 pm
    • MAME Stuff
Re: hiscore diff (with no nag/white box removal)
« Reply #1093 on: April 27, 2016, 09:55:40 pm »
Well why don't you be helpful rather than an Ass and post what you did to work it out, So others can benefit....
i already posted an error, patch and OS version. you just don't want to listen.

p.s.: i'm giving it another test just right now to make sure, it's not a problem on my end.

p.s. 2: still crashes.
« Last Edit: April 27, 2016, 10:14:14 pm by abelenki »
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration

Nightbring3r

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:February 25, 2023, 04:27:31 pm
Re: hiscore diff (with no nag/white box removal)
« Reply #1094 on: April 27, 2016, 10:18:10 pm »
Well why don't you be helpful rather than an Ass and post what you did to work it out, So others can benefit....
i already posted an error, patch and OS version. you just don't want to listen.

p.s.: i'm giving it another test just right now to make sure, it's not a problem on my end.

p.s. 2: still crashes.

He already told you what to do. Patch with --binary since the diff has different line endings than the source.

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:April 07, 2022, 04:55:03 am
  • ZSystem
Re: hiscore diff (with no nag/white box removal)
« Reply #1095 on: April 27, 2016, 10:21:38 pm »
Well why don't you be helpful rather than an Ass and post what you did to work it out, So others can benefit....
i already posted an error, patch and OS version. you just don't want to listen.

p.s.: i'm giving it another test just right now to make sure, it's not a problem on my end.

p.s. 2: still crashes.

I did listen, And I gave you a solution too (FWIW One that works on my Windows machine).
I suspect it's a cr/lf issue, But interested in your fix to see of that is the case.

abelenki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:December 21, 2022, 06:58:00 pm
    • MAME Stuff
Re: hiscore diff (with no nag/white box removal)
« Reply #1096 on: April 27, 2016, 10:31:46 pm »
He already told you what to do. Patch with --binary since the diff has different line endings than the source.
oh, i didn't realise --binary is needed extra key.

I did listen, And I gave you a solution too (FWIW One that works on my Windows machine).
i just tried it once again with --binary, and it worked. thank you.

Quote
I suspect it's a cr/lf issue, But interested in your fix to see of that is the case.
i don't have a fix, because i'm not a programmer.

will --binary -p0 -E < diff.txt work with previous MKChamp's diffs? (i just tested, it doesn't work).
« Last Edit: April 28, 2016, 12:05:52 am by abelenki »
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration

abelenki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:December 21, 2022, 06:58:00 pm
    • MAME Stuff
Re: hiscore diff (with no nag/white box removal)
« Reply #1097 on: April 28, 2016, 01:59:59 am »
ozfalcon, compiled fine, thanks once again!
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration

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 #1098 on: April 29, 2016, 03:32:31 pm »
Hey ozfalcon,
I appreciate your work! To be honest...I am completely burned out. Would you like to take over this thread? Perhaps one of the moderators can give you edit access to update the main page and abelenki can give you ftp access to upload the updated patched?

Once again...good work.

airix

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:October 28, 2016, 09:22:55 am
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #1099 on: April 29, 2016, 05:49:16 pm »


This patches ok and executable seems to work without any problems.
[/quote]

Thanks ozfalcon for working on this!

Is this just the hi score patch?  I patched mine but it still am getting the nag screen.

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:April 07, 2022, 04:55:03 am
  • ZSystem
Re: hiscore diff (with no nag/white box removal)
« Reply #1100 on: April 29, 2016, 06:41:26 pm »


This patches ok and executable seems to work without any problems.

Thanks ozfalcon for working on this!

Is this just the hi score patch?  I patched mine but it still am getting the nag screen.
[/quote]
No It should also be the nag patch, Make sure you have in your mame.ini
Code: [Select]
skip_gameinfo             1
And let me know what happens.
And also what's the rom your running (or all roms?)

« Last Edit: April 29, 2016, 07:28:47 pm by ozfalcon »

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:April 07, 2022, 04:55:03 am
  • ZSystem
Re: hiscore diff (with no nag/white box removal)
« Reply #1101 on: April 29, 2016, 07:09:02 pm »
Hey ozfalcon,
I appreciate your work! To be honest...I am completely burned out. Would you like to take over this thread? Perhaps one of the moderators can give you edit access to update the main page and abelenki can give you ftp access to upload the updated patched?

Once again...good work.
I'm not sure I'd be a good candidate for taking over this thread, I rarely have time - It's only occasionally I have small breaks of time like this  :-\
Last time I had time like this was back at Mame version 0.154

You & abelenki do such a good job maintaining and hosting the patch that the entire community appreciates your work.
I just try to help out where & when I can.

We also have to consider that when the Lua Hi Score support is stable and can be trusted that this may become redundant.
Until such a time, I think your doing great work running this thread - You don't need to pass it on.
 

airix

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:October 28, 2016, 09:22:55 am
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #1102 on: April 29, 2016, 07:26:52 pm »


This patches ok and executable seems to work without any problems.

Thanks ozfalcon for working on this!

Is this just the hi score patch?  I patched mine but it still am getting the nag screen.
No It should also be the nag patch, Make sure you have in your mame.ini
Code: [Select]
skip_gameinfo             1
And let me know what happens.
And also what the rom your running (or all roms?)
[/quote]

That did that trick!  Thanks again for working on this.

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:April 07, 2022, 04:55:03 am
  • ZSystem
Re: hiscore diff (with no nag/white box removal)
« Reply #1103 on: April 29, 2016, 07:58:55 pm »

disable_hiscore_patch   1   <- To disable highscore support. Set to 0 or omit it entirely from ini file to enable.
disable_crosshair_patch   1  <- To disable crosshairs off by default. Set to 0 or omit it entirely from ini file to enable. <- removed @ hi_130u3
disable_nagscreen_patch   1  <- To disable removal of nagscreens /white box. Set to 0 or omit it entirely from ini file to enable. <- removed @ hi_172e
disable_loading_patch   1      <- To disable suppression of loading/decrypting/etc messages. Set to 0 or omit it entirely from ini file to enable. <- removed @ hi_172e
skip_gameinfo   0      <- To disable suppression of gameinfo, nagscreen & loading/decrypting messages. Set to 1 to enable suppression.


Minor Correction:
skip_gameinfo control applied @ hi_172e (Not hi_172c).
« Last Edit: June 01, 2016, 07:46:55 am by ozfalcon »

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:April 07, 2022, 04:55:03 am
  • ZSystem
Re: hiscore diff (with no nag/white box removal)
« Reply #1104 on: April 30, 2016, 10:54:29 pm »
<Redundant post removed>
<Thought I'd missed something - But I was looking at the wrong source tree....>
« Last Edit: May 02, 2016, 06:19:37 pm by ozfalcon »

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 #1105 on: May 02, 2016, 03:54:39 pm »
Hey ozfalcon,
I appreciate your work! To be honest...I am completely burned out. Would you like to take over this thread? Perhaps one of the moderators can give you edit access to update the main page and abelenki can give you ftp access to upload the updated patched?

Once again...good work.
I'm not sure I'd be a good candidate for taking over this thread, I rarely have time - It's only occasionally I have small breaks of time like this  :-\
Last time I had time like this was back at Mame version 0.154

You & abelenki do such a good job maintaining and hosting the patch that the entire community appreciates your work.
I just try to help out where & when I can.

We also have to consider that when the Lua Hi Score support is stable and can be trusted that this may become redundant.
Until such a time, I think your doing great work running this thread - You don't need to pass it on.
 

I'll admit...I am completely burned out after almost a decade of supporting this :-) Hopefully Lua will be stable soon. I appreciate you stepping in...if only briefly! I added the patch to the main page.

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:April 07, 2022, 04:55:03 am
  • ZSystem
Re: hiscore diff (with no nag/white box removal)
« Reply #1106 on: May 02, 2016, 06:37:50 pm »
Yes very briefly indeed, In fact my contribution is so minor - It really doesn't warrant any credits or mentions.

Thanks for uploading the current patch, I'm sure there are plenty of people still relying on it (Can only guess the DL numbers).
I'm not sure if the transition to monthly updates has increased the burden, But I imagine it has contributed considerably.

Credits and continued thanks again to @MKChamp and @abelenki for maintaining and hosting.
 

abelenki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:December 21, 2022, 06:58:00 pm
    • MAME Stuff
Re: hiscore diff (with no nag/white box removal)
« Reply #1107 on: May 25, 2016, 09:38:40 am »
hi_173.txt works fine with 0.174 source tree, but with some warnings.
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration

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 #1108 on: May 25, 2016, 11:45:48 am »
Patch cleaned up to remove warning...and uploaded....

abelenki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:December 21, 2022, 06:58:00 pm
    • MAME Stuff
Re: hiscore diff (with no nag/white box removal)
« Reply #1109 on: May 25, 2016, 11:49:31 am »
Patch cleaned up to remove warning...and uploaded....
thanks!
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration

MomoneDk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 26
  • Last login:October 05, 2023, 11:12:17 am
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #1110 on: May 27, 2016, 05:44:50 am »
Really appreciated that you continue to update the diff for the hiscore.dat !!!

Thanks

Arbee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Last login:December 20, 2023, 12:36:54 pm
Re: hiscore diff (with no nag/white box removal)
« Reply #1111 on: June 03, 2016, 12:13:58 pm »
Why is this still a thing?  Hiscore support is now included with MAME specifically so that all you guys can use baseline and will finally be welcome at MAMETesters.
« Last Edit: June 03, 2016, 12:16:53 pm by Arbee »

Arbee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Last login:December 20, 2023, 12:36:54 pm
Re: hiscore diff (with no nag/white box removal)
« Reply #1112 on: June 03, 2016, 12:18:37 pm »
The other concern is if the new hi score script removes nag screens or if anyone is developing a script for that. I have a cabinet setup with Hyperspin shelled to hide Windows and dont want nag screens since it kinda ruins the effect I'm going for, that is, the feel of a real arcade machine.

Real arcade machines don't run Hyperspin.  Your nitpicking is invalid.

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:April 07, 2022, 04:55:03 am
  • ZSystem
Re: hiscore diff (with no nag/white box removal)
« Reply #1113 on: June 13, 2016, 11:16:30 pm »
I muffed up  :badmood:

I neglected to include the No-White-Border code (Thanks go to @h0tw1r3 for the code snippet).

Attached is "hi_174nowhitebox.txt"
This patch has been tested on both Linux and Windows (MinGW) platforms.

Patch Note:
Due to LF/CR, Patch with the --binary flag.
Code: [Select]
patch --binary -p0 -E <../hi_174nowhitebox.txt

Compile Note:
I believe that due to updates in the MinGW environment, It may be necessary to compile with the "No Warning Error" flag.
Code: [Select]
make SUBTARGET=arcade NOWERROR=1


ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:April 07, 2022, 04:55:03 am
  • ZSystem
Re: hiscore diff (with no nag/white box removal)
« Reply #1114 on: June 13, 2016, 11:43:01 pm »
Just to clarify for those that might be interested.

There were actually TWO white boxes.
1. Is the box surrounding the dialog (When not removed was visible in the center of the screen).
2. Is the border surrounding the entire screen. (Referred to as nowhitebox - infact means no white border).

The 1st was resolved with the repair of the suppression patches.
The 2nd is resolved with the previous post attachment "hi_174nowhitebox.txt".
« Last Edit: July 04, 2016, 11:58:29 pm by ozfalcon »

kaptainsteve

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 70
  • Last login:February 18, 2024, 01:30:53 pm
    • Swamp-Ass
Re: hiscore diff (with no nag/white box removal)
« Reply #1115 on: June 24, 2016, 03:55:09 pm »
Hello, I have a couple of questions I was hoping someone could help me with.

First, is Hiscore now in the regular Mame?

Second, can someone please walk through, step by step a checklist of things to check for when one's hiscores are not saving in a Mame 174 compiled with hiscore?  I've tried everything yet the scores are not saving... please!

Thanks in advance.

Steve

EssexMame

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 471
  • Last login:September 21, 2023, 07:43:50 am
  • Mame Weekender
Re: hiscore diff (with no nag/white box removal)
« Reply #1116 on: June 28, 2016, 05:17:26 am »
First, is Hiscore now in the regular Mame?
Hi.

I think it is in the regular mame now. I'd not seen any documentation saying so and I might be mistaken but I've downloaded/setup 0.174 and didn't do this patch. Indeed I was planning on doing so but it didn't seem to need it! I do have 0.133 on the same machine  (different directory) with this patch but the 0.174 is definitely saving some/all highscores. Flying Shark certainly and I believe others. Of course these could be doing it as per original hardware (NVRAM) where the machine saved high scores after power off...

For high score on the patch method, you need a "hi" directory under Mame and disable_highscore_patch 0 (or remove the disable_highscore_patch line entirely from mame.ini).

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 #1117 on: June 29, 2016, 11:47:59 am »
Patch updated to 175...

abelenki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:December 21, 2022, 06:58:00 pm
    • MAME Stuff
Re: hiscore diff (with no nag/white box removal)
« Reply #1118 on: June 29, 2016, 11:50:20 am »
Patch updated to 175...
thanks, MKChamp!
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration

Ginsonic

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 96
  • Last login:October 09, 2023, 12:56:04 pm
  • Arcade enthusiast !
Re: hiscore diff (with no nag/white box removal)
« Reply #1119 on: June 30, 2016, 06:34:26 am »
Unfortunately the new patch is not working for me with MAME version 175:

Log:

Testing Diff Patch...
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru old/emu/emuopts.cpp src/emu/emuopts.cpp
|--- old/emu/emuopts.cpp   2016-06-29 03:04:14.753317700 -0500
|+++ src/emu/emuopts.cpp   2016-06-29 09:36:42.863647400 -0500
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 28
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
Finished!
0 Hours 0 Minutes and 0 Seconds Elapsed.
|diff -Nru old/emu/emuopts.h src/emu/emuopts.h


Update:

The patch did not work using MAME compiler. When I patched it manually using the buildtools command line, it worked flawlessly !
« Last Edit: June 30, 2016, 07:34:54 am by Ginsonic »