Author Topic: Missing Sprites in "Streets of Rage 2: Syndicate Wars" (SOR2 Hack By Gsaurus)  (Read 7939 times)

Offline Combone

  • Jr. Member
  • **
  • Posts: 58
  • Karma: +2/-0
Hi, Please  :smilie:

Possible fix Street of Rage 2 MegaDrive rom hack?.

Look, "Extra Characters don't show sprites and move"...




...

Video Rom Hack Gameplay By M3tro Project: https://www.youtube.com/watch?v=2gvmtbYcdoc
« Last Edit: July 17, 2017, 05:13:19 PM by Combone »

Offline dink

  • Administrator
  • *****
  • Posts: 5014
  • Karma: +449/-1
  • pie? I nearly bought one!
It works fine here, I just added it to fba :)
Are you compiling your own? Put this in d_megadrive.cpp:
Code: [Select]
// Streets of Rage 2 (USA) Syndicate Wars 2016 Hack by Gsaurus
static struct BurnRomInfo md_sor2uswRomDesc[] = {
{ "sor2 sw.bin", 0x31b5ce, 0xb49b4a9b, BRF_PRG | SEGA_MD_ROM_LOAD16_WORD_SWAP | SEGA_MD_ROM_OFFS_000000  },
};

STD_ROM_PICK(md_sor2usw)
STD_ROM_FN(md_sor2usw)

struct BurnDriver BurnDrvmd_sor2usw = {
"md_sor2usw", "md_sor2", NULL, NULL, "1992",
"Streets of Rage 2 (USA) Syndicate Wars 2016 (Hack)\0", NULL, "2016 Gsaurus", "Sega Megadrive",
NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_16BIT_ONLY | BDF_CLONE, 2, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0,
MegadriveGetZipName, md_sor2uswRomInfo, md_sor2uswRomName, NULL, NULL, MegadriveInputInfo, MegadriveDIPInfo,
MegadriveInit, MegadriveExit, MegadriveFrame, NULL, MegadriveScan,
&bMegadriveRecalcPalette, 0x100, 320, 224, 4, 3
};

p.s. I think the reason it didn't show the new sprites because the romsize needs to be correct.  If you try to load it in-place of sor2u (for example), it will only load 0x200000 bytes of the rom - but - the rom is really 0x31b5ce bytes :)

best regards,
- dink

Offline Combone

  • Jr. Member
  • **
  • Posts: 58
  • Karma: +2/-0
It works fine here, I just added it to fba :)
Are you compiling your own? Put this in d_megadrive.cpp:
Code: [Select]
// Streets of Rage 2 (USA) Syndicate Wars 2016 Hack by Gsaurus
static struct BurnRomInfo md_sor2uswRomDesc[] = {
{ "sor2 sw.bin", 0x31b5ce, 0xb49b4a9b, BRF_PRG | SEGA_MD_ROM_LOAD16_WORD_SWAP | SEGA_MD_ROM_OFFS_000000  },
};

STD_ROM_PICK(md_sor2usw)
STD_ROM_FN(md_sor2usw)

struct BurnDriver BurnDrvmd_sor2usw = {
"md_sor2usw", "md_sor2", NULL, NULL, "1992",
"Streets of Rage 2 (USA) Syndicate Wars 2016 (Hack)\0", NULL, "2016 Gsaurus", "Sega Megadrive",
NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_16BIT_ONLY | BDF_CLONE, 2, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0,
MegadriveGetZipName, md_sor2uswRomInfo, md_sor2uswRomName, NULL, NULL, MegadriveInputInfo, MegadriveDIPInfo,
MegadriveInit, MegadriveExit, MegadriveFrame, NULL, MegadriveScan,
&bMegadriveRecalcPalette, 0x100, 320, 224, 4, 3
};

p.s. I think the reason it didn't show the new sprites because the romsize needs to be correct.  If you try to load it in-place of sor2u (for example), it will only load 0x200000 bytes of the rom - but - the rom is really 0x31b5ce bytes :)

best regards,
- dink

Thanks for all :) dink

EDIT:

I try compile FBA and get this error..

src/cpu/mips3/mips3_common.h:4:19: cstdint: No such file or directory
src/burn/drv/midway/d_kinst.cpp:531: warning: unused parameter 'nAction'
src/burn/drv/midway/d_kinst.cpp:531: warning: unused parameter 'pnMin'
mingw32-make[1]: *** [d_kinst.o] Error 1
mingw32-make: *** [mingw345] Error 2


 :redface:
« Last Edit: July 17, 2017, 08:11:29 PM by Combone »

Offline dink

  • Administrator
  • *****
  • Posts: 5014
  • Karma: +449/-1
  • pie? I nearly bought one!
It's an easy fix, edit Makefile and put # in front of this line: INCLUDE_CPLUSPLUS11_FILES = 1

Offline Combone

  • Jr. Member
  • **
  • Posts: 58
  • Karma: +2/-0
It's an easy fix, edit Makefile and put # in front of this line: INCLUDE_CPLUSPLUS11_FILES = 1

Yes, Finaly compiled  :biggrin: Thanks for all Support  :smilie:


Offline Stifu

  • Member
  • ***
  • Posts: 246
  • Karma: +5/-0
It works fine here, I just added it to fba :)
Nice! Could you also add The Bare Knuckle 3 Project by gsaurus? It's another great SoR hack. There are multiple versions floating around, but just like SoR 2 Syndicate Wars, I guess only the latest (2016 2017) version matters.
« Last Edit: July 19, 2017, 03:14:03 PM by Stifu »

Offline Combone

  • Jr. Member
  • **
  • Posts: 58
  • Karma: +2/-0
Nice! Could you also add The Bare Knuckle 3 Project by gsaurus? It's another great SoR hack. There are multiple versions floating around, but just like SoR 2 Syndicate Wars, I guess only the latest (2016 2017) version matters.

Testing now  :wink: all credits for dink  :smilie:



Edit

Finished game with Max. Game work good  ;p
« Last Edit: July 20, 2017, 12:29:27 AM by Combone »