21 November 2006, 14:57 | #1 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
Combine split .dms files?
Downloaded some megademos from ftp and most of them are split in half (to fit on PC floppys I guess). Stupid question maybe, but how do I combine them to one .dms to run in WinUAE? Mounting each half in DF0: and DF1: in WinUAE and copy tracks with X-Copy or something would take too much time I think
|
21 November 2006, 15:02 | #2 |
Registered User
Join Date: Mar 2006
Location: Germany
Posts: 899
|
Does this work: copy /b first.dms+second.dms final.dms?
|
21 November 2006, 15:03 | #3 |
HOL Team Member
Join Date: Dec 2001
Location: Manchester
Posts: 2,513
|
copy /b is the method I always use for joining split .dms files.
|
21 November 2006, 17:16 | #4 |
[Satan^God]
|
Strange that this works for you.
I always depack the two dms parts to adf-images and then join the adf files. If you join two dms files you have the header of the second dms-file added in the middle of the joined file and at least the popular XDMS cannot depack those files! Just tested: original amiga DMS can depack those joined dms files, seems it ignores the second header information. Dunno about Winuae's dms handling.... |
21 November 2006, 18:53 | #5 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
Did the copy /b, got a file of the right size, WinUAE guru'd when I opened it.
Anyone have a link to a clear and concise description of the .dms format? Might do a quick PC utility... |
21 November 2006, 19:17 | #6 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
Found a description here:
http://lclevy.club.fr/amiga/DMS.txt If I do a utility I will limit it to two .dms files, only use track info to see if they are contiguous and don't overlap, and I won't interpret the track data at all, just form a new file with a (modified) single header. I'll see if I can do it tonight... meanwhile, anyone see a problem with that method? |
21 November 2006, 19:38 | #7 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
Hmm, might get trouble with unpacked/packed CRC, especially unpacked CRC since I don't want to unpack it... Is it a simple 16-bit sum, so I can add the words from the respective .dms files to join? But it's probably a "proper" CRC though, is it the 16-bit IBM CRC, or what flavor. Argh.
|
21 November 2006, 19:39 | #8 |
2 contact me: email only!
Join Date: May 2001
Location: Auckland / New Zealand
Posts: 3,182
|
Why not just insert a blank disk, unpack the first DMS to it (using DMS of course), then unpack the second DMS and now you have the complete ADF? It won't matter if tracks overlap or anything.
|
21 November 2006, 22:50 | #9 |
[Satan^God]
|
Codetapper is right. It's very easy, no tool coding needed. You can also use xdms to unpack both splitted dms files and then a simple copy /b later you have what you want...
Dms used the x^16+x^15+x^2+1 polynom as CRC-16 for the headers and for all tracks. |
25 November 2006, 01:09 | #10 | |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
CodeTapper, Adderly, sure - but then I have to do that for every megademo I've downloaded from scene.org... As a programmer I like niftier solutions, if possible I mean, there are tons of split archives out there...
Quote:
|
|
25 November 2006, 02:28 | #11 |
Registered User
Join Date: Mar 2006
Location: Germany
Posts: 899
|
You could make a batch file for using xdms:
Code:
xdms.exe u %1.dms xdms.exe u %2.dms copy /b %1.adf+%2.adf %3.adf Code:
xdms.bat part1 part2 final Or you can replace Code:
fo = fopen(oname,"wb"); Code:
fo = fopen(oname,"ab"); Code:
if exist %3 goto error xdms.exe u %1 +%3 xdms.exe u %2 +%3 goto end :error echo Output file %3 exists already :end |
25 November 2006, 11:00 | #12 |
Hardware Freak
|
I remember asking this question a few years back.. AFAIR never really got a decent answer back then.. maybe this time..?
|
25 November 2006, 18:09 | #13 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
Thor: Sweet. Might do a simple shell for it that does a search for split archives in the directory of choice and turns them all into .adfs.
|
30 November 2006, 22:29 | #14 |
Zone Friend
|
@Phiber: well Heikki aka "shd" has taken over xDMS development from Andre.
=> http://zakalwe.fi/~shd/foss/xdms/ He's been absent for ages now, but if anyone is interested in adding this, it's him - Andre doesn't have time for that stuff anymore. |
01 December 2006, 11:07 | #15 |
RIP Friends
Join Date: Sep 2005
Location: UK
Posts: 2,157
|
Also see this thread
http://eab.abime.net/showthread.php?t=25018 |
14 September 2017, 21:39 | #16 |
Registered User
Join Date: Oct 2012
Location: Italy
Age: 49
Posts: 2,941
|
You can use ADF Workshop
There's a command called "Merge some files..." which can be used to put together the splitted .dms |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to find out what files are missing? [split from "Reactions to GBA v1.4 release"] | formater | project.MAGE | 1 | 03 June 2007 17:45 |
DMS files | RokChild | support.WinUAE | 2 | 28 May 2007 09:47 |
Split .DMS files - splicing them back together | Phiber | New to Emulation or Amiga scene | 6 | 04 May 2003 12:51 |
DMS files | Mr Creosote | New to Emulation or Amiga scene | 3 | 27 October 2002 14:07 |
|
|