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

0 Members and 1 Guest are viewing this topic.

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 #1040 on: January 27, 2016, 11:56:11 am »
hi_0169.diff doesn't work with 0.170 source tree, there are warnings and errors.

hi_170 patch has been uploaded. I haven't had a chance to compile with it yet, so if you find any issues, please let me know.

reflex33

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:February 13, 2016, 11:58:55 pm
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #1041 on: February 03, 2016, 03:36:02 pm »
I'm having a problem with the 170 patch...

Compiles just fine without the patch.  But with it we get errors.

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 #1042 on: February 03, 2016, 10:06:50 pm »
hi_170 patch has been uploaded. I haven't had a chance to compile with it yet, so if you find any issues, please let me know.
thanks!! it compiles fine.
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration

reflex33

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:February 13, 2016, 11:58:55 pm
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #1043 on: February 05, 2016, 02:25:28 pm »
Ok so I saw that it compiled fine for other people... but I'm getting the following with the patch (without the patch it compiles fine):

Compiling src/osd/windows/window.cpp...
../../../../../src/osd/windows/window.cpp: In member function 'void win_window_info::update_hi()':
../../../../../src/osd/windows/window.cpp:863:34: error: 'osd_lock_acquire' was not declared in this scope
    osd_lock_acquire(m_render_lock);
                                  ^
../../../../../src/osd/windows/window.cpp:865:41: error: 'osd_lock_try' was not declared in this scope
    got_lock = osd_lock_try(m_render_lock);
                                         ^
../../../../../src/osd/windows/window.cpp:875:34: error: 'osd_lock_release' was not declared in this scope
    osd_lock_release(m_render_lock);
                                  ^
osd_windows.make:675: recipe for target '../../../../mingw-gcc/obj/x64/Release/osd_windows/src/osd/windows/window.o' failed
make[2]: *** [../../../../mingw-gcc/obj/x64/Release/osd_windows/src/osd/windows/window.o] Error 1
Makefile:19: recipe for target 'osd_windows' failed
make[1]: *** [osd_windows] Error 2
makefile:849: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2

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 #1044 on: February 24, 2016, 08:50:58 am »
hi_170.diff doesn't work with 0.171 source tree, there are warnings and errors.

currently, hi_171.diff can be downloaded from GroovyMAME thread.
« Last Edit: February 26, 2016, 01:14:27 am by abelenki »
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 #1045 on: March 07, 2016, 01:30:28 pm »
hi_170.diff doesn't work with 0.171 source tree, there are warnings and errors.

currently, hi_171.diff can be downloaded from GroovyMAME thread.

Sorry for the delay. My PC where I do all the code and compile bit the dust and I lost everything. I've uploaded the 171 patch...have fun!

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 #1046 on: March 07, 2016, 09:10:01 pm »
Sorry for the delay. My PC where I do all the code and compile bit the dust and I lost everything. I've uploaded the 171 patch...have fun!
thanks, MKChamp!
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration

Stiletto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Last login:September 27, 2022, 11:41:36 pm
  • MAME me.
Re: hiscore diff (with no nag/white box removal)
« Reply #1047 on: March 12, 2016, 10:58:38 am »
Hi guys,

You may have heard of this new development:
https://github.com/cracyc/mame-hiscores

Description thread at MAMEWorld:
http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=351252

I talked to MKChamp about this new development and he says in light of this, so long as the new script is as bug free as the previous hiscore.dat patch, he may discontinue hiscore.dat sourcecode patch maintenance in the future in favor of this script that does not require recompiling MAME.

MAMEdev is hoping that this and other scripts like it are the beginning of a thriving third-party Lua script community. We can't wait to see how other enthusiasts use this new feature.

It should be ready to go officially when MAME 0.172 hits, but you can take it for a test drive now if you can compile latest GIT. :)

Cheers!
« Last Edit: March 12, 2016, 11:05:16 am by Stiletto »

sean_sk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 144
  • Last login:August 06, 2019, 10:27:48 am
  • If quizzes are quizzical, then what are tests?
Re: hiscore diff (with no nag/white box removal)
« Reply #1048 on: March 14, 2016, 09:46:15 am »
Thanks for the info, it looks promising.

For the time being though, I think I'll stick with the hiscore diff. Time has proven it's reliability and a significant amount of time needs to pass to prove the new lua hi score script is reliable and mature enough before I'll change over. I'm always open to being convinced otherwise.

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.
« Last Edit: March 14, 2016, 09:46:31 pm by sean_skroht »

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 #1049 on: March 30, 2016, 03:10:00 pm »
Hi MKChamp.  Thanks for always being so quick with new patches for the mame updates!!

Having a problem with 0.172 patch though.  Compiling on linux_x64 (sdlmame), and getting the following error:

Code: [Select]
/src/osd/sdl/video.cpp: In member function ‘virtual void sdl_osd_interface::update_hi(bool)’:
./src/osd/sdl/video.cpp:299:25: error: ‘sdlinput_poll’ was not declared in this scope  sdlinput_poll(machine());

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 #1050 on: March 30, 2016, 03:41:36 pm »
Hi MKChamp.  Thanks for always being so quick with new patches for the mame updates!!

Having a problem with 0.172 patch though.  Compiling on linux_x64 (sdlmame), and getting the following error:

Code: [Select]
/src/osd/sdl/video.cpp: In member function ‘virtual void sdl_osd_interface::update_hi(bool)’:
./src/osd/sdl/video.cpp:299:25: error: ‘sdlinput_poll’ was not declared in this scope  sdlinput_poll(machine());

I don't compile for SDL...just windows...so, I don't find these issues. I uploaded a new hi_172 patch to correct this. Let me know if you find any other issues!

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 #1051 on: March 30, 2016, 05:11:30 pm »
Thanks, that was fast!

It fixed that error, but unfortunately produces another one:

Code: [Select]
In file included from /src/emu/ui/dsplmenu.cpp:21:0:
/src/osd/../osd/modules/lib/osdobj_common.h:175:16: error: ‘virtual void osd_common_t::update_hi(bool)’ can be marked override [-Werror=suggest-override virtual void update_hi(bool skip_redraw);

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 #1052 on: March 30, 2016, 05:12:50 pm »
Hello,
I compiled hi172 with windows 7x64, and had the same error with hi171 patch :

Archiving liboptional.a...
makefile:879: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2

I will wait the patch from groovymame, but i don't understand why the patch from groovymame works (171 for example), and not the one from arcadecontrols ?

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 #1053 on: March 30, 2016, 05:49:13 pm »
Hello,
I compiled hi172 with windows 7x64, and had the same error with hi171 patch :

Archiving liboptional.a...
makefile:879: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2

I will wait the patch from groovymame, but i don't understand why the patch from groovymame works (171 for example), and not the one from arcadecontrols ?

171 patch doesn't work for 172. Get the 172 patch.

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 #1054 on: March 30, 2016, 05:57:10 pm »
Thanks, that was fast!

It fixed that error, but unfortunately produces another one:

Code: [Select]
In file included from /src/emu/ui/dsplmenu.cpp:21:0:
/src/osd/../osd/modules/lib/osdobj_common.h:175:16: error: ‘virtual void osd_common_t::update_hi(bool)’ can be marked override [-Werror=suggest-override virtual void update_hi(bool skip_redraw);

Go past that and see if it still compiles...that may just be a type of error-warning....

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 #1055 on: March 30, 2016, 08:20:06 pm »
Unfortunately it won't go past that:

Code: [Select]
cc1plus: all warnings being treated as errors

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 #1056 on: March 30, 2016, 09:02:48 pm »
unfortunately, i also can't compile 0.172 with hi_172.txt (i tried both, older and newer re-uploaded patches).

compiling stops with an error:

Code: [Select]
Archiving liboptional.a...
makefile:879: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2

(as in case with MomoneDk).

and yes, i could successfully compile 0.171 with GroovyMAME's hi_0171.diff.

UPDATE: it has nothing to do with hiscore diff - i just tried to compile official sources without any modifications, and i got the same error. :(
« Last Edit: March 30, 2016, 10:11:21 pm by abelenki »
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 #1057 on: March 31, 2016, 01:44:38 am »
Hello

I tried the patch 172 with the official mame 172 sources.
But it does not work, i don't know why.
It is not a problem of compilation, this patch would not work for nobody :-[

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 #1058 on: March 31, 2016, 11:44:48 am »
Hello

I tried the patch 172 with the official mame 172 sources.
But it does not work, i don't know why.
It is not a problem of compilation, this patch would not work for nobody :-[

Strange. I compiled mine twice with no issues. I'm using Headkaze's compiler. Can you guys check the whole compile log and send any and all warnings/errors?

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 #1059 on: March 31, 2016, 02:33:23 pm »
When i try to compile with the last mame compiler (2.0.169), i can patch successfully, but the compalition does not work (start and stop directly with errors).

I think i am wrong with mame compiler, maybe the directories ? Maybe other thing ?
The last version of mame compiler appear no up to date for use with the last buildtools (over mame 170).
Do you copy/paste the make.exe from the program files to the buildtools/msys64 ?
Do you use older buildtools (until mame 169) ?
« Last Edit: March 31, 2016, 02:35:20 pm by MomoneDk »

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 #1060 on: April 01, 2016, 07:01:24 am »
Can you guys check the whole compile log and send any and all warnings/errors?

here are mine:

Code: [Select]
Compiling src/emu/ui/dsplmenu.cpp...
In file included from ../../../../../src/osd/../osd/windows/winmain.h:14:0,
                 from ../../../../../src/emu/ui/dsplmenu.cpp:19:
../../../../../src/osd/modules/lib/osdobj_common.h:175:16: error: 'virtual void osd_common_t::update_hi(bool)' can
 be marked override [-Werror=suggest-override]
   virtual void update_hi(bool skip_redraw);
                ^
In file included from ../../../../../src/emu/ui/dsplmenu.cpp:19:0:
../../../../../src/osd/../osd/windows/winmain.h:302:16: error: 'virtual void windows_osd_interface::update_hi(bool
)' can be marked override [-Werror=suggest-override]
   virtual void update_hi(bool skip_redraw);
                ^
cc1plus.exe: all warnings being treated as errors
emu.make:1648: recipe for target '../../../../mingw-gcc/obj/x64/Release/src/emu/ui/dsplmenu.o' failed
make[2]: *** [../../../../mingw-gcc/obj/x64/Release/src/emu/ui/dsplmenu.o] Error 1
makefile:79: recipe for target 'emu' failed
make[1]: *** [emu] Error 2
makefile:879: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2
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 #1061 on: April 01, 2016, 09:59:37 am »
Finally, and only with mame compiler, i can compile mame when diff hi172 is applied.
I don't like that, i prefer without mame compiler  :(

But, for mame compiler when i click on go the first time i have this error after 3 seconds (tried 3 times, always this error) :
make[1]: Leaving directory `D:/buildtools170/msys64/src/3rdparty/genie/build/gmake.windows'

And when i click again on "go", the compilation works  and finish....

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 #1062 on: April 01, 2016, 10:16:29 am »
Can you guys check the whole compile log and send any and all warnings/errors?

here are mine:

Code: [Select]
Compiling src/emu/ui/dsplmenu.cpp...
In file included from ../../../../../src/osd/../osd/windows/winmain.h:14:0,
                 from ../../../../../src/emu/ui/dsplmenu.cpp:19:
../../../../../src/osd/modules/lib/osdobj_common.h:175:16: error: 'virtual void osd_common_t::update_hi(bool)' can
 be marked override [-Werror=suggest-override]
   virtual void update_hi(bool skip_redraw);
                ^
In file included from ../../../../../src/emu/ui/dsplmenu.cpp:19:0:
../../../../../src/osd/../osd/windows/winmain.h:302:16: error: 'virtual void windows_osd_interface::update_hi(bool
)' can be marked override [-Werror=suggest-override]
   virtual void update_hi(bool skip_redraw);
                ^
cc1plus.exe: all warnings being treated as errors
emu.make:1648: recipe for target '../../../../mingw-gcc/obj/x64/Release/src/emu/ui/dsplmenu.o' failed
make[2]: *** [../../../../mingw-gcc/obj/x64/Release/src/emu/ui/dsplmenu.o] Error 1
makefile:79: recipe for target 'emu' failed
make[1]: *** [emu] Error 2
makefile:879: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2

Ok...I believe it is now fixed...

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 #1063 on: April 01, 2016, 12:08:23 pm »
Ok...I believe it is now fixed...
thanks, MKChamp, but i got another similar error with new patch:

Code: [Select]
Compiling src/emu/ui/dsplmenu.cpp...
In file included from ../../../../../src/emu/ui/dsplmenu.cpp:19:0:
../../../../../src/osd/../osd/windows/winmain.h:302:16: error: 'virtual void windows_osd_interface::update_hi(bool
)' can be marked override [-Werror=suggest-override]
   virtual void update_hi(bool skip_redraw);
                ^
cc1plus.exe: all warnings being treated as errors
emu.make:1648: recipe for target '../../../../mingw-gcc/obj/x64/Release/src/emu/ui/dsplmenu.o' failed
make[2]: *** [../../../../mingw-gcc/obj/x64/Release/src/emu/ui/dsplmenu.o] Error 1
makefile:79: recipe for target 'emu' failed
make[1]: *** [emu] Error 2
makefile:879: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration

EMDB

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 865
  • Last login:September 05, 2023, 09:18:51 am
  • Project RetroCade
Re: hiscore diff (with no nag/white box removal)
« Reply #1064 on: April 01, 2016, 12:58:32 pm »
The original patch worked just fine with the 0172 sources and the latest MC64 2.0.171 without any error or even the need to restart the compilation...

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 #1065 on: April 01, 2016, 01:25:13 pm »
Can you guys check the whole compile log and send any and all warnings/errors?

here are mine:

Code: [Select]
Compiling src/emu/ui/dsplmenu.cpp...
In file included from ../../../../../src/osd/../osd/windows/winmain.h:14:0,
                 from ../../../../../src/emu/ui/dsplmenu.cpp:19:
../../../../../src/osd/modules/lib/osdobj_common.h:175:16: error: 'virtual void osd_common_t::update_hi(bool)' can
 be marked override [-Werror=suggest-override]
   virtual void update_hi(bool skip_redraw);
                ^
In file included from ../../../../../src/emu/ui/dsplmenu.cpp:19:0:
../../../../../src/osd/../osd/windows/winmain.h:302:16: error: 'virtual void windows_osd_interface::update_hi(bool
)' can be marked override [-Werror=suggest-override]
   virtual void update_hi(bool skip_redraw);
                ^
cc1plus.exe: all warnings being treated as errors
emu.make:1648: recipe for target '../../../../mingw-gcc/obj/x64/Release/src/emu/ui/dsplmenu.o' failed
make[2]: *** [../../../../mingw-gcc/obj/x64/Release/src/emu/ui/dsplmenu.o] Error 1
makefile:79: recipe for target 'emu' failed
make[1]: *** [emu] Error 2
makefile:879: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2

Ok...I believe it is now fixed...

That patch worked just fine on linux_x64, compiles with no errors and runs fine.
Thanks for the quick changes!

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 #1066 on: April 01, 2016, 04:29:31 pm »
Ok...I believe it is now fixed...
thanks, MKChamp, but i got another similar error with new patch:

Code: [Select]
Compiling src/emu/ui/dsplmenu.cpp...
In file included from ../../../../../src/emu/ui/dsplmenu.cpp:19:0:
../../../../../src/osd/../osd/windows/winmain.h:302:16: error: 'virtual void windows_osd_interface::update_hi(bool
)' can be marked override [-Werror=suggest-override]
   virtual void update_hi(bool skip_redraw);
                ^
cc1plus.exe: all warnings being treated as errors
emu.make:1648: recipe for target '../../../../mingw-gcc/obj/x64/Release/src/emu/ui/dsplmenu.o' failed
make[2]: *** [../../../../mingw-gcc/obj/x64/Release/src/emu/ui/dsplmenu.o] Error 1
makefile:79: recipe for target 'emu' failed
make[1]: *** [emu] Error 2
makefile:879: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2

OK..OK...This one SHOULD WORK I promise!  ;D

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 #1067 on: April 01, 2016, 09:59:39 pm »
OK..OK...This one SHOULD WORK I promise!  ;D

thank you, MKChamp!! it works perfectly now. much appreciated.

there are two warnings because of two tabs in the last line. i removed them, so it's perfect now.
« Last Edit: April 02, 2016, 08:30:18 pm by abelenki »
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 #1068 on: April 02, 2016, 04:08:27 pm »
OK..OK...This one SHOULD WORK I promise!  ;D

thank you, MKChamp!! it works perfectly now. much appreciated.

there are two warnings because of two tabs in the last line. i removed them, so it's perfect now. ;) i'm attaching fixed diff to the post.

Great! Uploaded to main page!

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 #1069 on: April 02, 2016, 08:29:44 pm »
Great! Uploaded to main page!
cool, thanks!
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration

h0tw1r3

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 47
  • Last login:May 19, 2023, 09:50:54 pm
  • Git-R-Done
Re: hiscore diff (with no nag/white box removal)
« Reply #1070 on: April 03, 2016, 02:44:09 pm »
Now that hiscore support is back in mame (https://github.com/mamedev/mame/tree/master/plugins/hiscore) is there any reason for this patch to include hiscore support?

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 #1071 on: April 04, 2016, 11:46:19 am »
Now that hiscore support is back in mame (https://github.com/mamedev/mame/tree/master/plugins/hiscore) is there any reason for this patch to include hiscore support?

Once it's completely ironed out and has the full support of games as in the current hiscore.dat, then you won't see this patch updated anymore. I can't wait!

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 #1072 on: April 14, 2016, 06:59:06 pm »
Yes it will be great to not have to maintain the Patch  :applaud:

<UPDATED>
In the meantime I thought I'd let you know current observations of Nag/Loading patches under 0.172 SDL.

Nag patch enabled
1. Disables Nag Screen (As expected)
2. Disables Loading message but leaves white box (Not expected)

Loading patch enabled
1. Disables Loading message and removes white box (As expected - As long as nag patch is not enabled!)
2. When Nag patch is also enabled (typical) it causes the white box to be displayed (See nag patch point 2)

Also noticed in Mame 0.172 is the omission of the Legal Rom Requirement - Not sure if this was on purpose or not.

* Not sure if this has been an issue with previous releases - As I have just jumped up to 0.172 from an earlier release.
« Last Edit: April 15, 2016, 12:39:12 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 #1073 on: April 15, 2016, 12:41:37 pm »
Not sure why the Nag screen patch should affect the Loading message.  ???

h0tw1r3

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 47
  • Last login:May 19, 2023, 09:50:54 pm
  • Git-R-Done
Re: hiscore diff (with no nag/white box removal)
« Reply #1074 on: April 16, 2016, 10:47:14 pm »
Not sure why the Nag screen patch should affect the Loading message.  ???

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.btolab.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.
« Last Edit: May 13, 2016, 03:26:22 am by h0tw1r3 »

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 #1075 on: April 16, 2016, 11:43:24 pm »
Interesting, Looking at the loading patch - And it is forced on regardless of the config option setting.

+  //if (!options_get_bool(mame_options(), OPTION_DISABLE_LOADING_PATCH))
+    return;


Quote
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.

You have probably done what I was just about to do. Thanks for the link I'll have a look and read.
Given that the Hi_Score patch will more than likely move to the LUA script, It's probably time to look at liberating the other patches.

Of Course I really have no say in what happens - That's upto MKChamp - But I'm sure he's keen as previously indicated.
« Last Edit: April 23, 2016, 11:14:14 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 #1076 on: April 17, 2016, 09:51:39 am »
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.

Just looking at your Skip_Loading sections compared to Hi_Score Disable_Loading_Patch

It seems there are three areas of interest:
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);

Your patch does:
emu/machine.cpp:   ui().set_startup_text("Initializing...", true);
emu/romload.cpp:      machine().ui().set_startup_text(buffer, false);

Hi_Score does:
emu/romload.cpp:      machine().ui().set_startup_text(buffer, false);
mame/machine/cps2crpt.cpp:         machine.ui().set_startup_text(loadingMessage,FALSE);

Any reason your patch does not alter cps2crpt.cpp?

Will look at the rest of the patch (skip_warning, and render_border) over the week.
« Last Edit: April 17, 2016, 09:58:52 am by ozfalcon »

h0tw1r3

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 47
  • Last login:May 19, 2023, 09:50:54 pm
  • Git-R-Done
Re: hiscore diff (with no nag/white box removal)
« Reply #1077 on: April 17, 2016, 05:22:23 pm »

Just looking at your Skip_Loading sections compared to Hi_Score Disable_Loading_Patch

It seems there are three areas of interest:
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);

Your patch does:
emu/machine.cpp:   ui().set_startup_text("Initializing...", true);
emu/romload.cpp:      machine().ui().set_startup_text(buffer, false);

Hi_Score does:
emu/romload.cpp:      machine().ui().set_startup_text(buffer, false);
mame/machine/cps2crpt.cpp:         machine.ui().set_startup_text(loadingMessage,FALSE);

Any reason your patch does not alter cps2crpt.cpp?

Will look at the rest of the patch (skip_warning, and render_border) over the week.

Thanks for reviewing the patch. Uploaded a new version. Removed some irrelevant code, fixed the cps2 decrypt message showing and simplified.

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 #1078 on: April 18, 2016, 07:25:30 pm »
For a different method of message suppression and writeup on using the MinGW environment.
http://forum.attractmode.org/index.php?topic=348.0
« Last Edit: April 23, 2016, 11:10:37 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 #1079 on: April 19, 2016, 12:18:32 pm »
Just looked at the latest revision of @h0tw1r3 patch :burgerking:

This patch pretty much gets to the root of each area.
Looks like a much cleaner way of doing things.
& it's small - So it should be easy to manage..

Still have to test it out.
« Last Edit: April 19, 2016, 12:23:14 pm by ozfalcon »