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
Script API compatibility files are not found #8618
Comments
I guess cmake needs to copy the scripts to the build folder? |
Some background, for those who are interested: when I started the CMake branch, the idea was to have the current-working-directory in Sadly ... it turns out initially my set of targets I tested with was too limited :) On Windows it is pretty common that``openttd.exe I am guessing, but I have not checked the code, that this last part never happened yet. I think I never left that as comment in the PR how I left it, and in normal testing this won't show up ... but who is to blame for not implementing this is not important now, is it? :D So yeah, sounds like the best solution is to copy the files from the |
FYI: There is a patch for that in JGRPP: JGRennison/OpenTTD-patches@e39a1d2. :) |
Version of OpenTTD
20210129-master-g48698403a8
linux, self-compiled from checkout
Expected result
Starting a game with SiliconValley game script should load the 1.3 API compatibility script, and print
"1.3 API compatibility in effect." in the GS log.
Actual result
The GS log shows "API compatibility script not found".
The script crashes later due to API incompatibility.
Steps to reproduce
The text was updated successfully, but these errors were encountered: