Can't launch OpenRCT2
2 2

3 posts in this topic

Recommended Posts

Hi guys! When I launch OpenRCT2 on linux I get these two errors:

WARNING(/usr/local/games/OpenRCT2/src/openrct2/platform/posix.c:807 (platform_get_locale_date_format)]: Function platform_get_locale_date_format at /usr/local/games/OpenRCT2/src/openrct2/platform/posix.c:807 is a stub.

openrct2: /usr/local/games/OpenRCT2/src/openrct2/util/util.c.314: safe_strcpy: Assertion `source != NULL' failed.
Aborted (core dumped)

I looked into the /usr/local/games/OpenRCT2/src/openrct2/platform/posix.c file and I saw this code for the platform_get_locale_date_format function

unit8 platform_get_locale_date_format ()
{
		STUB();
		return DATE_FORMAT_DAY_MONTH_YEAR;
}

What is this STUB function? And is there a way I can fix this from the editing the code in the /usr/local/games/OpenRCT2/src/openrct2/platform/posix.c file or should I do something with the locale on my linux box?

For the second error I also looked into the code of the file located at /usr/local/games/OpenRCT2/src/openrct2/util/util.c. What is the source? I noticed I do not get this error when I don't specify a game_path in the ~/.config/OpenRCT2/config.ini file. Maybe I am setting up that wrong.

Thanks!

 

Share this post


Link to post
Share on other sites

@janisozaur thanks for letting me know where to put this and sorry for putting it in the wrong place. I'm new to OpenRCT2 and I'm also new to github. Thanks!

Share this post


Link to post
Share on other sites

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
2 2