wobbly Posted February 14, 2008 Share Posted February 14, 2008 it works on my work computer and I have ultimate vista 64. inside your mame0123 directory you should have three things a Make_Mame64.bat a folder called src and a makefilei have now have C:\MinGW\source\Mame0123\src =artwork = dir ctrlr = dir docs =dir roms = dir samples =lol i downloaded the Binaries by mistake my bad thats what you get for trying things out at 3 am haha Quote Link to comment Share on other sites More sharing options...
wobbly Posted February 14, 2008 Share Posted February 14, 2008 all is good now Quote Link to comment Share on other sites More sharing options...
DJ Infinity Posted February 14, 2008 Share Posted February 14, 2008 all is good now I'm glad this is one helluva app!!! hats off to Headkaze Quote Link to comment Share on other sites More sharing options...
t3ckn0b0y Posted February 14, 2008 Share Posted February 14, 2008 With the 123.u1 hiscore diff file I get an error message when compiling with mame compiler..Never had a problem with previous diff files or versions of mame before..cc1.exe: Warnings being treated as errorssrc/emu/hiscore.c In function 'hiscore_init':src/emu/hiscore.c:388: warning: implicit declarion of function 'timer_adjust_periodic'mingw32-make:***[obj/windows/mame/emu/hiscore.o] Error 1Finished!0 Hours 19 Minutes and 6 Seconds Elapsed. Quote Link to comment Share on other sites More sharing options...
DJ Infinity Posted February 14, 2008 Share Posted February 14, 2008 With the 123.u1 hiscore diff file I get an error message when compiling with mame compiler..Never had a problem with previous diff files or versions of mame before..cc1.exe: Warnings being treated as errorssrc/emu/hiscore.c In function 'hiscore_init':src/emu/hiscore.c:388: warning: implicit declarion of function 'timer_adjust_periodic'mingw32-make:***[obj/windows/mame/emu/hiscore.o] Error 1Finished!0 Hours 19 Minutes and 6 Seconds Elapsed. where'd you get the new diff file? I'll download it and try it. Quote Link to comment Share on other sites More sharing options...
DJ Infinity Posted February 14, 2008 Share Posted February 14, 2008 With the 123.u1 hiscore diff file I get an error message when compiling with mame compiler..Never had a problem with previous diff files or versions of mame before..cc1.exe: Warnings being treated as errorssrc/emu/hiscore.c In function 'hiscore_init':src/emu/hiscore.c:388: warning: implicit declarion of function 'timer_adjust_periodic'mingw32-make:***[obj/windows/mame/emu/hiscore.o] Error 1Finished!0 Hours 19 Minutes and 6 Seconds Elapsed. Works for me I found the diff by googling. I would suggest starting with fresh Mame source apply u1.diff then the highscore.diffLinking vmame.exe...dinput.lib(dilib2.obj) : warning LNK4078: multiple '.text' sections found with different attributes (C0500040)Finished!0 Hours 1 Minutes and 46 Seconds Elapsed. Quote Link to comment Share on other sites More sharing options...
dwight Posted February 16, 2008 Share Posted February 16, 2008 Hi,I'm using v1.11 on a Vista64 machine - thought it was about time I tried to compile my own.If I use the Core2Duo, 64bit, and dual core options I get the error below and no MAME.EXE file, but if I remove the dual core tick, it works fine, any ideas?Deleting Object Folder...Compiling Mame64...Using Parameters -j3 ARCHOPTS="-march=pentium-m -msse3" MSVC_BUILD=1 PTR64=1......mkdir.exe -p obj/windows/vmame/emu/cpu/z80gbmingw32-make: *** [obj/windows/vmame/osd/windows/verinfo.o] Error -99mkdir.exe -p obj/windows/vmame/emu/debugmkdir.exe -p obj/windows/vmame/emu/driversmkdir.exe -p obj/windows/vmame/emu/layoutmingw32-make: *** Waiting for unfinished jobs....mkdir.exe -p obj/windows/vmame/emu/machinemingw32-make: *** [obj/windows/vmame/osd/windows/main.o] Error -99mkdir.exe -p obj/windows/vmame/emu/sound.........Compiling src/osd/windows/main.c...vconv.cFinished!0 Hours 0 Minutes and 2 Seconds Elapsed.Thanks,Dwight Quote Link to comment Share on other sites More sharing options...
DJ Infinity Posted February 17, 2008 Share Posted February 17, 2008 Hi,I'm using v1.11 on a Vista64 machine - thought it was about time I tried to compile my own.If I use the Core2Duo, 64bit, and dual core options I get the error below and no MAME.EXE file, but if I remove the dual core tick, it works fine, any ideas?Deleting Object Folder...Compiling Mame64...Using Parameters -j3 ARCHOPTS="-march=pentium-m -msse3" MSVC_BUILD=1 PTR64=1......mkdir.exe -p obj/windows/vmame/emu/cpu/z80gbmingw32-make: *** [obj/windows/vmame/osd/windows/verinfo.o] Error -99mkdir.exe -p obj/windows/vmame/emu/debugmkdir.exe -p obj/windows/vmame/emu/driversmkdir.exe -p obj/windows/vmame/emu/layoutmingw32-make: *** Waiting for unfinished jobs....mkdir.exe -p obj/windows/vmame/emu/machinemingw32-make: *** [obj/windows/vmame/osd/windows/main.o] Error -99mkdir.exe -p obj/windows/vmame/emu/sound.........Compiling src/osd/windows/main.c...vconv.cFinished!0 Hours 0 Minutes and 2 Seconds Elapsed.Thanks,DwightUmm by the by what kind of processor do you have? I have no problems here. Also if you get error 99 just hit go again Quote Link to comment Share on other sites More sharing options...
dwight Posted February 17, 2008 Share Posted February 17, 2008 Umm by the by what kind of processor do you have? I have no problems here. Also if you get error 99 just hit go again Hi,I have a Core2Duo 3Ghz 65nm processor - the 6850 I think?Should I choose the option for the Pentium4+64bit rather than Core 2 (and putting a tick in the 64bit checkbox), or will the Core2 compile already be 64bit? I'm running Vista 64 bit, so I want to ensure Im running MAME64.Thanks,Dwight. Quote Link to comment Share on other sites More sharing options...
headkaze Posted February 17, 2008 Author Share Posted February 17, 2008 I have a Core2Duo 3Ghz 65nm processor - the 6850 I think?Should I choose the option for the Pentium4+64bit rather than Core 2 (and putting a tick in the 64bit checkbox), or will the Core2 compile already be 64bit? I'm running Vista 64 bit, so I want to ensure Im running MAME64.Did you read what he said? You have to press GO! again. I need to press it 3 times for the 64-bit compile to work Quote Link to comment Share on other sites More sharing options...
dwight Posted February 18, 2008 Share Posted February 18, 2008 Ah, thanks for pointing that out. It did work but took hitting GO 3 times. the last message was an error about multiple .TEXT entires, but this doesnt appear to have affected anything. Quote Link to comment Share on other sites More sharing options...
headkaze Posted February 22, 2008 Author Share Posted February 22, 2008 Version 1.12 Released- Added support for compiling MameUI 32/64 Quote Link to comment Share on other sites More sharing options...
DJ Infinity Posted February 22, 2008 Share Posted February 22, 2008 Version 1.12 Released- Added support for compiling MameUI 32/64Thank you I can't wait to try this out!!! Quote Link to comment Share on other sites More sharing options...
emphatic Posted February 26, 2008 Share Posted February 26, 2008 I request this thread to be a sticky.Emph Quote Link to comment Share on other sites More sharing options...
Adultery Posted February 28, 2008 Share Posted February 28, 2008 I request this thread to be a sticky.EmphYour wish is my command! I hate having to dig for this thread everytime I update anyway. Quote Link to comment Share on other sites More sharing options...
headkaze Posted March 21, 2008 Author Share Posted March 21, 2008 More detailed instructions:1. Install Mame Compiler2. Download the Mame source from mamedev.org (ie. mame0123s.zip)3. Download the Mame binary from mamedev.org (ie. mame0123b.exe)4. Download the hiscore diff patch for the version of Mame here.5. Rename hi_123.txt to hi_123.diff and copy the file into C:\MinGW\patches6. Extract the mame0123s.zip to C:\MinGW\source\Mame01237. Run the mame0123b.exe and extract it to where you want to run Mame (Eg. C:\Emulators\Mame)8. Run Mame Compiler (Start->Program Files->Mame Compiler->MameCompiler)9. Click the [...] button to browse for the "Diff Patch File" and point it to hi_123.diff10. Click the "Apply Patch" button11. Press the "GO!" button to compile Mame12. One it's finished take the mame.exe file from the "C:\MinGW\source\Mame0123" folder and copy it to where you want to run Mame (Eg. C:\Emulators\Mame) and overwrite the one you extracted from mame0123b.exeNOTE: You only need to download the binary if you don't have Mame already setup. Quote Link to comment Share on other sites More sharing options...
eXo Posted April 1, 2008 Share Posted April 1, 2008 I just downloaded this to try it out and found that if I have MameUI checked, it won't compile. Gives a "no such file" error.Works if I uncheck it however.edit: I later downloaded the mameui source and tried compiling that, but got the same error. There is a mameui.mak file in the directory, although the error states there is not one there - .file or folder does not exist'.edit2: I figured out the problem. I didn't realize the mameui code needed to be copied to the regular mames source folder. I thought it was independent. Problem solved, and I hope this is helpful to anyone else who attempts this and has absolutely no idea what they are doing (like me!) Quote Link to comment Share on other sites More sharing options...
ourgrace Posted April 10, 2008 Share Posted April 10, 2008 Hey HK I need some help if you could, any ideas on these errors?src/emu/video.c: In function 'video_frame_update_hi':src/emu/video.c:1496: error: 'video_global' has no member named 'update_in_pause'mingw32-make: *** [obj/windows/mame/emu/video.o] Error 1thanksourgrace Quote Link to comment Share on other sites More sharing options...
bkenobi Posted April 10, 2008 Share Posted April 10, 2008 Is that the entire error, or is there more? Also, you will need to indicate what exactly you are trying to do (compile 64-bit MAME with x, y, and z patches). Quote Link to comment Share on other sites More sharing options...
headkaze Posted April 10, 2008 Author Share Posted April 10, 2008 Yes it looks suspiciously like you've applied the hiscore patches in the wrong order or something Quote Link to comment Share on other sites More sharing options...
ourgrace Posted April 10, 2008 Share Posted April 10, 2008 Thanks guysI got it to work.ourgrace Quote Link to comment Share on other sites More sharing options...
gummi666 Posted April 10, 2008 Share Posted April 10, 2008 Helloi am Compiling mameUI32My Path"s areMinGW FolderD:\MinGWMame Source FolderD:\Program Files\Mame Compiler 64\MameDiff Patch FileD:\MinGW\patches\hi_124.diffand im Using Mame UI SourceMy Compile Options Are Intel Core2Dual CoreMame UIClean Compileand when i click on Apply Patch i get this errorApplying Diff Patch...can't find file to patch at input line 4Perhaps you used the wrong -p or --strip option?The text leading up to this was:--------------------------|diff -r -c -N old/emu/cheat.c src/emu/cheat.c|*** old/emu/cheat.c Tue Mar 11 22:13:04 2008|--- src/emu/cheat.c Mon Mar 24 09:24:23 2008--------------------------File to patch: Skip this patch? [y] Skipping patch.3 out of 3 hunks ignoredcan't find file to patch at input line 40Perhaps you used the wrong -p or --strip option?The text leading up to this was:--------------------------|diff -r -c -N old/emu/cheat.h src/emu/cheat.h|*** old/emu/cheat.h Thu Jan 24 02:12:04 2008|--- src/emu/cheat.h Mon Mar 24 09:24:23 2008--------------------------File to patch: Skip this patch? [y] Skipping patch.1 out of 1 hunk ignoredcan't find file to patch at input line 55Perhaps you used the wrong -p or --strip option?The text leading up to this was:--------------------------|diff -r -c -N old/emu/crsshair.c src/emu/crsshair.c|*** old/emu/crsshair.c Mon Mar 17 05:47:24 2008|--- src/emu/crsshair.c Mon Mar 24 09:24:23 2008--------------------------File to patch: Skip this patch? [y] Skipping patch.1 out of 1 hunk ignoredcan't find file to patch at input line 77Perhaps you used the wrong -p or --strip option?The text leading up to this was:--------------------------|diff -r -c -N old/emu/emu.mak src/emu/emu.mak|*** old/emu/emu.mak Mon Mar 10 19:41:26 2008|--- src/emu/emu.mak Mon Mar 24 09:24:23 2008--------------------------File to patch: Skip this patch? [y] Skipping patch.2 out of 2 hunks ignoredcan't find file to patch at input line 100Perhaps you used the wrong -p or --strip option?The text leading up to this was:--------------------------|diff -r -c -N old/emu/emuopts.c src/emu/emuopts.c|*** old/emu/emuopts.c Sat Feb 2 01:57:40 2008|--- src/emu/emuopts.c Mon Mar 24 09:24:23 2008--------------------------File to patch: Skip this patch? [y] Skipping patch.1 out of 1 hunk ignoredcan't find file to patch at input line 114Perhaps you used the wrong -p or --strip option?The text leading up to this was:--------------------------|diff -r -c -N old/emu/emuopts.h src/emu/emuopts.h|*** old/emu/emuopts.h Sat Jan 5 17:47:42 2008|--- src/emu/emuopts.h Mon Mar 24 09:24:23 2008--------------------------File to patch: Skip this patch? [y] Skipping patch.1 out of 1 hunk ignoredcan't find file to patch at input line 128Perhaps you used the wrong -p or --strip option?The text leading up to this was:--------------------------|diff -r -c -N old/emu/fileio.h src/emu/fileio.h|*** old/emu/fileio.h Sat Jan 5 17:47:42 2008|--- src/emu/fileio.h Mon Mar 24 09:24:23 2008--------------------------File to patch: Skip this patch? [y] Skipping patch.1 out of 1 hunk ignoredThe next patch would create the file old/emu/hiscore.c,which already exists! Skipping patch.1 out of 1 hunk ignored -- saving rejects to file old/emu/hiscore.c.rejThe next patch would create the file old/emu/hiscore.h,which already exists! Skipping patch.1 out of 1 hunk ignored -- saving rejects to file old/emu/hiscore.h.rejcan't find file to patch at input line 563Perhaps you used the wrong -p or --strip option?The text leading up to this was:--------------------------|diff -r -c -N old/emu/mame.c src/emu/mame.c|*** old/emu/mame.c Wed Mar 12 04:06:30 2008|--- src/emu/mame.c Mon Mar 24 09:24:23 2008--------------------------File to patch: Finished!0 Hours 0 Minutes and 0 Seconds Elapsed.Skip this patch? [y] Skipping patch.3 out of 3 hunks ignoredcan't find file to patch at input line 606Perhaps you used the wrong -p or --strip option?The text leading up to this was:--------------------------|diff -r -c -N old/emu/profiler.c src/emu/profiler.c|*** old/emu/profiler.c Sun Mar 9 08:41:18 2008|--- src/emu/profiler.c Mon Mar 24 09:24:23 2008--------------------------File to patch: Skip this patch? [y] Skipping patch.1 out of 1 hunk ignoredcan't find file to patch at input line 620Perhaps you used the wrong -p or --strip option?The text leading up to this was:--------------------------|diff -r -c -N old/emu/profiler.h src/emu/profiler.h|*** old/emu/profiler.h Sat Jan 5 17:47:42 2008|--- src/emu/profiler.h Mon Mar 24 09:24:23 2008--------------------------File to patch: Skip this patch? [y] Skipping patch.1 out of 1 hunk ignoredcan't find file to patch at input line 634Perhaps you used the wrong -p or --strip option?The text leading up to this was:--------------------------|diff -r -c -N old/emu/romload.c src/emu/romload.c|*** old/emu/romload.c Sun Feb 17 23:08:40 2008|--- src/emu/romload.c Mon Mar 24 09:24:23 2008--------------------------File to patch: Skip this patch? [y] Skipping patch.1 out of 1 hunk ignoredcan't find file to patch at input line 669Perhaps you used the wrong -p or --strip option?The text leading up to this was:--------------------------|diff -r -c -N old/emu/ui.c src/emu/ui.c|*** old/emu/ui.c Fri Mar 21 07:51:28 2008|--- src/emu/ui.c Mon Mar 24 09:29:54 2008--------------------------File to patch: Skip this patch? [y] Skipping patch.5 out of 5 hunks ignoredcan't find file to patch at input line 772Perhaps you used the wrong -p or --strip option?The text leading up to this was:--------------------------|diff -r -c -N old/emu/video.c src/emu/video.c|*** old/emu/video.c Sun Mar 23 06:48:44 2008|--- src/emu/video.c Mon Mar 24 09:24:23 2008--------------------------File to patch: Skip this patch? [y] Skipping patch.3 out of 3 hunks ignoredcan't find file to patch at input line 896Perhaps you used the wrong -p or --strip option?The text leading up to this was:--------------------------|diff -r -c -N old/emu/video.h src/emu/video.h|*** old/emu/video.h Wed Mar 19 01:15:38 2008|--- src/emu/video.h Mon Mar 24 09:24:23 2008--------------------------File to patch: Skip this patch? [y] Skipping patch.1 out of 1 hunk ignoredcan't find file to patch at input line 911Perhaps you used the wrong -p or --strip option?The text leading up to this was:--------------------------|diff -r -c -N old/mame/machine/cps2crpt.c src/mame/machine/cps2crpt.c|*** old/mame/machine/cps2crpt.c Mon Feb 25 15:43:38 2008|--- src/mame/machine/cps2crpt.c Mon Mar 24 09:24:23 2008--------------------------File to patch: Skip this patch? [y] Skipping patch.1 out of 1 hunk ignoredcan't find file to patch at input line 936Perhaps you used the wrong -p or --strip option?The text leading up to this was:--------------------------|diff -r -c -N old/osd/osdepend.h src/osd/osdepend.h|*** old/osd/osdepend.h Sat Feb 23 10:46:54 2008|--- src/osd/osdepend.h Mon Mar 24 09:24:23 2008--------------------------File to patch: Skip this patch? [y] Skipping patch.1 out of 1 hunk ignoredcan't find file to patch at input line 950Perhaps you used the wrong -p or --strip option?The text leading up to this was:--------------------------|diff -r -c -N old/osd/windows/video.c src/osd/windows/video.c|*** old/osd/windows/video.c Thu Mar 20 22:02:20 2008|--- src/osd/windows/video.c Mon Mar 24 09:24:23 2008--------------------------File to patch: Skip this patch? [y] Skipping patch.1 out of 1 hunk ignoredcan't find file to patch at input line 983Perhaps you used the wrong -p or --strip option?The text leading up to this was:--------------------------|diff -r -c -N old/osd/windows/window.c src/osd/windows/window.c|*** old/osd/windows/window.c Thu Mar 20 22:02:20 2008|--- src/osd/windows/window.c Mon Mar 24 09:24:23 2008--------------------------File to patch: Skip this patch? [y] Skipping patch.1 out of 1 hunk ignoredcan't find file to patch at input line 1070Perhaps you used the wrong -p or --strip option?The text leading up to this was:--------------------------|diff -r -c -N old/osd/windows/window.h src/osd/windows/window.h|*** old/osd/windows/window.h Sun Mar 16 15:46:58 2008|--- src/osd/windows/window.h Mon Mar 24 09:24:23 2008--------------------------File to patch: Skip this patch? [y] Skipping patch.1 out of 1 hunk ignoredCan Anybody Help Me??Has THis happend to anybody else??Or Im i Just StupidTHx In advance gummi666 Quote Link to comment Share on other sites More sharing options...
bkenobi Posted April 10, 2008 Share Posted April 10, 2008 Do you have the MAME source or the MAMEUI source in the compiler's directory? This is designed to work with vanilla MAME, but if you add the extra components that MAMEUI needs, you should be able to get it working (according to reports in this thread). I suggest reading this entire thread as I think it has been answered. Quote Link to comment Share on other sites More sharing options...
emphatic Posted April 22, 2008 Share Posted April 22, 2008 Does anyone know of a .diff patch that integrates Autofire (from MAMEUI+) into the MAME source? It would be nice to have that in the builds you can do now. It's the one thing I miss about "other" builds.Emph Quote Link to comment Share on other sites More sharing options...
Fen Posted July 1, 2008 Share Posted July 1, 2008 Hi all,I wonder if anyone could help me understand this, I don't know the first thing about compiling! I'm using this mainly in the hope of removing the annoying message prompts in mame.I've followed the instructions, using the latest mame source and hi_125.diff through to hi_125u7.diff. When I pressed go, compiling seems to be going on and it takes a while. At the end I get a bunch of video errors, but they appear after the process says it is 'finished'. Also, only the first patch file seems to anything; all the others produce messages about 'skipping' the patch.After all this, I can't find the newly compiled mame exe in C:\MinGW\source\Mame0125. Am i missing a step? Sorry for my ignorance!Thanks for any help in advance,Fen Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.