Need Help With Compiling Xbox 360 Mame Sourcecode

Discussion in 'Xbox 360 Development' started by xcalibur, Jan 25, 2018.

  1. TheNew

    TheNew RIP

    Joined:
    Jun 27, 2010
    Messages:
    414
    Likes Received:
    118

    OOOH PRIMAL RAAAAAAGE!!
     
  2. gamez fan

    gamez fan Member

    Joined:
    Jan 27, 2018
    Messages:
    12
    Likes Received:
    14
    Hi again it seems i missed this post...........

    Tell me what are the external symbol errors..?? as you say i might have forgotten to add in some code


    With regards to the source code i sent the other day you'll need to update two more files cpuexe.c and cpuexe.h this is to add support to the source for cpueatcycles which is needed by cage.c for a speedhack.

    i get a full compile on the xbox MAME72 with the code changes for Primal Rage sound but im
    unable to test the game due to memory limitations in the emulator im using as a test build
    hopefully after compiing a new MAME72 for the xb350 it'll have sound now.

    Simply drop these into the source overwriting the previous versions you'll find em in mame72 / src

    https://www.sendspace.com/file/8t46xs
     
    Last edited: Feb 5, 2018
    Traace and TheNew like this.
  3. Traace

    Traace Rising Member

    Joined:
    Nov 22, 2016
    Messages:
    68
    Likes Received:
    45
    Okay I'm going to do that soon, thanks.

    If the compiling is successful I think about to share a build fix that is compatible with newest 360 sdk + visual studio 2010 :) . Are you fine with github?
     
  4. gamez fan

    gamez fan Member

    Joined:
    Jan 27, 2018
    Messages:
    12
    Likes Received:
    14
    @Traace whatever you wanna do the source is as much yours as mine.
     
    Traace likes this.
  5. Traace

    Traace Rising Member

    Joined:
    Nov 22, 2016
    Messages:
    68
    Likes Received:
    45
    compiling doesn't work, the newer cpuexec.c needs Sections.h
    But none of these sources has it...
     
  6. gamez fan

    gamez fan Member

    Joined:
    Jan 27, 2018
    Messages:
    12
    Likes Received:
    14
    I sent you the wrong cpuexe files from the original xbox MAME72 source by mistake, here is the latest
    source with the correct files it should now build with no problems......

    https://www.sendspace.com/file/3m04rc
     
  7. Traace

    Traace Rising Member

    Joined:
    Nov 22, 2016
    Messages:
    68
    Likes Received:
    45
    dark ricardo and wanszai like this.
  8. xcalibur

    xcalibur Active Member

    Joined:
    Oct 1, 2012
    Messages:
    33
    Likes Received:
    17
    thanks again Traace for compiling this.
    Full Release

    Code:
    http://www2.zippyshare.com/v/crlHpPzz/file.html
     
    irvgotti452, TheNew and Traace like this.
  9. TheNew

    TheNew RIP

    Joined:
    Jun 27, 2010
    Messages:
    414
    Likes Received:
    118

    Is primal rage running with sound??
     
  10. jonwil

    jonwil Robust Member

    Joined:
    Dec 16, 2005
    Messages:
    245
    Likes Received:
    16
    What's the attraction of running an ancient build of MAME that is many years old instead of taking the current MAME code and porting it to the 360?
     
    Traace and TheNew like this.
  11. Traace

    Traace Rising Member

    Joined:
    Nov 22, 2016
    Messages:
    68
    Likes Received:
    45
    If you can port the current one, this will lose attraction. :)

    gamez fan took this version because its was easier to port from Original Xbox to 360.
     
    TheNew likes this.
  12. gamez fan

    gamez fan Member

    Joined:
    Jan 27, 2018
    Messages:
    12
    Likes Received:
    14
    The attraction is simple older MAME cores are faster and perform far better on lesser hardware,
    you need only check out and compare the performance of MAME-2003 on the Rpi vs the latest
    MAME ports on that platform.

    The bottom line is i had this code leftover from another project i was working on and since
    it was easy to just drop it into the MAME72 port for the Xbox360 and folks had asked me if
    i could i thought why not add it :)
     
    Last edited: Mar 3, 2018
  13. gamez fan

    gamez fan Member

    Joined:
    Jan 27, 2018
    Messages:
    12
    Likes Received:
    14
    Ok to tidy up a lose end here is a final source from me which will fix Primal Rage which i broke
    in the last update, this should also make T-Mek which shares the same driver playable plus
    both games will have sound now in MAME72 via a new cage soundcore.

    The Src should compile with no issues a full breakdown of what has changed is documented
    in the whatnew.txt.

    mame_0.72_release6 2018_src
    https://www.sendspace.com/file/7bn00x
     
    Last edited: Mar 3, 2018
    dark ricardo, Traace and TheNew like this.
  14. TheNew

    TheNew RIP

    Joined:
    Jun 27, 2010
    Messages:
    414
    Likes Received:
    118
    Gamez fan is my hero!
     
  15. gamez fan

    gamez fan Member

    Joined:
    Jan 27, 2018
    Messages:
    12
    Likes Received:
    14
    Steady on bigman!! we dont know if it works yet ha ha
     
  16. TheNew

    TheNew RIP

    Joined:
    Jun 27, 2010
    Messages:
    414
    Likes Received:
    118
    Ooh but it’s all weird the last build you can go into the dip switches and play the audio I mean other the eeprom error on loading the rom it works in the dip switches only. Lol
     
  17. Traace

    Traace Rising Member

    Joined:
    Nov 22, 2016
    Messages:
    68
    Likes Received:
    45
    I fire up the compiler tomorrow lets see if it works ;)

    Thanks for the update gamez fan
     
    TheNew likes this.
  18. TheNew

    TheNew RIP

    Joined:
    Jun 27, 2010
    Messages:
    414
    Likes Received:
    118
    Sweeeeet!!
     
  19. TheNew

    TheNew RIP

    Joined:
    Jun 27, 2010
    Messages:
    414
    Likes Received:
    118

    guess it did not work....
     
  20. Traace

    Traace Rising Member

    Joined:
    Nov 22, 2016
    Messages:
    68
    Likes Received:
    45
    TheNew likes this.

Share This Page