Author Topic: mame to fba driver convert prog  (Read 18284 times)

Offline destronger

  • Newbies
  • *
  • Posts: 43
  • Karma: +7/-3
mame to fba driver convert prog
« on: February 02, 2014, 06:21:52 PM »
i noticed in an old topic by kenshiro that he created a mame to fba driver converter. it's a rather old topic though. i was wondering if an updated tool has been made and if it could be shared.

mahalo.  :biggrin:
+ T +: Every time you mention Midway games in Final Burn, iq_132 kills a kitten!

Offline Arcadez

  • Expert
  • *****
  • Posts: 558
  • Karma: +15/-0
  • Arcade Addict
Re: mame to fba driver convert prog
« Reply #1 on: February 02, 2014, 08:05:19 PM »
Now thats a good idea to think of a programme that makes converting Mame drivers into FBA format easier even better is to actually
go ahead and create such a programme

How id love something like this for Mame a tool that easily allows you to roll source code either forwards or backwards between versions
say make Mame84 the base source and take some driver/video/sound/cpu source files etc from the latest mame sources
run em past a programme that converts them into files that can be simply implanted into a previous source  :cool:
« Last Edit: February 02, 2014, 08:08:20 PM by gamez fan »

Offline iq_132

  • Administrator
  • *****
  • Posts: 3725
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: mame to fba driver convert prog
« Reply #2 on: February 02, 2014, 10:34:40 PM »
All it did was take a rom structure (rom size, crc) from a pasted driver and put it into the format that fba needs. I still use my tool I wrote for this. It also does input conversions too. Really the easiest part of making a driver, but imo the easiest to mess up and most tedious.


Offline destronger

  • Newbies
  • *
  • Posts: 43
  • Karma: +7/-3
Re: mame to fba driver convert prog
« Reply #3 on: February 02, 2014, 11:34:00 PM »
so the one on the old post is the latest then?
« Last Edit: February 02, 2014, 11:35:25 PM by destronger »
+ T +: Every time you mention Midway games in Final Burn, iq_132 kills a kitten!

Offline kenshiro

  • Expert
  • *****
  • Posts: 145
  • Karma: +21/-0
Re: mame to fba driver convert prog
« Reply #4 on: February 04, 2014, 05:28:29 PM »
Yes this is the last one.

Despite the fact it's quite old and badly written (IIRC that was my second C program, it is not very academic lol ), he should do the job just fine ;p

Offline vbt

  • FBNeo Contributor
  • *****
  • Posts: 205
  • Karma: +9005/-0
Re: mame to fba driver convert prog
« Reply #5 on: February 04, 2014, 05:39:28 PM »
Dip Switches Generator 1.1  ?

Offline destronger

  • Newbies
  • *
  • Posts: 43
  • Karma: +7/-3
Re: mame to fba driver convert prog
« Reply #6 on: February 04, 2014, 06:33:25 PM »
moo!!
+ T +: Every time you mention Midway games in Final Burn, iq_132 kills a kitten!

Offline kenshiro

  • Expert
  • *****
  • Posts: 145
  • Karma: +21/-0
Re: mame to fba driver convert prog
« Reply #7 on: February 05, 2014, 10:13:28 AM »
Dip Switches Generator 1.1  ?

Nope, i was talking about the driver converter  ;p

Offline vbt

  • FBNeo Contributor
  • *****
  • Posts: 205
  • Karma: +9005/-0
Re: mame to fba driver convert prog
« Reply #8 on: February 05, 2014, 07:01:16 PM »
oh, ok, i've finally found it ! for sure i'll try it too !

Offline vbt

  • FBNeo Contributor
  • *****
  • Posts: 205
  • Karma: +9005/-0
Re: mame to fba driver convert prog
« Reply #9 on: February 08, 2014, 12:35:16 PM »
it does that, or it should do more ?

Quote
//  Astro Fighter (set 1)

static struct BurnRomInfo AstrofRomDesc[] = {
};

STD_ROM_PICK(Astrof)
STD_ROM_FN(Astrof)

struct BurnDriver BurnDrvAstrof = {
   "astrof", NULL, NULL, "1980",
   "Astro Fighter (set 1)\0", NULL, "Data East", "",
   NULL, NULL, NULL, NULL,
   BDF_GAME_WORKING, 0, HARDWARE_MISC_PRE90S, 0, 0,
   NULL, AstrofRomInfo, AstrofRomName, astrofInputInfo, AstrofDIPInfo,
   DrvInit, DrvExit, DrvFrame, DrvDraw, DrvScan,
   0, NULL, NULL, NULL, &DrvRecalc, 256, 256, 4, 3
};


//  Astro Fighter (set 2)

static struct BurnRomInfo Astrof2RomDesc[] = {
};

STD_ROM_PICK(Astrof2)
STD_ROM_FN(Astrof2)

struct BurnDriver BurnDrvAstrof2 = {
   "astrof2", "astrof", NULL, "1980",
   "Astro Fighter (set 2)\0", NULL, "Data East", "",
   NULL, NULL, NULL, NULL,
   BDF_GAME_WORKING | BDF_CLONE, 0, HARDWARE_MISC_PRE90S, 0, 0,
   NULL, Astrof2RomInfo, Astrof2RomName, astrofInputInfo, Astrof2DIPInfo,
   DrvInit, DrvExit, DrvFrame, DrvDraw, DrvScan,
   0, NULL, NULL, NULL, &DrvRecalc, 256, 256, 4, 3
};


//  Astro Fighter (set 3)

static struct BurnRomInfo Astrof3RomDesc[] = {
};

STD_ROM_PICK(Astrof3)
STD_ROM_FN(Astrof3)

struct BurnDriver BurnDrvAstrof3 = {
   "astrof3", "astrof", NULL, "1980",
   "Astro Fighter (set 3)\0", NULL, "Data East", "",
   NULL, NULL, NULL, NULL,
   BDF_GAME_WORKING | BDF_CLONE, 0, HARDWARE_MISC_PRE90S, 0, 0,
   NULL, Astrof3RomInfo, Astrof3RomName, astrofInputInfo, Astrof3DIPInfo,
   DrvInit, DrvExit, DrvFrame, DrvDraw, DrvScan,
   0, NULL, NULL, NULL, &DrvRecalc, 256, 256, 4, 3
};


//  Tomahawk 777 (Revision 1)

static struct BurnRomInfo TomahawkRomDesc[] = {
};

STD_ROM_PICK(Tomahawk)
STD_ROM_FN(Tomahawk)

struct BurnDriver BurnDrvTomahawk = {
   "tomahawk", NULL, NULL, "1980",
   "Tomahawk 777 (Revision 1)\0", NULL, "Data East", "",
   NULL, NULL, NULL, NULL,
   BDF_GAME_WORKING, 0, HARDWARE_MISC_PRE90S, 0, 0,
   NULL, TomahawkRomInfo, TomahawkRomName, tomahawkInputInfo, TomahawkDIPInfo,
   DrvInit, DrvExit, DrvFrame, DrvDraw, DrvScan,
   0, NULL, NULL, NULL, &DrvRecalc, 256, 256, 4, 3
};


//  Tomahawk 777 (Revision 5)

static struct BurnRomInfo Tomahaw5RomDesc[] = {
};

STD_ROM_PICK(Tomahaw5)
STD_ROM_FN(Tomahaw5)

struct BurnDriver BurnDrvTomahaw5 = {
   "tomahaw5", "tomahawk", NULL, "1980",
   "Tomahawk 777 (Revision 5)\0", NULL, "Data East", "",
   NULL, NULL, NULL, NULL,
   BDF_GAME_WORKING | BDF_CLONE, 0, HARDWARE_MISC_PRE90S, 0, 0,
   NULL, Tomahaw5RomInfo, Tomahaw5RomName, tomahawkInputInfo, Tomahaw5DIPInfo,
   DrvInit, DrvExit, DrvFrame, DrvDraw, DrvScan,
   0, NULL, NULL, NULL, &DrvRecalc, 256, 256, 4, 3
};

Offline destronger

  • Newbies
  • *
  • Posts: 43
  • Karma: +7/-3
Re: mame to fba driver convert prog
« Reply #10 on: February 10, 2014, 09:14:04 PM »
Nope, i was talking about the driver converter  ;p

@kenshiro: i noticed that you mentioned a neogeo specific version but i couldn't locate it. could you supply download here?

mahalo

+ T +: Every time you mention Midway games in Final Burn, iq_132 kills a kitten!

Offline kenshiro

  • Expert
  • *****
  • Posts: 145
  • Karma: +21/-0
Re: mame to fba driver convert prog
« Reply #11 on: February 13, 2014, 09:26:29 AM »
it does that, or it should do more ?

It should do more. All BurnRomInfo structs are empty, this is not normal.

Offline kenshiro

  • Expert
  • *****
  • Posts: 145
  • Karma: +21/-0
Re: mame to fba driver convert prog
« Reply #12 on: February 13, 2014, 09:28:40 AM »
@kenshiro: i noticed that you mentioned a neogeo specific version but i couldn't locate it. could you supply download here?

mahalo

Sorry, it simply does not exists. I started (few years ago) to work on it but never finish it ;)

Offline destronger

  • Newbies
  • *
  • Posts: 43
  • Karma: +7/-3
Re: mame to fba driver convert prog
« Reply #13 on: February 13, 2014, 10:14:43 AM »
ok, thanks for the reply.
+ T +: Every time you mention Midway games in Final Burn, iq_132 kills a kitten!

Offline Arcadez

  • Expert
  • *****
  • Posts: 558
  • Karma: +15/-0
  • Arcade Addict
Re: mame to fba driver convert prog
« Reply #14 on: February 13, 2014, 12:14:58 PM »
Kenshiro i was wanting to ask you a quick question about VMM code in FBA/L i know you have lots of experiance in this area
there's 3 games that wont boot on stock xboxes DD Crew Laser Ghost and Desert Breaker of those 3 desert breaker is the one
i'd like play so the question is does VMM have to be coded on a game to game basis or is it added to cover all games in a driver
and can this code simply be reused in the segas18.c driver to get the above games to boot???
« Last Edit: February 13, 2014, 12:17:09 PM by gamez fan »