How would I go about getting the games code?

Coders and would-be coders alike, this is the place to talk about programming.
Post Reply
pharrell
ultra-n00b
Posts: 1
Joined: Tue Apr 25, 2017 5:35 pm

How would I go about getting the games code?

Post by pharrell » Tue Apr 25, 2017 5:40 pm

I've gone to the game directory file on my computer and all I see are some executable files and a bunch .dll files also one .ini file

Is there anyway I can get the code out of them?

I'm trying to create a database for the items in the 'Store' and I don't want to log down every item in the store one by one so I was thinking of finding the code for it and writing a script to extract that information into a database.

Any tips on how I would start this?

WRS
ultra-veteran
ultra-veteran
Posts: 596
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 73 times
Been thanked: 132 times

Re: How would I go about getting the games code?

Post by WRS » Wed Apr 26, 2017 12:15 am

does this game have any other files in the install directory?

most games are bundled with some bespoke file format which can be analysed.
Useful tool links:

willwill
ultra-n00b
Posts: 7
Joined: Sun Jun 11, 2017 3:11 am
Been thanked: 1 time

Re: How would I go about getting the games code?

Post by willwill » Thu Jun 15, 2017 4:19 am

The only way to do this is to search for exe/dll decompilers or debuggers.

However if the program is binary executable you will eventually have to learn about assembly code, which is machine code. This is not a high level representation such as C or Java, it means that you simply won't see command statements (as in changeThis..., doThis) but only memory operations (mov EDX23423, EDX2242, JMP F22020).

Post Reply