06 December 2005, 10:21 | #1 |
Cat lover
Join Date: May 2004
Location: Italy
Age: 54
Posts: 804
|
LHA/LZX format string
Could anyone suggest me the correct format for Lha or Lzx command
to compress a drawer and have the original snapshots (window, icon positions, view only icons...) I use: LHA -r A DH1:Final_FileName.lha DH1rawer_To_Compress/#? It works but when I decompress Final_FileName.lha appears a window with all icons and in different positions. Thanks! Last edited by fc.studio; 06 December 2005 at 10:26. |
06 December 2005, 10:56 | #2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,985
|
Icon positions are stored in the icons themselves. If you get different positions after compression it means that they weren't snapshotted before and you just got always the same positions by accident. Snapshot them before creating the archive and positions are stored correctly.
The window position is stored in the window's icon. So if you want to keep the window position, you have to archive the window's icon, too. Just add it to the list like this: lha -r a DH1:Final_FileName.lha DH1:Drawer_To_Compress/#? DH1:Drawer_To_Compress.info |
06 December 2005, 12:05 | #3 |
Cat lover
Join Date: May 2004
Location: Italy
Age: 54
Posts: 804
|
I'll try, Thanks!
|
15 December 2005, 13:54 | #4 |
Cat lover
Join Date: May 2004
Location: Italy
Age: 54
Posts: 804
|
It works, but now I am not able to pack eventual empty sub-directories.
I use the -e option but probably in bad way. Can anyone suggest me the correct format for LZX command? |
15 December 2005, 14:14 | #5 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,985
|
I use both LhA and LZX with -e -r -a -x.
|
16 December 2005, 08:47 | #6 |
Cat lover
Join Date: May 2004
Location: Italy
Age: 54
Posts: 804
|
I desired to convert Pinball Fantasies AGA found in the last Killergorilla Pack
from .zip to .lzx using a real Amiga. I uncompressed .zip to a working directory named PinballFantasiesAGA Unfortunately the last lzx syntax I used doesn't compress an empty sub-directory. On executing program the Amiga give me the DOS-Error #205 Object not found on reading "prefs/env-archive/sys/Nonvolatile/pinball" lzx a -e -r -a -x dh1:PinballFantasiesAGA.lzx dh1:PinballFantasiesAGA/#? dh1:PinballFantasiesAGA.info Where is my error? |
16 December 2005, 09:18 | #7 | |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,985
|
Quote:
|
|
16 December 2005, 11:01 | #8 |
Cat lover
Join Date: May 2004
Location: Italy
Age: 54
Posts: 804
|
I'll try later, thanks for your quick answer!
|
16 December 2005, 12:06 | #9 |
Tik Gora :D
Join Date: Oct 2001
Location: Round yo momma's
Posts: 1,273
|
I think this is why a lot of time you get a folder with a "dir.txt" (0 bytes) or similar in packs in general, it acts as a place mark to ensure that folders get packed.
Maybe you could try this. |
19 December 2005, 11:35 | #10 | |
Cat lover
Join Date: May 2004
Location: Italy
Age: 54
Posts: 804
|
Quote:
It doesn't work but it seems only for this game. Anyone know why? |
|
19 December 2005, 15:13 | #11 |
Tik Gora :D
Join Date: Oct 2001
Location: Round yo momma's
Posts: 1,273
|
Well i just did a test (using registered 68000 & 68020 lzx) and both worked, albeit with a niggle at the unpack stage.
Both packed OK .. Both unpacked OK but i got an 'error' message stating disk full or other problem when unpacking but i think this may be due to the fact the empty folder is last in the archive, but even tho i got the message it still unpacked ALL files n folders perfectly. (including the empty folder) |
19 December 2005, 15:28 | #12 |
Tik Gora :D
Join Date: Oct 2001
Location: Round yo momma's
Posts: 1,273
|
OK .. further tests reveal its the empty folder giving the erroneous message.
I packed it all up with the empty folder NOT last in the archive and still got the message. I then put 'dir.txt' (0 bytes) into the prefs/.../pinball folder and then packed everything, it then unpacked perfect (no problems). All these further tests where made using the registered 68000 version. |
20 December 2005, 13:32 | #13 | |
Cat lover
Join Date: May 2004
Location: Italy
Age: 54
Posts: 804
|
Quote:
Thanks a lot, mate... I'll create and put "dir.txt" (0 bytes) into then empty folder since it seems to be the only solution. However I'm little disappointed about LZX working. In future I'll have to check everytime if it packs and unpack perfectly. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unarchiving LHA & LZX files on Windows XP | amigauser | Amiga scene | 58 | 28 September 2017 23:36 |
SetPatch 44+ copyright string | amiga_user | support.Apps | 20 | 03 April 2011 01:55 |
Auto lha and lzx mounting/demounting | Stig | request.UAE Wishlist | 14 | 31 May 2005 18:54 |
PRoblems with ZIP, LZX, LHA and who knows what else :P | Amiga1992 | support.Apps | 5 | 09 February 2004 11:27 |
|
|