English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 22 September 2022, 23:13   #81
DisasterIncarna
Registered User
 
DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 1,170
the important part is that stuff works, hopefully get some more input back from the test version before you bundle anything up officially .

If you want something more lightweight than Multiview, try using C:More or other lightweight text viewer, to preconfigure that, Echo "C:More" or "C:MuchMore" or the likes to "> UHC:UHC-GUI.readview"

UHC-GUI stores its text based prefs files in UHC:

if "Stuff" works for enough people i will replace the version in the first post with the test version.

Last edited by DisasterIncarna; 22 September 2022 at 23:19.
DisasterIncarna is offline  
Old 22 September 2022, 23:44   #82
EctoOne
Registered User
 
EctoOne's Avatar
 
Join Date: Jun 2020
Location: Germany
Posts: 370
The size of Multiview isn't the problem. I don't have normal Workbench files on the disk.
But the problem is that adding WBRun actually is too much now. I added a file manager as optional package which requires to delete lha.run and UHCTools.lha. Which are still the only packages I included.
But now the disk is getting full during the installation of your GUI. Pretty funny.
Now I need to decide if I make WBRun optional or just delete the packages anyway. I mean they are useless at that point anyway. Unless someone wants the docs or whatever.
Since I was considering adding a better text editor anyway, I might just end up deleting them instantly.

Edit: Let me quickly make a version with WBRun as optional package and I will upload a disk for you to see what I've done.

Last edited by EctoOne; 22 September 2022 at 23:52.
EctoOne is offline  
Old 22 September 2022, 23:55   #83
DisasterIncarna
Registered User
 
DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 1,170
didnt you include lha in your setup? maybe lha some of your files? and just extract them to ram to use them? save a bit more space on your disk.

EDIT: Just to annoy you further, i just deleted the test version and replaced it with....another test version, redownload the previous link.

UHC-Tools on FS-UAE on the steam deck, for reasons beyond my comprehension was producing an error message about setsockopt()...something/something, which doesnt seem to break anything, it still works, but was putting the error message on the bottom of the selection list, the update just hides/stops that error from appearing... which I am guessing is a handy thing...for just me atm and not many more

Also added an About menu option because why not.

Last edited by DisasterIncarna; 16 February 2023 at 11:03.
DisasterIncarna is offline  
Old 23 September 2022, 00:29   #84
EctoOne
Registered User
 
EctoOne's Avatar
 
Join Date: Jun 2020
Location: Germany
Posts: 370
I don't think archiving my files would help much. They are just small scripts.

Yeah I've had that socket error like forever. I believe it's emulator based.

Here is the disk image. Have a look but one thing I forgot to mention in the guide is, that it might not work if UHC is already installed. I suggest using it on a backed up workbench disk to test.

NOTE: The file is named UHC-Disk.zip but it is an adf. I had to change it otherwise I couldn't upload it. Just rename it to UHC-Disk.adf

Since it is an online based installation, it won't have the test version of your GUI, which makes WBRun pretty useless currently.

Last edited by EctoOne; 23 September 2022 at 01:05. Reason: Removed file
EctoOne is offline  
Old 23 September 2022, 00:45   #85
DisasterIncarna
Registered User
 
DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 1,170
got it, ill have a play, ill make a copy of my OS3.1 HDF and use that.
DisasterIncarna is offline  
Old 23 September 2022, 01:15   #86
DisasterIncarna
Registered User
 
DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 1,170
It works, a few typos in the readme/guide, during installation its clear what it is doing, however on the part specifically mentioning "Installing UHC", it looks like the script has frozen, mostly because it takes a LOOOOONG time to do what its doing and you arent quite sure if its working and just taking a while or if its got stuck, maybe add an extra echo stating this part can take a while.

Luckily it just took a long time then carried on and completed successfully, at this point i made a boo-boo, i had deleted my UHC entry in user-startup, deleted SYS:UHC and rebooted and your startup failed to function, after looking at your script i found that i should also have deleted my ENVARC:UHCBIN because i didnt delete that your script assumed a fully functioning UHC was present and proceeded to not do what was intended.

So i deleted it, rebooted and relaunched and it worked perfectly, no errors or anything, the GUI launched perfectly fine. SO, it IF the test GUI has no or less errors/bugs than the 1 on aminet i should probably upload that version, IF the test version is working ok.

Good work on the disk I got there in the end when i realized my mistake when trying to clean/wipe out UHC.

DisasterIncarna is offline  
Old 23 September 2022, 01:27   #87
DisasterIncarna
Registered User
 
DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 1,170
something i didnt notice on my OS3.2 setup, which i do on my cleaner, more basic OS3.1 setup is that trying to read a ReadMe from MorphOS Storage requires AMISSL.
DisasterIncarna is offline  
Old 23 September 2022, 09:09   #88
patrik
Registered User
 
patrik's Avatar
 
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 922
Quote:
Originally Posted by DisasterIncarna View Post
UHC-Tools on FS-UAE on the steam deck, for reasons beyond my comprehension was producing an error message about setsockopt()...something/something, which doesnt seem to break anything, it still works, but was putting the error message on the bottom of the selection list, the update just hides/stops that error from appearing... which I am guessing is a handy thing...for just me atm and not many more
Is it when you call uhcsearch for search or aget to download readmes? For example, will you also see it if you run “uhcupdate FORCE”?
patrik is offline  
Old 23 September 2022, 09:13   #89
patrik
Registered User
 
patrik's Avatar
 
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 922
Quote:
Originally Posted by EctoOne View Post
The size of Multiview isn't the problem. I don't have normal Workbench files on the disk.
But the problem is that adding WBRun actually is too much now. I added a file manager as optional package which requires to delete lha.run and UHCTools.lha. Which are still the only packages I included.
But now the disk is getting full during the installation of your GUI. Pretty funny.
Now I need to decide if I make WBRun optional or just delete the packages anyway. I mean they are useless at that point anyway. Unless someone wants the docs or whatever.
Since I was considering adding a better text editor anyway, I might just end up deleting them instantly.

Edit: Let me quickly make a version with WBRun as optional package and I will upload a disk for you to see what I've done.
If space is very scarce, you could make a bit more space by using a cruncher like shrinkler or powerpacker on the executable files on the disk.
patrik is offline  
Old 23 September 2022, 11:24   #90
EctoOne
Registered User
 
EctoOne's Avatar
 
Join Date: Jun 2020
Location: Germany
Posts: 370
Quote:
Originally Posted by DisasterIncarna View Post
It works, a few typos in the readme/guide, during installation its clear what it is doing, however on the part specifically mentioning "Installing UHC", it looks like the script has frozen, mostly because it takes a LOOOOONG time to do what its doing and you arent quite sure if its working and just taking a while or if its got stuck, maybe add an extra echo stating this part can take a while.
Yeah, I've noticed that the UHC installation took a while, but since I did most of the testing on a RAD I forgot about it. Adding another additional line isn't no problem.
English isn't my first language, so errors are expected to happen. But I will probably put more work in the guide. If I remember correctly there are some special features I want try.
Quote:
Originally Posted by DisasterIncarna View Post
Luckily it just took a long time then carried on and completed successfully, at this point i made a boo-boo, i had deleted my UHC entry in user-startup, deleted SYS:UHC and rebooted and your startup failed to function, after looking at your script i found that i should also have deleted my ENVARC:UHCBIN because i didnt delete that your script assumed a fully functioning UHC was present and proceeded to not do what was intended.

So i deleted it, rebooted and relaunched and it worked perfectly, no errors or anything, the GUI launched perfectly fine.
That's why I mentioned that it probably won't work with UHC already installed. Adding a check to circumvent this is not hard, but it seems unnecessary. I rather work on expanding the script to make the whole disk installable on a HDD. Then installing the original would almost be obsolete. But then updating UHC from the shell wouldn't be as easy, because the assign/path is only set when UHC-GUI is running. That's why I also asked for a way to update from the GUI itself.

Quote:
Originally Posted by patrik View Post
If space is very scarce, you could make a bit more space by using a cruncher like shrinkler or powerpacker on the executable files on the disk.
The issue is that I'm not providing any (unpacked) executables, the entire installer uses scripts to download the packages and then just copies the minimum amount of files to the disk. I could add an extra step to download a cruncher first but that seems weird.
Since the disk is mainly used for emulated systems, I was considering using a HD disk instead of a DD disk, but I'm not sure if people would recognize the difference and check their settings. But as long as everything fits, I won't bother thinking about it.
EctoOne is offline  
Old 23 September 2022, 13:25   #91
Etze
A3000-Fan
 
Etze's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 321
Quote:
Originally Posted by DisasterIncarna View Post
Basically, as usual, leave your results here, good/bad/broken/etc... cheers.
Yeah, now the menu is readable!

And displaying the readme works like a charm.

Thanks!
Etze is offline  
Old 23 September 2022, 18:39   #92
DisasterIncarna
Registered User
 
DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 1,170
Quote:
Originally Posted by patrik View Post
Is it when you call uhcsearch for search or aget to download readmes? For example, will you also see it if you run “uhcupdate FORCE”?
i got it when the gui called aminetrecent, the error would be latched onto the end of the output and the gui mistakenly thought it was a valid entry so i just skip past anything that starts with that error message, plus it only happens on steam deck emulation for me, never happened on my main pc.
DisasterIncarna is offline  
Old 23 September 2022, 18:45   #93
DisasterIncarna
Registered User
 
DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 1,170
updated the Current archive on first post and risked sending current version to Aminet, hopefully no glaring breakable issue will appear.....yet.
DisasterIncarna is offline  
Old 23 September 2022, 22:46   #94
DisasterIncarna
Registered User
 
DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 1,170
Quote:
Originally Posted by EctoOne View Post
Yeah, I've noticed that the UHC installation took a while, but since I did most of the testing on a RAD I forgot about it. Adding another additional line isn't no problem.
English isn't my first language, so errors are expected to happen. But I will probably put more work in the guide. If I remember correctly there are some special features I want try.

That's why I mentioned that it probably won't work with UHC already installed. Adding a check to circumvent this is not hard, but it seems unnecessary. I rather work on expanding the script to make the whole disk installable on a HDD. Then installing the original would almost be obsolete. But then updating UHC from the shell wouldn't be as easy, because the assign/path is only set when UHC-GUI is running. That's why I also asked for a way to update from the GUI itself.


The issue is that I'm not providing any (unpacked) executables, the entire installer uses scripts to download the packages and then just copies the minimum amount of files to the disk. I could add an extra step to download a cruncher first but that seems weird.
Since the disk is mainly used for emulated systems, I was considering using a HD disk instead of a DD disk, but I'm not sure if people would recognize the difference and check their settings. But as long as everything fits, I won't bother thinking about it.
A thought comes to mind after using your disk/script for a while, esp when concerning your problems with limited space on a floppy and the need to keep something instantly useable which you mentioned by not wanting to use a HDF.

So.

How about using a RAM/RAD Disk? instead of your script spending time writing into the limitations of the ADF/880k floppy, why dont you just mount a RAD Disk which by default is 880k by way of HighCyl=79, that HighCyl can be upped to any size you like and you can download/unpack to the created RAD disk at much quicker speeds and the RAD disk can just be any size you like and you can include anything you like within reason and memory limits for your targeted audience.

I tried it in part by using this

Code:
Activate        = 1
Device		= ramdrive.device
Unit		= 0
Flags		= 0
LowCyl          = 0
HighCyl         = 79
Surfaces	= 2
SectorsPerTrack	= 11
SectorSize      = 512
Reserved	= 2
Interleave	= 0
Buffers		= 5
BufMemType	= 1
Bog standard RAD Disk stuff right there, saved it as UHCInst and can just mount it from icon or just by calling.

Code:
Mount UHCInst: From DEVS:DOSDrivers/UHCInst
I Think it mounted as Device: UHCInst with a label of RAM_0: so i just called Relabel UHCInst: UHCInst to look a bit more tidy.

So this would mean your disk could remain a pure install disk, you wouldnt have to write/delete anything to your Install Disk as it would make a RAD disk and download/organise anything needed to there instead.

I Forget how you set its bootpriority to negatives so on reset/reboot it wont try to boot from it instead of the emulated boot drive.
EDIT: Aha, thsi to the rescue: https://eab.abime.net/showthread.php?t=40009

Last edited by DisasterIncarna; 23 September 2022 at 22:52.
DisasterIncarna is offline  
Old 23 September 2022, 23:24   #95
EctoOne
Registered User
 
EctoOne's Avatar
 
Join Date: Jun 2020
Location: Germany
Posts: 370
But you need to run the installation every time after a Hard Reset or shutdown. Sure, it would be quick to do on a RAD but still. I'm using uae4arm and a RAD does not survive a reset from the GUI. I'm also not sure about the RAM usage when using such a big RAD. This again probably won't be an issue on an emulated system, but yeah... not sure.

To speed things up I could create a RAD for the installation and then copy it to either a disk or directly an adf (if that is even possible, and if it is, it would require another program), but that won't fix the limited space.

Like, I said. Currently everything still fits. So as long as your GUI or UHC don't become super huge all of a sudden, it should be fine.
EctoOne is offline  
Old 24 September 2022, 00:27   #96
Swe_Kryten2x4b
Registered User
 
Join Date: Sep 2017
Location: Uppsala
Posts: 105
I'm not sure if I've missed something...If I did, sorry. Still, using the latest test-version and have set my preferred text-viewer in the prefs and saved it.

Not a big deal but still.

The first time using "view readme" (aminet only one tried so far) after boot I get a "no file to delete" error. If I relaunch the GUI and try to view the same readme-file: no error.
Swe_Kryten2x4b is offline  
Old 24 September 2022, 00:27   #97
DisasterIncarna
Registered User
 
DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 1,170
Quote:
Originally Posted by EctoOne View Post
But you need to run the installation every time after a Hard Reset or shutdown. Sure, it would be quick to do on a RAD but still. I'm using uae4arm and a RAD does not survive a reset from the GUI. I'm also not sure about the RAM usage when using such a big RAD. This again probably won't be an issue on an emulated system, but yeah... not sure.

To speed things up I could create a RAD for the installation and then copy it to either a disk or directly an adf (if that is even possible, and if it is, it would require another program), but that won't fix the limited space.

Like, I said. Currently everything still fits. So as long as your GUI or UHC don't become super huge all of a sudden, it should be fine.
nice, yeah i was thinking of any future updates for the GUI, wasnt sure if the slow increases in size would eventually be an issue or not.
DisasterIncarna is offline  
Old 24 September 2022, 00:35   #98
DisasterIncarna
Registered User
 
DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 1,170
Quote:
Originally Posted by Swe_Kryten2x4b View Post
I'm not sure if I've missed something...If I did, sorry. Still, using the latest test-version and have set my preferred text-viewer in the prefs and saved it.

Not a big deal but still.

The first time using "view readme" (aminet only one tried so far) after boot I get a "no file to delete" error. If I relaunch the GUI and try to view the same readme-file: no error.
ill look into that readme error, the way the readmes works is a bit of an issue, if i redirect the readme into its normal name then i would have to track all the names to be able to delete them, which i cant do if you still have a readme open in say multiview as the program locks the file while you are viewing it so i cant delete it.

I also didnt want you only being able to open 1 at a time so i have the readmes setup with set names based on the download site and the index number they occupy, this makes it a "bit" easier managing them.

What i do is, any time you open a readme, the GUI tries to delete all UHC-GUI generated readmes with their unique names so nothing else unrelated gets deleted by accident, if you happen to have a readme open at the time, it will ofc fail to delete, you can carry on reading the file but any older/other readmes will get removed. This also means multiple readmes can be open at once without stopping the GUI from functioning and it doesnt need to wait for previous readmes to be closed.

As an example, if you click View Readme on entry 2 from aminet then a readme is initially generated as UHCAmReadme02.txt.

i am still looking at the best way to do this and i "thought" i had told the delete calls to all be "QUIET", might have to throw a "> NIL:" in there just to make sure errors are suppressed.

good catch tho, cheers.

Last edited by DisasterIncarna; 24 September 2022 at 01:06.
DisasterIncarna is offline  
Old 24 September 2022, 00:59   #99
DisasterIncarna
Registered User
 
DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 1,170
Quote:
Originally Posted by Swe_Kryten2x4b View Post
I'm not sure if I've missed something...If I did, sorry. Still, using the latest test-version and have set my preferred text-viewer in the prefs and saved it.

Not a big deal but still.

The first time using "view readme" (aminet only one tried so far) after boot I get a "no file to delete" error. If I relaunch the GUI and try to view the same readme-file: no error.
Here is another test version that sends errors to NIL: as using the QUIET option alone doesnt seem to.... well, make it quiet, also, on the off chance that the unique filename i give the readmes already exists the number i assign to the readme will simply increase in value until a free number is available and the readme can successfully be created without any conflicts..

If someone can make sure there is no delete error message on readmes now then i will again update the first post archive with this test version.

cheers.
Attached Files
File Type: lha UHCGUI-Test.lha (58.2 KB, 69 views)
DisasterIncarna is offline  
Old 24 September 2022, 01:13   #100
DisasterIncarna
Registered User
 
DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 1,170
provided the features available at present are in a working bugfree(ish) condition i can concentrate on adding other minor features, as i am still working on my IGAME/Early startup-sequence/boot selector program i am thinking of transfering over the ability to control UHC-GUI with a joystick and arrow keys.

This originally didnt seem sensible to me for the UHC-GUI program, but i will be making some test versions to see the difference and see if it is worth it, mostly as i now own a steam deck and my modified early boot selector tool already works brilliantly using the steam deck joystick controls so it "might" be useful for UHC-GUI as well.

if theres too much bloat for a feature like this i might just keep the joystick enabled version for my own use, not sure just yet.

heres what i mean by my igame/boot sequence tool, this is a skip-ahead video of my launcher working first in workbench mode, then you get a black screen as i reboot and it launches in early boot as i hold my RMB and it starts in a minimised window mode, its working in the vid with mouse, but my update to it is fully joystick/arrow key enabled and i can launch all my titles on the steam deck this way with ease, i even have my WHDLOAD Quiet key mapped to the deck so its pretty seamless stuff.

hmm, video has time index in the link but doesnt skip ahead for me? weird, nm, skip to 3:24 or so.

[ Show youtube player ]

Last edited by DisasterIncarna; 24 September 2022 at 01:21.
DisasterIncarna 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
[WIP] Scramble jotd project.Amiga Game Factory 145 17 April 2024 12:12
UHC Tools jayminer Amiga scene 204 25 March 2024 20:13
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

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 12:16.

Top

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