GameWylder Posted April 12, 2016 Posted April 12, 2016 (edited) So, last night my friend and I were playing RCT2 multiplayer, thanks to Open RCT2! And we noticed that the map size was controlled by a 8-bit value (min 0, max 254 (even though 11111111 = 255). Him and I thought what if we could re-code some parts of the game, adapt it for running in a 64 bit runtime and increase the capability of some values (such as making the map size value a 16-bit value, allowing map sizes to be at max 65536 x 65536, which probably wouldn't be a thing. Most likely a good max map size would be 2048 at most, 1024 being an optimal Large map). We know that the map size of 254x254 is big as it is, but we want bigger. also having the ability to select ALL rides and stalls would be cool. This would require almost rewriting most of the code, but I thought it would be nice if possible. I know OpenTTD has a 64bit version, and they are pretty similar, so it may be possible. Edited April 12, 2016 by GameWylder
X7123M3-256 Posted April 12, 2016 Posted April 12, 2016 This has to be the most frequently asked question ever. Increasing these limits is planned for the future, but because it requires the alteration of existing data structures it cannot be done until all the original code has been reverse engineered. When it does happen, it will require that the SV6 file format be changed also because SV6 files are essentially just a compressed version of the game's internal data structures, with the map size limit hardcoded. This has nothing to do with whether the code is compiled for a 64 or 32 bit target. 1
GameWylder Posted April 12, 2016 Author Posted April 12, 2016 yeah, I don't really know much about coding, more of a hardware guy. It really was just an idea I wanted to share myself, even though others definately have done it already.
X7123M3-256 Posted April 12, 2016 Posted April 12, 2016 It's probably the most-requested feature but it can't be done just yet. I believe they do plan to do it at some point, but it's still some way away because so much existing code depends on these data structures.
GameWylder Posted April 12, 2016 Author Posted April 12, 2016 From what I understand, Transport Tycoon came out prior to RCT, and RCT started out as a sequel to TT. It's possible that Chris used similar base code for both games. With RCT2 being a bit of an updated version of RCT1. So who knows, since they already reversed it with OpenTTD, it may be a similar setup.
Broxzier Posted April 12, 2016 Posted April 12, 2016 'at some point' being after the code has been refactored, which will happen after the game has been completely decompiled, so in short: It will take a long time before the limits can be removed. This will also break compatibility with RCT2, but that's not really an issue here. Also, the maximum map size is based on the tiles you can see. The max is actually 256x256 already (yup, not even 255x255), but the outer edges of the map are black tiles you can't see. They are needed to show the ground under the surface.
Millionaire2K Posted April 13, 2016 Posted April 13, 2016 I'm guessing increasing the landscape data limit would also require a lot of work? I have 1 park I "finished" YEARS ago that reached the "landscape data area full" limit. It would be amazing to finally truly finish this park.
Broxzier Posted April 13, 2016 Posted April 13, 2016 Again, the limits are there for a reason, they cannot be 'removed'. Removing them would be a lot of work, and this cannot be done before all original code has been decompiled.
janisozaur Posted April 13, 2016 Posted April 13, 2016 It also has nothing to do with game being built for 64 bit or not.
Broxzier Posted April 14, 2016 Posted April 14, 2016 A 64-bit executable of the game wouldn't change anything about the limits.
janisozaur Posted April 14, 2016 Posted April 14, 2016 While we will reach a point where we can produce 64 bit builds, it is quite possible their performance could be worse than that of 32 bit builds. There's still plenty of space for improvement for us still in 32 bit land and it's very likely we will first raise the limits and only later on support 64 bit code.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now