Diğer dillerde: Deutsch English 日本語 Polski Русский 简体中文

Application directory

From Official Factorio Wiki
Revision as of 17:31, 26 April 2024 by Bilka (talk | contribs) (→‎Ana klasörün yerini değiştirme: updated link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Genel Bakış

Kurma metodunuza ve işletim sisteminize göre, bir veya iki dosya Factorio varlıklarını (assets), ve bir dosya da kayıt dosyaları ve modlar gibi kullanıcının verilerini içerecek.

Kullanıcının Data klasörü

Kayıt dosyaları, modların veya log dosyaları vb. verilerin bulunduğu yeri aratın veya şu konumları direk dosya yönetinizin adres çubuğuna yazınız.

Konumlar

Windows:

%appdata%\Factorio

MacOSX:

~/Library/Application Support/factorio

Linux dağıtımları:

~/.factorio

Ana Klasör

Ana klasör üç şeyi içinde barındırır:

  • Factorio'nun çalıştırılabilir dosyaları (.exe gibi), (./bin)
  • Eklentisiz, modsuz Factorio'nun veri dosyaları, (./data)
  • Uygulama Geliştirme Arayüzü (API) dokümantasyonu

Locations:

Windows:

C:\Program Files (x86)\Steam\steamapps\common\Factorio
C:\Program Files\Factorio

MacOSX:

~/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents
/Applications/factorio.app/Contents

Linux:

~/.factorio

Ana klasörün yerini değiştirme

You can create a file config-path.config to configure Factorio to any directory.

Please see this discussion (for MacOS, but should work on any other OS).

In order to change the user data directory, user must edit the location of the "write-data" entry in the file (Game install directory)/config/config.ini. This affects the location of mods, scenario and temp. If you want to move only the location of your save files you can change the the save directory using symlinks but this still means that all users of the computer will share the same data, including settings.

Linux

Update __Game_Install_directory/config-path.cfg

use-system-read-write-data-directories=true

Update __Game_Install_directory/config/config.ini

[path]
read-data=__PATH__executable__/../../data
write-data=.local/share/factorio

You could set the write-data value to .factorio if you prefer.

Once you have done this, you can remove write permissions to the entire game installation directory except for config/config.ini, which must be writable by all people who wish to play the game.

Note that if someone changes any options, in-game, those option changes will apply to everyone who plays on the same computer.

Installation from Zip File

The unzipped Factorio directory.

A list of all things found here:

  • Save games (as zip files)
  • User-installed/created Mods.
  • User-installed/created scenarios.
  • User configuration and settings storage
  • Log file (factorio-*.log)
  • Player data (player-data.json)

Note: Deleting the configuration file will result in a default replacement being generated upon the next Factorio launch.

It is recommended to create backups from this directory (of saves, config, etc) before installing a new version, or installing mods.


See also