English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 12 December 2008, 12:44   #1
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 50
Posts: 5,857
Send a message via ICQ to andreas Send a message via AIM to andreas
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.
andreas is offline  
Old 12 December 2008, 13:34   #2
Toni Wilen
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..)
Toni Wilen is online now  
Old 12 December 2008, 16:01   #3
OddbOd
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)
OddbOd is offline  
Old 12 December 2008, 21:11   #4
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 50
Posts: 5,857
Send a message via ICQ to andreas Send a message via AIM to andreas
OK you may look, I will upload the non-working DMS2 of Artifice demo to the zone, so you can see yourself.
andreas is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 14:49.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07523 seconds with 15 queries