Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted
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 makefile

i 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 :lol:

Posted

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 errors

src/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 1

Finished!

0 Hours 19 Minutes and 6 Seconds Elapsed. :blink:

Posted
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 errors

src/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 1

Finished!

0 Hours 19 Minutes and 6 Seconds Elapsed. :blink:

where'd you get the new diff file? I'll download it and try it.

Posted
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 errors

src/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 1

Finished!

0 Hours 19 Minutes and 6 Seconds Elapsed. :blink:

Works for me I found the diff by googling. I would suggest starting with fresh Mame source apply u1.diff then the highscore.diff

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

Posted

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/z80gb

mingw32-make: *** [obj/windows/vmame/osd/windows/verinfo.o] Error -99

mkdir.exe -p obj/windows/vmame/emu/debug

mkdir.exe -p obj/windows/vmame/emu/drivers

mkdir.exe -p obj/windows/vmame/emu/layout

mingw32-make: *** Waiting for unfinished jobs....

mkdir.exe -p obj/windows/vmame/emu/machine

mingw32-make: *** [obj/windows/vmame/osd/windows/main.o] Error -99

mkdir.exe -p obj/windows/vmame/emu/sound

...

...

...

Compiling src/osd/windows/main.c...

vconv.c

Finished!

0 Hours 0 Minutes and 2 Seconds Elapsed.

Thanks,

Dwight

Posted
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/z80gb

mingw32-make: *** [obj/windows/vmame/osd/windows/verinfo.o] Error -99

mkdir.exe -p obj/windows/vmame/emu/debug

mkdir.exe -p obj/windows/vmame/emu/drivers

mkdir.exe -p obj/windows/vmame/emu/layout

mingw32-make: *** Waiting for unfinished jobs....

mkdir.exe -p obj/windows/vmame/emu/machine

mingw32-make: *** [obj/windows/vmame/osd/windows/main.o] Error -99

mkdir.exe -p obj/windows/vmame/emu/sound

...

...

...

Compiling src/osd/windows/main.c...

vconv.c

Finished!

0 Hours 0 Minutes and 2 Seconds Elapsed.

Thanks,

Dwight

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 :)

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

Posted
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 ;)

Posted

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.

Posted
I request this thread to be a sticky.

Emph

Your wish is my command! ;)

I hate having to dig for this thread everytime I update anyway. :)

  • 4 weeks later...
Posted

More detailed instructions:

1. Install Mame Compiler

2. 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\patches

6. Extract the mame0123s.zip to C:\MinGW\source\Mame0123

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

10. Click the "Apply Patch" button

11. Press the "GO!" button to compile Mame

12. 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.exe

NOTE: You only need to download the binary if you don't have Mame already setup.

  • 2 weeks later...
Posted

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!)

  • 2 weeks later...
Posted

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 1

thanks

ourgrace

Posted

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

Posted

Hello

i am Compiling mameUI32

My Path"s are

MinGW Folder

D:\MinGW

Mame Source Folder

D:\Program Files\Mame Compiler 64\Mame

Diff Patch File

D:\MinGW\patches\hi_124.diff

and im Using

Mame UI Source

My Compile Options Are

Intel Core2

Dual Core

Mame UI

Clean Compile

and when i click on Apply Patch i get this error

Applying Diff Patch...

can't find file to patch at input line 4

Perhaps 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 ignored

can't find file to patch at input line 40

Perhaps 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 ignored

can't find file to patch at input line 55

Perhaps 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 ignored

can't find file to patch at input line 77

Perhaps 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 ignored

can't find file to patch at input line 100

Perhaps 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 ignored

can't find file to patch at input line 114

Perhaps 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 ignored

can't find file to patch at input line 128

Perhaps 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 ignored

The 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.rej

The 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.rej

can't find file to patch at input line 563

Perhaps 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 ignored

can't find file to patch at input line 606

Perhaps 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 ignored

can't find file to patch at input line 620

Perhaps 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 ignored

can't find file to patch at input line 634

Perhaps 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 ignored

can't find file to patch at input line 669

Perhaps 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 ignored

can't find file to patch at input line 772

Perhaps 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 ignored

can't find file to patch at input line 896

Perhaps 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 ignored

can't find file to patch at input line 911

Perhaps 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 ignored

can't find file to patch at input line 936

Perhaps 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 ignored

can't find file to patch at input line 950

Perhaps 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 ignored

can't find file to patch at input line 983

Perhaps 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 ignored

can't find file to patch at input line 1070

Perhaps 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 ignored

Can Anybody Help Me??

Has THis happend to anybody else??

Or Im i Just Stupid

THx In advance

gummi666

Posted

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.

  • 2 weeks later...
Posted

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

  • 2 months later...
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...