12 December 2008, 12:44 | #1 |
Zone Friend
|
Trying to load a broken DMS will stall WinUAE
Hi,
I've just experienced a WinUAE stall by accidentally using a broken DMS. This DMS was not totally broken but only gave an unpacking error during operation. Toni, a way I'd suggest to handle this properly could be a message box or the like telling "Unable to load DMS - file is corrupt!" instead of loading the partial data on it anyway as if nothing happened, which would not make much sense. |
12 December 2008, 13:34 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,540
|
It thinks the DMS file is encrypted and tries to brute-force it which takes very long because it can never succeed...
There is no bit (afaik) in DMS that says "encrypted", only difference is failed checksum.. (there are 2 checksums, first is ok, second fails = encrypted. usually..) I guess workaround is to check if first track is not encrypted = other tracks can't be encrypted either. (in theory you can encrypt only single track but I guess that is not done in practise, at least I hope so..) |
12 December 2008, 16:01 | #3 |
Registered User
Join Date: Jul 2005
Location: Australia
Age: 47
Posts: 666
|
There's an encryption flag in the geninfo bit field (archivers/dms/pfile.c line 176)
|
12 December 2008, 21:11 | #4 |
Zone Friend
|
OK you may look, I will upload the non-working DMS2 of Artifice demo to the zone, so you can see yourself.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WIFI initialization causes system stall | ppascal | support.Hardware | 8 | 04 November 2011 17:23 |
Cannot load some dms files in WinUAE | anthonyhead | support.WinUAE | 18 | 31 May 2010 05:40 |
Help! Trying to Load .DMS file..... | Triumph | support.WinUAE | 4 | 17 February 2009 20:37 |
Is WinUAE Midi Broken ? | efmsynth | support.WinUAE | 4 | 01 December 2008 21:47 |
Loading Adz, Dms Into WinUAE 08.8,r8 | fil | support.WinUAE | 7 | 01 January 2003 01:01 |
|
|