09 December 2019, 02:44 | #1 |
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
Trying to archive an lha file inside a new lha file
Can lha archives be nested inside each other? I've been trying to add an lha archive and a script file to a new lha archive that contains both, but DOpus doesn't want to comply, it just takes me straight to the help screen after I've selected both and clicked on LHA and entered a name. How can I force it do this?
The reason I want to do this is to preserve Amiga "protect" bits, because as far as I know, only lha archives do this. Thanks in advance. EDIT: Never mind, found an alternative solution. Admins, please delete this post. Last edited by Foebane; 09 December 2019 at 03:25. |
09 December 2019, 14:36 | #2 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
And what is your solution?
To answer the topic question. Yes it can. Simple by add an file (can be an LHA archive of course) to an LHA archive. The command is "a". E.g.: Code:
LHA a ram:lha_archive.lha work:some_file_to_add |
09 December 2019, 14:40 | #3 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
I just don't get why anyone would want to add an .LHA file inside an .LHA file though?
|
09 December 2019, 19:10 | #4 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
You know what annoys me...
dms -> Lha -> lzx Rar -> zip |
09 December 2019, 21:55 | #5 |
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
I found a solution soon after, with ZIP files on the Windows side.
Basically, I take an LHA file containing a multi-file demo, and a .script file which is a method of running the demo automatically without having to seek the exe or whatever else is needed to run it, and put them inside a non-compressing ZIP (for compatibility with WinUAE), and I can then run the whole demo from another script. It sounds convoluted, I know, but it works, and I will provide an example one day. |
10 December 2019, 03:15 | #6 |
Registered User
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,772
|
It doesn't sound convoluted, it sounds absolutely insane
|
11 December 2019, 21:08 | #7 |
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
This is how I'm able to run demos with a double-click as of now:
1. First of all, I set up the following script and attach it to an icon with C:IconX as the default tool: Code:
cd rdh0: s:spat run #?.exe s:spat execute #?.script 7-Zip (Normal compression) for single files ending in .exe, always, or Zip (Stored, no compression) to hold original downloaded demo archives (lha, lzx or zip) along with a script which will run the demo straight from the archive, like the following for "Switchback" by Rebels: - Archive is downloaded from Pouet.net - Archive is renamed to unique Pouet.net number with "@" prefix, so archive name is now "@2744.lha" - Script "@2744.script" contains the code to run the demo and anything else, for example: Code:
cd @2744.lha.dir assign rebels: "" sb.exe Not simple, and it does require some work to convert the collection, but it does make it easy for a complete Amiga novice to run my Amiga demo collection! |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
extracting lha archive problems | xubidoo | support.Apps | 3 | 21 March 2019 23:24 |
LHA - Splitting a large file into 2 archives | DamienD | support.Other | 18 | 31 January 2017 09:54 |
No installer for MagicWB21p.lha (file from FAQ) | Snowwie | support.Apps | 4 | 17 March 2012 14:12 |
MagicMenu 2.35 LHA Archive | Leandro Jardim | request.Apps | 6 | 25 August 2010 01:49 |
Req: File CYC-V13.LHA on old Paradise Dream BBS | Gringo | request.Apps | 17 | 25 April 2010 21:11 |
|
|