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.

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 #920 on: December 31, 2014, 02:00:42 pm »
Uploaded hi_157 to the front 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 #921 on: December 31, 2014, 02:41:06 pm »
Uploaded hi_157 to the front page!

thanks!!
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration

chubsta

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • Last login:February 25, 2017, 03:21:40 pm
Re: hiscore diff (with no nag/white box removal)
« Reply #922 on: January 01, 2015, 03:33:11 pm »
trying to compile sdlmame on a Mac - it compiles fine when i don't add the whisker.diff, but if i do i get the following error during the compile:

Code: [Select]
Compiling src/osd/sdl/draw13.c...
src/osd/sdl/video.c:359:4: error: use of undeclared identifier
      'sdlwindow_video_window_update_hi'
                        sdlwindow_video_window_update_hi(machine(), window);
                        ^
1 error generated.
make: *** [obj/sdl64/osd/sdl/video.o] Error 1
make: *** Waiting for unfinished jobs....
src/osd/sdl/window.c:1045:27: error: unused variable 'primlist'
      [-Werror,-Wunused-variable]
                        render_primitive_list *primlist = &get_primitives(this);
                                               ^
1 error generated.
make: *** [obj/sdl64/osd/sdl/window.o] Error 1/code]

Now, i managed to compile 156 just a week or so ago, this is my first time messing with this sort of stuff so am now a bit stuck - i guess as 156 compiled fine that i am doing something wrong or missing something, anyone got any ideas? Also, if i am posting in the wrong place please let me know...

cheers, and Happy New Year!!

Calamity

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7411
  • Last login:March 14, 2024, 05:26:05 am
  • Quote me with care
Re: hiscore diff (with no nag/white box removal)
« Reply #923 on: January 01, 2015, 04:30:02 pm »
I've modified the current MKChamp's patch by removing the osd part, so now the size is half of the old one. This should make the task of mantaining it much easier. I've done basic testing here and it seems to work fine. Anyway, maybe the osd part was there for a good reason that I'm missing, so let's consider it experimental until it's confirmed to be right.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

chubsta

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • Last login:February 25, 2017, 03:21:40 pm
Re: hiscore diff (with no nag/white box removal)
« Reply #924 on: January 01, 2015, 05:11:55 pm »
In an effort to get it working I too removed a load of the code, in my case quite a bit from the end, despite being new to this it seems to have worked and mame compiled and runs as it should, when I get near my computer I'll compare what I did with your file, hopefully will be the same, ar least then I know I'm on the right track with this stuff...

nitrogen_widget

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1746
  • Last login:March 27, 2024, 07:02:12 am
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #925 on: January 03, 2015, 01:40:38 pm »
I've modified the current MKChamp's patch by removing the osd part, so now the size is half of the old one. This should make the task of mantaining it much easier. I've done basic testing here and it seems to work fine. Anyway, maybe the osd part was there for a good reason that I'm missing, so let's consider it experimental until it's confirmed to be right.

Thank you!
I was getting pretty much the exact same error as chubsta on Linux with the patch on the first page.
This patch let me finish the compile.

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 #926 on: January 04, 2015, 07:33:00 pm »
I've modified the current MKChamp's patch by removing the osd part, so now the size is half of the old one. This should make the task of mantaining it much easier. I've done basic testing here and it seems to work fine. Anyway, maybe the osd part was there for a good reason that I'm missing, so let's consider it experimental until it's confirmed to be right.

I've been off the radar for a bit but I'll give it a test and examine the code this week to see if I can find any effects.


lordnacho

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 509
  • Last login:January 21, 2023, 07:38:14 pm
Re: hiscore diff (with no nag/white box removal)
« Reply #927 on: January 26, 2015, 11:45:16 am »
Anyone seen this error before?
Code: [Select]
Linking obj/windows64/build/makedep.exe...
Linking obj/windows64/build/makemak.exe...
Linking obj/windows64/build/makelist.exe...
Linking obj/windows64/build/png2bdc.exe...
Linking obj/windows64/build/verinfo.exe...
Linking obj/windows64/build/m68kmake.exe...
Building driver list src/mame/mame.lst...
Converting src/mame/layout/ace.lay...
process_begin: CreateProcess(NULL, python src/build/file2str.py src/mame/layout/
ace.lay obj/windows64/mame/layout/ace.lh layout_ace, ...) failed.
make (e=2): The system cannot find the file specified.
makefile:975: recipe for target 'obj/windows64/mame/layout/ace.lh' failed
make: *** [obj/windows64/mame/layout/ace.lh] Error 2
make: *** Waiting for unfinished jobs....
29856 drivers found

Note: I'm following http://mrdo.mameworld.info/compile.php for 64bit

Update: went with headkaze's mame compiler.  worked first time. 
« Last Edit: January 26, 2015, 01:49:17 pm by lordnacho »

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 #928 on: January 28, 2015, 08:34:51 am »
hi_157.diff doesn't work with 0.158 source tree, many warnings and errors.
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 #929 on: January 28, 2015, 03:34:36 pm »
Can you compile this and let me know if it works before I put it on the front page? My PC I used to compile will be tied up for a few days...

Thanks!

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 #930 on: January 28, 2015, 04:42:24 pm »
Can you compile this and let me know if it works before I put it on the front page? My PC I used to compile will be tied up for a few days...

the diff applied fine, but it didn't compile. :(

Code: [Select]
Compiling obj/windows64/mame/mame/drivlist.c...
Archiving obj/windows64/mame/mame/liboptional.a...
Linking mame64.exe...
obj/windows64/libosd.a(osdobj_common.o):osdobj_common.c:(.rdata$_ZTV12osd_common_t[_ZTV12osd_common_t]+0x58): undefined r
eference to `osd_interface::update_hi(bool)'
collect2.exe: error: ld returned 1 exit status
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 #931 on: January 28, 2015, 05:05:55 pm »
Can you compile this and let me know if it works before I put it on the front page? My PC I used to compile will be tied up for a few days...

the diff applied fine, but it didn't compile. :(

Code: [Select]
Compiling obj/windows64/mame/mame/drivlist.c...
Archiving obj/windows64/mame/mame/liboptional.a...
Linking mame64.exe...
obj/windows64/libosd.a(osdobj_common.o):osdobj_common.c:(.rdata$_ZTV12osd_common_t[_ZTV12osd_common_t]+0x58): undefined r
eference to `osd_interface::update_hi(bool)'
collect2.exe: error: ld returned 1 exit status

Ok....this one should fix that. Please do a clean build...and thanks for helping me out!

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 #932 on: January 28, 2015, 05:37:30 pm »
Ok....this one should fix that. Please do a clean build...and thanks for helping me out!

this one applied and compiled just fine!!

thanks a lot!!
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration

nitrogen_widget

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1746
  • Last login:March 27, 2024, 07:02:12 am
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #933 on: February 05, 2015, 06:57:56 am »
hello, .158 compiles fine without the patch on 64bit linux but with the patch I get the following error.

Quote
Compiling src/osd/sdl/window.c...
src/osd/sdl/video.c: In member function ‘virtual void sdl_osd_interface::update_hi(bool)’:
src/osd/sdl/video.c:363:54: error: ‘sdlwindow_video_window_update_hi’ was not declared in this scope
    sdlwindow_video_window_update_hi(machine(), window);
                                                      ^
makefile:956: recipe for target 'obj/sdl64/osd/sdl/video.o' failed
make: *** [obj/sdl64/osd/sdl/video.o] Error 1
make: *** Waiting for unfinished jobs....
src/osd/sdl/window.c: In member function ‘void sdl_window_info::video_window_update_hi(running_machine&)’:
src/osd/sdl/window.c:1095:58: error: ‘get_primitives’ was not declared in this scope
    render_primitive_list *primlist = &get_primitives(this);
                                                          ^
src/osd/sdl/window.c:1095:27: error: unused variable ‘primlist’ [-Werror=unused-variable]
    render_primitive_list *primlist = &get_primitives(this);
                           ^
cc1plus: all warnings being treated as errors
makefile:956: recipe for target 'obj/sdl64/osd/sdl/window.o' failed
make: *** [obj/sdl64/osd/sdl/window.o] Error 1
[mame@localhost 158spatched]$

thanks in advance

GumboMcGee

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:January 12, 2017, 02:41:32 pm
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #934 on: February 09, 2015, 12:18:43 pm »
hello, .158 compiles fine without the patch on 64bit linux but with the patch I get the following error.

Quote
Compiling src/osd/sdl/window.c...
src/osd/sdl/video.c: In member function ‘virtual void sdl_osd_interface::update_hi(bool)’:
src/osd/sdl/video.c:363:54: error: ‘sdlwindow_video_window_update_hi’ was not declared in this scope
    sdlwindow_video_window_update_hi(machine(), window);
                                                      ^
makefile:956: recipe for target 'obj/sdl64/osd/sdl/video.o' failed
make: *** [obj/sdl64/osd/sdl/video.o] Error 1
make: *** Waiting for unfinished jobs....
src/osd/sdl/window.c: In member function ‘void sdl_window_info::video_window_update_hi(running_machine&)’:
src/osd/sdl/window.c:1095:58: error: ‘get_primitives’ was not declared in this scope
    render_primitive_list *primlist = &get_primitives(this);
                                                          ^
src/osd/sdl/window.c:1095:27: error: unused variable ‘primlist’ [-Werror=unused-variable]
    render_primitive_list *primlist = &get_primitives(this);
                           ^
cc1plus: all warnings being treated as errors
makefile:956: recipe for target 'obj/sdl64/osd/sdl/window.o' failed
make: *** [obj/sdl64/osd/sdl/window.o] Error 1
[mame@localhost 158spatched]$

thanks in advance

Having the same issue with both cross compiling on mc64 for linux, and Ubuntu 14.10, Debian Squeeze and Debian Wheezy x64

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 #935 on: February 09, 2015, 02:40:45 pm »
I'm obviously running windows, so I don't get those errors when compiling. Please use the attach diff file and let me know if it works for yall.If it does, I will move it the the hi_158 file on the main page. Thanks!

GumboMcGee

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:January 12, 2017, 02:41:32 pm
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #936 on: February 09, 2015, 05:41:02 pm »
I'm obviously running windows, so I don't get those errors when compiling. Please use the attach diff file and let me know if it works for yall.If it does, I will move it the the hi_158 file on the main page. Thanks!

Hey MKChamp,
Thanks for the update, it did something right, but still fell at the last hurdle. see below.

Code: [Select]
Compiling obj/sdl64/mame/mame/drivlist.c...
Archiving obj/sdl64/libosd.a...
Archiving obj/sdl64/mame/mame/libbus.a...
Compiling src/emu/cpu/m68000/m68kcpu.c...
Compiling obj/sdl64/emu/cpu/m68000/m68kops.c...
Archiving obj/sdl64/libemu.a...
Archiving obj/sdl64/mame/mame/liboptional.a...
Linking mame64...
obj/sdl64/libosd.a(osdobj_common.o):(.rodata._ZTI12osd_common_t[_ZTI12osd_common_t]+0x10): undefined reference to `typeinfo for osd_interface'
collect2: error: ld returned 1 exit status
make: *** [mame64] Error 1
rm obj/sdl64/osd/modules/debugger/qt/debugqtdeviceinformationwindow.moc.c obj/sdl64/osd/modules/debugger/qt/debugqtmemorywindow.moc.c obj/sdl64/osd/modules/debugger/qt/debugqtview.moc.c obj/sdl64/osd/modules/debugger/qt/debugqtwindow.moc.c obj/sdl64/osd/modules/debugger/qt/debugqtdasmwindow.moc.c obj/sdl64/osd/modules/debugger/qt/debugqtdeviceswindow.moc.c obj/sdl64/osd/modules/debugger/qt/debugqtlogwindow.moc.c obj/sdl64/osd/modules/debugger/qt/debugqtmainwindow.moc.c obj/sdl64/osd/modules/debugger/qt/debugqtbreakpointswindow.moc.c


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 #937 on: February 10, 2015, 03:22:30 pm »
Did you perform a clean build?

GumboMcGee

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:January 12, 2017, 02:41:32 pm
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #938 on: February 10, 2015, 04:47:01 pm »
Did you perform a clean build?

Yeah, several times, Untouched source compiles fine.

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 #939 on: February 10, 2015, 05:44:45 pm »
Clean compile...I mean as did you delete the obj folder and start the compile from scratch?

GumboMcGee

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:January 12, 2017, 02:41:32 pm
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #940 on: February 10, 2015, 05:47:28 pm »
Clean compile...I mean as did you delete the obj folder and start the compile from scratch?

Indeed i did, I completely removed the folder and re-downloaded the source and recompiled.

nitrogen_widget

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1746
  • Last login:March 27, 2024, 07:02:12 am
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #941 on: February 10, 2015, 07:40:30 pm »
Clean compile...I mean as did you delete the obj folder and start the compile from scratch?

Indeed i did, I completely removed the folder and re-downloaded the source and recompiled.

Same her.
Deleted folder & re downloaded source.
Got this:
Quote
Archiving obj/sdl64/libportmidi.a...
Linking mame64...
obj/sdl64/libosd.a(osdobj_common.o):(.rodata._ZTI12osd_common_t[_ZTI12osd_common_t]+0x10): undefined reference to `typeinfo for osd_interface'
collect2: error: ld returned 1 exit status
makefile:931: recipe for target 'mame64' failed
make: *** [mame64] Error 1
rm obj/sdl64/osd/modules/debugger/qt/debugqtmemorywindow.moc.c obj/sdl64/osd/modules/debugger/qt/debugqtview.moc.c obj/sdl64/osd/modules/debugger/qt/debugqtdasmwindow.moc.c obj/sdl64/osd/modules/debugger/qt/debugqtdeviceswindow.moc.c obj/sdl64/osd/modules/debugger/qt/debugqtlogwindow.moc.c obj/sdl64/osd/modules/debugger/qt/debugqtmainwindow.moc.c obj/sdl64/osd/modules/debugger/qt/debugqtwindow.moc.c obj/sdl64/osd/modules/debugger/qt/debugqtdeviceinformationwindow.moc.c obj/sdl64/osd/modules/debugger/qt/debugqtbreakpointswindow.moc.c
[mame@localhost mame0158]$

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 #942 on: February 11, 2015, 01:38:27 pm »
OK...shot in the dark. Please try this one...and if this doesn't work, maybe OZFALCON can supply the fix (he implemented the sdl code into the patch originally).

Fingers crossed!

GumboMcGee

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:January 12, 2017, 02:41:32 pm
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #943 on: February 11, 2015, 03:16:17 pm »
OK...shot in the dark. Please try this one...and if this doesn't work, maybe OZFALCON can supply the fix (he implemented the sdl code into the patch originally).

Fingers crossed!

Bad news from my end im affraid :(
Exactly the same error, I was really hoping it would work this time,
Thank you for giving it a try MKChamp, Its Apreciated :)

limner

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 49
  • Last login:June 08, 2015, 06:59:42 pm
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #944 on: February 17, 2015, 12:28:56 pm »
hi
i'm trying to compile mame in order to include the "high score" diff file.

i downloaded 155 not-compiled mame files and the proper diff file to include.

i installed mingw in C:\MinGW\mingw64-w32
and modified the make files and directory names as Mr Do told

but i always have the same error (image included)
anyone can help me?

thanks

P.S.
i also tried to compile mame without diff file and i had the same error at the same time.
« Last Edit: February 17, 2015, 12:35:25 pm by limner »

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: hiscore diff (with no nag/white box removal)
« Reply #945 on: February 17, 2015, 12:50:31 pm »
Have you installed python executable (and made it "visible" to mingw)?
Earth could be the hell of another world

limner

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 49
  • Last login:June 08, 2015, 06:59:42 pm
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #946 on: February 17, 2015, 02:10:54 pm »
Have you installed python executable (and made it "visible" to mingw)?

?
Where on the guide is it explained?

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: hiscore diff (with no nag/white box removal)
« Reply #947 on: February 17, 2015, 02:45:28 pm »
Some time ago I found this topic where someone said "also run setup-python.bat and add the executable path to your PATH variable".
Earth could be the hell of another world

limner

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 49
  • Last login:June 08, 2015, 06:59:42 pm
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #948 on: February 17, 2015, 04:27:15 pm »
Thanks Ansa89
i've been able to compile and use highscore diff for 155 version.

Now....

i've compiled mame and downloaded highscore.dat and put in the mame directory
i also have created an empty "hi" directory in the mame directory...

....and now? Do i have to do something in the mame.ini?

i know that the highscore is not working for every game but if i want to try if it works...what should i do?

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: hiscore diff (with no nag/white box removal)
« Reply #949 on: February 18, 2015, 03:51:23 am »
Run "your_compiled_mame.exe -cc" to recreate your mame.ini, it should add new options for high scores support.
Earth could be the hell of another world

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 #950 on: February 25, 2015, 06:05:42 pm »
FYI
I uploaded a new patch for 159. The SDL portion of the patch does NOT work...so, basically this is for windows versions only. If anyone wants to get the SDL portion working again, please do and I will add it in. Thanks!

wolfi

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 22
  • Last login:January 13, 2024, 07:00:36 am
  • I'm a llama!
Re: hiscore diff (with no nag/white box removal)
« Reply #951 on: February 26, 2015, 01:05:54 am »
Thank you for your Support over all those years!

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 #952 on: February 26, 2015, 01:10:12 am »
FYI
I uploaded a new patch for 159.

thanks!!
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration

chubsta

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • Last login:February 25, 2017, 03:21:40 pm
Re: hiscore diff (with no nag/white box removal)
« Reply #953 on: February 26, 2015, 02:48:29 am »
FYI
I uploaded a new patch for 159. The SDL portion of the patch does NOT work...so, basically this is for windows versions only. If anyone wants to get the SDL portion working again, please do and I will add it in. Thanks!

Terrible news for this of us using SDLMame, hopefully someone with the skills to make it work will give it a go - thanks for all the work though, really makes a difference to the whole mame experience!

-rich-

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:April 05, 2017, 07:37:53 pm
Re: hiscore diff (with no nag/white box removal)
« Reply #954 on: February 27, 2015, 07:27:50 pm »
FYI
I uploaded a new patch for 159. The SDL portion of the patch does NOT work...so, basically this is for windows versions only. If anyone wants to get the SDL portion working again, please do and I will add it in. Thanks!

Terrible news for this of us using SDLMame, hopefully someone with the skills to make it work will give it a go - thanks for all the work though, really makes a difference to the whole mame experience!

I am working on this at the moment. I have managed to get it to compile but it's breaking at the linking stage. I am a developer but I've never used C++ so the issue is not obvious to me at the moment but I'll figure it out in due course. Once I have a working diff I'll post if (and be happy to try and maintain it going forward). In the meantime you can see the changes (and assumptions) I made here http://www.evernote.com/l/ABS6zai1KQlLCo7bayTkmEBBs78RA6UhDKU/

In the meantime if someone else figures it out then we all win so don't wait for me :)

rich

xenonk

  • Trade Count: (0)
  • Newbie
  • *
  • Offline Offline
  • Posts: 1
  • Last login:May 02, 2015, 04:25:15 pm
Re: hiscore diff (with no nag/white box removal)
« Reply #955 on: March 14, 2015, 08:55:24 pm »
Possible suspects for that linker error are that there's a defined but undeclared virtual, or a definition is in the wrong spot and the linker is running into a reference to its symbol before it actually sees the symbol created. In the latter case a shared library would be unaffected, but afaik mame is compiled completely static.

what2be

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10
  • Last login:November 17, 2018, 07:38:28 pm
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #956 on: March 26, 2015, 03:26:34 am »
Sorry if this is a asnine question but does HK's hiscore.diff always contain the no nag / white box removed in the diff or do I need a seperate no nag diff like I see on misc sites on the net? Its been years since ive compiled a mame version and hopefully am headed in the right direction. I recently got the mame buildtools from GIT and the latest mame compiler 64 and 160 sources and hoping to compile my own version of mameuifx once MK's hi-score for 160 is released. Also, not to hijack the thread but  can anyone point me towards a current tutorial on doing this using buildtools via GIT?

kmi

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:April 11, 2015, 05:23:01 am
  • I want to build my own arcade controls!
Error Patching in Archlinux
« Reply #957 on: March 29, 2015, 05:50:25 am »
Hi, when applying the patch hi_160 in arch linux i have a lot of errors, how do I can solve the problem?

patch -p0 -E --binary <hi_160.diff
Code: [Select]
patching file src/emu/emu.mak
Hunk #1 FAILED at 46 (different line endings).
Hunk #2 FAILED at 88 (different line endings).
2 out of 2 hunks FAILED -- saving rejects to file src/emu/emu.mak.rej
patching file src/emu/emuopts.c
Hunk #1 FAILED at 52 (different line endings).
Hunk #2 FAILED at 180 (different line endings).
2 out of 2 hunks FAILED -- saving rejects to file src/emu/emuopts.c.rej
patching file src/emu/emuopts.h
Hunk #1 FAILED at 65 (different line endings).
Hunk #2 FAILED at 181 (different line endings).
Hunk #3 FAILED at 236 (different line endings).
Hunk #4 FAILED at 342 (different line endings).
4 out of 4 hunks FAILED -- saving rejects to file src/emu/emuopts.h.rej
patching file src/emu/hiscore.c
patching file src/emu/hiscore.h
patching file src/emu/machine.c
Hunk #1 FAILED at 75 (different line endings).
Hunk #2 FAILED at 115 (different line endings).
Hunk #3 FAILED at 161 (different line endings).
Hunk #4 FAILED at 352 (different line endings).
4 out of 4 hunks FAILED -- saving rejects to file src/emu/machine.c.rej
patching file src/emu/machine.h
Hunk #1 FAILED at 234 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/emu/machine.h.rej
patching file src/emu/mame.c
Hunk #1 FAILED at 79 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/emu/mame.c.rej
patching file src/emu/profiler.c
Hunk #1 FAILED at 156 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/emu/profiler.c.rej
patching file src/emu/profiler.h
Hunk #1 FAILED at 51 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/emu/profiler.h.rej
patching file src/emu/romload.c
Hunk #1 FAILED at 535 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/emu/romload.c.rej
patching file src/emu/ui/ui.c
Hunk #1 FAILED at 335 (different line endings).
Hunk #2 FAILED at 351 (different line endings).
Hunk #3 FAILED at 373 (different line endings).
Hunk #4 FAILED at 398 (different line endings).
4 out of 4 hunks FAILED -- saving rejects to file src/emu/ui/ui.c.rej
patching file src/emu/video.c
Hunk #1 FAILED at 466 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/emu/video.c.rej
patching file src/emu/video.h
Hunk #1 FAILED at 79 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/emu/video.h.rej
patching file src/mame/machine/cps2crpt.c
Hunk #1 FAILED at 111 (different line endings).
Hunk #2 FAILED at 672 (different line endings).
2 out of 2 hunks FAILED -- saving rejects to file src/mame/machine/cps2crpt.c.rej
patching file src/osd/modules/lib/osdobj_common.c
Hunk #1 FAILED at 335 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/modules/lib/osdobj_common.c.rej
patching file src/osd/modules/lib/osdobj_common.h
Hunk #1 FAILED at 153 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/modules/lib/osdobj_common.h.rej
patching file src/osd/osdepend.h
Hunk #1 FAILED at 64 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/osdepend.h.rej
patching file src/osd/osdmini/minimain.c
Hunk #1 FAILED at 164 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/osdmini/minimain.c.rej
patching file src/osd/osdmini/osdmini.h
Hunk #1 FAILED at 33 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/osdmini/osdmini.h.rej
patching file src/osd/sdl/osdsdl.h
Hunk #1 FAILED at 155 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/sdl/osdsdl.h.rej
patching file src/osd/sdl/video.c
Hunk #1 FAILED at 326 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/sdl/video.c.rej
patching file src/osd/sdl/window.c
Hunk #1 FAILED at 1047 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/sdl/window.c.rej
patching file src/osd/windows/video.c
Hunk #1 FAILED at 203 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/windows/video.c.rej
patching file src/osd/windows/window.c
Hunk #1 FAILED at 826 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/windows/window.c.rej
patching file src/osd/windows/window.h
Hunk #1 FAILED at 45 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/windows/window.h.rej
patching file src/osd/windows/winmain.h
Hunk #1 FAILED at 269 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/windows/winmain.h.rej

darryldale

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 34
  • Last login:March 07, 2016, 12:54:14 pm
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #958 on: April 01, 2015, 09:09:48 pm »
Weird behaviour with patched versions. Am I the only one that has this issue?

I'll use centipede as an example.

If I launch centipede through the vanilla mame .160 latest and greatest no issues (mame_160.exe centiped)

If I launch centipede through the patched mame .160 it complains about missing roms. (mame_160_patched.exe centiped)

This is kind of annoying since I'm running through Hyperspin and I have gotten around it by doing the following:

1) Set my mame wheel to launch mame.bat
2) Contents of mame.bat are as follows:

mame_160_patched.exe %1
if %errorlevel% neq 0 mame_160.exe %1

What it essentially does is first try to launch the game using the patched version and if it errors out will launch the vanilla mame version.

Anybody else have this issue?

Only certain games have this issue. Two that I have come across so far are Centipede and Indian Jones.

ayjanu

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:April 01, 2016, 02:00:26 am
  • I want to build my own arcade controls!
Re: Error Patching in Archlinux
« Reply #959 on: April 04, 2015, 07:28:02 pm »
Hi, when applying the patch hi_160 in arch linux i have a lot of errors, how do I can solve the problem?

patch -p0 -E --binary <hi_160.diff
Code: [Select]
patching file src/emu/emu.mak
Hunk #1 FAILED at 46 (different line endings).
Hunk #2 FAILED at 88 (different line endings).
2 out of 2 hunks FAILED -- saving rejects to file src/emu/emu.mak.rej
patching file src/emu/emuopts.c
Hunk #1 FAILED at 52 (different line endings).
Hunk #2 FAILED at 180 (different line endings).
2 out of 2 hunks FAILED -- saving rejects to file src/emu/emuopts.c.rej
patching file src/emu/emuopts.h
Hunk #1 FAILED at 65 (different line endings).
Hunk #2 FAILED at 181 (different line endings).
Hunk #3 FAILED at 236 (different line endings).
Hunk #4 FAILED at 342 (different line endings).
4 out of 4 hunks FAILED -- saving rejects to file src/emu/emuopts.h.rej
patching file src/emu/hiscore.c
patching file src/emu/hiscore.h
patching file src/emu/machine.c
Hunk #1 FAILED at 75 (different line endings).
Hunk #2 FAILED at 115 (different line endings).
Hunk #3 FAILED at 161 (different line endings).
Hunk #4 FAILED at 352 (different line endings).
4 out of 4 hunks FAILED -- saving rejects to file src/emu/machine.c.rej
patching file src/emu/machine.h
Hunk #1 FAILED at 234 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/emu/machine.h.rej
patching file src/emu/mame.c
Hunk #1 FAILED at 79 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/emu/mame.c.rej
patching file src/emu/profiler.c
Hunk #1 FAILED at 156 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/emu/profiler.c.rej
patching file src/emu/profiler.h
Hunk #1 FAILED at 51 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/emu/profiler.h.rej
patching file src/emu/romload.c
Hunk #1 FAILED at 535 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/emu/romload.c.rej
patching file src/emu/ui/ui.c
Hunk #1 FAILED at 335 (different line endings).
Hunk #2 FAILED at 351 (different line endings).
Hunk #3 FAILED at 373 (different line endings).
Hunk #4 FAILED at 398 (different line endings).
4 out of 4 hunks FAILED -- saving rejects to file src/emu/ui/ui.c.rej
patching file src/emu/video.c
Hunk #1 FAILED at 466 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/emu/video.c.rej
patching file src/emu/video.h
Hunk #1 FAILED at 79 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/emu/video.h.rej
patching file src/mame/machine/cps2crpt.c
Hunk #1 FAILED at 111 (different line endings).
Hunk #2 FAILED at 672 (different line endings).
2 out of 2 hunks FAILED -- saving rejects to file src/mame/machine/cps2crpt.c.rej
patching file src/osd/modules/lib/osdobj_common.c
Hunk #1 FAILED at 335 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/modules/lib/osdobj_common.c.rej
patching file src/osd/modules/lib/osdobj_common.h
Hunk #1 FAILED at 153 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/modules/lib/osdobj_common.h.rej
patching file src/osd/osdepend.h
Hunk #1 FAILED at 64 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/osdepend.h.rej
patching file src/osd/osdmini/minimain.c
Hunk #1 FAILED at 164 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/osdmini/minimain.c.rej
patching file src/osd/osdmini/osdmini.h
Hunk #1 FAILED at 33 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/osdmini/osdmini.h.rej
patching file src/osd/sdl/osdsdl.h
Hunk #1 FAILED at 155 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/sdl/osdsdl.h.rej
patching file src/osd/sdl/video.c
Hunk #1 FAILED at 326 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/sdl/video.c.rej
patching file src/osd/sdl/window.c
Hunk #1 FAILED at 1047 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/sdl/window.c.rej
patching file src/osd/windows/video.c
Hunk #1 FAILED at 203 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/windows/video.c.rej
patching file src/osd/windows/window.c
Hunk #1 FAILED at 826 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/windows/window.c.rej
patching file src/osd/windows/window.h
Hunk #1 FAILED at 45 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/windows/window.h.rej
patching file src/osd/windows/winmain.h
Hunk #1 FAILED at 269 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/osd/windows/winmain.h.rej

kmi - this is on account of Unix/Linux having different line endings (as the error says) than DOS/Windows.  You need to install the dos2unix package, and convert the patch before applying it.  Syntax is
dos2unix hi_160.txt
If that doesn't work, do
dos2unix *
in the folder you extracted the Mame source (and copied the patch) to.  Unfortunately, however, as stated above, this patch does not currently work for SDLMAME, which Arch Linux uses.  (I should know; I'm running Manjaro, an Arch derivative.)  Hopefully this problem will be fixed soon.