English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 07 April 2009, 10:18   #21
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,510
Quote:
Originally Posted by hit View Post
thanks for the update.
1) dsq seems working, but a bit different then last beta
you have to give the filename for ( -x or -o option) as separat argument, not within the path. not sure whats better, but i was confused while testing
Unpacking always require separate filenname (name of file that is unpacked) Listing does not require extra parameters.

Quote:
wine uaeunp.exe BT1.dsq/Image.dsq.DIR
[DIR] ----RWED ------------------- Image.dsq.adf.DIR
901120 ----RWED ------------------- 3830697A Image.dsq.adf
"uaeunp bt1.dsq\image.dsq.dir image.dsq.adf" will extract adf.

New feature coming soon: ipf/fdi/extended adf support. (if ados formatted)
Toni Wilen is offline  
Old 07 April 2009, 10:21   #22
hit
Registered User
 
Join Date: Jun 2008
Location: planet earth
Posts: 1,115
ah, ok, now i understand:
1)wine uaeunp.exe -x BT1.dsq/Image.dsq.DIR Image.dsq.adf
failed to open archiveaccess.dll ('Image.dsq.adf')
failed to open archiveaccess.dll ('Image.dsq.adf')
Image.dsq.adf extracted, 901120 bytes

so there is no direct adf conversion anymore? this was working with earlier beta, IIRC and wasnt that bad

where do i find this archiveaccess.dll?
hit is offline  
Old 07 April 2009, 10:25   #23
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,510
Quote:
Originally Posted by hit View Post
ah, ok, now i understand:
1)wine uaeunp.exe -x BT1.dsq/Image.dsq.DIR Image.dsq.adf
failed to open archiveaccess.dll ('Image.dsq.adf')
failed to open archiveaccess.dll ('Image.dsq.adf')
Image.dsq.adf extracted, 901120 bytes

so there is no direct adf conversion anymore? this was working with earlier beta, IIRC and wasnt that bad

where do i find this archiveaccess.dll?
Ignore the error, adf should still be correct.

Previously it worked "incorrectly" compared to other image file types. (=now it is possible to extract both "PDK" image file and adf. PDK = lzx uncompressed dsq)
Toni Wilen is offline  
Old 07 April 2009, 10:33   #24
hit
Registered User
 
Join Date: Jun 2008
Location: planet earth
Posts: 1,115
yep, both are extracted:
929332 ----RWED 1997/07/22 21:56:26 4FA2F53A Image.dsq
901120 ----RWED ------------------- 3830697A Image.dsq.adf

but using "wine uaeunp.exe BT1.dsq BT1.adf made it easier scriptable. kinda:
for file in *dsq; do wine uaeunp.exe $file $file.adf; done
hit is offline  
Old 07 April 2009, 10:45   #25
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,510
Perhaps something like "uaeunp e somefile.something *.adf" = extract all files that match *.adf to current directory? (without creating any directories like x does)
Toni Wilen is offline  
Old 07 April 2009, 11:00   #26
hit
Registered User
 
Join Date: Jun 2008
Location: planet earth
Posts: 1,115
Quote:
Originally Posted by Toni Wilen View Post
Perhaps something like "uaeunp e somefile.something *.adf" = extract all files that match *.adf to current directory? (without creating any directories like x does)
hmm, the trouble is, the extracted adf file is always called "Image.dsq.adf".
if you could manage to do something like:
"uaeunp e dummy.something *.adf" --> outputfile: dummy.adf
that would fit
hit is offline  
Old 07 April 2009, 12:50   #27
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,510
Quote:
Originally Posted by hit View Post
hmm, the trouble is, the extracted adf file is always called "Image.dsq.adf".
if you could manage to do something like:
"uaeunp e dummy.something *.adf" --> outputfile: dummy.adf
that would fit
Problem is that it really is named "Image.dsq" (dsq is lzx archive with single file called "Image.dsq" inside)

Need some stupid hack here to fix it
Toni Wilen is offline  
Old 07 April 2009, 13:18   #28
hit
Registered User
 
Join Date: Jun 2008
Location: planet earth
Posts: 1,115
Quote:
Originally Posted by Toni Wilen View Post
Problem is that it really is named "Image.dsq" (dsq is lzx archive with single file called "Image.dsq" inside)
ah, ok.
Quote:
Originally Posted by Toni Wilen View Post
Need some stupid hack here to fix it
i'm sure you find a solution. sort of simple attempt:
uaeunp e arg1 arg2.adf
-> check if arg1 has supported adf output possibility
-> locate it within the archive path
-> extract to disk using arg2 as filename
hit is offline  
Old 07 April 2009, 13:31   #29
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,510
Quote:
Originally Posted by hit View Post
ah, ok.

i'm sure you find a solution. sort of simple attempt:
uaeunp e arg1 arg2.adf
-> check if arg1 has supported adf output possibility
-> locate it within the archive path
-> extract to disk using arg2 as filename
Yeah but there can be more than one matching file..

EDIT: Just add separate rename phase to your script and your done

Last edited by Toni Wilen; 07 April 2009 at 13:39.
Toni Wilen is offline  
Old 07 April 2009, 13:43   #30
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,510
And updated once more. (0.4)

ipf/fdi/extended adf -> adf conversion implemented (if ados)

added extract all to current directory including match string support, for example "uaeunp somefile.something *.adf" recursively extracts all adf files inside the archive to current directory (no subdirectories created)

I guess all main features are now done, only some tweaking left to do..
Toni Wilen is offline  
Old 07 April 2009, 13:55   #31
hit
Registered User
 
Join Date: Jun 2008
Location: planet earth
Posts: 1,115
hmm, well, kinda:
Code:
for file in *.dsq ; do wine uaeunp.exe -x $file/Image.dsq.DIR Image.dsq.adf; mv Image.dsq.adf $file.adf; done
is working

hmm, but where do i get "ArchiveAccess.DLL" from? google only finds winuae related things, but nothing to d/l it from.

Edit:
Code:
for file in *.dsq ; do wine uaeunp.exe -x $file/Image.dsq.DIR Image.dsq.adf $file.adf ; done
works too

Edit2: recursively extracting only write the files, but doesnt keep the subfolder. it seems.

Last edited by hit; 07 April 2009 at 14:10.
hit is offline  
Old 07 April 2009, 18:37   #32
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,510
Quote:
Originally Posted by hit View Post
hmm, but where do i get "ArchiveAccess.DLL" from? google only finds winuae related things, but nothing to d/l it from.
It isn't really needed anymore, only special case is rar archive inside another archive

http://www.winuae.net/files/archive_plugins.zip


Quote:
Edit2: recursively extracting only write the files, but doesnt keep the subfolder. it seems.
"**" mode should work again (0.4b)
Toni Wilen is offline  
Old 07 April 2009, 19:35   #33
hit
Registered User
 
Join Date: Jun 2008
Location: planet earth
Posts: 1,115
ah, thanks for the plugin. and directory extraction is working now

Edit: maybe an issue; if you use -x without "*" or "**", its crashes here:
Code:
wine uaeunp.exe -x BT1.dsq/Image.dsq.DIR/Image.dsq.adf.DIR
wine: Unhandled exception 0xc0000417 at address 0x41fe4d (thread 0009), starting debugger...
its enough to catch the case? i can list the whole lot, of debug info, even if it doesnt says that much.

Last edited by hit; 07 April 2009 at 19:41.
hit is offline  
Old 08 April 2009, 14:52   #34
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,510
Fixed (0.4c) + other changes (adf/hfd does not anymore load whole file in memory = hdfs won't take ages to parse..)
Toni Wilen is offline  
Old 08 April 2009, 18:53   #35
hit
Registered User
 
Join Date: Jun 2008
Location: planet earth
Posts: 1,115
thanks for fixing, but something new is broken. it doesnt look into the deeper directories anymore:

wine uaeunp.exe -l M.dms **
834558 -------- ------------------- 78C7C33E M.dms
(no M.dms.DIR)

wine uaeunp.exe -l B.dsq **
[VDIR] ----RWED 1997/07/22 21:56:26 Image.dsq.DIR
929332 ----RWED 1997/07/22 21:56:26 4FA2F53A Image.dsq
(should show files inside Image.dsq.DIR, but doesnt)

wine uaeunp.exe -l B.dsq/Image.dsq.DIR
(no output)
hit is offline  
Old 08 April 2009, 22:31   #36
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,510
Fixed (0.5)

Other updates:

- adf protection flags fixed
- >512 block sizes supported (rdb hardfiles only)
- sfs support added. WARNING: file extraction most likely will fail or create corrupt files if file is fragmented. I still do not completely understand how file extent b-trees are supposed to be handled..
Toni Wilen is offline  
Old 09 April 2009, 10:07   #37
hit
Registered User
 
Join Date: Jun 2008
Location: planet earth
Posts: 1,115
Quote:
Originally Posted by Toni Wilen View Post
Fixed (0.5)
indeed, issues above are fixed. extraction, listing of dsq/dms is working
also checked a hdf (1280 cyls, 40960 blocks, 20.0MB/20.0MB DOS..... [444F530100000000] Sector 32, Blocks 512).
the problem here: if a folder is empty, your tool just says:
wine uaeunp.exe WB-2.1.hdf/WBStartup
Couldn't open directory 'D:\WB-2.1.hdf\WBStartup'

but it gets listed:
wine uaeunp.exe WB-2.1.hdf
[DIR] ----RWED 1992/07/30 13:35:15 WBStartup

and extracted:
wine uaeunp.exe -x WB-2.1.hdf \*\*
drwx------ 2 user users 4096 30. Jul 1992 WBStartup

well, thanks for the update
hit is offline  
Old 09 April 2009, 20:34   #38
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,510
Quote:
Originally Posted by hit View Post
the problem here: if a folder is empty, your tool just says:
wine uaeunp.exe WB-2.1.hdf/WBStartup
Couldn't open directory 'D:\WB-2.1.hdf\WBStartup'
It is a "feature". May be improved someday..
Toni Wilen is offline  
Old 09 April 2009, 21:23   #39
hit
Registered User
 
Join Date: Jun 2008
Location: planet earth
Posts: 1,115
Quote:
Originally Posted by Toni Wilen View Post
It is a "feature". May be improved someday..
ok. was just confused by this message, looks like an error but isn't. so i wait for the improved version
hit is offline  
Old 09 April 2009, 22:25   #40
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,510
And yet another update (0.5b)

- SFS file extraction fixed
- SFS2 supported
- block size autodetection implemented (if non-rdb hardfile)
Toni Wilen 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
Behold the ultimate floppy disk archiver gilgamesh Amiga scene 9 14 April 2012 22:33
Zip archiver/deflater Retroplay request.Apps 11 19 February 2007 00:19
The best archiver software? Marsh2003 New to Emulation or Amiga scene 14 10 September 2003 18:36

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 05:13.

Top

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