• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Cyndy, May, Hero (Conquest), or Wes - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Other] How do I assemble Pokemon Stadium 2 (pret/pokestadium/stadiumgs)?

  • 14
    Posts
    11
    Years
    • Seen Jan 1, 2025
    I use Cygwin (for someone with 0 experience in Linux, it seems simpler to me than WSL). I've assembled some disassemblies before (Pokered for example), but for the life of me I can't figure out how to assemble Pokemon Stadium 2. I cloned the whole Pokestadium branch (I know you can't take the Stadiumgs folder only), try and run the make command in Stadiumgs, but I just get errors.

    It says /utils/json2rostertbl doesn't exist, and if I either change json2rostertbl.c to without the extension or instead change the json2rostertbl mention in the Makefile to json2rostertbl.c, that just tells me there's a syntax error in void 'printpokemon(struct json_object *);'. But my guess is I shouldn't need to rename anything in the first place and it's instead supposed to first compile json2rostertbl.c into a same-named file without extension, which it doesn't do.

    My guess is I need to install a package to Cygwin (I only have the packages installed required for Pokered and other disassemblies using the same packages)? In my experimentation (I tried manually compiling json2rostetbl.c just as a test to see what would happen) I notice that 2 of the includes, json_tokener.h and json_util.h, aren't found, which lead me to that conclusion. If so, what package(s) do I need? And if not, then what's the problem?

    EDIT: I'm a little bit further. I got an answer elsewhere that first the make command has to be run in the utils folder. First time ever for me that I'm dealing with having to run multiple make commands, so I wasn't aware of that. Did this on a completely new clone of the disassembly (deleted the previous entirely to make sure no edits I made could mess up things). However, I'm getting a bunch of errors, all a variation of this (different hex numbers and json_object_):

    /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /tmp/ccRQZIsV.o:json2rostertbl:(.text+0x2f5): undefined reference to `json_object_get_string'

    EDIT2: It looks like all I need now is presjpeg.c which for some reason isn't included in the disassembly, and then it should be smooth sailing from there.
     
    Last edited:
    I use Cygwin (for someone with 0 experience in Linux, it seems simpler to me than WSL). I've assembled some disassemblies before (Pokered for example), but for the life of me I can't figure out how to assemble Pokemon Stadium 2. I cloned the whole Pokestadium branch (I know you can't take the Stadiumgs folder only), try and run the make command in Stadiumgs, but I just get errors.

    It says /utils/json2rostertbl doesn't exist, and if I either change json2rostertbl.c to without the extension or instead change the json2rostertbl mention in the Makefile to json2rostertbl.c, that just tells me there's a syntax error in void 'printpokemon(struct json_object *);'. But my guess is I shouldn't need to rename anything in the first place and it's instead supposed to first compile json2rostertbl.c into a same-named file without extension, which it doesn't do.

    My guess is I need to install a package to Cygwin (I only have the packages installed required for Pokered and other disassemblies using the same packages)? In my experimentation (I tried manually compiling json2rostetbl.c just as a test to see what would happen) I notice that 2 of the includes, json_tokener.h and json_util.h, aren't found, which lead me to that conclusion. If so, what package(s) do I need? And if not, then what's the problem?

    EDIT: I'm a little bit further. I got an answer elsewhere that first the make command has to be run in the utils folder. First time ever for me that I'm dealing with having to run multiple make commands, so I wasn't aware of that. Did this on a completely new clone of the disassembly (deleted the previous entirely to make sure no edits I made could mess up things). However, I'm getting a bunch of errors, all a variation of this (different hex numbers and json_object_):

    /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /tmp/ccRQZIsV.o:json2rostertbl:(.text+0x2f5): undefined reference to `json_object_get_string'
    You can ask about it in Pret's Discord server's #pokestadium channel, though I wouldn't hold my hopes up if I were you. I don't think Pokestadium is in a usable state.
    If you check the latest commit, you'll notice it hasn't been worked on for the past 2 years too.
     
    I'm not really worried about its state: I once did some edits on someone's Pokemon TCG 2 disassembly that was WAY more incomplete and it worked perfectly. Any missing information is simply pulled from the baserom. I have faith that the rentals should work fine with how the disassembly looks like.

    And for the most part I have the problems solved actually. Just 1 more thing and I'm all set, and I wish I noticed it sooner: the disassembly is completely missing presjpeg.c which is necessary. I looked all over but can't find it anywhere. Sadly, asking in Discord wouldn't work for me, as Discord requires a phone to register and I don't have one (never needed it: 100% of my communication is either in-person or through the PC).
     
    Sadly, asking in Discord wouldn't work for me, as Discord requires a phone to register and I don't have one (never needed it: 100% of my communication is either in-person or through the PC).
    Uh, it doesn't. You can create an account in discordapp.com just fine. Only things you have to provide are a username, email and a password. You verify the email afterward, and you're set.
    Certain servers may need you to set up a two-factor authentication which would connect to a phone, but Pret's isn't one of them.
     
    Tried going on their Discord, but then I get this:

    Something's Going on Here

    We've detected something out of the ordinary going on. To continue using Discord, we will need you to verify your account.


    And the only verification option I get is phone verification.
     
    Last edited:
    Tried going on their Discord, but then I get this:

    Something's Going on Here

    We've detected something out of the ordinary going on. To continue using Discord, we will need you to verify your account.


    And the only verification option I get is phone verification.
    Are you using something funky such as a VPN, container tabs in a browser such as Firefox, or a web browser with privacy hardening changes?
    It's quite strange that you're getting that warning otherwise.

    I'll link up this thread there in your behalf for now. I'm not sure if someone will come over here, but there's nothing to lose.
     
    Just standard Google Chrome with simple wireless internet, no VPN or anything.
     
    Back
    Top