1. This forum is archived for reference. For support & bug reports visit the help section of forums.stardewvalley.net

[Suggestion] Option to force 32/64 bits

Discussion in 'Mac / Linux Bug Reports' started by toote, Jul 29, 2016.

  1. toote

    toote Big Damn Hero

    I have a weird setup in my linux box where I have a 32 bit system in every way except for the kernel that is 64 bit. Unfortunately, most third-party software (including steam games) use the kernel version as a way to identify if they are running in 32 or 64 bits to run the appropriate version. In my case that obviously always fails.

    Luckily, most games do have an option (that I can specify in the game's launch options in the steam interface) to force 32 bits. Stardew Valley is not one of them.

    It would be a simple bash if statement in the StardewValley execution script (that I've seen is bash already). That is, instead of the line:
    ARCH=`uname -m`

    You need to use something like:

    ARCH=${1:-$(uname -m)}

    That way, the script can take a single paramenter identifying the architecture to use. Obviously, more robust implementations are possible, but that would be the bare-minimum :)
     

    Share This Page