Author Topic: My Nebula wof3js and wof3sj romdata,^_^  (Read 8954 times)

Offline bms888

  • Jr. Member
  • **
  • Posts: 93
  • Karma: +0/-0
  • Member
My Nebula wof3js and wof3sj romdata,^_^
« on: March 11, 2005, 07:57:06 PM »
wof3js 没有声音的哟,^_^。

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

System: CPSQ
RomName: wof3js
Game: Warriors of Fate (San Jian Sheng)
Parent: wof

[Program]
3js_23.rom,0,80000,1ebb76da,0
3js_22.rom,80000,80000,f41d6153,0
3js_28.rom,C0000,20000,8ba934e6,3
3js_24.rom,C0001,20000,06ead409,3

[Graphics]
tk2_gfx1.rom,0,80000,D9CB9BF,0
tk2_gfx3.rom,2,80000,45227027,0
tk2_gfx2.rom,4,80000,C5CA2460,0
tk2_gfx4.rom,6,80000,E349551C,0
3js_gfx5.rom,200000,80000,94b58f82,0
3js_gfx7.rom,200002,80000,df4fb386,0
3js_gfx6.rom,200004,80000,c22c5bd8,0
3js_gfx8.rom,200006,80000,f9cfd08b,0

[Z80]
3js_09.rom,0,10000,21ce044c,0

[Samples]
3js_18.rom,0,20000,ac6e307d,0
3js_19.rom,20000,20000,068741db,0

[System]
LayerControl: 66,02,04,08
BGHiControl: 68,6a,6c,6e
Stars: 30,30
Banks: 00,00,00
BoardID: 00,0000
Multiply: 40,42,44,46
ButLayout: A
Fix: 0

[Kabuki]
Swap1: 1234567
Swap2: 54163072
XorKey1: 5151
XorKey2: 51

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Offline bms888

  • Jr. Member
  • **
  • Posts: 93
  • Karma: +0/-0
  • Member
My Nebula wof3js and wof3sj romdata,^_^
« Reply #1 on: March 11, 2005, 07:57:58 PM »
wof3sj 好像 NB 没有内置驱动,因此只能看动画,不能控制,也可能我蒙的不对。^_^


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

System: CPSQ
RomName: wof3sj
Game: Warriors of Fate (San Sheng Jian)
Parent: wof

[Program]
k6a.040,0,80000,10488A51,3
k6b.040,1,80000,7B365108,3

[Graphics]
k6a.160,0,200000,A121180D,5
k6b.160,200000,200000,A4DB96C4,5

[Z80]
tk2_qa.rom,0,20000,C9183A0D,0

[Samples]
tk2_q1.rom,0,80000,611268CF,0
tk2_q2.rom,80000,80000,20F55CA9,0
tk2_q3.rom,100000,80000,BFCF6F52,0
tk2_q4.rom,180000,80000,36642E88,0

[System]
LayerControl: 60,2,4,8
BGHiControl: 68,6A,6C,6E
Stars: 30,30
Banks: 00,00,00
BoardID: 00,0000
Multiply: 40,42,44,46
ButLayout: A
Fix: E

[Kabuki]
Swap1: 1234567
Swap2: 54163072
XorKey1: 5151
XorKey2: 51

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Offline bms888

  • Jr. Member
  • **
  • Posts: 93
  • Karma: +0/-0
  • Member
My Nebula wof3js and wof3sj romdata,^_^
« Reply #2 on: March 11, 2005, 08:02:58 PM »
wof3js and wof3sj NB screenshots,^_^




Offline netbug

  • Newbies
  • *
  • Posts: 37
  • Karma: +1/-0
  • Member
My Nebula wof3js and wof3sj romdata,^_^
« Reply #3 on: March 11, 2005, 11:40:29 PM »
It works,but faultily.Maybe someone can improve code
in future,otherwise, I have no time to deal with those drivers.

Code: [Select]

static struct BurnInputInfo Wof3jsInputList[] =
{
  {"P1 Coin"       , BIT_DIGITAL, CpsInp018+0, "p1 coin"},
  {"P1 Start"      , BIT_DIGITAL, CpsInp018+4, "p1 start"},
  {"P1 Up"         , BIT_DIGITAL, CpsInp001+3, "p1 up"},
  {"P1 Down"       , BIT_DIGITAL, CpsInp001+2, "p1 down"},
  {"P1 Left"       , BIT_DIGITAL, CpsInp001+1, "p1 left"},
  {"P1 Right"      , BIT_DIGITAL, CpsInp001+0, "p1 right"},
  {"P1 Attack"     , BIT_DIGITAL, CpsInp001+4, "p1 fire 1"},
  {"P1 Jump"       , BIT_DIGITAL, CpsInp001+5, "p1 fire 2"},
  {"P1 Fire"       , BIT_DIGITAL, CpsInp001+6, "p1 fire 3"},

  {"P2 Coin"       , BIT_DIGITAL, CpsInp018+1, "p2 coin"},
  {"P2 Start"      , BIT_DIGITAL, CpsInp018+5, "p2 start"},
  {"P2 Up"         , BIT_DIGITAL, CpsInp000+3, "p2 up"},
  {"P2 Down"       , BIT_DIGITAL, CpsInp000+2, "p2 down"},
  {"P2 Left"       , BIT_DIGITAL, CpsInp000+1, "p2 left"},
  {"P2 Right"      , BIT_DIGITAL, CpsInp000+0, "p2 right"},
  {"P2 Attack"     , BIT_DIGITAL, CpsInp000+4, "p2 fire 1"},
  {"P2 Jump"       , BIT_DIGITAL, CpsInp000+5, "p2 fire 2"},
  {"P2 Fire"       , BIT_DIGITAL, CpsInp000+6, "p2 fire 3"},

  {"P3 Coin"       , BIT_DIGITAL, CpsInpc001+6, "p3 coin"  },
  {"P3 Start"      , BIT_DIGITAL, CpsInpc001+7, "p3 start" },
  {"P3 Up"         , BIT_DIGITAL, CpsInpc001+3, "p3 up"    },
  {"P3 Down"       , BIT_DIGITAL, CpsInpc001+2, "p3 down"  },
  {"P3 Left"       , BIT_DIGITAL, CpsInpc001+1, "p3 left"  },
  {"P3 Right"      , BIT_DIGITAL, CpsInpc001+0, "p3 right" },
  {"P3 Attack"     , BIT_DIGITAL, CpsInpc001+4, "p3 fire 1"},
  {"P3 Jump"       , BIT_DIGITAL, CpsInpc001+5, "p3 fire 2"},
  {"P3 Fire"       , BIT_DIGITAL, CpsInpc001+6, "p3 fire 3"},

  {"Reset"         , BIT_DIGITAL, &CpsReset,   "reset"},
  {"Diagnostic"    , BIT_DIGITAL, CpsInp018+6, "diag"},
  {"Service"       , BIT_DIGITAL, CpsInp018+2, "service"},
  {"Dip C"         , BIT_DIPSWITCH, &Cpi01E    , "dip"},
};

STDINPUTINFO(Wof3js);


//================================================
//Sangokushi II San Jian Sheng 三国志Ⅱ 三剑圣
//================================================

// Count possible zip names and (if pszName!=NULL) return them

// Rom information
static struct BurnRomInfo Wof3jsRomDesc[] = {
{ "3js_23.rom",    0x80000, 0x1ebb76da, BRF_ESS | BRF_PRG }, // 0 swapped 68000 code
{ "3js_22.rom",    0x80000, 0xf41d6153, BRF_ESS | BRF_PRG }, // 1
{ "3js_28.rom",    0x20000, 0x8ba934e6, BRF_ESS | BRF_PRG }, // 2
{ "3js_24.rom",    0x20000, 0x06ead409, BRF_ESS | BRF_PRG }, // 3

  // graphics:
{ "tk2_gfx1.rom",  0x80000, 0x0d9cb9bf, BRF_GRA }, // 4
{ "tk2_gfx3.rom",  0x80000, 0x45227027, BRF_GRA },       // 5
{ "tk2_gfx2.rom",  0x80000, 0xc5ca2460, BRF_GRA },       // 6
{ "tk2_gfx4.rom",  0x80000, 0xe349551c, BRF_GRA },       // 7
{ "3js_gfx5.rom",  0x80000, 0x94b58f82, BRF_GRA }, // 8
{ "3js_gfx7.rom",  0x80000, 0xdf4fb386, BRF_GRA },       // 9
{ "3js_gfx6.rom",  0x80000, 0xc22c5bd8, BRF_GRA },       // 10
{ "3js_gfx8.rom",  0x80000, 0xf9cfd08b, BRF_GRA },       // 11

  // z80 rom
{ "tk2_qa.rom",    0x20000, 0xc9183a0d, BRF_SND }, // 12
  // samples
{ "tk2_q1.rom",    0x80000, 0x611268cf, BRF_SND },       // 13
{ "tk2_q2.rom",    0x80000, 0x20f55ca9, BRF_SND },       // 14
{ "tk2_q3.rom",    0x80000, 0xbfcf6f52, BRF_SND },       // 15
{ "tk2_q4.rom",    0x80000, 0x36642e88, BRF_SND },       // 16
};

// Make The RomInfo/Name functions for the game
STD_ROM_PICK(Wof3js) STD_ROM_FN(Wof3js)

static int Wof3jsInit()
{
  int nRet=0; unsigned char *pqs=NULL;
  Cps=1; Cps1Qs=1;
  nCpsRomLen= 2*0x080000;
  nCpsCodeLen=0; // not encrypted
  nCpsGfxLen= 8*0x080000;
  nCpsZRomLen= 2*0x020000;
  nCpsQSamLen= 4*0x080000;
  nRet=CpsInit(); if (nRet!=0) return 1;

  // Load program roms
  nRet=BurnLoadRom(CpsRom+0x000000,0,1); if (nRet!=0) return 1;
  nRet=BurnLoadRom(CpsRom+0x080000,1,1); if (nRet!=0) return 1;
  nRet=BurnLoadRom(CpsRom+0x0C0001,2,2); if (nRet!=0) return 1;
  nRet=BurnLoadRom(CpsRom+0x0C0000,3,2); if (nRet!=0) return 1;
  BurnByteswap(CpsRom+0x0C0000,0x040000);

  // Load graphics roms
  CpsLoadTiles(CpsGfx         , 4);
  CpsLoadTiles(CpsGfx+0x200000, 8);

  nCpsLcReg=0x66; // Layer control register is at 0x66
  CpsLayEn[1]=0x02;
  CpsLayEn[2]=0x04;
  CpsLayEn[3]=0x08;

  // Protection enable code by KEV
  CpsMProt[0]=0x40;
  CpsMProt[1]=0x42;
  CpsMProt[2]=0x44;
  CpsMProt[3]=0x46;

  // Start of Board ID improvments by KEV. 0x00,0x0000
  CpsBID[0]=0x00;
  CpsBID[1]=0x00;
  CpsBID[2]=0x00;
  //end

  MaskAddr[0]=0x68;
  MaskAddr[1]=0x6a;
  MaskAddr[2]=0x6c;
  MaskAddr[3]=0x6e;

  nRet=BurnLoadRom(CpsZRom,12,1);
  wof_decode();

  pqs=(unsigned char *)CpsQSam;
  nRet=BurnLoadRom(pqs         ,13,1);
  nRet=BurnLoadRom(pqs+0x080000,14,1);
  nRet=BurnLoadRom(pqs+0x100000,15,1);
  nRet=BurnLoadRom(pqs+0x180000,16,1);


  nRet=CpsRunInit(); if (nRet!=0) return 1;
  // Ready to go
  return 0;
}

struct BurnDriver BurnDrvCpsWof3js = {
"wof3js", "wof", NULL, "1992",
"Sangokushi II San Jian Sheng\0三国志Ⅱ 三剑圣\0按Start换人,C键放火(有数量限制)\0", NULL, "Capcom", "CPS1 / QSound",
L"Sangokushi II San Jian Sheng\0\u4E09\u570B\u8A8C\u2161 \u4E09\u528D\u8056\0", NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE | BDF_BOOTLEG,3,HARDWARE_CAPCOM_CPS1_QSOUND,
NULL,Wof3jsRomInfo,Wof3jsRomName,Wof3jsInputInfo, wofDIPInfo,
Wof3jsInit,DrvExit,Cps1Frame,CpsRedraw,CpsAreaScan,
&CpsRecalcPal,384,224,4,3
};
:D  :D

Offline bms888

  • Jr. Member
  • **
  • Posts: 93
  • Karma: +0/-0
  • Member
My Nebula wof3js and wof3sj romdata,^_^
« Reply #4 on: March 12, 2005, 12:13:46 AM »
Well done,netbug,can you speak in chinese?



Quote from: netbug
It works,but not perfectly.Maybe someone can improve code
in future,otherwise, I have no time to deal with the drivers.

Code: [Select]

//================================================
//Tenchi wo Kurau II - Sekiheki no Tatakai - San Jian Sheng 天地吞食Ⅱ 赤壁之战 三剑圣
//================================================

Wof3jsInit,DrvExit,Cps1Frame,CpsRedraw,CpsAreaScan,
&CpsRecalcPal,384,224,4,3
};
:D  :D

Offline netbug

  • Newbies
  • *
  • Posts: 37
  • Karma: +1/-0
  • Member
My Nebula wof3js and wof3sj romdata,^_^
« Reply #5 on: March 12, 2005, 01:32:45 AM »
“有时间”一定试试的……不过盗版加密一般比较怪异的。  :mad:
我是不太敢碰这些东东的。 :D
还有www.*.com现在停止注册了,
所以那个圣剑无敌的ROM也下载不了了。 :o  :D
« Last Edit: May 10, 2005, 12:08:38 PM by iq_132 »

Offline netbug

  • Newbies
  • *
  • Posts: 37
  • Karma: +1/-0
  • Member
My Nebula wof3js and wof3sj romdata,^_^
« Reply #6 on: March 13, 2005, 04:50:45 AM »
I have updated wof3js driver,but it also works faultily.
:eek:  :D  :D

Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
My Nebula wof3js and wof3sj romdata,^_^
« Reply #7 on: March 13, 2005, 06:40:31 AM »
Any patches to get these roms please ?
IQ Forum Member

Offline netbug

  • Newbies
  • *
  • Posts: 37
  • Karma: +1/-0
  • Member
My Nebula wof3js and wof3sj romdata,^_^
« Reply #8 on: March 13, 2005, 07:29:51 PM »
Quote from: James33
Any patches to get these roms please ?


These roms were encrypted in the piratic style,in other words,
they were entirely different from original roms,
and I also have not got sg2's rom now.As far as I know that
FerchogtX and neo04 are both the members of ppxbbs forum
except me.Maybe those guys can help you get the roms.
:o  :D  :D

Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
My Nebula wof3js and wof3sj romdata,^_^
« Reply #9 on: March 13, 2005, 09:16:12 PM »
Ok thanks .
IQ Forum Member