English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 07 July 2018, 22:13   #21
Ian
Global Moderator
 
Ian's Avatar
 
Join Date: May 2001
Location: Derby, UK
Age: 46
Posts: 2,287
OK, time to revisit this

Been converting again, and found my old thread, incredibly useful.

For anyone interested this is the commands in the batch file I'm using:

Code:
@echo off
SET PATH=%%~dp0

FOR /R %%g in (*.dms) do (
	cd %%~pg
	uaeunp -x "%%~dpng.dms" "%%~ng.adf"
)
This searches for all dms files in all subfolders, changes the directory when it finds one then extracts the ADF into that directory. It works pretty well and fast, there are a few DMSs that it doesn't work with though, but I will convert this within WinUAE.

I follow this with another one when the first one has finished:

Code:
@echo off
SET PATH=C:\Program Files\7-Zip

FOR /R %%g in (*.adf) do (
	cd %%~pg
	7z a -tzip "%%~ng.zip" "%%~ng.adf"
	del "%%~ng.adf"
	del "%%~ng.dms"
)
This looks for ADFs this time, so it if finds one the extraction went OK, so it zips the ADF, deletes the adf, and the DMS file, leaving the DMS files that weren't extracted in the directory still.

Hope this helps someone, anyway, thread necromancy aside, I cannot get uaeunp to work extracting ADFs from DSQ files, it throws up an error "filename".adf not found.

Is there a special function for DSQ files that isn't documented?
Ian is offline  
Old 07 July 2018, 22:23   #22
Retroplay
Lemon Curry ?
 
Retroplay's Avatar
 
Join Date: Sep 2004
Location: Denmark
Age: 49
Posts: 4,080
I assume you're familiar with ADF-Workshop by Crashdisk ?
https://www.tosecdev.org/downloads/c...5-adf-workshop

Extremely useful tool with easy DMS to ADF batch processing.
Retroplay is offline  
Old 07 July 2018, 22:30   #23
Ian
Global Moderator
 
Ian's Avatar
 
Join Date: May 2001
Location: Derby, UK
Age: 46
Posts: 2,287
No, will try it on some of the ones that don't work, but it doesn't support DSQ files.
Ian is offline  
Old 07 July 2018, 22:33   #24
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Quote:
Originally Posted by Retroplay View Post
I assume you're familiar with ADF-Workshop by Crashdisk ?
https://www.tosecdev.org/downloads/c...5-adf-workshop

Extremely useful tool with easy DMS to ADF batch processing.
...exactly what I was going to write when I read Ian's opening post

Ian, your scripts are cool though. Well done!!!
DamienD is offline  
Old 07 July 2018, 22:40   #25
Ian
Global Moderator
 
Ian's Avatar
 
Join Date: May 2001
Location: Derby, UK
Age: 46
Posts: 2,287
Well, I'm converting 10s of thousands of DMS files, the script is definitely a lot faster, we'll see if adf workshop can extract the ones that uaeunp cannot though.
Ian is offline  
Old 08 July 2018, 06:43   #26
chip
Registered User
 
Join Date: Oct 2012
Location: Italy
Age: 49
Posts: 2,942
What about the ZOM and ZAP files ?

I encouentered some of those

Your tool works the same with these kind of disks images ?
chip is offline  
Old 08 July 2018, 10:17   #27
mai
Registered User
 
Join Date: Feb 2008
Location: Federativnaya Respublika Germaniya
Posts: 4,994
Quote:
Originally Posted by Ian View Post
No, will try it on some of the ones that don't work, but it doesn't support DSQ files.
http://eab.abime.net/showpost.php?p=471273&postcount=10
Maybe this is the solution you are looking for!


Quote:
Originally Posted by Ian View Post
we'll see if adf workshop can extract the ones that uaeunp cannot though.
Probably this one:
/Commodore_Amiga/Collection/BBS/SGT (Softgallo - Italian Amiga Club)

Last edited by mai; 08 July 2018 at 11:46. Reason: forgot to post the path
mai is offline  
Old 28 October 2018, 19:59   #28
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
Where does the uaeunp.exe go as I just get an error that the tool doesn't exist?


Quote:
Originally Posted by Ian View Post
OK, time to revisit this

Been converting again, and found my old thread, incredibly useful.

For anyone interested this is the commands in the batch file I'm using:

Code:
@echo off
SET PATH=%%~dp0

FOR /R %%g in (*.dms) do (
	cd %%~pg
	uaeunp -x "%%~dpng.dms" "%%~ng.adf"
)
This searches for all dms files in all subfolders, changes the directory when it finds one then extracts the ADF into that directory. It works pretty well and fast, there are a few DMSs that it doesn't work with though, but I will convert this within WinUAE.

I follow this with another one when the first one has finished:

Code:
@echo off
SET PATH=C:\Program Files\7-Zip

FOR /R %%g in (*.adf) do (
	cd %%~pg
	7z a -tzip "%%~ng.zip" "%%~ng.adf"
	del "%%~ng.adf"
	del "%%~ng.dms"
)
This looks for ADFs this time, so it if finds one the extraction went OK, so it zips the ADF, deletes the adf, and the DMS file, leaving the DMS files that weren't extracted in the directory still.

Hope this helps someone, anyway, thread necromancy aside, I cannot get uaeunp to work extracting ADFs from DSQ files, it throws up an error "filename".adf not found.

Is there a special function for DSQ files that isn't documented?
BippyM is offline  
Old 28 October 2018, 20:09   #29
Ian
Global Moderator
 
Ian's Avatar
 
Join Date: May 2001
Location: Derby, UK
Age: 46
Posts: 2,287
In the same dir as the bat file should do.
Ian is offline  
Old 28 October 2018, 20:10   #30
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
Doesn't work for me
BippyM is offline  
Old 28 October 2018, 20:12   #31
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
It works, but doesn't go recursively through folders :/
BippyM is offline  
Old 28 October 2018, 21:24   #32
Ian
Global Moderator
 
Ian's Avatar
 
Join Date: May 2001
Location: Derby, UK
Age: 46
Posts: 2,287
Where it says path you can add the directory it's stored directly. Also if it not a .bat file there are probably too many percentage signs, if it's cmd there should only be one I believe each time.
Ian is offline  
Old 31 October 2018, 22:39   #33
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
Ian, did you sort out conversion of DSQ files? If not I have a simple Dopus4 script I use to convert to an adf.

Extremely primitive, and rudimentary but it worked 10 years ago when I was a renamer
Attached Thumbnails
Click image for larger version

Name:	X-Copy Professional April 93 (1993)(Cachet)_001.png
Views:	270
Size:	23.3 KB
ID:	60540  
BippyM 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 21:30.

Top

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