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: MAME Compiler 64 v2.0.197  (Read 362374 times)

0 Members and 2 Guests are viewing this topic.

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
MAME Compiler 64 v2.0.197
« on: September 29, 2007, 02:51:06 pm »
« Last Edit: August 14, 2023, 12:46:35 am by headkaze »

MKChamp

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:February 07, 2024, 02:45:53 pm
  • Stil around.
Re: Mame Compiler v0.1 Released
« Reply #1 on: September 30, 2007, 01:34:33 am »
Nice little app. Hopefully, this will please the people that would have benefited from the *cough* binary *cough*.

I added the white box/decoding/decrypting/updating/etc. removal to the hicore diff. There's a new one posted as hi_119u2, it actually can be used in place of the hi_117u3 (for versions 117u3 - present) but was generated and only tested with 119u2.

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Mame Compiler v0.1 Released
« Reply #2 on: September 30, 2007, 01:45:22 am »
Nice little app. Hopefully, this will please the people that would have benefited from the *cough* binary *cough*.

I added the white box/decoding/decrypting/updating/etc. removal to the hicore diff. There's a new one posted as hi_119u2, it actually can be used in place of the hi_117u3 (for versions 117u3 - present) but was generated and only tested with 119u2.

The hi_119.diff included in the Mame Compiler archive had to get created manually. I tried applying hi_117u3.diff to 119 then adding the disclaimer skips manually. It produced a really strange diff file. So I went through modifying it manually using the hi_117u3.diff in a text editor. The resulting diff looked right this time (20 KB instead of 100 KB +).

I also had to add a -w switch to diff for removing whitespace. So the command I was using is

Code: [Select]
diff -w -r -c -N old src >hi_119.diff
Not sure why I had to add that switch while you didn't. Are you using the Unix version of diff or something?

MKChamp

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:February 07, 2024, 02:45:53 pm
  • Stil around.
Re: Mame Compiler v0.1 Released
« Reply #3 on: September 30, 2007, 02:00:18 am »
The reason the diff that it created was so huge was because when a patch is applied to a version that had 'little' changes here and there from the version the diff was created from (117u3) what it does is create a "~" copy of the file it patched. So, then when you diff the new source, it sees new files (the ~ ones) and creates them in the diff. Since those files aren't called in the make file, they don't affect the compile.

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Mame Compiler v0.1 Released
« Reply #4 on: September 30, 2007, 02:18:01 am »
The reason the diff that it created was so huge was because when a patch is applied to a version that had 'little' changes here and there from the version the diff was created from (117u3) what it does is create a "~" copy of the file it patched. So, then when you diff the new source, it sees new files (the ~ ones) and creates them in the diff. Since those files aren't called in the make file, they don't affect the compile.

Ahhh okay, I getcha, mystery solved then!

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Mame Compiler v0.2 Released
« Reply #5 on: October 01, 2007, 04:00:19 am »
Minor update

edge

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 370
  • Last login:November 30, 2023, 11:56:46 am
  • AttractMode and GroovyArcade rock!
Re: Mame Compiler v0.2 Released
« Reply #6 on: October 01, 2007, 08:49:31 am »
Thanks, headkaze, for the app.  Will try it out this week.

Neilyboy

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 501
  • Last login:January 18, 2024, 04:15:46 pm
  • what day is it...
Re: Mame Compiler v0.2 Released
« Reply #7 on: October 01, 2007, 09:30:00 am »
very cool app headkaze!! this is very much appreciated.

Neil

mcfreak

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 282
  • Last login:March 01, 2021, 01:55:04 pm
  • Asteroids moving along...
    • Hobby Blog
Re: Mame Compiler v0.2 Released
« Reply #8 on: October 01, 2007, 10:14:19 am »
Very nice.  :notworthy:

MKChamp

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:February 07, 2024, 02:45:53 pm
  • Stil around.
Re: Mame Compiler v0.2 Released
« Reply #9 on: October 01, 2007, 02:59:44 pm »
Added a link to here from the hiscore diff thread. Not sure if you plan on this thread being the place to always grab the latest version of your app...
Let me know if it would be better to point the link somewhere else.

Encryptor

  • Trade Count: (+34)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1287
  • Last login:December 21, 2023, 08:01:18 pm
Re: Mame Compiler v0.2 Released
« Reply #10 on: October 01, 2007, 06:35:59 pm »
When using the program should you do the 119u1 & 119u2 patches before or after applying the high diff no nag patch?


Encryptor

loadman

  • Wiki Contributor
  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4305
  • Last login:August 17, 2020, 03:23:55 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Mame Compiler v0.2 Released
« Reply #11 on: October 01, 2007, 09:33:21 pm »
 :notworthy:

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Mame Compiler v0.2 Released
« Reply #12 on: October 02, 2007, 01:44:14 am »
When using the program should you do the 119u1 & 119u2 patches before or after applying the high diff no nag patch?

Encryptor

1. Apply 119u1.diff
2. Apply 119u2.diff
3. Apply hi_119u2.diff

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Mame Compiler v0.2 Released
« Reply #13 on: October 02, 2007, 01:50:31 am »
Added a link to here from the hiscore diff thread. Not sure if you plan on this thread being the place to always grab the latest version of your app...
Let me know if it would be better to point the link somewhere else.

Cheers mate, yeah I will keep this thread for all future Mame Compiler releases.

Also gonzo90017 has made a tutorial in Spanish.

Encryptor

  • Trade Count: (+34)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1287
  • Last login:December 21, 2023, 08:01:18 pm
Re: Mame Compiler v0.2 Released
« Reply #14 on: October 02, 2007, 08:57:33 am »

1. Apply 119u1.diff
2. Apply 119u2.diff
3. Apply hi_119u2.diff


Thank you!

Encryptor

TheBrokentoken

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:December 13, 2009, 09:19:37 am
  • Being a noob is awesome! (not)
    • Brokentoken.com
Re: Mame Compiler v0.2 Released
« Reply #15 on: October 03, 2007, 11:40:51 am »
Great, great tool.  Many thanks for putting this together.

Is your site down right now?  I cannot get either of the files downloaded.  Thanks.
- Whitney Roberts
http://www.brokentoken.com

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Mame Compiler v0.3 Released
« Reply #16 on: October 07, 2007, 10:28:10 am »
Update to v0.3. This is to support compiling older versions of Mame (<0.118u5). It adds an option called "Disable WError" which will enable the newer version of GCC to compile older versions of Mame. You may get some warnings but compile should still finish. Any problems, post here.

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
Re: Mame Compiler v0.3 Released
« Reply #17 on: October 07, 2007, 02:14:31 pm »
How old?

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Mame Compiler v0.3 Released
« Reply #18 on: October 08, 2007, 01:59:05 am »
How old?

I have no idea, but your welcome to try and compile an old version and report any problems here. I can't be sure the really old stuff will compile okay but I did try 109 and that worked with this new "Disable WError" option selected.

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Mame Compiler v0.3 Released
« Reply #19 on: October 20, 2007, 08:00:38 pm »
Heh there must a limit to how old you can edit posts. Anyways this release is for 0.120+ which has a make error.

Mame Compiler v0.4 Released

21-10-07 - Version 0.4 - Fixed make error for 0.120+

TeutonicDarkness

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 220
  • Last login:July 16, 2019, 10:54:16 pm
Re: Mame Compiler v0.3 Released
« Reply #20 on: October 23, 2007, 08:43:03 pm »
Hello,

 Does this work with the newest version .120?

I did try but either I just don't know what I'm doing
( A very likely case )

or it just didn't work.


After compiling It did load Mame fine ...
However all the Roms issued error messages
and now Mame crashes as well.


My assumptions are using .120 and I only wanted the
High Score - No nag patch i would just apply..

hi_119u2.diff
then compile.


Is that correct?


Thanks in Advance....

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mame Compiler v0.3 Released
« Reply #21 on: October 23, 2007, 09:29:51 pm »
Did you click <APPLY PATCH> before clicking <GO> to compile?  It worked well for me when I tried it yesterday with .120.  How old are your roms (what version was working successfully)?

Kudos to headkaze. :applaud: :notworthy:

TeutonicDarkness

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 220
  • Last login:July 16, 2019, 10:54:16 pm
Re: Mame Compiler v0.3 Released
« Reply #22 on: October 23, 2007, 10:14:36 pm »
Did you click <APPLY PATCH> before clicking <GO> to compile?  It worked well for me when I tried it yesterday with .120.  How old are your roms (what version was working successfully)?

Kudos to headkaze. :applaud: :notworthy:


 Honestly don't know how old roms are I attained them
from various sources on the net.

I have tested with 117 and 120 and roms work.

Yes I clicked apply patch ...just thought I was overlooking
something maybe?

Am I right though with only having to apply:
hi_119u2.diff .......


Thanks...

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mame Compiler v0.3 Released
« Reply #23 on: October 24, 2007, 08:34:20 am »
Quote
Am I right though with only having to apply:
hi_119u2.diff .......

That's all that I did.  Is it possible that you put the compiled executables into an existing folder where an older version resided?
« Last Edit: October 24, 2007, 08:37:23 am by SGT »

TeutonicDarkness

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 220
  • Last login:July 16, 2019, 10:54:16 pm
Re: Mame Compiler v0.3 Released
« Reply #24 on: October 24, 2007, 07:09:22 pm »
Quote
Am I right though with only having to apply:
hi_119u2.diff .......

That's all that I did.  Is it possible that you put the compiled executables into an existing folder where an older version resided?

No Definitely not...
I Put them in a New folder called:
 Mame120_No_Nag

I'm going to keep messing around ...
I don't know what I could have done wrong
but something is obviously going wrong here.

Thanks for clearing that up..

Lakersfan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 213
  • Last login:February 05, 2024, 12:16:07 am
Re: Mame Compiler v0.3 Released
« Reply #25 on: October 27, 2007, 01:46:12 pm »
Thanks for this app! It was fun compiling manually, but this sure makes things easier and quicker.  :cheers:

TeutonicDarkness: Is it possible you accidently applied the hi diff prior to the u update? EDIT - reread your post, nevermind this question...

My question: what is the Clean Compile option and should I be using it?

Thanks guys,
LF
« Last Edit: October 27, 2007, 01:51:18 pm by Lakersfan »

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Mame Compiler v0.3 Released
« Reply #26 on: October 27, 2007, 07:47:28 pm »
Thanks for this app! It was fun compiling manually, but this sure makes things easier and quicker.  :cheers:

TeutonicDarkness: Is it possible you accidently applied the hi diff prior to the u update? EDIT - reread your post, nevermind this question...

My question: what is the Clean Compile option and should I be using it?

Thanks guys,
LF

Generally you don't need to use the Clean Compile option. All it does is delete the obj folder so it will do a fresh compile. If you start compiling Mame and hit stop mid way then click start again it takes off where it left off and compiles the remaining souce. Clean Compile makes it start from the beginning again.

Lakersfan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 213
  • Last login:February 05, 2024, 12:16:07 am
Re: Mame Compiler v0.3 Released
« Reply #27 on: October 28, 2007, 01:31:05 pm »
Thanks for the reply, headkaze. I used it for a compile of .120 and it worked perfectly!  :woot

topher0002

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:November 09, 2023, 04:26:18 pm
  • "I'm constantly confused"
Re: Mame Compiler v0.3 Released
« Reply #28 on: December 04, 2007, 06:06:27 pm »
Great tool,  I really wish i could get it to work for 116 though, all my roms are 116 and i have everything set up the way I want it except the nag screens.   I can recompile other version but this version gets almost to the end and give me an error about N64.O 

Ive researched and cannot find anything, ive spend well over 2 hours trying to find the answer and couldnt,  so i apologize if its somewhere easy i  just missed.

Im applying updates in correct order and each one is successful,  i am using the correct TXT file i believe of 114,115,116.   

Any ideas anyone?
"True Knowledge consists in knowing that you know nothing"

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Mame Compiler v0.3 Released
« Reply #29 on: December 04, 2007, 11:23:53 pm »
Mame Compiler v0.5 Released

- Added support for compiling Mame 116.

Here's what you need to do

1. Download the new version of Mame Compiler and install it
2. Run Mame Compiler
3. Point your "Mame Souce Folder" to your Mame 116 source
4. Browse to the hi_116u4.diff patch file and click the "Apply Patch" button
5. Put a tick next to the "Disable WError (<0.118u5) option and any other optimization options you want
6. Click "GO!"

I tested Mame Compier v0.5 with Mame 116 and it works ok.

rooter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 205
  • Last login:October 14, 2021, 01:31:15 pm
    • ShaunRoot.net
Re: Mame Compiler v0.5 Released
« Reply #30 on: December 13, 2007, 03:55:10 pm »
Any chance this works with the 64bit version of Mame?  If not, will it in the future?

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Mame Compiler v0.5 Released
« Reply #31 on: December 13, 2007, 05:57:34 pm »
Any chance this works with the 64bit version of Mame?  If not, will it in the future?

Not until there is a 64 bit version of the GCC compiler. Right now the only way to compile the 64-bit versions is with the command line compiler included with the Microsoft Platform SDK and a recent version of the DirectX SDK. I'll take a look at adding support for it one day, but people will have to download those tools separately in any case and it kinda defeats the purpose of what Mame Compiler was trying to achive which is an all in one tool for compiling Mame.

bent98

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 477
  • Last login:February 02, 2019, 03:35:00 pm
  • Hyperspin Moderator
Re: Mame Compiler v0.5 Released
« Reply #32 on: December 13, 2007, 06:39:47 pm »
I just tried it with mame .121 with 121u4.diff.

patched then hit go.

Got hunk errors on patch and got these errors after pressing GO

Compiling src/mame/drivers/starwars.c...
Compiling src/mame/machine/starwars.c...
src/mame/machine/starwars.c:208:47: error: macro "timer_alloc" passed 2 arguments, but takes just 1
src/mame/machine/starwars.c: In function 'starwars_mproc_init':
src/mame/machine/starwars.c:208: error: 'timer_alloc' undeclared (first use in this function)
src/mame/machine/starwars.c:208: error: (Each undeclared identifier is reported only once
Finished!
0 Hours 1 Minutes and 29 Seconds Elapsed.
src/mame/machine/starwars.c:208: error: for each function it appears in.)
mingw32-make: *** [obj/windows/mamepm/mame/machine/starwars.o] Error 1
mingw32-make: *** Waiting for unfinished jobs....


all I selected was pentium m/ Core Duo options and also cheked Dual core.



MKChamp

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:February 07, 2024, 02:45:53 pm
  • Stil around.
Re: Mame Compiler v0.5 Released
« Reply #33 on: December 13, 2007, 07:08:53 pm »
Did you patch 121u1 then 121u2 then 121u3 AND THEN 121u4....or did you just patch 121u4? Looks like you skipped the other u releases...

edit: They changed the parms for the timer_alloc function is 121u2...
« Last Edit: December 13, 2007, 07:10:40 pm by MKChamp »

bent98

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 477
  • Last login:February 02, 2019, 03:35:00 pm
  • Hyperspin Moderator
Re: Mame Compiler v0.5 Released
« Reply #34 on: December 13, 2007, 09:20:59 pm »
ah yea my bad.

Question what if i want to compile 0121u1-u4 and then apply hi_0121u2. Will that be a problem? they havent come out with hi_0121u4 yet

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Mame Compiler v0.5 Released
« Reply #35 on: December 13, 2007, 09:49:14 pm »
Question what if i want to compile 0121u1-u4 and then apply hi_0121u2. Will that be a problem? they havent come out with hi_0121u4 yet

"they" is MKChamp ;)
« Last Edit: December 13, 2007, 09:57:06 pm by headkaze »

bent98

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 477
  • Last login:February 02, 2019, 03:35:00 pm
  • Hyperspin Moderator
Re: Mame Compiler v0.5 Released
« Reply #36 on: December 13, 2007, 09:58:19 pm »
haha. Will it cause a problem though?

MKChamp

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:February 07, 2024, 02:45:53 pm
  • Stil around.
Re: Mame Compiler v0.5 Released
« Reply #37 on: December 13, 2007, 11:54:32 pm »
Someone hasn't 'read' the hiscore thread....

121u2 - CURRENT         hi_121u2.txt

So, hi_121u2.txt works for all versions 121u2 to current...which includes 121u4 ;-)

On a side note,
Hey Headkaze, I did an app for picture resizing/renaming/watermarking /batch processing/etc and spent alot of time searching the forums over at xtremevbtalk and ran across some posts from some nut named Headkaze ;-)
I was gonna say hi but my name over there was CokeDealer and the admins thought that name was 'offensive'...so I am saying Hi here!
(that IS you, right??)

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Mame Compiler v0.5 Released
« Reply #38 on: December 14, 2007, 02:19:41 am »
On a side note,
Hey Headkaze, I did an app for picture resizing/renaming/watermarking /batch processing/etc and spent alot of time searching the forums over at xtremevbtalk and ran across some posts from some nut named Headkaze ;-)
I was gonna say hi but my name over there was CokeDealer and the admins thought that name was 'offensive'...so I am saying Hi here!
(that IS you, right??)

Ahhh good ol' xtremevbtalk hehe, yep that's me although I don't visit the forums anymore because I don't code in VB6 anymore. It was a great forum though :)

bent98

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 477
  • Last login:February 02, 2019, 03:35:00 pm
  • Hyperspin Moderator
Re: Mame Compiler v0.5 Released
« Reply #39 on: December 18, 2007, 01:52:15 pm »
I want to compile a 64bit version of mame. How do I do it? I have a Core d process and I select that at the drop down menu of com piler, but when I check 64bit check box I get errors.