Author Topic: Thunder Heroes driver  (Read 9732 times)

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Thunder Heroes driver
« on: January 11, 2007, 10:23:12 AM »
Here's a driver for Thunder Heroes for FBA (nothing difficult really, it is just a hack of Gaia Crusaders).


Offline KOF2112

  • Expert
  • *****
  • Posts: 187
  • Karma: +14/-4
Re: Thunder Heroes driver
« Reply #1 on: January 11, 2007, 11:21:53 AM »
 :biggrin:

Thanks for the update ! iq_132

Quote
   { "crvsaders-snd1.u0447",  0x400000, 0x92770a52, BRF_SND },          //  7 YMZ280B (AD)PCM data
   { "crvsaders-snd2.u0454",  0x400000, 0x329AE1CF, BRF_SND },          //  8
   { "t-hero-snd3.u0455",     0x400000, 0x329ae1cf, BRF_SND },          //  9

by
Quote
   { "crvsaders-snd1.u0447",  0x400000, 0x92770a52, BRF_SND },          //  7 YMZ280B (AD)PCM data
   { "crvsaders-snd2.u0454",  0x400000, 0x329AE1CF, BRF_SND },          //  8
   { "t-hero-snd3.u0455",     0x400000, 0x52b0b2c0, BRF_SND },          //  9

Gaia Crusaders
Quote
   { "snd1.447",     0x400000, 0x92770A52, BRF_SND },          //  7 YMZ280B (AD)PCM data
   { "snd1.454",     0x400000, 0x329AE1CF, BRF_SND },          //  8
   { "snd1.455",     0x400000, 0x4048D64E, BRF_SND },          //  9

by
Quote
   { "snd1.447",     0x400000, 0x92770A52, BRF_SND },          //  7 YMZ280B (AD)PCM data
   { "snd2.454",     0x400000, 0x329AE1CF, BRF_SND },          //  8
   { "snd3.454",     0x400000, 0x4048D64E, BRF_SND },          //  9
« Last Edit: January 11, 2007, 12:46:24 PM by KOF2112 »

Offline BisonSAS

  • Expert
  • *****
  • Posts: 210
  • Karma: +27/-0
  • [NGBRT]
    • NeoGeo BR Team
Re: Thunder Heroes driver
« Reply #2 on: January 11, 2007, 09:16:50 PM »
Thanks iq_132 & KOF2112! :biggrin:

Any idea for unicode Chinese(?) title? :confused:
« Last Edit: January 11, 2007, 10:29:26 PM by BisonSAS »

Offline Leaf

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +9/-4
Re: Thunder Heroes driver
« Reply #3 on: January 12, 2007, 03:19:50 AM »
Any idea for unicode Chinese(?) title? :confused:
If you have used the local gamelist src, (posted here)

modify ScrnTitle() in scrn.cpp,
find:
Code: [Select]
TCHAR* pszName = BurnDrvGetText(DRV_FULLNAME);change it to:
Code: [Select]
TCHAR* pszName = TransGameName(BurnDrvGetText(DRV_FULLNAME), false);
If you enable using local gamelist, the window title name will be translated. :D

Offline BisonSAS

  • Expert
  • *****
  • Posts: 210
  • Karma: +27/-0
  • [NGBRT]
    • NeoGeo BR Team
Re: Thunder Heroes driver
« Reply #4 on: January 13, 2007, 12:45:27 PM »
No Leaf. :cool:
My question is about this title:


I found this UNICODE by title: 霹雳英雄 = u9739\u96F3\u82F1\u96C4

Here this code:
Quote
struct BurnDriver BurnDrvtheroes = {
   "theroes", NULL, NULL, "2001",
   "Thunder Heroes\0", NULL, "Primetec Investments", "Cave",
   L"\u9739\u96F3\u82F1\u96C4 Thunder Heroes\0", NULL, NULL, NULL,
   BDF_GAME_WORKING | BDF_16BIT_ONLY, 2, HARDWARE_CAVE_68K_ONLY,
   NULL, theroesRomInfo, theroesRomName, gaiaInputInfo, theroesDIPInfo,
   DrvInit, DrvExit, DrvFrame, DrvDraw, DrvScan, &CaveRecalcPalette,
   320, 224, 4, 3
};

Thanks ;)
« Last Edit: January 16, 2007, 12:48:07 AM by BisonSAS »

Offline Shoometsu

  • Jr. Member
  • **
  • Posts: 66
  • Karma: +0/-0
  • I finally have an avatar XD
Re: Thunder Heroes driver
« Reply #5 on: January 15, 2007, 07:08:30 PM »
the last driver uses very long rom names (i.e. "t-hero-snd3.u0455"). nobody posted here, but I needed to change BurnRomInfo.szName size.

src/burn/burn.h
find
Quote
struct BurnRomInfo {
   char szName[16];
   unsigned int nLen;
   unsigned int nCrc;
   unsigned int nType;
};
replace with
Quote
struct BurnRomInfo {
   char szName[24];
   unsigned int nLen;
   unsigned int nCrc;
   unsigned int nType;
};
« Last Edit: January 15, 2007, 07:11:07 PM by Shoometsu »
<- Who are you?

Offline Leaf

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +9/-4
Re: Thunder Heroes driver
« Reply #6 on: January 18, 2007, 07:27:27 AM »
No Leaf. :cool:
My question is about this title:
Sorry, I misunderstood. :p

the last driver uses very long rom names (i.e. "t-hero-snd3.u0455"). nobody posted here, but I needed to change BurnRomInfo.szName size.
Why not change it to:
Quote
struct BurnRomInfo {
    char* szName;
    unsigned int nLen;
    unsigned int nCrc;
    unsigned int nType;
};
:biggrin: