English Amiga Board Amiga Lore


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 10 November 2003, 00:11   #1
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 43
Posts: 5,858
Send a message via ICQ to andreas Send a message via AIM to andreas
How can I force DMS to write a dms in spite of fatal errors?

Hi,

difficult one here. Here's a DMS image that's definitely broken in the middle, but apparently the root block only, so I may be able to restore that one.
But there's DMS! (Original ParCon, v2.20r)

Nothing to do with emulation or not: if there's a fatal error (CRC mismatch), DMS terminates in the middle of the writing process!

But I'd like to make it write the WHOLE disk to be able to fix some things! (note the blocks beyond aren't broken!)

The technique DMS uses for copying a certain track range is sub-optimal, too. It does that by skipping tracks outside that range, which will - tadaa! - again cause DMS to terminate when a SKIPPED (!) track has an error!

e. g.: you want to copy tracks 40-79, but you certainly know that track 29 is corrupt because of a CRC mismatch. DMS will now skip to track 40, and TERMINATE while still skipping, because of track 29! Haha!

Is there any way to stop DMS from doing that crap?
(newer version, maybe?)
andreas is offline  
AdSense AdSense  
Old 10 November 2003, 11:54   #2
RetroMan
Registered User
RetroMan's Avatar
 
Join Date: Aug 2001
Location: Germany
Age: 44
Posts: 3,704
Maybe you can try converting it to ADF on PC first (with XDms) and then write it back to floppy disc again
RetroMan is offline  
Old 10 November 2003, 12:16   #3
pcGTW_Webmaster
Senior Member
 
Join Date: Jun 2001
Location: Germany
Posts: 925
I'm only guessing but it's possible that DMS uses some kind of solid compression and has to decompress the file from the beginning. In this case, you cannot skip this error in any way...
pcGTW_Webmaster is offline  
Old 10 November 2003, 12:54   #4
Severin
Registered User
Severin's Avatar
 
Join Date: Dec 2002
Location: Gloucester / UK
Posts: 700
Send a message via ICQ to Severin
try the 'noval' option...
Severin is offline  
Old 11 November 2003, 17:23   #5
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 43
Posts: 5,858
Send a message via ICQ to andreas Send a message via AIM to andreas
Roll eyes (sarcastic)

not working ... also tried 'noval' plus all the others (nozero etc.) to no avail.
andreas is offline  
Old 11 November 2003, 23:12   #6
Severin
Registered User
Severin's Avatar
 
Join Date: Dec 2002
Location: Gloucester / UK
Posts: 700
Send a message via ICQ to Severin
bung it in the zone, I'll have a look at it...
Severin is offline  
Old 12 November 2003, 21:22   #7
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 43
Posts: 5,858
Send a message via ICQ to andreas Send a message via AIM to andreas
Arrow

thanks! ... done.
andreas is offline  
Old 12 November 2003, 21:35   #8
RetroMan
Registered User
RetroMan's Avatar
 
Join Date: Aug 2001
Location: Germany
Age: 44
Posts: 3,704
Just tested this dms with DMS 1.11 (Aminet) and I could write it back to floppy without a problem

But it HAS some read/write error if I start it, but thats of course something you may fix

P.S : If I test the file (DMS TEST BROKEN.DMS) the archiv seems to be ok too :hoo

//update : Just for info usage, the following files are damaged -> DMSpell3.pic, View.lo and anim/title Nice hint disk btw.

Last edited by RetroMan; 12 November 2003 at 21:49.
RetroMan is offline  
Old 12 November 2003, 23:14   #9
Severin
Registered User
Severin's Avatar
 
Join Date: Dec 2002
Location: Gloucester / UK
Posts: 700
Send a message via ICQ to Severin
Same here, I just extracted it with on UAE with no errors, didn't even need to fire up the real amiga

Are you sure you sent the right dms file?
Severin is offline  
Old 12 November 2003, 23:19   #10
Codetapper
2 contact me: email only!

Codetapper's Avatar
 
Join Date: May 2001
Location: Auckland / New Zealand
Posts: 3,129
DMS is a buggy piece of crap! You can simulate a broken DMS easily. Just make up a DMS file, and somewhere in it modify the bytes to something else (eg. write HOL RULES randomly into the hex).

Now DMS will test it and say it's OK (useless!) but if you try and write it back you will get the error.
Codetapper is offline  
Old 13 November 2003, 00:40   #11
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 43
Posts: 5,858
Send a message via ICQ to andreas Send a message via AIM to andreas
OK @Severin, you were right.
It was the WRONG adf; well as I have been in a hurry today afternoon, I was merely able to check my text file with the hand-noted infos.

This time, I had more time to retest: there's a new one now in the zone with CRC error *while* unpacking (real DMS -- Amiga).
xDMS (PC) will behave similarly to DMS on the Amiga, break and leave back an (unusable) ADF with less than 880k by far!

@Retroman: There's already a 100% version of that hint disk in TOSEC, if you're so keen on it [DOCS dat]

Last edited by andreas; 13 November 2003 at 03:21.
andreas is offline  
Old 13 November 2003, 22:31   #12
Severin
Registered User
Severin's Avatar
 
Join Date: Dec 2002
Location: Gloucester / UK
Posts: 700
Send a message via ICQ to Severin
Hmmm, yep, It's naffed alright, I even dug out the version it was written with (that has a few options later dropped), I can tell you it was created on an 040 based machine with no FPU, it took 14 seconds, created with V 2.03 evaluation version, etc

What is it? seems to be non-dos from the bit I managed to decompress...
Severin is offline  
Old 14 November 2003, 02:27   #13
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 43
Posts: 5,858
Send a message via ICQ to andreas Send a message via AIM to andreas
King's Quest 4 Disk 2.

Well, if I was in need of it, I'd request it.
But I was only interested in a way to force DMS to write this image to the end in spite of the error, simply to have a working example of this procedure. It's not about the actual game.

Most archivers (like the infamous ARJ and the unforgettable PKZIP) were and are still able to do this kind of thing. DMS apparently isn't.

Quote:
Hmmm, yep, It's naffed alright, I even dug out the version it was written with (that has a few options later dropped), I can tell you it was created on an 040 based machine with no FPU
Cool findings!
Could be a nice thing to have that version as well.
Many guys here have several versions of WinUAE installed, why not have several versions of one archiver installed?

Last edited by andreas; 14 November 2003 at 02:34.
andreas is offline  
Old 14 November 2003, 13:00   #14
pcGTW_Webmaster
Senior Member
 
Join Date: Jun 2001
Location: Germany
Posts: 925
Quote:
Originally posted by andreas
Most archivers (like the infamous ARJ and the unforgettable PKZIP) were and are still able to do this kind of thing. DMS apparently isn't.
As I said, if this DMS was created using solid compression, you cannot skip this error.

RAR also supports solid compression and you'll get the same problem with a damaged RAR archive, when solid compression was used...
pcGTW_Webmaster is offline  
Old 14 November 2003, 13:08   #15
Severin
Registered User
Severin's Avatar
 
Join Date: Dec 2002
Location: Gloucester / UK
Posts: 700
Send a message via ICQ to Severin
Here's DMS2.04 and DMSToy, have fun
Attached Files
File Type: zip dms204.zip (73.1 KB, 149 views)
Severin is offline  
Old 17 November 2003, 14:06   #16
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 43
Posts: 5,858
Send a message via ICQ to andreas Send a message via AIM to andreas
Thanks!

Quote:
Originally posted by WindowsKiller
As I said, if this DMS was created using solid compression, you cannot skip this error.
Urgh.
I was almost fearing that.
andreas is offline  
Old 16 August 2006, 16:28   #17
shd
Registered User
 
Join Date: Aug 2006
Location: Tampere / Finland
Age: 39
Posts: 21
Quote:
Originally Posted by andreas
Difficult one here. Here's a DMS image that's definitely broken in the middle, but apparently the root block only, so I may be able to restore that one.
But there's DMS! (Original ParCon, v2.20r)
Care to send me the image? The latest xdms has some support for writing broken tracks and not aborting on that condition. Also, send me a dms image that contains an ascii header that caused you problems (that you mentioned in a much newer thread). -> heikki.orsila@iki.fi
shd is offline  
Old 17 August 2006, 10:26   #18
Adderly
[Satan^God]
Adderly's Avatar
 
Join Date: Oct 2005
Location: Germany
Posts: 701
Send a message via ICQ to Adderly
Some defect dms-images posted here: http://eab.abime.net/showpost.php?p=262947&postcount=18
Adderly is offline  
Old 18 August 2006, 19:53   #19
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 43
Posts: 5,858
Send a message via ICQ to andreas Send a message via AIM to andreas
@shd I can.
But first please tackle that issue I mailed you privately about.

One after another. Thanks.
Rome wasn't built in a day [tm]
andreas is offline  
Old 09 January 2007, 21:49   #20
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 43
Posts: 5,858
Send a message via ICQ to andreas Send a message via AIM to andreas
As shd hasn't answered / mailed back for ages, I did it myself

Using DJGPP and the excellent RHIDE, I managed to compile a win32 version of xDMS 1.3.2 today!

If anyone wants it too, gimme a shout
The only major modification I had to make was to alias the types unknown from MSDOS/Win32 side (USHORT, ULONG ...) by their standard type names (unsigned short, unsigned long) using a handful of #ifdefs. The rest compiled fine OOTB!

A smashing "nice work!" also to the new maintainer therefore!

Last edited by andreas; 09 January 2007 at 22:33.
andreas is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dms Ian request.Apps 6 14 October 2008 16:43
fix or skip dms-errors Adderly support.Other 2 26 July 2006 02:39
dms problems otro support.Apps 12 26 October 2004 01:06
Read\Write Errors..... THX1138 support.Apps 10 13 October 2004 15:24
CD Read Write Errors Stom support.WinUAE 2 07 June 2002 18:46

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 01:47.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.21054 seconds with 12 queries