Jump to content

openrct2 source code


Recommended Posts

OpenRCT2 was written by reverse engineering the original game executable and reimplementing it in C (and later C++). The original RCT2 source code was never available to the OpenRCT2 developers; they worked only from the binary.

For the first two years of its existence, the OpenRCT2 code would call into the RCT2 binary for any functions that had not yet been rewritten, allowing the game to be reimplemented piece by piece while retaining full functionality. By the end of 2016, all the original code had been replaced. OpenRCT2 is now completely independent of the RCT2 code, but still uses the assets from the vanilla game.

Edited by X7123M3-256
Link to comment
1 hour ago, jessicajones said:

- what tools were used to reverse engineer the game executable? I'm interested to know the background of this!

Disassemblers are the tools used for this kind of reverse engineering. The OpenRCT2 wiki mentions both IDA and OllyDbg, so I assume these were the main tools used. I wasn't involved with the reverse engineering so I don't know the details. (I did start disassembling some code but stopped when I realized it wasn't the one I wanted. IIRC the code I was actually after was among the last to be decompiled).
 

1 hour ago, jessicajones said:

Are there plans to make complete free assets so the game does NOT use the original game's data anymore?

Anyone could do it. So far, nobody has done. There exists an OpenGraphics repository, but it only contains four rides and hasn't been updated in three years. There's over a hundred thousand sprites in g1.dat alone, so this would be a big project.

  • Like 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...