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

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


  

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

0 Members and 2 Guests are viewing this topic.

pottzman

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #840 on: April 16, 2014, 08:20:37 pm »
I put the 153 patch link over to http://forum.arcadecontrols.com/index.php?action=dlattach;topic=135823.0;attach=307416

Whoever updated the patch to work in 153, thanks...I was out of town and it saved me time!

Hi MKChamp,

I've always appreciated your work with the hiscore support but this latest version 153 has a problem. It does not save any changes to the mame.ini file. If I use the standard mameui64 the default mame options save fine but if I compile mameui64 and include your hiscore patch I can change the default mame options but they do not seem to save the changes to the mame.ini file. This is the first version of your patch that I have had any problem with. Just wondering if it is just me that is having this problem or not.

thanks in advance

pottzman

DoTheDonkeyKonga

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #841 on: April 17, 2014, 07:07:13 pm »
Hi guys,

Did anyone manage to save the hiscore_149 patch by any chance?

I don't think I've got the time or the will to update my romset to the latest build and I was hoping on compiling a hiscore/nonag version of mame with load state messages also removed - which is also why I can't just opt for a pre-compiled hiscore 149 as I need to edit the source myself before compiling.

Please somebody tell me I'm in luck!
--* Reliably Unreliable *--

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • ZSystem
Re: hiscore diff (with no nag/white box removal)
« Reply #842 on: April 18, 2014, 02:17:08 am »
Just wondering if the "disable_loading_patch" is known to cause video settings being lost.

While helping Lord-Data, He uncovered this problem. And I found this reference & workaround:
http://www.mameworld.info/ubbthreads/showflat.php?&Number=297976

Looking at the patch, There doesn't seem to be much to this section. I'll look into it & see if I can find something.

Ok, Just to follow up on this post. This is regarding SDLMAME. it does not affect Windows builds of Mame.

Turns out, The "disable_loading_patch" does not work under SDLMame - Because there is no code for it.

After creating my own version, I happened across this post. I wish I had found the post 1st....
Thanks MKChamp, Glad to see I was on the right track! Even though I just reinvented the wheel....
https://forum.arcadecontrols.com/index.php/topic,64298.msg1110111.html#msg1110111

Also to note is Bitbytebit post and patch.
https://forum.arcadecontrols.com/index.php/topic,64298.msg1115992.html#msg1115992

However this is not the end of the tale.
There is a bug attached to the missing SDL code base and to Bitbytebit's patch.

Bug:
When
Code: [Select]
&window->get_primitives(window) is not executed then game.ini is reset to default.

Occurrence:
1. When Disable Loading Screen is enabled on SDLMame (There is no SDL Code branch for this option)
2. If Bitbytebit's patch is used, The code containing the above line is commented out - resulting in the bug.

Reproduce:
1. load game eg. gyruss
2. go to video options and set to cocktail and exit game.
3. load game and exit game again.
4. load game once more and observe the video mode has reset.

Followup to this next post
« Last Edit: April 18, 2014, 06:27:21 am by ozfalcon »

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • ZSystem
Re: hiscore diff (with no nag/white box removal)
« Reply #843 on: April 18, 2014, 03:50:05 am »
I have added the SDL code for the disable_loading_patch and it now operates correctly without any bugs.
It is integrated in the same fashion as the windows update_hi code.
No other changes have been made to the way Hi Score patch operates.
Note: New sections are labeled OzFalcon for easy identification, They are just copies of MKChamps code
modified for SDL by me and no credit is meant to be assumed by the labeling.

Changes:
/src/osd/sdl/video.c  --> Added update_hi
/src/osd/sdl/window.c  --> Added sdlwindow_video_window_update_hi
/src/osd/sdl/window.h  --> Declare sdlwindow_video_window_update_hi
/src/osd/sdl/osdsdl.h  --> Declare update_hi

New Hi Score Patch is attached as zip.
Just to clarify, The SDL code has been included in this patch.
It is a complete Hi Score patch for both Windows and SDL Mame.

This patch was built with Calamity's 0.153 updated hi score patch ( 'global_free' ---> 'global_free_array').
http://forum.arcadecontrols.com/index.php/topic,135823.msg1432446.html#msg1432446
« Last Edit: April 18, 2014, 07:51:13 am by ozfalcon »

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • ZSystem
« Last Edit: April 18, 2014, 06:28:36 am by ozfalcon »

Calamity

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3486
Re: hiscore diff (with no nag/white box removal)
« Reply #845 on: April 18, 2014, 08:52:07 am »
Did anyone manage to save the hiscore_149 patch by any chance?

I'm posting the ones that I still keep in my hd, in case they can be of help.

Calamity

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3486
Re: hiscore diff (with no nag/white box removal)
« Reply #846 on: April 18, 2014, 09:00:26 am »
Just to clarify, The SDL code has been included in this patch.

Hi ozfalcon, thanks a lot for the fix. It would be great news for me if MKChamp adopted the SDL bits in his patch so I can remove those from the GroovyMAME patch.


DoTheDonkeyKonga

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #847 on: April 18, 2014, 09:21:03 am »
I'm posting the ones that I still keep in my hd, in case they can be of help.

Calamity you are a living legend! Thank you  :notworthy:
--* Reliably Unreliable *--

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • ZSystem
Re: hiscore diff (with no nag/white box removal)
« Reply #848 on: April 18, 2014, 02:11:14 pm »
Here are some more older patches:


ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • ZSystem
Re: hiscore diff (with no nag/white box removal)
« Reply #849 on: April 18, 2014, 03:27:45 pm »
Just to clarify, The SDL code has been included in this patch.

Hi ozfalcon, thanks a lot for the fix. It would be great news for me if MKChamp adopted the SDL bits in his patch so I can remove those from the GroovyMAME patch.

Yes, It would be good for me also if this sdl code was included in the base Hi Score patch. Makes building upon it easier.

pottzman

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #850 on: April 20, 2014, 12:06:04 pm »
so just to clarify is anybody having the same issue as me with mame 153 hiscore patch?

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • ZSystem
Re: hiscore diff (with no nag/white box removal)
« Reply #851 on: April 20, 2014, 08:08:32 pm »
so just to clarify is anybody having the same issue as me with mame 153 hiscore patch?

 If I use the standard mameui64 the default mame options save fine but if I compile mameui64 and include your hiscore patch I can change the default mame options but they do not seem to save the changes to the mame.ini file.

Standard Mame doesn't change the mame.ini file and the Hi Score patch doesn't effect this in any way.
This appears to be a function of MameUI - Which as you say - Is broken when you apply the Hi Score patch.
You need to follow up on the MameUI forums as to what code in MameUI needs to change for it to work.
« Last Edit: April 21, 2014, 12:17:02 am by ozfalcon »

trickyd

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #852 on: April 20, 2014, 08:27:47 pm »
This issue is known as 153 is quite buggy and a new 153.1 uisorce has been released. If your having problems still just edit .ini in the ini folder and that will save the changes.

abelenki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 63
    • MAME Stuff
Re: hiscore diff (with no nag/white box removal)
« Reply #853 on: April 27, 2014, 05:43:38 am »
sorry about files couldn't be downloaded.

now i paid for domain, and files should be back on-line in one day or so.
MAME favorites | Bubble Bobble Series chart / wiki | PC configuration

abelenki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 63
    • MAME Stuff
Re: hiscore diff (with no nag/white box removal)
« Reply #854 on: April 27, 2014, 07:47:02 am »
That domain actually belong to abelenki. I would ftp the files there. The only two files I have on my local pc is the latest (153) and the one previous to that. Unless abelenki can get that domain back up or anyone else had a copy of ALL the other files...looks like they will be gone with the wind.

sorry for the inconvenience once again. i had serious life problems, and couldn't update the domain.

MKChamp, now everything is back, so you can use FTP as you did.

p.s.: for someone, it can take more time when DNS is updated.
« Last Edit: April 27, 2014, 07:50:28 am by abelenki »
MAME favorites | Bubble Bobble Series chart / wiki | PC configuration

Tzakiel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 197
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #855 on: May 01, 2014, 11:06:43 pm »
I'm able to report that with the latest hiscore.dat, saving hiscores now works for the newer CAVE SH-3 games like ESPgaluda II, dai fukkatsu, etc.
My Fighter CRT Cabinet Thread: Tzakiel's 2P Cabinet

MKChamp

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 443
  • I'm a llama!
Re: hiscore diff (with no nag/white box removal)
« Reply #856 on: May 05, 2014, 11:23:58 am »
MKChamp, now everything is back, so you can use FTP as you did.

Thanks abelenki! And the world turns....

trickyd

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #857 on: May 06, 2014, 08:51:55 pm »
Tried to compile mame from the ume153ex2 source had multiple errors

cugel

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
Re: hiscore diff (with no nag/white box removal)
« Reply #858 on: May 18, 2014, 09:31:15 am »
Hello all,

I'm still with a problem with recent version, highscore doesn’t works

Ubuntu 14.04
mame 0.153 + patch
hiscore.dat in mame directory (config directory) + directory hi

Maybe I missed something ?

No problem with nomag

cugel

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
Re: hiscore diff (with no nag/white box removal)
« Reply #859 on: May 19, 2014, 12:44:26 pm »
The problem is here

+    state.mem_range = NULL;
+    emu_file f(OPEN_FLAG_READ);
+      filerr = f.open("hiscore", ".dat");

If I try mame with command line, like this
mame /roms/1943.zip -> No problem with Highscore

But behind a fronted the file hiscore.dat seem never open ...

So, I changed this line by

f.open("/games/roms/hiscore", ".dat");

And it works !
Perhaps the best way to definitely fix this problem (at least with Linux) should be to add an option in mame.ini ? Something like hiscoredatpath 

Fred

bigrap75

  • Trade Count: (0)
  • Newbie
  • *
  • Offline Offline
  • Posts: 1
  • I want to build my own arcade controls!
Re: hiscore diff (with no nag/white box removal)
« Reply #860 on: May 27, 2014, 11:22:56 am »
Hello everyone, this is my first time in this forum and I was wondering is there a way I can save my hi scores in the mame32 103u2 version or do I have to upgrade to the latest version of Mame? Thanks!!! :)

Benzinbruder

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 62
  • I want to build my own arcade cabinet!
Re: hiscore diff (with no nag/white box removal)
« Reply #861 on: June 07, 2014, 11:14:42 am »
@bigrap75: There's no support for highscores for mame v.103, so you should probably upgrade.

I tried compiling the source today, unluckily I was very unlucky doing it.
Any ideas what could have gone wrong? I followed Mr. Do's instructions quite carefully.  ???

EDIT:
Found the solution myself the second after posting this...
I had only copied the contents of the mingw64-w64 folder into my MinGW directory. Thought I'd only need the 64-bit part.
Now there's both mingw64-w64 and mingw64-w32 in the MinGW directory. Compiling...
« Last Edit: June 07, 2014, 11:19:51 am by Benzinbruder »

  
 

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