Homebrew ROM Hack Defeating Devolution

  • Thread starter Thread starter bobmcjr
  • Start date Start date
  • Views Views 43,539
  • Replies Replies 161
  • Likes Likes 35
  • Join the GBAtemp community: it's free
    • 50% fewer ads
    • Reply alerts
    • Join the discussion
    • Watch & bookmark
I don't know if Devolution can support multiple PS3 controllers for multiplayer, but Nintendont cannot. If Devolution can do it, it's a big advantage over Nintendont.
 
C:
        if (CONF_GetProgressiveScan() > 0)
        {
           DEVO_CONFIG->options |= CONFIG_FORCE_576P;
           iso_file = fopen(full_path, "rb");
           fseek(iso_file, 3, 0);
           // 480p has issues with pal60 games ex. Mario Kart DD intro-fmv stutters.
           char regionfor480p = fgetc(iso_file);
           if (regionfor480p == 'J' || regionfor480p == 'E') {DEVO_CONFIG->options |= CONFIG_FORCE_480P;}
           fclose(iso_file);
        };

        //edited from cfg-loader source so I can have my disc2 not in list
        //doesn't take a genius to see that a simple reordering will also keep autosearch in /games but I prefer freeze @ swap if no disc2 in idGame folder
        iso_file = fopen(full_path, "rb");
        struct stat st2;
        char disc2_path[256];
        char idGame[6];
        snprintf(disc2_path, sizeof(disc2_path), "disk:/%s/%s/disc2.iso", dirname, fgets(idGame, 7, iso_file));
        fclose(iso_file);
        stat(disc2_path, &st2);
        DEVO_CONFIG->disc2_cluster = st2.st_ino;
        FILE *iso_disc2;
        iso_disc2 = fopen(disc2_path, "rb");
        if(iso_disc2) fclose(iso_disc2);
        else printf("path=%s NOT FOUND !!\n",disc2_path);

Modifications for sample menu (I much preferred text instead of covers...) Should be pretty self-explanatory... ex. idgame can be GAFP01
Probably useless now ? (I think menu built from "cracked" docker reads from subfolder both disc1 and disc2, this one keeps disc1 in \games and only disc2 in game specific subfolder)
No dol at hand, sorry. Posting it here since the official thread is pretty dead.
 

Site & Scene News

New Hot Discussed User Submitted