View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0003355 | WHDLoad | [All Projects] General | public | 2016-01-14 07:52 | 2017-04-10 10:13 | ||||||||
Reporter | arisklapachi | ||||||||||||
Assigned To | Wepl | Project Info | HD-Installer for OS-Killer http://whdload.de/ | ||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||
Status | closed | Resolution | fixed | ||||||||||
Product Version | 18.2 | ||||||||||||
Target Version | 18.3 | Fixed in Version | 18.3 | ||||||||||
Summary | 0003355: Broken saving/logging/dumping if slave is on read-only disk. | ||||||||||||
Description | If game slave is run from read-only medium (7z archive in my case), then saving, dumping and logging will fail even if SavePath and CoreDumpPath options are set to writable locations on different disk (mapped directory on host). No problems creating or editing files in SavePath/CoreDumpPath from shell, however. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Machine | UAE | ||||||||||||
CPU | 68020 | ||||||||||||
CPUSpeed | 50 | ||||||||||||
ChipSet | AGA | ||||||||||||
GFXCard | None | ||||||||||||
ChipMem | 2 MB | ||||||||||||
FastMem | 0 MB | ||||||||||||
Workbench | OS 3.0 | ||||||||||||
KickROM | 40 - Kick 3.1 | ||||||||||||
KickSoft | None | ||||||||||||
WHDLoad | 18.1 | ||||||||||||
Attached Files |
|
Notes | |
Wepl (manager) 2016-01-17 14:28 |
Please explain this more detailed. Does WHDLoad an error message? |
Wepl (manager) 2016-01-17 14:36 |
<j2348513@trbvm.com>: 174.37.94.132 does not like recipient. Remote host said: 550 5.1.1 <j2348513@trbvm.com>: Recipient address rejected: User unknown in virtual alias table Giving up on 174.37.94.132. |
arisklapachi (reporter) 2016-01-18 01:16 |
No error messages, game continues to work as if nothing happened. For example, as soon as I press Return after entering save name in Cannon Fodder, screen instantly fades back to save menu without visible disk activity and load game menu is empty afterwards. If I save in everything-writable scenario, "--<>CannonFodder<>--" directory is created in SavePath (visible on host as "__uae___--__CannonFodder__--"), and then restart with game medium read-only, the game can load existing saves but can't rewrite them or create new ones. (Sorry for 10minutemail.com) |
Wepl (manager) 2016-01-18 20:55 |
You are right. That's the way it is currently implemented. WHDLoad checks at startup if the data directory is read-only and if it is all write operations are disabled. Please check http://whdload.de/whdload/whd183.lha . I have disabled the read-only-check if SavePath is active. |
arisklapachi (reporter) 2016-01-19 10:38 |
Games can save now, thank you. I guess logging/dumping functions better be left as-is. ☮ |
arisklapachi (reporter) 2016-01-25 13:28 |
Not sure if it's within this ticket's scope, but after finishing a game in Nuclear War I get a following popup (using the executable you provided): DOS-Error #214 (disk is write protected) on deleting "HighScores" At that moment the only "HighScores" file (which is part of stock distribution) was in "Data" subdir inside the archive I run the game from. If I delete the file from archive and then play to the end, there's no error and highscores are saved to SaveDir, so it appears that scores are updated by deleting and rewriting the file from scratch. PS: If no record was made during play, highscores are recreated with contents identical to stock file. Implementation of some sort of database to keep track of "deleted" or "moved" files would help with this, but probably will clutter up the code too much for single complex non-amiga-ish use case. |
Wepl (manager) 2016-01-25 21:59 |
This should only happen if the SaveDir was not created before. Deletes cannot be implemented in a clear way together with the SavePath feature. Currently (see autodocs) WHDLoad will try to delete in the first data directory. But the SavePath is only the first data directory if it exists already at startup or after creation by WHDLoad which is performed at the first write operation. But thanks for the report, it is a bug that WHDLoad tries to delete in the non SavePath. I have fixed it now. It now silently ignores the Delete if SavePath is used and SavePath is not yet created. Please try http://whdload.de/whdload/whd183.lha Besides that the game should not delete a file for rewriting it because this will cause WHDLoad to switch to the operating system. So please make also a report for the game to have the Delete removed. |
arisklapachi (reporter) 2016-02-06 05:59 |
Several errors pop up when saving things in Worms DC. When saving teams, happens even if no edits were made: DOS-Error #203 (object already exists) on writing "TWTEAMS/BJORN". If "CLEAR TEAMS" was used before saving teams: DOS-Error #205 (object not found) on deleting "TWTEAMS/BJORN". When attempting to save options as "DEFAULT" (overwriting default option file): DOS-Error #205 (object not found) on deleting "TWOPTIONS/DEFAULT.OPT". Here's directory tree with installed game, just in case: http://pastebin.com/vtk03J9y BTW, can't find NuclearWar in projects dropdown list. |
Wepl (manager) 2016-02-09 23:48 Last edited: 2016-02-09 23:48 |
Which WHDLoad version did you use? |
arisklapachi (reporter) 2016-02-10 02:30 Last edited: 2016-02-10 02:30 |
WHDLoad 18.3.5741 (25.01.2016) and WormsDC install 1.2 (21.08.2011). |
Wepl (manager) 2016-02-11 22:17 |
The third case is clear, the game tries to delete a file which is not in the savepath. I can't reproduce case 1 and 2. Please use option FileLog and attach the resulting .whdl_log here. |
arisklapachi (reporter) 2016-02-11 23:01 Last edited: 2016-02-14 12:37 |
Case 1: http://pastebin.com/gs9g7Le8 Case 2: http://pastebin.com/iTB5qxiv EDIT: Updated 2nd link, pasted first log into it incidentally. Also just found out that clear-then-save error is reproducible only after doing the 1st case, in result of which "TWTEAMS\ANDY" file is created in SaveDir. |
Wepl (manager) 2016-02-14 17:56 |
I still can't reproduce case 1/2. Make a coredump in case 1 and attach the .whdl_register here. Don't use pastebin, attach it to this issue. |
Wepl (manager) 2016-07-06 00:50 |
Please try new beta at http://whdload.de/whdload/whd183.lha This should fix all the mentioned problems. |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2016-01-14 07:52 | arisklapachi | New Issue | |
2016-01-17 14:13 | Wepl | Assigned To | => Wepl |
2016-01-17 14:13 | Wepl | Status | new => assigned |
2016-01-17 14:28 | Wepl | Note Added: 0004798 | |
2016-01-17 14:28 | Wepl | Status | assigned => feedback |
2016-01-17 14:36 | Wepl | Note Added: 0004799 | |
2016-01-18 01:16 | arisklapachi | Note Added: 0004804 | |
2016-01-18 01:16 | arisklapachi | Status | feedback => assigned |
2016-01-18 20:55 | Wepl | Note Added: 0004805 | |
2016-01-18 20:56 | Wepl | Product Version | 18.0 => 18.2 |
2016-01-18 20:59 | Wepl | Fixed in Version | => 18.3beta |
2016-01-18 20:59 | Wepl | Target Version | => 18.3 |
2016-01-19 10:38 | arisklapachi | Note Added: 0004806 | |
2016-01-25 13:28 | arisklapachi | Note Added: 0004820 | |
2016-01-25 21:59 | Wepl | Note Added: 0004821 | |
2016-02-06 05:59 | arisklapachi | Note Added: 0004830 | |
2016-02-09 23:48 | Wepl | Note Added: 0004851 | |
2016-02-09 23:48 | Wepl | Note Edited: 0004851 | View Revisions |
2016-02-10 02:30 | arisklapachi | Note Added: 0004852 | |
2016-02-10 02:30 | arisklapachi | Note Edited: 0004852 | View Revisions |
2016-02-11 22:17 | Wepl | Note Added: 0004853 | |
2016-02-11 23:01 | arisklapachi | Note Added: 0004854 | |
2016-02-11 23:46 | arisklapachi | Note Edited: 0004854 | View Revisions |
2016-02-14 12:37 | arisklapachi | Note Edited: 0004854 | View Revisions |
2016-02-14 17:56 | Wepl | Note Added: 0004860 | |
2016-07-06 00:50 | Wepl | Note Added: 0005051 | |
2016-11-18 01:38 | Wepl | Status | assigned => resolved |
2016-11-18 01:38 | Wepl | Resolution | open => fixed |
2017-04-10 10:13 | Wepl | Status | resolved => closed |
2017-04-10 10:13 | Wepl | Fixed in Version | 18.3beta => 18.3 |