English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 17 September 2012, 23:14   #1
Ian
Global Moderator
 
Ian's Avatar
 
Join Date: May 2001
Location: Derby, UK
Age: 46
Posts: 2,287
Best way to convert thousands of DMS files

I have loads of DMS files that I need to convert to ADF, what is the best way to do this?

I've used xDMS from windows, but this doesn't extract every DMS so thats out of the question.

I've used dopus from within WinUAE before but forgot how to use it (Lost the script BippyM gave me), and obviously this takes a lot longer but seemed to work with all dms files.

So is there a better way?
Ian is offline  
Old 17 September 2012, 23:19   #2
DH
Global Moderator
 
DH's Avatar
 
Join Date: Sep 2008
Location: Might as well be WORK :(
Age: 56
Posts: 4,110
Try Adf Opus 1.2

I'm sure you can batch convert them all back to adf, I'm pretty sure

Edit: Yes you can, I've just checked
DH is offline  
Old 17 September 2012, 23:29   #3
Ian
Global Moderator
 
Ian's Avatar
 
Join Date: May 2001
Location: Derby, UK
Age: 46
Posts: 2,287
Think that doesn't work on all dms files either plus not 100% sure but i tried to install a few weeks ago and it didn't seem to like windows 7 x64
Ian is offline  
Old 17 September 2012, 23:34   #4
prowler
Global Moderator
 
prowler's Avatar
 
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
Are you sure that the DMS files which xDMS won't extract are not corrupt?

In my experience, this has always been the case. But then I have found xDMS to be one of a number of tools useful to help repair them.
prowler is offline  
Old 17 September 2012, 23:39   #5
DH
Global Moderator
 
DH's Avatar
 
Join Date: Sep 2008
Location: Might as well be WORK :(
Age: 56
Posts: 4,110
Hmm, windows 7, that's a real shame... Can't you use VirtualPC with XP on Win7 and do it through that. I know it's a pain in the butt, but I batch converted over 2000 .dms files some years ago in XP and it seemed to work on all of those, not saying it works 100% of the time, just my experience.
DH is offline  
Old 18 September 2012, 00:22   #6
Ian
Global Moderator
 
Ian's Avatar
 
Join Date: May 2001
Location: Derby, UK
Age: 46
Posts: 2,287
Quote:
Originally Posted by prowler View Post
Are you sure that the DMS files which xDMS won't extract are not corrupt?

In my experience, this has always been the case. But then I have found xDMS to be one of a number of tools useful to help repair them.
Yeah i'm sure they aren't corrupt as i extracted on to an emulated floppy yesterday without issue. I don't know if there is a newer version of xDMS though. Got the version from pauls website 1.3.3
Ian is offline  
Old 18 September 2012, 00:31   #7
prowler
Global Moderator
 
prowler's Avatar
 
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
Quote:
Originally Posted by Ian View Post
Yeah i'm sure they aren't corrupt as i extracted on to an emulated floppy yesterday without issue.
That's good to know. DMS files are not simple to fix.

Quote:
Originally Posted by Ian View Post
I don't know if there is a newer version of xDMS though. Got the version from pauls website 1.3.3
No, that's the latest version I have too.
prowler is offline  
Old 18 September 2012, 07:06   #8
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by prowler View Post
Are you sure that the DMS files which xDMS won't extract are not corrupt?
xDMS has problems with quite a few DMS archives. I'd always use a native Amiga version for converting such files.

Last edited by StingRay; 18 September 2012 at 12:03. Reason: typo (Amgiga does not exist I suppose :D)
StingRay is offline  
Old 18 September 2012, 09:38   #9
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
uaeunp should be more safe than xdms. uaeunp uses xdms code but also includes fixes related to banner ad handling.

xdms does not support some "fake" banners block types and creates invalid adf images.
Toni Wilen is online now  
Old 18 September 2012, 13:35   #10
Ian
Global Moderator
 
Ian's Avatar
 
Join Date: May 2001
Location: Derby, UK
Age: 46
Posts: 2,287
Is uaeunp windows side or amiga side Toni and is it just drag and drop? I could try later i suppose
Ian is offline  
Old 18 September 2012, 16:08   #11
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
It Windows command line = need some batch file stuff to handle multiple files.

Perhaps I need to add built-in batch mode..
Toni Wilen is online now  
Old 18 September 2012, 17:45   #12
Ian
Global Moderator
 
Ian's Avatar
 
Join Date: May 2001
Location: Derby, UK
Age: 46
Posts: 2,287
Yes you do, when you get time of course

if its not to cheeky maybe a feature that will put the adfs in the same folder the dms files where in. Currently xDMS puts the adfs in the same directory regardless of where it came from. And is also quite limited to the amount of files it came process at anyone time.
Ian is offline  
Old 18 September 2012, 17:51   #13
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
It isn't that simple (just extracting all files to same dir)

Unpacking one DMS usually generates more than one file because uaeunp also extracts all dms (bbs) banner ads (which are very common) and fake boot blocks (which are also used as an ads..) as separate files, uaeunp is not just a simple disk image extractor
Toni Wilen is online now  
Old 18 September 2012, 20:24   #14
Ian
Global Moderator
 
Ian's Avatar
 
Join Date: May 2001
Location: Derby, UK
Age: 46
Posts: 2,287
I don't mind that actually, I like to read all the text so if it extracted all that I'd be happy.
Ian is offline  
Old 18 September 2012, 22:57   #15
Dopuser
Registered User
 
Join Date: May 2011
Location: Poland
Posts: 37
Quote:
Originally Posted by Toni Wilen View Post
It isn't that simple (just extracting all files to same dir)

Unpacking one DMS usually generates more than one file because uaeunp also extracts all dms (bbs) banner ads (which are very common) and fake boot blocks (which are also used as an ads..) as separate files, uaeunp is not just a simple disk image extractor
There is no need for unpacking dms archives before conversion.
On AmigaOS there is XAD package doing the magic with archives.
Use power of Amiga! Just one simple file manager's button will make miracle there... mark all DMS archives, press converting button and that is all.
Dopuser is offline  
Old 19 September 2012, 09:32   #16
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Afaik all external DMS decompression routines are based on xdms (reverse engineered from dms) and official dms is closed source. There is no guarantee it works correctly with all files.

And you would also lose bbs ads
Toni Wilen is online now  
Old 21 September 2012, 12:49   #17
Ian
Global Moderator
 
Ian's Avatar
 
Join Date: May 2001
Location: Derby, UK
Age: 46
Posts: 2,287
So I got the bat file going (Not really an expert at them though)

I can get all filenames and extract them, but if I try to extract them into a different directory it doesn't work.

this is what I'm using that works:

FOR /R %%F in (*.dms) do uaeunp "%%~nF.dms" "%%~nF.adf"

What I would like to do is this:

FOR /R DMSs %%F in (*.dms) do uaeunp "DMS\%%~nF.dms" "ADFs\%%~nF.adf"

Using this it finds the DMS files in the DMSs directory goes through the process of extraction, but will not put the ADF in the ADFs directory and it says file not found.
Ian is offline  
Old 21 September 2012, 13:23   #18
Ian
Global Moderator
 
Ian's Avatar
 
Join Date: May 2001
Location: Derby, UK
Age: 46
Posts: 2,287
Nevermind, solved that with just a simple move command after.

Toni, How do you extract banner ads and such, I have tried -x DMSs ** to extact all but I just end up with another copy of all the DMS files.
Ian is offline  
Old 21 September 2012, 17:21   #19
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Hmm.. Probably not possible because it also lists dms file in "extracted" file list..

Need to think some more batch mode friendly way..
Toni Wilen is online now  
Old 22 September 2012, 14:18   #20
Ian
Global Moderator
 
Ian's Avatar
 
Join Date: May 2001
Location: Derby, UK
Age: 46
Posts: 2,287
How do you extract ADFs from WRP?

I have successfully done it with dsq files because there is a thread here about it, but nothing on wrp extraction.

I'm using this in a btachfile.

FOR /R WRPs %%F in (*.wrp) do (
uaeunp WRPs %%~nF.wrp %%~nF.adf
move %%~nF.adf ADFs\
del WRPs\%%~nF.wrp
)

From looking at the image it's zipped inside the wrp file and although the above does create an ADF it is the same size as the wrp so I'm guessing something additional is needed to unzip the image?
Ian 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
Convert ADF to DMS 1time support.Other 7 21 July 2012 17:02
How do I convert .WRP files Mangar support.Other 4 15 January 2008 02:06
Best WinXP program to convert .dms --> .adf and vice versa DamienD support.Other 13 30 May 2006 21:42
Easy way to Convert from ADF --> DMS ?? cheatedbymarc New to Emulation or Amiga scene 8 13 June 2003 17:06
ADF files CONVERT TO ==> AMIGA DISK ??? xamigax New to Emulation or Amiga scene 2 25 March 2002 19:28

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 16:59.

Top

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