How To See Other Games' Code (current info posted in OP and Post 146 on 6/18/19)

@Eric_Moser Here ya go!


First thing you have to do is choose the game whose code you want to see!

I’m using Community College Hero 2 because I love staring at Hedonist’s beautiful nose as I work.

Click on Play Online.

You should arrive at this screen:

If you want to look at a full game's code, make certain that you are logged into the account that you bought the game with. If you are logged in, you will be able to see the option to sign out on the right-hand corner of the screen.

Note: You don’t have to be logged in to see a game’s code, but you will be blocked from seeing scenes you haven’t paid for. I don’t know how, please don’t ask me why, I’m assuming it’s actual wizardry. Ask Gandalf.

Next. Highlight the jumble of text after the game's name (excluding the forward slash).

Delete that sucker.

In its place, write the following: scenes/startup.txt

Then, of course, hit enter on that bad boy.

You should now arrive at this screen:

People experienced in code-diving or even game writers will recognize this screen, but for the newbies, this is the file that lists the game scenes and its stats (and achievement, if it has any).

Those $ in front of those scenes means that they’re locked behind a paywall. If you’re not logged into an account where you’ve bought this game then you will only be able to follow the next steps with the demo scenes (i.e. the ones without the $ in front of them).

Here's how you look at a specific scene:

I like to just copy & paste from the file itself, like so.

Highlight the startup in the url.

And replace it with the name of the scene whose file you wish to see.

Again, I just copy & paste it, but you do you. If your fingers need the workout, go for it!

Press enter and you'll be rewarded with the sweet, sweet code, oh yeah baby–


And that’s how you look at a game’s code!

Edit: I’ll be adding this to the first post for posterity’s sake. Be sure to link the first post instead if anybody asks you how you do that nifty code-diving thing they’ve been hearing around the water cooler or whatever, :stuck_out_tongue_winking_eye:

33 Likes