How To See Other Games' Code


#125

Just wanted to add this here for Mac users who purchased their game on Steam.

Finder > Go > (hold alt) Library > Application Support > Steam > steamapps > common > (right click on game icon) show package contents > contents > resources > deploy > scenes


The Wayhaven Chronicles: Book One (Discussion) FAQ Located on Post 2
#126

I’m trying to figure out how to view a games code on windows 10 so I can see how the choices affect the stats. Does anyone know how to do this?


#127

You just neednto follow what the instruction on the first post. You just need an internet browser for it and have the CoG version of the game unlocked.


#128

Sorry for the inconvenience but the Steam method no longer seems to work. I’ve been trying to find the scenes folder for Fallen Hero but the old methods don’t seem to work. There is no option to extract the executable. And I can’t get use the browser method without repurchasing the game, and I’d rather not buy it twice if I don’t have too. I’m not trying to edit the code, just look at it, any tips?


#129

Use 7-zip and plugin from this post

to open app.asar in steamapps\common\Fallen Hero Rebirth\resources folder.


The Wayhaven Chronicles: Book One (Discussion) FAQ Located on Post 2
#130

How do you view sub scenes? For example…

Go to the following link and search hobby. The code is instructed to reference sub scenes. I am asking because in this instance, the hobbies improve stats and I am trying to figure out which ones I want and how much they help so I can plan my character build accordingly…

https://www.choiceofgames.com/user-contributed/zombie-exodus-safe-haven/scenes/chapter2.txt


#131

Look at the keyword on the *goto command. Then, ctrl + F that keyword.


E.g.

*goto_scene hobby improve
  1. Go to hobby.txt
  2. Ctrl + F *label improve
  3. Profit

#133

If you absolutely have to dig around in an *.apk files, better treat the package as a standard archive which you can open with any file manager. It’s not encrypted in any way.

If not, a disclaimer would be prudent to point out that the app in question is a third party software you download from a website not associated with google. Messing with certificates is discouraged in the first place, so use it at your own risk.


#135

I have some questions regarding this? I know the thread is a bit old but the question pertains to exactly this.

So, when I try to go in on a folder from Steam… from SteamLibrary/steamapps/common/(game name file)… there is no resources folder. And there are no .asar files. The only folder appearing after the game name folder is /locales, which has a bunch of .pak files in it. I don’t know if this is because of something to do with my own system configuration, something about permissions or something in general on my end, or if it’s something to do with the Steam files currently. I’m using Windows 8.1 (weird, yes, but there it is) I basically want to view published files for a sense of how authors organize their work and see if I can glean some ideas from this.

I can open the .asar files in notepad, but they’re scrambled and illegible. I’ve got 7-zip, but nothing to target with it, and none of the extensions deal with .pak files.


#136

Actually solved this issue- using 7-zip, it turns out that right clicking on the application file in the /(game name folder) and selecting ‘open archive’ presents a scenes folder, which you can go into and simply open any of the .txt files there into notepad. Simple, and already present in the most recent 7-zip download. Just the methods for doing this need this friendly update. : )

Edit: This doesn’t work for newer games, unfortunately. There are some other methods discussed that might help regarding asar files, but I’ve not taken the time to test them.