27 September 2022, 18:45 | #121 |
Registered User
Join Date: Sep 2017
Location: Uppsala
Posts: 105
|
I assume you mean what is highlighted in this screenshot? Yes, that works perfectly.
|
27 September 2022, 20:02 | #122 |
Registered User
Join Date: Jun 2020
Location: Germany
Posts: 370
|
Have you added some code that tries to CD somewhere? I noticed that my disk can't start the GUI anymore when I replace the old Exe with the new one from the first page nor the one from the latest test version. It is complaining about a redirection file or something like that. And I couldn't spot anything weird with snoopdos.
|
28 September 2022, 00:13 | #123 |
Registered User
Join Date: Oct 2021
Location: England
Posts: 1,221
|
redirection error? rather than redirect to T: as your kinda supposed to do, i bypassed that incase someone had T: set to a HD/Disk and i specifically redirect to RAM:T/ so at a guess if RAM:T isnt accessible it would fail, tho i also have code that adds RAM:T if it doesnt exist, so not sure what else could fail redirection wise.
And nope, zero code was altered other than adding the new site support, also i cant do CD's at all, remember the program isnt a script, i can only execute 1 command at a time which again is why i tend to use specific full paths, if i were to execute a "CD" then something else it would be like 2 seperate scripts executing their own thing, the second command wouldnt inherit anything from the first so me using "CD" isnt viable. Any CD'ing or otherwise would be done by the UHC-Tools scripts, they are what i execute, then they take over. |
28 September 2022, 07:49 | #124 |
Registered User
Join Date: Jun 2020
Location: Germany
Posts: 370
|
My mistake. I didn't replace the old Exe, I replaced my launch script. It's still working fine.
|
28 September 2022, 07:54 | #125 |
Registered User
Join Date: Oct 2021
Location: England
Posts: 1,221
|
|
28 September 2022, 23:52 | #126 |
Registered User
Join Date: Jun 2020
Location: Germany
Posts: 370
|
Here is probably the final release of the disk. I fixed some checks in the launch scripts and added a Download section to the guide where I've put some programs/libraries that can be downloaded with a simple click.
I have included a HDinstall script, but it is not embedded in the installation script. I want to encourage anyone to do a proper installation of UHC and the other stuff, to avoid that problems are reported which are caused by the method the disk has to use. HD installation is pretty easy though, just copy at least LhA and System to your Boot Disk C: directory. Although LhA might be enough, since UHC-GUI will download System anyway. Then drag and drop the UHC icon from the disk to wherever you want. Doing that with MTool won't quite work. The included prefs file is set to use files from the disk. Which means MTool also needs a proper installation or replacement. Again, rename UHC-Disk.zip to UHC-Disk.adf |
29 September 2022, 00:36 | #127 |
Registered User
Join Date: Oct 2021
Location: England
Posts: 1,221
|
would it be any use if the GUI added LHA to its list of "things to install for you" if it doesnt exist in C: just like the System command?
|
29 September 2022, 00:58 | #128 |
Registered User
Join Date: Jun 2020
Location: Germany
Posts: 370
|
For the disk not really, because I need LhA before I even get to the GUI.
I just thought of why not download UHC if it can't be found, but I forgot that you need AGET for that. So, I don't think it is necessary but if you want to add it, go for it. But remember that you probably also need to test the CPU for the appropriate version of LhA. I don't know if it is worth adding it. |
29 September 2022, 21:48 | #129 | |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 927
|
Quote:
Be aware that veeeery long filenames might cause issues with the filesystem where T: resides, which is where the files are downloaded by default by uhcextract. You might want/need to set UHC/TEMPDIR to somewhere on a filesystem which can handle the filenames. |
|
29 September 2022, 22:34 | #130 |
Registered User
Join Date: Oct 2021
Location: England
Posts: 1,221
|
works perfectly on OS3.2.x, and as you said it fails spectacularly on OS3.1 due to long filenames, OS3.2.x has an option in "Workbench" prefs to set max filename length, OS3.1 does not, unless there is a tool to fudge the same behaviour, then perhaps i could get the GUI to inform the user of the situation and perhaps offer up some hack/tool from somewhere that fixes it.
That or possibly temporarily mount a ramdrive which uses PFS3 or similar which does have long filename support. Ooooooooor, perhaps the uhc script, specifically for turran's ftp could detect the version of workbench and if using OS 3.0/3.1 then trim the filename length while retaining the file extension? I think OS3.1.4 etc support long filenames along ofc with OS3.2? |
29 September 2022, 23:11 | #131 |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 927
|
I think that workbench setting is just a limit for how long filenames workbench itself will show and create, nothing that the filesystems themselves care about.
The problem in 3.1 is the ramdrive handler itself. I even saw a garbled filename in T: when testing under 3.1, so apparently it is not even truncating the file names, but just going bananas. Would be interesting to know what it’s safe limit is. If you “setenv UHC/TEMPDIR MyPFSDrive:” you can just redirect the tempdir UHC tools uses to a PFS partition. |
30 September 2022, 12:23 | #132 |
Registered User
Join Date: Jun 2020
Location: Germany
Posts: 370
|
I just noticed the long filename issue also for whdownload. Something like EyeOfTheBeholder2_v1.1_De_0681.lha gets cut off.
|
30 September 2022, 19:15 | #133 | |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 927
|
Quote:
1. Was this with whdownextract or whdownget? 2. What was the destination and which filesystem was that running? 3. Which OS version? 4. How did the filename look after it was truncated? |
|
30 September 2022, 20:57 | #134 | |
Registered User
Join Date: Jun 2020
Location: Germany
Posts: 370
|
Quote:
2. Ram: OFS and/or SYS: DC-FFS 3. 3.1 4. EyeOfTheBeholder2_v1.1_De_0681 |
|
30 September 2022, 22:05 | #135 |
Registered User
Join Date: Dec 2002
Location: sweden
Age: 46
Posts: 430
|
Double clicking a file in the list to download would be nice.
Viewing collys from asciiarena directly would be nice. |
01 October 2022, 02:15 | #136 | |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 927
|
Quote:
Code:
8.Ram Disk:> version full Kickstart 47.7, Workbench 47.3 (2021-07-13) 8.Ram Disk:> info | search ADH[678] NONUM PATTERN ADH6 255M 136 524150 0% 0 Read/Write Temp-FFS ADH7 236M 2 483782 0% 0 Read/Write Temp-PFS ADH8 255M 136 524150 0% 0 Read/Write Temp-FFSLN 8.Ram Disk:> version full ram-handler ram-handler 47.8 (2021-10-04) 8.Ram Disk:> echo >ram:123456789a123456789b123456789c123456789d123456789e123456789f123456789g123456789h123456789i123456789j123456789k123456789l 8.Ram Disk:> dir ram:1#? 123456789a123456789b123456789c123456789d123456789e123456789f123456789g123456789h123456789i123456789j1234567 8.Ram Disk:> version full adh6: filesystem 47.4 (2020-06-16) 8.Ram Disk:> echo >adh6:123456789a123456789b123456789c123456789d123456789e123456789f123456789g123456789h123456789i123456789j123456789k123456789l 8.Ram Disk:> dir adh6:1#? 123456789a123456789b123456789c 8.Ram Disk:> version full adh8: filesystem 47.4 (2020-06-16) 8.Ram Disk:> echo >adh8:123456789a123456789b123456789c123456789d123456789e123456789f123456789g123456789h123456789i123456789j123456789k123456789l 8.Ram Disk:> dir adh8:1#? 123456789a123456789b123456789c123456789d123456789e123456789f123456789g123456789h123456789i123456789j123456 8.Ram Disk:> version full adh7: pfs3aio 19.2 (2018-10-02) written by Michiel Pelt and copyright (c) 1994-2012 Peltin BV 8.Ram Disk:> echo >adh7:123456789a123456789b123456789c123456789d123456789e123456789f123456789g123456789h123456789i123456789j123456789k123456789l 8.Ram Disk:> dir adh7:1#? 123456789a123456789b123456789c1 8.Ram Disk:> setfnsize adh7: 107 maximum filename size is now 107 8.Ram Disk:> setfnsize adh7: 108 The maximum filenamesize is 107 8.Ram Disk:> echo >adh7:123456789a123456789b123456789c123456789d123456789e123456789f123456789g123456789h123456789i123456789j123456789k123456789l 8.Ram Disk:> dir adh7:1#? 123456789a123456789b123456789c1 123456789a123456789b123456789c123456789d123456789e123456789f123456789g123456789h123456789i123456789j123456 - ram: 107, - FFS 30 - FFS-LN 106 - PFS3AIO 31 as standard, 106 using setfnsize tool set to max 107 Only ram: should be different in 3.1. A bit strange that both FFS-LN and PFS3AIO maxes out at 106, while ram: reaches the theoretical max of 107 (fib_FileName is 108 but last char is a zero for termination). |
|
01 October 2022, 02:50 | #137 | |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 927
|
Quote:
Also as another note. As EctoOne noticed, lha has no issues with truncated filenames as long as they contain no special characters as it appears it just attempts to open the file as is then and the file system gives the file with the truncated name then. However, when the filename contains pattern characters like [, even if escaped, it will attempt to match against the actual truncated filename on the disk which it will fail as it is truncated and too short to match the pattern. |
|
01 October 2022, 04:20 | #138 |
Registered User
Join Date: Oct 2021
Location: England
Posts: 1,221
|
the plus character seems to be an issue as well as [], only it seems to terminate the filename at the +, but weirdly only for OS3.1, on OS3.2.x the filename does not terminate at the + and carries on to []'s and whatever else ends up goofing up the filename.
this was before your last update, havent tried filenames containing a + since your last update, i assume the escaping you did would probably fix that as well. |
01 October 2022, 04:22 | #139 |
Registered User
Join Date: Oct 2021
Location: England
Posts: 1,221
|
|
04 October 2022, 00:04 | #140 | |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 927
|
Quote:
1. LhA, the archiver tool 2. truncated filename, so the actual filename is missing the extension (3.1 RAM: handler and FFS max 30) 3. pattern characters in the filename you pass as argument to LhA - one of [ ] ( ) # ? | * % ~ ' Have solved this for the extract script by adding a tool which can check the actual filename of the file on the filesystem. The uhcextract script will compare it against what the filename should be. If they do not match and the actual filename contains patterns, the file will be renamed a new name keeping 10 chars from the end so the ending will be kept, so LhA will now be able to open it. Please give it a try. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UHC Tools | jayminer | Amiga scene | 208 | 28 April 2024 21:47 |
[WIP] Scramble | jotd | project.Amiga Game Factory | 145 | 17 April 2024 12:12 |
WIP: Stormlord | Ultron | project.Sprites | 5 | 25 January 2016 20:13 |
M.O.V.I.E. Spriteset - WIP | invent | project.Sprites | 2 | 11 July 2014 04:58 |
Kumiko GUI - Amiga Workbench 3.1 GUI for Windows | milika | Amiga scene | 31 | 18 April 2007 19:16 |
|
|