I'm making a custom scenario with some lua scripts (I keep them in the same folder with blueprint.dat). But when I save the map in the Map Editor, my entire directory is being removed (only blueprint.dat left).
My OS is Windows 7 x64.
[0.13.9] [kovarex] Map editor deletes the entire directory on save
-
- Manual Inserter
- Posts: 4
- Joined: Thu Jul 21, 2016 6:32 pm
- Contact:
Re: [0.13.9] Map editor deletes the entire directory on save
Please name the path of the directory that got removed and post a log file.
-
- Manual Inserter
- Posts: 4
- Joined: Thu Jul 21, 2016 6:32 pm
- Contact:
Re: [0.13.9] Map editor deletes the entire directory on save
Here is the log ending. I made one file readonly, it caused warning. Other files just been removed.
Code: Select all
22.400 Factorio initialised
39.971 Warning FileUtil.cpp:260: C:/Users\root\AppData\Roaming\Factorio\scenarios\my_super_scenario_name\readonly_test.txt was read only, the read only flag had to be removed so it can be deleted.
Re: [0.13.9] Map editor deletes the entire directory on save
- Please name the path of the directory that got removed.
- Please post the complete log file.
-
- Manual Inserter
- Posts: 4
- Joined: Thu Jul 21, 2016 6:32 pm
- Contact:
Re: [0.13.9] Map editor deletes the entire directory on save
1. Directory being deleted then recreated: C:\Users\root\AppData\Roaming\Factorio\scenarios\factorio-island
2. Log:
2. Log:
Code: Select all
0.001 2016-07-22 00:35:59; Factorio 0.13.9 (build 23372, win64, alpha)
0.001 Operating system: Windows 7 Service Pack 1
0.001 Program arguments: "C:\Program Files\Factorio\bin\x64\Factorio.exe"
0.001 Read data path: C:/Program Files/Factorio/data
0.001 Write data path: C:/Users/root/AppData/Roaming/Factorio
0.001 Binaries path: C:/Program Files/Factorio/bin
0.030 Graphics options: [FullScreen: true] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: high] [Light scale: 100%] [Screen: 255] [DXT: false]
0.031 Available display adapters: 1
0.031 [0]: \\.\DISPLAY1 - NVIDIA GeForce GT 430 {0x8080005, [0,0], 1280x1024, 32bit, 60Hz}
0.031 Create display on adapter 0. Size 1280x720 at position [0, 134].
0.118 Initialised Direct3D:[0] NVIDIA GeForce GT 430; driver: nvd3dumx.dll 9.18.13.623
0.124 Video memory size (dedicated video/dedicated system/shared system/available): 978/0/3072/4040 MB
0.337 Loading mod core 0.0.0 (data.lua)
0.344 Loading mod base 0.13.9 (data.lua)
0.499 Checksum for core: 1287107447
0.499 Checksum for mod base: 2251615999
19.029 Initial atlas bitmap size is 8192
19.046 Created atlas bitmap 8192x8186
19.047 Created atlas bitmap 8192x4356
19.048 Created atlas bitmap 4096x968
37.443 Sprites loaded
37.443 Convert atlas 4096x968 to: trilinear-filtering
37.841 Loading sounds...
40.332 Custom inputs active: 0
40.438 Factorio initialised
62.293 Warning FileUtil.cpp:257: C:/Users\root\AppData\Roaming\Factorio\scenarios\factorio-island\.git\objects\35\e24c35e3c079a79131a3bcf8ca51895b8f23f5 was read only, the read only flag had to be removed so it can be deleted.
62.293 Warning FileUtil.cpp:257: C:/Users\root\AppData\Roaming\Factorio\scenarios\factorio-island\.git\objects\8e\188d50a85de96afdbbfef08219dd63742b3b1a was read only, the read only flag had to be removed so it can be deleted.
62.294 Warning FileUtil.cpp:257: C:/Users\root\AppData\Roaming\Factorio\scenarios\factorio-island\.git\objects\a7\552ad1ea95b96aa99dad068630f8a6d0ca0df6 was read only, the read only flag had to be removed so it can be deleted.
62.295 Warning FileUtil.cpp:257: C:/Users\root\AppData\Roaming\Factorio\scenarios\factorio-island\.git\objects\e8\e24113b70bd8d659128927fd357b8e2df25521 was read only, the read only flag had to be removed so it can be deleted.
62.295 Warning FileUtil.cpp:257: C:/Users\root\AppData\Roaming\Factorio\scenarios\factorio-island\.git\objects\e9\11faa01be73e992f9d9f4347706230779b6f26 was read only, the read only flag had to be removed so it can be deleted.
62.296 Warning FileUtil.cpp:257: C:/Users\root\AppData\Roaming\Factorio\scenarios\factorio-island\.git\objects\fc\49b62fff29a2b61185726c866008f4f45dde72 was read only, the read only flag had to be removed so it can be deleted.
62.297 Warning FileUtil.cpp:257: C:/Users\root\AppData\Roaming\Factorio\scenarios\factorio-island\.git\objects\fe\1ffb513fa0a31a9a1d3a07b8225cb51dbf0b72 was read only, the read only flag had to be removed so it can be deleted.
Re: [0.13.9] Map editor deletes the entire directory on save
Thanks for the report,
I can confirm the issue
I can confirm the issue
Re: [0.13.9] [kovarex] Map editor deletes the entire directory on save
Thanks for the report. This happened only when it was saved to the same location it was loaded for (which is typical usecase I know).
Fixed for 0.14.5
Fixed for 0.14.5