Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
58 user(s) are online (47 user(s) are browsing Forums)

Members: 1
Guests: 57

MazinKaesar, more...

Support us!

Headlines

Forum Index


Board index » All Posts (Cageman)




Re: LHA Archiving questions....
Just popping in
Just popping in


@all

I am very greatfull with all the suggestions that YOU ALL posted and took time to post. And again, I am NOT the typical Amiga User... the only reason I had a super expanded Amiga 1200 back in the days was because of the creativity tools others developed. All the mod trackers, Octamed Soundstudio, LightWave and Imagine etc.

This is also why I am an Amiga user today... the creativity and friendship.

This means that I do not really know how to write arexx scripts or scripts related to LHA that automate things. I am slowly learning. ;)

With that said and done... today, with the solution that the Swedish Amiga Users presented to me, I have succefully done what I initially asked for.

3374 archives have been made with very little effort compared to what it would have taken doing it manually.

Did the Swedish Amiga Users come to the best solution? From what I see here, no (since I had to resort to install some 3:rd party tools). But they were the first to come to a solution that, despite not being "perfect" worked out in an excellent way for the needs I had in this particular situation.

What works works, and I have yet to test the solutions that you have posted here, but I have copied them and saved them as textfiles.

Thank you ALL so much for assisting me in finding a solution. You guys rock. I will probably have more questions about AmigaONE X5000 in the future.

:)

<3 <3 <3

Current Amiga computers: Vampire V4-SA, A1-X5000/020, A1-X5000/040, MacMini PPC (MorphOS).
Go to top


Re: LHA Archiving questions....
Just popping in
Just popping in


@jPV

I have to say that I am no expert in these things at all. That said, with 15+ years of Cinematics productions for games, spaces in names/directories are a big no-no. It is so rooted in me nowdays that I treat the Amiga the same way. :)

Go to top


Re: LHA Archiving questions....
Just popping in
Just popping in


@jPV

Ahh... yes... well... I got a similar but different solution... see my previous post... I must have made that post while you were making yours. :)

Go to top


Re: LHA Archiving questions....
Just popping in
Just popping in


An update!!! :)

Some guys over at a Swedish Amiga forum helped me solve this in a different way.

Go to OS4Depot, download and install UHCTools. It includes the ForEachLine command...

Here is an example script. First it creates a list of all directories inside Work:Games/ and saves it to a file called "dirs" in T:

Then it, for each line in the file "dirs", creates an .lha archive with the same name as in the list in the file "dirs". The resulting archives are stored in T: so it is easy to move them wherever you want them.

;BEGIN Script
List DIRS LFORMAT "%N" Work:Games/ >T:dirs
ForEachLine T:dirs
Lha a -a -e -r ${LINE}.lha Work:Games/${LINE}/#?
EndForEach
;END Script

Current Amiga computers: Vampire V4-SA, A1-X5000/020, A1-X5000/040, MacMini PPC (MorphOS).
Go to top


Re: LHA Archiving questions....
Just popping in
Just popping in


I also tried this with my emulated Amiga (WinUAE) running AmigaOS 3.9 and I get the same error message.

I'm very puzzled at this moment. :D

Current Amiga computers: Vampire V4-SA, A1-X5000/020, A1-X5000/040, MacMini PPC (MorphOS).
Go to top


Re: LHA Archiving questions....
Just popping in
Just popping in


Here is what I get when I test if I have LHA installed or not.

New Shell process 4
4.Workbench:> which lha
Workbench:C/LhA

And this is the version of the lha command in Sys:C

4.Workbench:> version lha
LhA 2.15 AOS4 Jan 3 2011

So... it seems I have LhA command installed in the correct place (Sys:C).

Current Amiga computers: Vampire V4-SA, A1-X5000/020, A1-X5000/040, MacMini PPC (MorphOS).
Go to top


Re: LHA Archiving questions....
Just popping in
Just popping in


Tested with a directory I unpacked to RAM: and then wanted to pack it to RAM:

The directory is called WhatIFF1.04

Please insert Volume lha -x -r -a -m -e -F a "WhatIFF1.04.lha" "RAM:" in any drive.

:D

Current Amiga computers: Vampire V4-SA, A1-X5000/020, A1-X5000/040, MacMini PPC (MorphOS).
Go to top


Re: LHA Archiving questions....
Just popping in
Just popping in


I've copied your script, pasted into notepad and saved it as PackDirs.rexx in REXX:

I have then followed your instructions in setting the button up in Dopus4 with

rx REXX:PackDirs.rexx {f} (as an AmigaDOS command)

However I get an error message that reads like this:

lha -x -r -a -m -e -F a "S.lha" "SYS:S": Unknown command

When testing using the S directory in my Workbench installation.

Current Amiga computers: Vampire V4-SA, A1-X5000/020, A1-X5000/040, MacMini PPC (MorphOS).
Go to top


Re: LHA Archiving questions....
Just popping in
Just popping in


Very cool @nbache

I have to mention that I am a returning user of AmigaOS (I recently got my AmigaONE X5000)... and I do remember using Rexx scripts back in the late 1990:s... However, I will probably need more help and take baby steps with this...

First question... Where would I need to store your REXX script? :D

The rest regarding Dopus 4 looks easy enough to setup. But then again, I might have more questions. :)

Go to top


LHA Archiving questions....
Just popping in
Just popping in


Hello!

I wonder if there is a way to archive a list of directories so that each directory gets its own archive. Let me explain... Lets say I have a directory that looks like this

A
B
C

Ok... what I would want to do here is to not have to archive these 3 directories manualy, one by one. What I would want to do is to have them archived like this:

A.lha
B.lha
C.lha

Similar to how WinRAR allows for each selected file (or directory) to get its own archive.

Any ideas on how to achive something like that? And yes... it has to be LHA for reasons.

Thanks in advance. :)

Go to top


Re: THEA500 Mini
Just popping in
Just popping in


For anyone interested....

https://www.youtube.com/watch?v=0Vivn-ek8WY

Another reviewer also took it appart and it is a custom PCB running a dualcore ARM microprocessor. Since it is an ARM processor, it is using AmiBerry for the emulation. And it also emulates AGA.

I really like the Plug-n-Play approach. It is for those people that used Amiga as a games console (A500, A1200) and never thought about it as something more and would want an easy to use Amiga games console, who can't be bothered with the technical side of setting up a PC with WinUAE etc.

Current Amiga computers: Vampire V4-SA, A1-X5000/020, A1-X5000/040, MacMini PPC (MorphOS).
Go to top


Re: AmiUpdate connection error
Just popping in
Just popping in


@thread

I can verify this... just tested and it doesn't connect. It tries to connect to codebench.co.uk.

Go to top


Re: Are AmigaKit still selling X5000 machines?
Just popping in
Just popping in


I ordered an AmigaONE X5000 in December last year via the Swedish retailer GGS Data. They didn't have it in stock, but they put in an order and I got mine about 3 weeks ago.

EDIT: I realized that I didn't answer the question about AmigaKit. But it would be strange if they would not sell them. I do not know from where GGS Data ordered it from.

Go to top


Re: Hell is coming to OS4: Doom 3
Just popping in
Just popping in


Sounds cool. Any updates on the progress yet?

Go to top



TopTop
« 1 ... 5 6 7 (8)



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1
Pegasos2
X5000
X1000
A1222
Sam 440/460
Classic PowerPC Amiga
WinUAE emulation
Qemu emulation
Total Votes: 182
The poll will close at 2025/12/1 12:00
4 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project