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: Any compile-savvy people willing to help? FIXED!  (Read 4605 times)

0 Members and 1 Guest are viewing this topic.

opt2not

  • Trade Count: (+15)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 6173
  • Last login:April 02, 2024, 07:42:30 pm
Any compile-savvy people willing to help? FIXED!
« on: November 28, 2009, 07:25:33 am »
Hey all,
I don't usually ask for help until I've tried all avenues, but I just don't understand the whole compiling thing.  I'm trying to compile Advmame 1.06 for DOS, optimized for AMD cpus and without nag screens for my dos-run cocktail cabinet, but the whole compiling process completely baffles me.
This is part of the last 10% needed to finish of this project!

I've searched high and low for guides, but most of them are out of date, or lacking information for newbs like me. Even Advance Mame's site doesn't really "guide" you, they expect you to have some prerequisite knowledge of compiling before you attempt it. They list all these files you need, but when I try to install and use them, I get compiling errors up the wazzoo!

 :banghead:
I'm really frustrated with this.

I'm hoping someone in the community with the know-how and the means to build this for me would help me out?

Here's what I'm looking for:

Advance Mame v106  (latest on their site)
Options:
- No disclaimer/warning screens
- DOS version
- Optimized for AMD cpu's
- High score saving fix

I don't have much to offer, but I can do some custom artwork for anyone willing to do this for me.

PM me if you are willing!  Thanks in "advance".  :lol
« Last Edit: December 02, 2009, 05:59:58 pm by opt2not »

speedklz

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 196
  • Last login:November 17, 2018, 12:56:23 pm
Re: Any compile-savvy people willing to help?
« Reply #1 on: November 28, 2009, 10:05:58 am »
Ill see shat I can do to help out.
Best of the Best of the Best. Sir!

speedklz

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 196
  • Last login:November 17, 2018, 12:56:23 pm
Re: Any compile-savvy people willing to help?
« Reply #2 on: November 28, 2009, 10:08:18 am »
I am out of town tonight but I can finish it sunday night.. Is that soon enough?
Best of the Best of the Best. Sir!

speedklz

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 196
  • Last login:November 17, 2018, 12:56:23 pm
Re: Any compile-savvy people willing to help?
« Reply #3 on: November 28, 2009, 04:16:44 pm »
I have stared at code for 2 hours...  :o  I edited out the nag stuff from the advancemame code but I cant find the source code for mame that will work with advancemame.  :dunno Ill try again tomorrow.
Best of the Best of the Best. Sir!

opt2not

  • Trade Count: (+15)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 6173
  • Last login:April 02, 2024, 07:42:30 pm
Re: Any compile-savvy people willing to help?
« Reply #4 on: November 28, 2009, 05:16:20 pm »
Awesome!!  Thank you so much speedklz!

I believe the page I linked there has Advancemame v.106.1, but there is a link on that page to older versions.

The basic v.106 would work, and mame.net has the mame source for it on their previous version's page. Does this help?

opt2not

  • Trade Count: (+15)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 6173
  • Last login:April 02, 2024, 07:42:30 pm
Re: Any compile-savvy people willing to help?
« Reply #5 on: November 29, 2009, 06:05:20 am »
If there's any way to add the high-score fix to those changes, I'd love you long time! :lol

That being said, need any artwork from me?

opt2not

  • Trade Count: (+15)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 6173
  • Last login:April 02, 2024, 07:42:30 pm
Re: Any compile-savvy people willing to help?
« Reply #6 on: December 01, 2009, 08:34:08 am »
Hey speedklz, any luck getting this going?


tikbalang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 234
  • Last login:May 07, 2013, 05:04:54 pm
    • MAME BootCD's for DOS
Re: Any compile-savvy people willing to help?
« Reply #7 on: December 02, 2009, 11:42:55 am »
i use the DOS versions of advmenu/advmame, stock.

Code: [Select]
- No disclaimer/warning screens

add/edit this setting in both .rc files:

misc_quiet YES



Code: [Select]
- Optimized for AMD cpu's

i didn't get any problems transferring working HD's from intel mobos to 4 types of AMD cpus. optimization does little to gain speed. lower samplerate to 22050. find the correct video setting, using just 31khz vga pc monitor works best for me.


Code: [Select]
- High score saving fix

i get high scores but that maybe because of saved nvram.

speedklz

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 196
  • Last login:November 17, 2018, 12:56:23 pm
Re: Any compile-savvy people willing to help?
« Reply #8 on: December 02, 2009, 01:04:24 pm »
I cant seem to get it to get it running after compile .. There seems to be some diff files missing. They no longer host the files on there site they are hosted on sourceforge and seem to be different from what is supposed to be there.
Best of the Best of the Best. Sir!

opt2not

  • Trade Count: (+15)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 6173
  • Last login:April 02, 2024, 07:42:30 pm
Re: Any compile-savvy people willing to help?
« Reply #9 on: December 02, 2009, 02:43:58 pm »
i use the DOS versions of advmenu/advmame, stock.
Code: [Select]
- No disclaimer/warning screens
add/edit this setting in both .rc files:
misc_quiet YES
Code: [Select]
- Optimized for AMD cpu's
i didn't get any problems transferring working HD's from intel mobos to 4 types of AMD cpus. optimization does little to gain speed. lower samplerate to 22050. find the correct video setting, using just 31khz vga pc monitor works best for me.
Code: [Select]
- High score saving fix
i get high scores but that maybe because of saved nvram.

I thought only some games require the nvram files...

...and as for the AMD optimization, I'm not attached to it, I just figured if I'm getting a re-compiled version why not throw it in there.

I do have "misc_quiet yes" within my advmenu.rc, but haven't put it in my advmame.rc... as well, "dir_hi" and "misc_hiscorefile" are only in the advmame.rc....I will try adding them to both and see what I get. I really wish the documentation would say this stuff...


I cant seem to get it to get it running after compile .. There seems to be some diff files missing. They no longer host the files on there site they are hosted on sourceforge and seem to be different from what is supposed to be there.

Thanks speedklz, for the attempt at least. I couldn't even get it to finish compiling!
After I try tikbalang's suggestion I'm going to give compiling it another try; if I can at least get to the point you're at, I can email the dev's and ask what the deal is.

Thanks again.  :cheers:

opt2not

  • Trade Count: (+15)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 6173
  • Last login:April 02, 2024, 07:42:30 pm
Re: Any compile-savvy people willing to help? FIXED!!
« Reply #10 on: December 02, 2009, 05:59:43 pm »
YES!
Confirmed!
Like tikbalang said, when you use Advmenu and Advmame you have to pass the misc_quiet line to both the advmame.rc and advmenu.rc. That seems to work.
As for the high score saving, hiscore.dat does not go into the "hi" directory! :angry: It goes into the mame root. When Mame saves high scores, it puts specific .hi files of each game into that "hi" folder.  Another thing that wasn't properly documented on the Advancemame site. grrrr!

So there we have it, I'm all set! No need to recompile now!

Thanks for helping me out with this stuff guys, and sorry for wasting your time. It appears that all I needed was to ask some questions to the wise dos-users out there :)

Long live DOS!
 :cheers:


tikbalang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 234
  • Last login:May 07, 2013, 05:04:54 pm
    • MAME BootCD's for DOS
Re: Any compile-savvy people willing to help? FIXED!
« Reply #11 on: December 03, 2009, 01:34:54 am »
Quote
I cant seem to get it to get it running after compile .. There seems to be some diff files missing. They no longer host the files on there site they are hosted on sourceforge and seem to be different from what is supposed to be there.



the last official DOS version is .100. the msdos tree is missing on the later official versions of the sources but released separately by "smf", up until .106.

attached here for future use.

speedklz

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 196
  • Last login:November 17, 2018, 12:56:23 pm
Re: Any compile-savvy people willing to help? FIXED!
« Reply #12 on: December 03, 2009, 02:40:31 pm »
Ahh, that must be the problem.. I thought that it didnt look right. or work!! :banghead:
Best of the Best of the Best. Sir!

tikbalang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 234
  • Last login:May 07, 2013, 05:04:54 pm
    • MAME BootCD's for DOS
Re: Any compile-savvy people willing to help? FIXED!
« Reply #13 on: December 04, 2009, 10:35:25 am »
speedklz, can you post here how to setup the compiling environment in DOS? aside from the sources what else is needed?

tikbalang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 234
  • Last login:May 07, 2013, 05:04:54 pm
    • MAME BootCD's for DOS
Re: Any compile-savvy people willing to help? FIXED!
« Reply #14 on: December 04, 2009, 10:36:35 am »
btw, there is an updated advmame here:

http://x15khz.hp.infoseek.co.jp/

it is missing the scripting capabilities from official advmame.

speedklz

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 196
  • Last login:November 17, 2018, 12:56:23 pm
Re: Any compile-savvy people willing to help? FIXED!
« Reply #15 on: December 04, 2009, 12:49:33 pm »
All I did was use the advanceMame source and then add in the `src` part  from Mame then I hand edited the source files to get rid of nag and add hi-score support then just compile. I did have to edit the env file to point to where I had put the bin folder. It just never worked right.
Best of the Best of the Best. Sir!