editor gives error on saving maps
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Critical
|
Unassigned |
Bug Description
This bug was introduced somewhere between 7525 and 7557 for windows.
whenever i try to save the map, i get the message
Error saving map!
Saved map file may be corrupt!
Reason given:
[c:/data/
However, the game attempts to create a saved game file, as [name].wtf.tmp. If I manually rename the file as a .wtf, The editor can open that file without problem. apparently, no information was lost.
If one attempts to create a new save with the name of a .wtf.tmp file, the editor will give an error message and tell that the old file must be deleted manually. If one tries to overwrite an old .wtf file, the game will apparently comply, however the game is not saved and the old saved game is not modified.
Related branches
- GunChleoc: Approve
- Tino: Needs Resubmitting
-
Diff: 150 lines (+23/-30)5 files modifiedsrc/editor/ui_menus/editor_main_menu_save_map.cc (+15/-24)
src/graphic/animation.cc (+1/-1)
src/io/filesystem/disk_filesystem.cc (+5/-1)
src/logic/map_objects/tribes/production_program.cc (+1/-1)
src/logic/save_handler.cc (+1/-3)
Changed in widelands: | |
importance: | Undecided → Critical |
milestone: | none → build19-rc1 |
Changed in widelands: | |
status: | Incomplete → Confirmed |
Changed in widelands: | |
status: | Confirmed → In Progress |
assignee: | nobody → GunChleoc (gunchleoc) |
Changed in widelands: | |
assignee: | GunChleoc (gunchleoc) → Tino (tino79) |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
Is this still current? I recently did changes to the filesystem code, maybe I accidentally fixed it :)