English Amiga Board


Go Back   English Amiga Board > Support > support.Other

 
 
Thread Tools
Old 31 May 2020, 18:03   #1
npagonis73
Registered User
 
npagonis73's Avatar
 
Join Date: Sep 2019
Location: Corfu / Greece
Posts: 410
Adf2dms rexx

Hi there

Has anyone used the adf2dms rexx tool from aminet? I tried to use it, I have all necessary tools it needs in C, and lib and made HD0: assigns in a directory. I tried to run in through dopus under rexx command like “RX rexx path with command and nothing happens. Can anyone help?
npagonis73 is offline  
Old 31 May 2020, 20:39   #2
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
Have you done/notice this:
Quote:
** Note: the default SD0: device uses the statram.device, check aminet!
**
** Usage:
**
** copy this script to your REXX: directory
** make sure you installed the required components:
** Unzip, XAD, DMS, SD0: disk, rexxdossupport.library
** edit the variables (directory names) below to suit your installation.
** type in a shell: rx ADF2DMS
** get a cup of coffee.
There should be error messages in the shell window if there are some.
daxb is offline  
Old 31 May 2020, 21:11   #3
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,162
Careful as DMS format is buggy. Personally you'd be better off gzipping your adf files (gzip exists on amiga too)
jotd is offline  
Old 31 May 2020, 22:05   #4
npagonis73
Registered User
 
npagonis73's Avatar
 
Join Date: Sep 2019
Location: Corfu / Greece
Posts: 410
Quote:
Originally Posted by daxb View Post
Have you done/notice this:

There should be error messages in the shell window if there are some.
Thanks for the reply.

I have all wanted files in c: and libs: meaning unzip, xad, dms. I am not sure what the sd0: disk is. Also do I need to get the statram.device in devs?

Also I have an ARexx folder in S and rexmast is running from boot.
Also when I tried it through dopus it gave me a hd0 request for directory which I made an assign for it.
npagonis73 is offline  
Old 31 May 2020, 22:06   #5
npagonis73
Registered User
 
npagonis73's Avatar
 
Join Date: Sep 2019
Location: Corfu / Greece
Posts: 410
Quote:
Originally Posted by jotd View Post
Careful as DMS format is buggy. Personally you'd be better off gzipping your adf files (gzip exists on amiga too)
I know is buggy but I am just experimenting with dopus rexx commands etc.

I am not intending to use any dms files.

Thanks for the heads up anyway though
npagonis73 is offline  
Old 01 June 2020, 11:46   #6
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
Quote:
Originally Posted by npagonis73 View Post
I have all wanted files in c: and libs: meaning unzip, xad, dms. I am not sure what the sd0: disk is. Also do I need to get the statram.device in devs?
SD0: is the device (real or virtual) where ADFs are written to (script description says so). So you need SD0: or change the "SD0:" string the in script to the device you want to use. On my system SD0: and statram.device doesn't exists.

Quote:
Also I have an ARexx folder in S and rexmast is running from boot.
Also when I tried it through dopus it gave me a hd0 request for directory which I made an assign for it.
You don't necessary need an ARexx folder in S. You can start ARexx scripts from everywhere. About HD0:, you need to change the script. At least this variables that refer to HD0:. Then you don't need to set assings.
Code:
SourceDir="HD0:Temp/ADF/"
DestDir="HD0:DMS/"
ErrorDir="HD0:FaultyZips/"
LogFileName="HD0:Temp/ADFErrors.log"
As you can see there is an error log. You should read it. If that doesn't help I would use the ARexx TRACE instruction to see what the script does and where are errors. And read the script description again.
daxb is offline  
Old 01 June 2020, 21:41   #7
npagonis73
Registered User
 
npagonis73's Avatar
 
Join Date: Sep 2019
Location: Corfu / Greece
Posts: 410
Thanks DAXb for the comments. Will try them and report back
npagonis73 is offline  
Old 28 September 2020, 22:56   #8
npagonis73
Registered User
 
npagonis73's Avatar
 
Join Date: Sep 2019
Location: Corfu / Greece
Posts: 410
Hi DAXb again. I found lately some time to play with that script and I managed to make it work following your last message as well. It seems that the script is working and I see the whole process unfolding and I get the following error towards the end of the script. “Blabla.dms too short” and the dms is not created. Any ideas why?
npagonis73 is offline  
Old 29 September 2020, 11:32   #9
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
You have already read that:
Quote:
** below). The resulting DMS files are also checked against a minimal
** size (see SizeLimit below) as some floppies don't seem to be process-
** able with DMS). Note that having an error logged does not mean there
** is no DMS file produced, so double check this).
As you can see the size limit is set to 50000 bytes.
daxb is offline  
Old 29 September 2020, 13:02   #10
npagonis73
Registered User
 
npagonis73's Avatar
 
Join Date: Sep 2019
Location: Corfu / Greece
Posts: 410
Adf2dms rexx

I saw that but I thought there is smg wrong. Every single file I tried I get the same error. That is insane and useless in my opinion. Am I wrong or am I using it wrong.
npagonis73 is offline  
Old 29 September 2020, 14:42   #11
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
I do know nothing about DMS or problems with it. So, I cannot give you an advice. Of course you can comment out the warning about small filesize to get rid of the error messages.
daxb is offline  
Old 29 September 2020, 15:07   #12
npagonis73
Registered User
 
npagonis73's Avatar
 
Join Date: Sep 2019
Location: Corfu / Greece
Posts: 410
Quote:
Originally Posted by npagonis73 View Post
I saw that but I thought there is smg wrong. Every single file I tried I get the same error. That is insane and useless in my opinion. Am I wrong or am I using it wrong.

Tried that as well. Messages don’t get reported or logged but dms is not created. No worries... I am just experimenting anyway. I don’t use DMS either. Thanks for your help anyway...
npagonis73 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
Rexx Plus manual emufan support.Apps 4 16 February 2018 22:35
New tool: ShapesInfo.rexx idrougge Coders. Blitz Basic 0 29 January 2016 13:36
Rexx Compiler manual videofx request.Other 0 02 June 2014 19:48
suggestion for rexx GUI systmcrsh support.Apps 3 03 March 2011 17:57
New Rexx Book is Available howardfci News 0 18 June 2005 01:23

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 03:53.

Top

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