Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some scenarios fail to load #30

Closed
ddevrien opened this issue Apr 30, 2014 · 5 comments
Closed

Some scenarios fail to load #30

ddevrien opened this issue Apr 30, 2014 · 5 comments
Labels
bug Something went wrong.

Comments

@ddevrien
Copy link
Contributor

Great project! I've been hoping for years that something like OpenTTD would get off the ground for RCT. I wish you the best of luck. I loaded the project and played around a bit but I found a bug. I don't know if you're aware but some scenarios (beginner parks > the first 8, dark age until south america) throw an exception. Crazy Castle and others seem to load fine.
It crashes when RCT2_CALLPROC_EBPSAFE(0x00684AC3); in scenario.c is called.

Consider this a heads-up and my humble attempt to help out. My reverse engineering skills are non-existing but I'll certainly follow the project.

@IntelOrca IntelOrca added the bug label Apr 30, 2014
@tsunamistate
Copy link
Contributor

The original RCT2 (at least my GOG version) gets the error Unable to load file, Missing Object Data when loading the same scenarios, so I suspect the problem is with the RCT2 installation itself.

@tsunamistate
Copy link
Contributor

rcterror
Here's the error from original RCT2, when loading Roaring Twenties - Prison Island

@lnz
Copy link
Contributor

lnz commented Apr 30, 2014

I believe this is related to the expansion packs and some initialization missing.
If I first load one of the working scenarios (e.g. Crazy Castle), then quit back to the title screen and then try one of the broken crashing ones I get an error message similar to tsunamistate's post:
They always seem to complain about missing expansion pack for me(which is possible as those functions are partly taken out of the code atm).

I'm also using the GOG version.

@IntelOrca
Copy link
Contributor

When loading a saved game or quitting back to the title screen, the original window code is executed (which leads to lots of other original code being executed instead of the new OpenRCT2 code). This will be the case until do_game_command is written.

@duncanspumpkin
Copy link
Contributor

I don't think this bug happens any more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something went wrong.
Projects
None yet
Development

No branches or pull requests

5 participants