malforge / mdk2

MIT License
73 stars 5 forks source link

Allow specifying a location of the game manually #20

Closed MangoTCF closed 4 months ago

MangoTCF commented 4 months ago

Currently, MDK2 does this:

2024-07-02 18:26:06.830 [info] (/home/mango/programming/SpaceEngineers/scripts/test/test.csproj): Found ini file: /home/mango/programming/SpaceEngineers/scripts/test/test.mdk.ini
2024-07-02 18:26:06.832 [warning] (/home/mango/programming/SpaceEngineers/scripts/test/test.csproj): Unable to determine the location of Space Engineers, because we're not running on Windows.
2024-07-02 18:26:06.834 [error] (/home/mango/programming/SpaceEngineers/scripts/test/test.csproj): The "SpaceEngineersFinder" task returned false but did not log an error.

It would be great if there was a parameter in the .local.ini file to specify the game's directory

malware-dev commented 4 months ago

Hi there! Take a look at the local.ini file. It's already there.

Be warned, there is no linux compilation of the MDK executable. It technically supports being compiled to linux just fine (it has been tested and confirmed functional by a linux user), so if you are so inclined you can do so yourself, but since I am not a linux user, I cannot support it.

I am considering to include a linux build in the nugget, but... again. I can't really officially support it as I have no way of testing it.

malware-dev commented 4 months ago

Ah, I see. The comment might be misunderstood.

It's the BinaryPath. That's the path to the game's binaries.