Jump to content

drjbananas

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by drjbananas

  1. 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!

     

  2. 4 hours ago, janisozaur said:

    @drjbananas there's no need to copy the assets over. We can consume them from wherever you have them. It will be used in read-only mode, all of openrct2 assets (e.g. saves, CSO, etc.) will be stored in $XDG_CONFIG_HOME/OpenRCT2, or in lack of $XDG_CONFIG_HOME, it will fall back to ~/.config/OpenRCT2. The path to game will get stored in config.ini, but you can override it with one of the commandline options.

    We also have AUR package (maintained by third party) and some others.

    @janisozaur Thanks for the reply! I don't know if I'm using the right terminology for assets. I meant the files form the original RCT2 game like Data, ObjData, Scenarios. Are those also the ones you are talking about?

  3. Hi guys! I compiled OpenRCT2 from source on my linux computer and now I need help with moving the asset files from the original RCT2 game. I downloaded the installer from gog and I already used innoextract to extract all the files. Now I want to place the asset files in the right place. I read this page:

    https://github.com/OpenRCT2/OpenRCT2/wiki/Required-RCT2-files

    and it says "If you place those files in the OpenRCT2 folder, it should automatically detect them." Do I place the actual files directly in the OpenRCT2 directory or do I put the folders (i.e.. Data, ObjData, Scenarios) in the OpenRCT2 directory? I'm wondering this because I don't want to spill a lot of files (772 for object data alone) directly into a directory if I don't have to.  Thanks!

    • Like 1
×
×
  • Create New...