[config] Read-Data config changes

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
noliVe
Filter Inserter
Filter Inserter
Posts: 327
Joined: Tue May 24, 2016 7:46 am
Contact:

[config] Read-Data config changes

Post by noliVe »

Hey
is there a way to change the read-data= depend on the startup version number? like this
read-data=/opt/"$version"/factorio/game/data

my startcommand depend on the version nummber i want to select to quickstart different factorio versions

screen -dmS factorio$2_ $pfad/factorio -c $configs/factorio_$status/config"$2"/config.ini --start-server-load-latest --autosave-slots 3 --autosave-interval 20 --allow-commands admins-only --server-settings $configs/factorio_$status/config"$2"/server-settings.json

turn into

screen -dmS factorio2_ /opt/factorio/factorio/0.13.9/bin/x64/factorio -c /opt/factorio/factorio_open/config1/config.ini --start-server-load-latest --autosave-slots 3 --autosave-interval 20 --allow-commands admins-only --server-settings /opt/factorio/factorio_open/config1/server-settings.json
noliVe
Filter Inserter
Filter Inserter
Posts: 327
Joined: Tue May 24, 2016 7:46 am
Contact:

Re: [config] Read-Data config changes

Post by noliVe »

nobody a clue
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [config] Read-Data config changes

Post by posila »

Hi,
it is not possible.
Only available macros are __PATH__executable__ and __PATH__system-write-data__
noliVe
Filter Inserter
Filter Inserter
Posts: 327
Joined: Tue May 24, 2016 7:46 am
Contact:

Re: [config] Read-Data config changes

Post by noliVe »

im sorry for requesting again...

how to use this in the config.ini file?!

__PATH__executable__/../...
__PATH__system-write-data__/...

Let me say Factorio is started in /opt/factorio/0.13.13/bin/x64/factorio

how to use this macro properly i dont get it
Post Reply

Return to “Technical Help”