RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    [SOLVED] Adding a clone to FBneo

    Scheduled Pinned Locked Moved Help and Support
    fbneoclonesromslibretto
    8 Posts 3 Posters 650 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      HoJo215
      last edited by HoJo215

      So I'm trying to add a recently aquired clone to fbneo libretro src but failing.
      I figured it's just adding the rom information and crcs to the d_neogeo.cpp
      Problem is I have two .p1 files. One is decrypted at 8.4mb and the other is encrypted with an .sp2 file, both those are 4.2mb. Also there is a .s1 file instead of .m1.

      This is my edit:

      };
      
      // Samurai Shodown V Perfect / Samurai Spirits Zero Perfect (NGH-2720) (1st release, censored)
      /* Encrypted Set */ /* SS NEO GEO COLLECTION VERSION, 1st release */
      
      static struct BurnRomInfo samsho5feRomDesc[] = {
      	/* Censored */
      	{ "272-p1.p1",   0x400000, 0x53aaf4bf, 1 | BRF_ESS | BRF_PRG }, //  0 68K code
      	{ "272-p2.sp2",  0x400000, 0x2a7f436e, 1 | BRF_ESS | BRF_PRG }, //  1 
      
      	/* The Encrypted Boards do not have an s1 rom, data for it comes from the Cx ROMs */
      	/* Encrypted */
      	{ "272-c1d.c1",    0x800000, 0xec9fda8d, 3 | BRF_GRA },           //  2 Sprite data
      	{ "272-c2d.c2",    0x800000, 0xd2fc888d, 3 | BRF_GRA },           //  3 
      	{ "272-c3d.c3",    0x800000, 0xb0ea781b, 3 | BRF_GRA },           //  4 
      	{ "272-c4d.c4",    0x800000, 0xd34ac591, 3 | BRF_GRA },           //  5 
      	{ "272-c5d.c5",    0x800000, 0x1b5c1ea2, 3 | BRF_GRA },           //  6 
      	{ "272-c6d.c6",    0x800000, 0xdeeaad58, 3 | BRF_GRA },           //  7 
      	{ "272-c7d.c7",    0x800000, 0xdce0119f, 3 | BRF_GRA },           //  8 
      	{ "272-c8d.c8",    0x800000, 0x3bf256c5, 3 | BRF_GRA },           //  9 
      
      	/* Encrypted */
      	{ "272-s1.s1",    0x080000, 0xc297f973, 4 | BRF_ESS | BRF_PRG }, // 10 Z80 code
      
      	/* Encrypted */
      	{ "272-v1d.v1",    0x800000, 0x3bf61586, 5 | BRF_SND },           // 11 Sound data
      	{ "272-v2d.v2",    0x800000, 0x95fe7646, 5 | BRF_SND },           // 12 
      };
      
      STDROMPICKEXT(samsho5fe, samsho5fe, neogeo)
      STD_ROM_FN(samsho5fe)
      
      struct BurnDriver BurnDrvsamsho5fe = {
      	"samsho5fe", "samsh5sp", "neogeo", NULL, "2004",
      	"Samurai Shodown V Perfect / Samurai Spirits Zero Perfect (NGH-2720) (1st release, censored)\0", NULL, "Yuki Enterprise / SNK Playmore", "Neo Geo MVS",
      	L"Samurai Shodown V Special\0\u30B5\u30E0\u30E9\u30A4\u30B9\u30D4\u30EA\u30C3\u30C4\u96F6 Special (NGH-2720) (1st release, censored)\0", NULL, NULL, NULL,
      	BDF_GAME_WORKING | BDF_CLONE | BDF_HISCORE_SUPPORTED, 2, HARDWARE_PREFIX_CARTRIDGE | HARDWARE_SNK_NEOGEO | HARDWARE_SNK_CMC50 | HARDWARE_SNK_ENCRYPTED_M1, GBF_VSFIGHT, FBF_SAMSHO,
      	NULL, samsho5feRomInfo, samsho5feRomName, NULL, NULL, NULL, NULL, neogeoInputInfo, neogeoDIPInfo,
      	samsh5spInit, NeoExit, NeoFrame, NeoRender, NeoScan, &NeoRecalcPalette,
      	0x1000,	304, 224, 4, 3
      };
      

      I've done this stuff in mame with the midway drivers but not fbneo. What am I missing?

      Here are the crcs:

      c1 ec9fda8d
      c2 d2fc888d
      c3 b0ea781b
      c4 d34ac591
      c5 1b5c1ea2
      c6 deeaad58
      c7 dce0119f
      c8 3bf256c5
      s1 c297f973
      v1 3bf61586
      v2 95fe7646
      
      encrypted_p1 53aaf4bf
      encrypted_sp2 2a7f436e
      
      decrypted_p1 8856d0af
      

      .s1 is for decrypted roms right and I think the set itself is decrypted except p1 and sp2

      1 Reply Last reply Reply Quote 0
      • G
        grant2258 Banned
        last edited by

        https://github.com/finalburnneo/FBNeo/commit/6f1af2a8e325934aa69c025fcb3e3ab9a4c28cfa

        H 1 Reply Last reply Reply Quote 1
        • H
          HoJo215 @grant2258
          last edited by

          @grant2258
          Damn! That was fast. Haha! Thanks.

          1 Reply Last reply Reply Quote 0
          • H
            HoJo215
            last edited by

            Damn. Just after I put in solved..
            Where did the .p1 and .sp2 files come from? My crcs don't match.
            Do I have to split the 8.4mb decrypted.sp1

            D 1 Reply Last reply Reply Quote 0
            • D
              danyo @HoJo215
              last edited by

              @HoJo215 You have to split the decrypted prom (8856d0af) by 4MB.

              H 1 Reply Last reply Reply Quote 1
              • H
                HoJo215 @danyo
                last edited by HoJo215

                @danyo
                With what and how? Hex editor or neo geo rom tools?
                And where did the decrypted .m1 file come from? ss5spnd?

                D 1 Reply Last reply Reply Quote 0
                • D
                  danyo @HoJo215
                  last edited by

                  @HoJo215 Use HJSplit. The m1rom should be found where you got your other files from.

                  H 1 Reply Last reply Reply Quote 1
                  • H
                    HoJo215 @danyo
                    last edited by

                    @danyo
                    Got it running. Thanks!

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post

                    Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                    Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.