Author Topic: a problem occured playing samsh5sp's decrypted C driver with 0746's nFBA build  (Read 9055 times)

Offline lxd_bruce

  • Jr. Member
  • **
  • Posts: 75
  • Karma: +1/-0
After adding the following samsh5sp's decrypted C driver to 0746's latest nFBA SRC ([08.03] NFBA DTR9 U1 + kailleraclient) and compiling it, I got my own build.

however, when playing this samsh5sp's decrypted C driver, a problem occured.
look at the picture.

how to solve it?

Code: [Select]
// Samurai Shodown V Special (set 1, uncensored, decrypted C)

static struct BurnRomInfo smsh5spdRomDesc[] = {
{ "272-p1.bin",   0x400000, 0xfb7a6bba, 1 | BRF_ESS | BRF_PRG }, //  0 68K code
{ "272-p2.bin",   0x400000, 0x63492ea6, 1 | BRF_ESS | BRF_PRG }, //  1

{ "272-c1d.bin",    0x800000, 0x8548097e, 3 | BRF_GRA }, //  2 Sprite data
{ "272-c2d.bin",    0x800000, 0x8c1b48d0, 3 | BRF_GRA }, //  3
{ "272-c3d.bin",    0x800000, 0x96ddb28c, 3 | BRF_GRA }, //  4
{ "272-c4d.bin",    0x800000, 0x99ef7a0a, 3 | BRF_GRA }, //  5
{ "272-c5d.bin",    0x800000, 0x772e8b1e, 3 | BRF_GRA }, //  6
{ "272-c6d.bin",    0x800000, 0x5fff21fc, 3 | BRF_GRA }, //  7
{ "272-c7d.bin",    0x800000, 0x9ac56a0e, 3 | BRF_GRA }, //  8
{ "272-c8d.bin",    0x800000, 0xcfde7aff, 3 | BRF_GRA }, //  9

{ "272-m1_decrypted.bin",0x080000, 0x203d744e, 4 | BRF_ESS | BRF_PRG }, // 10 Z80 code (decrypted)

{ "272-v1.bin",   0x800000, 0x76a94127, 5 | BRF_SND },           // 12 Sound data
{ "272-v2.bin",   0x800000, 0x4ba507f1, 5 | BRF_SND },           // 13
};

STDROMPICKEXT(smsh5spd, smsh5spd, neogeo);
STD_ROM_FN(smsh5spd);

static int smsh5spdInit()
{
int nRet;

pNeoInitCallback = samsh5spCallback;

nNeoTextROMSize = 0x80000;

nRet = NeoInit();

if (nRet == 0) {
PCM2DecryptVInfo Info = { 0x02000, 0xFFB440, { 0x4B, 0xA4, 0x63, 0x46, 0xF0, 0x91, 0xEA, 0x62 } };

PCM2DecryptV(&Info);
}

return nRet;
}

struct BurnDriver BurnDrvsmsh5spd = {
"smsh5spd", "samsh5sp", "neogeo", "2003",
"Samurai Shodown V Special (set 1, uncensored, decrypted C)\0Samurai Spirits Zero Special (set 1, uncensored, decrypted C)\0", NULL, "Yuki Enterprise / SNK Playmore", "Neo Geo",
L"Samurai Shodown V Special (set 1, uncensored, decrypted C)\0\u30B5\u30E0\u30E9\u30A4\u30B9\u30D4\u30EA\u30C3\u30C4\u96F6 Special (set 1, uncensored, decrypted C)\0", NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE, 2, HARDWARE_SNK_NEOGEO,
NULL, smsh5spdRomInfo, smsh5spdRomName, neogeoInputInfo, neogeoDIPInfo,
smsh5spdInit, NeoExit, NeoFrame, NeoRender, NeoScan, &neomechpalette.NeoRecalcPalette,
nNeoScreenWidth, 224, 4, 3
};


Offline 0746

  • Expert
  • *****
  • Posts: 108
  • Karma: +2/-0

I see whats going on now

DTR9's neogeo code is broken.

use http://kaillera.movsq.net/old/nfbadtrc+src.7z

Offline lxd_bruce

  • Jr. Member
  • **
  • Posts: 75
  • Karma: +1/-0
thanks. 0746 :biggrin:
FBA 029673 doesn't use IQ's neogeo cleanup. so, maybe this is the reason the problem occurs. :rolleyes:

Offline 0746

  • Expert
  • *****
  • Posts: 108
  • Karma: +2/-0
There is also an update patch to that for latency compensation support of megadrive drivers and a things like pausing and fast forwarding support during netplay playback: http://kaillera.movsq.net/old/nfbadtrc91+src.7z

I was gonna release another patch with PGM and Psikyo but they don't quite work yet and I ran out of time so maybe on next weekend. Not to mention how there is a new version of fba too ^_^

Offline CaptainCPS

  • FBNeo Dev
  • ******
  • Posts: 1513
  • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Hey 0746, I was wondering if those modifications you make for the netplay can be for example be conditioned...like...

if(bNetPlay && bNetPlayUse0746Mods) {

// your modded code here

} else {

// normal FBA code here

}

that is just an example of what I mean, ...and my point is that if its posible to make all your modifications conditioned they could be added probably if Barry wants, to the official build as a user optional setting

SeeYaa!
 :biggrin:

Offline Barry Harris

  • dontbeabarry
  • *
  • Posts: 1785
  • Karma: +0/-65535
  • I'm Barry Harris and I like to f*** people over
Hey 0746, I was wondering if those modifications you make for the netplay can be for example be conditioned...like...

if(bNetPlay && bNetPlayUse0746Mods) {

// your modded code here

} else {

// normal FBA code here

}

that is just an example of what I mean, ...and my point is that if its posible to make all your modifications conditioned they could be added probably if Barry wants, to the official build as a user optional setting

SeeYaa!
 :biggrin:

I'll let 0746 comment properly but from what I've seen it isn't as simple as that in the slightest. :)
Account of Barry Harris; the traitor.
Send me an e-mail at barry@fbalpha.com letting me know how big of a piece of sh** I am.

Offline 0746

  • Expert
  • *****
  • Posts: 108
  • Karma: +2/-0
Captain: I think it's more of a question of appropriateness. Even though everything is open source, personally I don't think if they'll look good on the official version of a prestigious emulator like FBA. You should have a look at the changes and hacks that are there and I think you'll feel the same way :p