dgame
Trade Count:
( 0)
Full Member
 
Offline
Posts: 84
|
 |
« Reply #320 on: June 14, 2009, 03:15:53 PM » |
|
The idea is to patch the MAME source code with the hiscore diff BEFORE compiling. It is the same as Mr.Do’s "Apply the "u" Update DIFFs" procedure except use your “hi_32” instead of the 0119u1 in his example. C:\mamesrc\ >patchmame hi_132 http://mrdo.mameworld.info/compile.html
|
|
|
|
|
Logged
|
|
|
|
acevedor2
Trade Count:
( 0)
Full Member
 
Offline
Posts: 375
|
 |
« Reply #321 on: June 14, 2009, 03:47:43 PM » |
|
That makes sense! Light bulb goes on.
I still have the question about patch.exe. That file is not in the mamesrc directory when everything is unzipped as it should be.
Patchmame.bat is there, but in the screen shot on Mr. Do's website, it shows the patch.exe file in the directory as well. Any ideas about that particular file? I can't seem to find it anywhere, or even know if should be in there at all.
Thanks again for all of the help!
|
|
|
|
|
Logged
|
Dedicated - Working: Asteroids Deluxe Firefox Galaxian Pacman Viruta Fighter 2 Zombie Raid Pool Sharks - Pinball
Projects: Pole Position Pole Position 2
|
|
|
dgame
Trade Count:
( 0)
Full Member
 
Offline
Posts: 84
|
 |
« Reply #322 on: June 14, 2009, 04:04:34 PM » |
|
Those screen shots are old.
If you look inside patchmame.bat you will see this:
set path=c:\mingw\bin
patch -p0 -E <%1.diff
The set line means the patch.exe in the c:\mingw\bin folder will be used.
patch.exe does not need to be in the MAME source folder.
|
|
|
|
|
Logged
|
|
|
|
acevedor2
Trade Count:
( 0)
Full Member
 
Offline
Posts: 375
|
 |
« Reply #323 on: June 14, 2009, 06:41:46 PM » |
|
Thanks! That answers it. Lastly even when I rename the txt file to diff, i.e. hi_132.txt to hi_132.diff, it still shows up as a txt file. I am not trying to make this any more difficult than it needs to be - it is as simple as just right clicking the downloaded file and clicking rename and then typing in hi_132.diff - correct? Is it also normal for the diff file to be so small? I think the one for 132 is only 30k. 
|
|
|
|
|
Logged
|
Dedicated - Working: Asteroids Deluxe Firefox Galaxian Pacman Viruta Fighter 2 Zombie Raid Pool Sharks - Pinball
Projects: Pole Position Pole Position 2
|
|
|
DeLuSioNal29
Trade Count:
( +1)
Full Member
 
Offline
Posts: 1190
ARCADES: Anything is possible-"There is no Spoon"
|
 |
« Reply #324 on: June 14, 2009, 08:27:38 PM » |
|
It may be that Windows is set to "Hide extensions for known file types". You can fix this (in Win XP) by double clicking my computer and then clicking on the "Tools" menu and then "Folder options". Then click on the "View" tab. Under advanced settings, you should NOT have a check box next to "Hide extensions for known file types".
Hope this helped.
~ DeLuSioNaL
|
|
|
|
|
Logged
|
|
|
|
Kman-Sweden
Trade Count:
( 0)
Full Member
 
Offline
Posts: 257
Up the Irons!
|
 |
« Reply #325 on: June 15, 2009, 01:41:23 AM » |
|
Hi everyone.
So I compiled my own mameuifx32 today. Does anyone know how I update my old mameuifx32? Should I delete the old .ini file and replace my .exe file? Is that it? Is there a better way?
Thanx!
|
|
|
|
|
Logged
|
|
|
|
jholman76
Trade Count:
( 0)
Full Member
 
Offline
Posts: 78
|
 |
« Reply #326 on: June 22, 2009, 09:03:07 AM » |
|
I was able to compile 132 the other night, but I found some of my games didnt work, so I'm going down to 124, which
is what I was using before.
I tried to compile .124 with mameUI. I followed the steps on the first post with the right versions of source/UI,
etc (124) and tried to compile. I get the following error about 8 minutes in:
Compiling src/osd/winui/winui.c... src/osd/winui/winui.c: In function 'MamePlayBackGame': src/osd/winui/winui.c:5546: error: 'inp_header' has no member named 'header' src/osd/winui/winui.c:5551: error: 'inp_header' has no member named 'majversion' Finished! 0 Hours 8 Minutes and 47 Seconds Elapsed. src/osd/winui/winui.c:5551: error: 'INP_HEADER_MAJVERSION' undeclared (first use in this function) src/osd/winui/winui.c:5551: error: (Each undeclared identifier is reported only once src/osd/winui/winui.c:5551: error: for each function it appears in.) src/osd/winui/winui.c:5559: error: 'inp_header' has no member named 'gamename' mingw32-make: *** [obj/winui/mame/osd/winui/winui.o] Error 1
I tried using the mameUI source for 124 and 124.5. am I missing something or do i just have to try .2,.3, and .4 of
the UI source to see what one works for 124? It is a fresh download from mamedev.org.
Also, since 124 is an older version, I dont have to do any supplemental patches right?
Thanks for any input.
Joe
|
|
|
|
|
Logged
|
|
|
|
MKChamp
Trade Count:
( +1)
Full Member
 
Offline
Posts: 354
I'm a llama!
|
 |
« Reply #327 on: June 22, 2009, 05:01:06 PM » |
|
I don't believe that would be caused by the patch. Try downloading the source and compiling it without applying any patch and see what results you get. If it compiles fine, try applying the hiscore patch....be sure you use the right patch for whatever version you are going to compile. Let us know how it goes!
|
|
|
|
|
Logged
|
|
|
|
jholman76
Trade Count:
( 0)
Full Member
 
Offline
Posts: 78
|
 |
« Reply #328 on: June 23, 2009, 10:16:12 AM » |
|
I don't believe that would be caused by the patch. Try downloading the source and compiling it without applying any patch and see what results you get. If it compiles fine, try applying the hiscore patch....be sure you use the right patch for whatever version you are going to compile. Let us know how it goes!
I may try it again, but I just updated my rom set to .132 tonight and since I was able to compile .132 sucessfully, I might just roll with that. I spend enough time just going through and picking the games I want. No need to fight with compiling when I got one to work already. I'll let you know if I fix the error though. Thanks for the reply! joe
|
|
|
|
|
Logged
|
|
|
|
Ond
Trade Count:
( 0)
Full Member
 
Offline
Posts: 254
|
 |
« Reply #329 on: July 05, 2009, 11:30:18 PM » |
|
Just wanted to say thanks to MKChamp for keeping this up-to-date, I live in hope for a Mame release which lets me run Surf Planet without audio glitches. If anyone has Surf Planet running really smoothly (audio wise) can they let me know please?  Ond
|
|
|
|
|
Logged
|
|
|
|
rooter
Trade Count:
( 0)
Full Member
 
Offline
Posts: 105
|
 |
« Reply #330 on: July 08, 2009, 12:43:55 PM » |
|
I'm following the instructions that are linked in the first post. However, on step 4 where I download the MameUI source code, the site requires that I be a member of FilePlanet, which is a pay site. Does anyone know another place to get the source? Google is only finding me the binaries.
|
|
|
|
|
Logged
|
|
|
|
headkaze
Trade Count:
( 0)
Full Member
 
Offline
Posts: 2172
0x2b|~0x2b?
|
 |
« Reply #331 on: July 08, 2009, 12:56:21 PM » |
|
rooter: You don't have to pay you just need to register and use one of their free download severs.
|
|
|
|
|
Logged
|
|
|
|
njay
Trade Count:
( 0)
Full Member
 
Offline
Posts: 133
I want to build my own arcade controls!
|
 |
« Reply #332 on: July 11, 2009, 09:09:54 AM » |
|
yo headkaze, your app rocks just compiled my first mame version
|
|
|
|
|
Logged
|
|
|
|
cboy
Trade Count:
( 0)
Full Member
 
Offline
Posts: 111
|
 |
« Reply #333 on: July 16, 2009, 07:21:57 PM » |
|
I'm not sure im doing this right....i downloaded 131 source (this is why my romset is), hi_130u3.diff and followed mr do's instructions to the letter
it seems to have compiled correctly but did i miss that i need to compile u1,u2 diffs before i need to do 3?
i also noticed its 130u3 and not 131
is this ok?
|
|
|
|
« Last Edit: July 16, 2009, 07:24:48 PM by cboy »
|
Logged
|
|
|
|
cboy
Trade Count:
( 0)
Full Member
 
Offline
Posts: 111
|
 |
« Reply #334 on: July 16, 2009, 10:50:09 PM » |
|
ok seems that ive compiled it correctly all the games play!!
|
|
|
|
« Last Edit: July 17, 2009, 01:55:02 AM by cboy »
|
Logged
|
|
|
|
njay
Trade Count:
( 0)
Full Member
 
Offline
Posts: 133
I want to build my own arcade controls!
|
 |
« Reply #335 on: July 17, 2009, 03:34:46 AM » |
|
well the guide states you must add the diffs from u1 to u4 then compile it
|
|
|
|
|
Logged
|
|
|
|
MKChamp
Trade Count:
( +1)
Full Member
 
Offline
Posts: 354
I'm a llama!
|
 |
« Reply #336 on: July 17, 2009, 09:18:52 AM » |
|
Confusion...I believe he was talking about the hiscore diffs and not the u release source diffs.
Cboy...hi_130u3.txt is the right one to use for 131 source. The reason it is called hi_130u3 is because that was the actual version the patch had to be created due to mame source changes. I should probably go and rename all the patches to reflect the actual version....I'll do that now ;-)
|
|
|
|
|
Logged
|
|
|
|
cboy
Trade Count:
( 0)
Full Member
 
Offline
Posts: 111
|
 |
« Reply #337 on: July 17, 2009, 01:43:01 PM » |
|
MKChamp - Thanks for the reply and this post.
This is pretty awesome, makes it a much more cleaner looking interface now.
I did notice that Toobin seems to not work (game loads but wont start even with lots of credits) kinda weird.
|
|
|
|
|
Logged
|
|
|
|
MKChamp
Trade Count:
( +1)
Full Member
 
Offline
Posts: 354
I'm a llama!
|
 |
« Reply #338 on: July 17, 2009, 03:26:56 PM » |
|
Toobin' uses the 'throw' button to start. By default, it should be mapped to ctrl for player 1. Take a look at your menu (tab -> Input(This Game)) and see what the 'throw' is mapped to. This will get the game started.
|
|
|
|
|
Logged
|
|
|
|
cboy
Trade Count:
( 0)
Full Member
 
Offline
Posts: 111
|
 |
« Reply #339 on: July 18, 2009, 02:37:16 AM » |
|
ah hah! thanks again!
|
|
|
|
|
Logged
|
|
|
|
GaryMcT
Trade Count:
( +1)
Full Member
 
Offline
Posts: 689
|
 |
« Reply #340 on: July 20, 2009, 02:51:49 AM » |
|
I made a version of this patch that is just the no nag/white box removal (without the hiscore diff) so that I can use it with cabmame cleanly since it appears to already have hiscore support. Should I post this version of the diffs? Anyone interested?
Thanks! Gary
|
|
|
|
|
Logged
|
|
|
|
mh12
Trade Count:
( 0)
Full Member
 
Offline
Posts: 47
|
 |
« Reply #341 on: July 21, 2009, 11:44:19 AM » |
|
..nevermind!
|
|
|
|
« Last Edit: July 29, 2009, 05:46:02 PM by mh12 »
|
Logged
|
|
|
|
atomikbohm
Trade Count:
( +2)
Full Member
 
Offline
Posts: 92
|
 |
« Reply #342 on: July 22, 2009, 06:31:10 PM » |
|
GaryMcT, are you sure Cabmame has high score support? There is no mention of it on SailorSat's English Overview http://community.arcadeinfo.de/showthread.php?t=9555I made a version of this patch that is just the no nag/white box removal (without the hiscore diff) so that I can use it with cabmame cleanly since it appears to already have hiscore support. Should I post this version of the diffs? Anyone interested?
Thanks! Gary
|
|
|
|
|
Logged
|
|
|
|
GaryMcT
Trade Count:
( +1)
Full Member
 
Offline
Posts: 689
|
 |
« Reply #343 on: July 22, 2009, 06:32:29 PM » |
|
GaryMcT, are you sure Cabmame has high score support? There is no mention of it on SailorSat's English Overview http://community.arcadeinfo.de/showthread.php?t=9555I made a version of this patch that is just the no nag/white box removal (without the hiscore diff) so that I can use it with cabmame cleanly since it appears to already have hiscore support. Should I post this version of the diffs? Anyone interested?
Thanks! Gary
Pretty sure. There are a bunch of diffs there adding something related to hiscores that conflicted with the hiscore diffs here.
|
|
|
|
|
Logged
|
|
|
|
LeedsFan
Trade Count:
( 0)
Full Member
 
Offline
Posts: 446
|
 |
« Reply #344 on: July 28, 2009, 10:55:50 AM » |
|
I'm totally new to this. When I right click on the links in the OP I don't get an option to "Save as". I only get an option to "Save link as" and I end up with a .txt file and not a .diff file. Is this correct? 
|
|
|
|
|
Logged
|
|
|
|
MKChamp
Trade Count:
( +1)
Full Member
 
Offline
Posts: 354
I'm a llama!
|
 |
« Reply #345 on: July 28, 2009, 04:07:41 PM » |
|
It really doesn't matter the extention as long as you 'call' it correctly when applying. (at least I wouldn't think it would matter).
|
|
|
|
|
Logged
|
|
|
|
garnerb350
Trade Count:
( 0)
Full Member
 
Offline
Posts: 563
Crowded elevators smell different to midgets...
|
 |
« Reply #346 on: August 05, 2009, 07:47:32 AM » |
|
MKChamp... Sorry if this question is stupid...but I just got Misfitmame (still has the new car scent)...Can this be done also on Misfitmame?  (I just got it yesterday...playing D2K...other games eventually) When i first played it, i forgot all about the nag screen...
|
|
|
|
|
Logged
|
“If first you don't succeed, then skydiving definitely isn't for you..." ~ Jack Handy
|
|
|
MKChamp
Trade Count:
( +1)
Full Member
 
Offline
Posts: 354
I'm a llama!
|
 |
« Reply #347 on: August 05, 2009, 03:48:21 PM » |
|
MKChamp... Sorry if this question is stupid...but I just got Misfitmame (still has the new car scent)...Can this be done also on Misfitmame?  (I just got it yesterday...playing D2K...other games eventually) When i first played it, i forgot all about the nag screen... It *should*...I've never tried it. Easy to do, though. I believe the last time misfitmame was updated was for 127...so... 1) Get the mame source for 127 2) Get the misfitmame source for 127 3) Apply misfitmame source to core mame source 4) Download the hi_127a.txt and patch away! Let me know if it worked...
|
|
|
|
|
Logged
|
|
|
|
GaryMcT
Trade Count:
( +1)
Full Member
 
Offline
Posts: 689
|
 |
« Reply #348 on: August 05, 2009, 03:54:51 PM » |
|
GaryMcT, are you sure Cabmame has high score support? There is no mention of it on SailorSat's English Overview http://community.arcadeinfo.de/showthread.php?t=9555I made a version of this patch that is just the no nag/white box removal (without the hiscore diff) so that I can use it with cabmame cleanly since it appears to already have hiscore support. Should I post this version of the diffs? Anyone interested?
Thanks! Gary
Pretty sure. There are a bunch of diffs there adding something related to hiscores that conflicted with the hiscore diffs here. Looks like the cabmame hiscore diffs are inferior to the ones here (at least I think they are. . doesn't seem to be saving hi scores for some games). I need to take the opposite approach and remove all the hiscore stuff from cabmame and then apply these patches. 
|
|
|
|
|
Logged
|
|
|
|
atomikbohm
Trade Count:
( +2)
Full Member
 
Offline
Posts: 92
|
 |
« Reply #349 on: August 05, 2009, 06:06:18 PM » |
|
Gary, I'd be intrested in getting a copy of that, though you might want to ask sailorsat for help. Probally cut your time investment down to almost nothing. Looks like the cabmame hiscore diffs are inferior to the ones here (at least I think they are. . doesn't seem to be saving hi scores for some games). I need to take the opposite approach and remove all the hiscore stuff from cabmame and then apply these patches. 
|
|
|
|
|
Logged
|
|
|
|
GaryMcT
Trade Count:
( +1)
Full Member
 
Offline
Posts: 689
|
 |
« Reply #350 on: August 05, 2009, 06:32:47 PM » |
|
Gary, I'd be intrested in getting a copy of that, though you might want to ask sailorsat for help. Probally cut your time investment down to almost nothing. Looks like the cabmame hiscore diffs are inferior to the ones here (at least I think they are. . doesn't seem to be saving hi scores for some games). I need to take the opposite approach and remove all the hiscore stuff from cabmame and then apply these patches.  I won't bother her with this. It shouldn't take me long once I get to it. Yay for "Beyond Compare"! 
|
|
|
|
|
Logged
|
|
|
|
atomikbohm
Trade Count:
( +2)
Full Member
 
Offline
Posts: 92
|
 |
« Reply #351 on: August 06, 2009, 12:58:31 AM » |
|
Great to hear I doubt that I'll be the only one interested in this patch. Keep up the good work Gary, sailorsat and the hiscore team!!! 
|
|
|
|
|
Logged
|
|
|
|
Kman-Sweden
Trade Count:
( 0)
Full Member
 
Offline
Posts: 257
Up the Irons!
|
 |
« Reply #352 on: August 06, 2009, 03:33:55 AM » |
|
I made a version of this patch that is just the no nag/white box removal (without the hiscore diff) so that I can use it with cabmame cleanly since it appears to already have hiscore support. Should I post this version of the diffs? Anyone interested?
Thanks! Gary
I'd like to have that.. I use MameUIFX32 and that also has the Hiscore support in it already. When I compiled my latest copy it complained about it but it patched the NoNag nicely anyway. 
|
|
|
|
|
Logged
|
|
|
|
pitufo
Trade Count:
( 0)
Jr. Member

Offline
Posts: 3
|
 |
« Reply #353 on: September 09, 2009, 05:41:30 AM » |
|
undefined symbols: "_osd_update_hi", referenced from: _video_frame_update_hi in libemu.a(video.o) ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [mame] Error 1
sdlmame 132, hi_txt 132
Did you do a clean compile? I haven't tried to compile sdlmame...maybe someone else can confirm that the patch works ok for that derivitive. Yup, I did a clean compile, the problem for sdlmame is that osd_update_hi doesn't exist in the osd driver for sdl as explain in : http://forum.arcadecontrols.com/index.php?topic=64298.msg953651#msg953651the quick and dirty way to resolve the issue is to copy/paste the osd_update function and rename the copy to osd_update_hi but this won't remove the white boxes.
|
|
|
|
|
Logged
|
|
|
|
Stormrider
Trade Count:
( 0)
Full Member
 
Offline
Posts: 240
|
 |
« Reply #354 on: October 04, 2009, 01:52:10 AM » |
|
Could you please be so kind to tell me what files have to me modified and how in order to remove the loading screens as well as the whitebox. I don't like applying diffs and I would prefer to do it manually. Are they simple changes (like with the OK screens) or do I have to replace lots of lines and add/remove other lines of code? Thanx.
|
|
|
|
|
Logged
|
|
|
|
jasonbar
Trade Count:
( +5)
Full Member
 
Offline
Posts: 796
Dr. Inferno
|
 |
« Reply #355 on: October 04, 2009, 12:01:03 PM » |
|
Question on the mechanics of the high score writing.
Exactly when does a patched MAME write to the file in the hi folder?
As soon as a game is over? When exiting MAME? If I power off my machine without exiting MAME, will the high score get written?
I ask because a few of my high scores lately have not shown up on the next launch of the same game & I haven't been able to figure out the cause.
Thanks! -Jason
|
|
|
|
|
Logged
|
|
|
|
MKChamp
Trade Count:
( +1)
Full Member
 
Offline
Posts: 354
I'm a llama!
|
 |
« Reply #356 on: October 04, 2009, 01:06:32 PM » |
|
Could you please be so kind to tell me what files have to me modified and how in order to remove the loading screens as well as the whitebox. I don't like applying diffs and I would prefer to do it manually. Are they simple changes (like with the OK screens) or do I have to replace lots of lines and add/remove other lines of code? Thanx.
Download the patch and open up in wordpad or notepad. Do a search for MKCHAMP. I have commented every change so it would be easy for you to manually add them in...and know what you are adding :-)
|
|
|
|
|
Logged
|
|
|
|
MKChamp
Trade Count:
( +1)
Full Member
 
Offline
Posts: 354
I'm a llama!
|
 |
« Reply #357 on: October 04, 2009, 01:07:47 PM » |
|
Question on the mechanics of the high score writing.
Exactly when does a patched MAME write to the file in the hi folder?
As soon as a game is over? When exiting MAME? If I power off my machine without exiting MAME, will the high score get written?
I ask because a few of my high scores lately have not shown up on the next launch of the same game & I haven't been able to figure out the cause.
Thanks! -Jason
The scores are saved when you exit the game. So, if you power off the machine without 'exiting' MAME, the scores will not be saved.
|
|
|
|
|
Logged
|
|
|
|
Stormrider
Trade Count:
( 0)
Full Member
 
Offline
Posts: 240
|
 |
« Reply #358 on: October 05, 2009, 05:25:40 AM » |
|
I have been able to remove the loading messages editing romload.c and deleting this block of text:
char buffer[200];
if (name != NULL) sprintf(buffer, "Loading (%d%%)", (UINT32)(100 * (UINT64)romdata->romsloadedsize / (UINT64)romdata->romstotalsize)); else sprintf(buffer, "Loading Complete");
ui_set_startup_text(romdata->machine, buffer, FALSE);
and this one too:
/* final status display */ display_loading_rom_message(romdata, NULL);
/* if we had errors, they are fatal */ if (romdata->errors != 0) { const char *rgntag, *nextrgntag;
/* clean up any regions */ for (rgntag = memory_region_next(romdata->machine, NULL); rgntag != NULL; rgntag = nextrgntag) { nextrgntag = memory_region_next(romdata->machine, rgntag); memory_region_free(romdata->machine, rgntag); }
/* create the error message and exit fatally */ mame_printf_error("%s", astring_c(romdata->errorstring)); astring_free(romdata->errorstring); fatalerror_exitcode(romdata->machine, MAMERR_MISSING_FILES, "ERROR: required files are missing, the "GAMENOUN" cannot be run."); }
/* if we had warnings, output them, but continue */ if (romdata->warnings) { astring_catc(romdata->errorstring, "WARNING: the "GAMENOUN" might not run correctly."); mame_printf_warning("%s\n", astring_c(romdata->errorstring)); }
Also, I edited mame.c and deleted this line:
ui_set_startup_text(machine, "Initializing...", TRUE);
I already had the nag screens mod applied, but I'll mention in case anyone is interested.
In mame.c change:
ui_display_startup_screens(machine, firstrun, !settingsloaded);
with
ui_display_startup_screens(machine, !firstrun, settingsloaded);
What I have not been able to get rid of is the white box. Could you please tell me how to remove it? Thanx.
|
|
|
|
« Last Edit: October 05, 2009, 05:28:04 AM by Stormrider »
|
Logged
|
|
|
|
Kman-Sweden
Trade Count:
( 0)
Full Member
 
Offline
Posts: 257
Up the Irons!
|
 |
« Reply #359 on: October 05, 2009, 05:56:24 AM » |
|
I have been able to remove the loading messages editing romload.c and deleting this block of text: . . .
What I have not been able to get rid of is the white box. Could you please tell me how to remove it? Thanx.
Hi. Could you post pics of "loading messages" and "white box"? I for one don't know what they refer to.
|
|
|
|
|
Logged
|
|
|
|
|