05 May 2023, 15:58 | #1 |
Registered User
Join Date: Jul 2022
Location: UK
Posts: 136
|
LazyBench menu file?
I am trying to replicate the LazyBench app from my 68K Classic WB install on my v3.2 OS. I've downloaded the program and followed the instructions and it required a LazyBench.menu file to know which Programs it should launch.
Given that I liek the way the 68k version works I've tried to find this LazyBench.menu file in my old install. From what I've read it should be in: System:Prefs/EnvArchive/LazyBench I see no such file in my 68k classic wb installation, I've also tried the comand line to search for the file but it does not return results. Any ideas, what am I doing wrong? Thanks. |
05 May 2023, 19:05 | #2 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,393
|
Yes, the file should be ENVARC:LazyBench/LazyBench.menu, as you can see when you start LazyBench and try to edit the list of games.
Usually, this is Sys:Prefs/Env-Archive/LazyBench/LazyBench.menu, but I don't know whether some scripts in ClassicWB will try to move files or dirs into or out of Sys:Prefs/Env-Archive? If I remember it correctly, ClassicWB maintains its system configurations under Sys:MyFiles/ and the subdirectories. Maybe you can find the old LazyBench.menu file somewhere there? And only on ClassicWB "System" is used as the volume name for the boot drive, which is always assigned to Sys: in general. Don't look for the file in Sys:System/... , but in Sys:Prefs/Env-Archive/LazyBench/. Although I would never play any games myself, I've modified LazyBench for another EAB user. It won't scan the disks for all the games in the list anymore when you just want to select and start one of them from the menu. Last edited by PeterK; 05 May 2023 at 23:38. |
05 May 2023, 19:14 | #3 |
Paranoid Amigoid
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
|
Hey mate.
It's logical it doesn't have any entry in Envarc: as Bloodwych never used the default LazyBench run config. He putted copies of LazyBench inside his SYS:System/BMenu/Boot and SYS:System/BMenu/Boot/LBench drawers with different name alas the Variables that it looks is the name of the executable which is run via scripts that set the ENV variable and run with those. If you only wanna make a list yourself without the auto scripts that ClassicWB uses, just do the following: Open a CLI and enter the following 2 lines: 1> mkdir ENVARC:LazyBench 1> Echo "" >ENVARC:LazyBench/LazyBench.menu You can add files via the editor. Enjoy @PeterK I didn't know about this version... Seems it's in German upon running though (and NO i have no German locale anywhere)... :S Last edited by mfilos; 05 May 2023 at 20:51. |
05 May 2023, 21:41 | #4 |
Registered User
Join Date: Jul 2022
Location: UK
Posts: 136
|
Thanks guys, yeah so when I open LazyLoader it does already prompt me to create the LazyBench.menu file, I just wasn't sure what I needed to add to it - I just like the 68k setup so thought I would be truly lazy and just pick up the config and copy what is used.
So is it possible to copy the LazyBench stuff from BMenu dir? By the way, I still do not actually see a LazyBench.menu file, I've searched the entire drive |
05 May 2023, 22:10 | #5 |
Paranoid Amigoid
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
|
Ofc you don't see any.
You can find though DemosMenu, GamesMenu and OthersMenu under ENVARC: These are same as LazyBench and created using the BMenu/Files/Add Demos, Add Games, Add Others scripts. You can copy whole BMenu drawer from ClassicWB to 3.2.x If you open the scripts you will see that you need to copy some commands from ClassicWB like: - FSearch (from Gui4CLI on Aminet) - Rep (from Gui4CLI on Aminet) - QSort (From Aminet) - Kill (dunno where from, I copied from ClassicWB) Also you need to add to User-Startup the following assign (if for example BMenu drawer is on SYS:System/BMenu as ClassicWB does... Assign LAUNCH: SYS:System/BMenu/Files |
06 May 2023, 00:02 | #6 | |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,393
|
Quote:
But in the LazyBench.guide under Aknowledgements/Translation there is also a note about a German and other catalog files available by email request, although nothing like that was installed on my test system here. Ok, if somebody wants a modified version of the original LazyBench, which won't scan for all game entries in the menu by checking out a file lock on every file in the list, I could change the original, too. Or maybe the author could also remove this quite useless feature, which just causes unnecessary delays. |
|
06 May 2023, 00:09 | #7 |
Registered User
Join Date: Jul 2022
Location: UK
Posts: 136
|
So by copying the BM folder and the other dependencies mentioned will I get the nice GameMenu v1.20
Essentially this is what I am trying to achieve on OS3. Also form the screenshot, what is the application that provides the links to Dopus, Utils, System etc just below and behind GamesMaster Menu, that isn't LazyBench is it? |
06 May 2023, 01:57 | #8 | |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,268
|
Quote:
Also in the SYS:System/BMenu path, there is a script named "Run" that is executed by the program named "BMX" which is also located in the same path. Basically in the project icon of "RUN," BMX is set as the tool. The editor of the "RUN" script is always found in the same path and it is called "ButtonMenu" |
|
06 May 2023, 20:17 | #9 |
Registered User
Join Date: Jul 2022
Location: UK
Posts: 136
|
So I've done the followig:
Copied the contents of SYS:System/BMenu to new install Copied the contents of WBStartup to new install Copied GamesMenu, DemosMenu and OtherMenu from EnvArchive to new install Added Assign LAUNCH: SYS:System/BMenu/Files to User-Startup What else am I missing, is it enough to copy these folders over without actually installing the programs? |
06 May 2023, 21:34 | #10 |
Paranoid Amigoid
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
|
Sure you don't need to install anything.
You just need to copy some more commands. If you check the SYS:System/BMenu/Files/ or SYS:System/BMenu/Boot/ scripts you will see that you also need the following commands. The ones you need are: - FSearch ( from Gui4CLI on Aminet or copy from ClassicWB C: ) - Rep ( from Gui4CLI on Aminet or copy from ClassicWB C: ) - QSort ( From Aminet or copy from ClassicWB C: ) - Kill ( dunno where from, copy from ClassicWB C: ) - CLIExchange ( from Aminet or copy from ClassicWB C: ) Also don't forget to check all scripts changing every "WBRun2" declaration into "WBLoad" that exists natively on OS3.2.x And voila... Last edited by mfilos; 06 May 2023 at 22:05. |
07 May 2023, 10:29 | #11 |
Registered User
Join Date: Jul 2022
Location: UK
Posts: 136
|
If I look in BMenu/Files and Boot I i don't see the commands for FSearch, Rep, QSort, Kill or CLIExchange?
subscript calculator |
07 May 2023, 10:47 | #12 |
Paranoid Amigoid
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
|
These commands reside in C: mate not BMenu/Files (I stated that on my previous post)
Just copy from them ClassicWB's C: drawer into your own C: drawer and you're set. |
07 May 2023, 10:59 | #13 |
Registered User
Join Date: Jul 2022
Location: UK
Posts: 136
|
I forgot to add, regardless I did copy the 5 commands over from wb 68k c: to SYSTEM:c on my new os 3.2 but I still have no menus
The only thing I did not do is: 'copy every "WBRun2" declaration into "WBLoad"' Where do i look for these? |
07 May 2023, 11:55 | #14 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,268
|
"WBRun" in "WBLoad"' can be found in C:
WBRun can also be found on Aminet: http://aminet.net/search?query=WBRun |
07 May 2023, 12:04 | #15 |
Paranoid Amigoid
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
|
For example if you load SYS:System/BMenu/Scripts/Demos you will see that it uses a WBRun2 in the script.
Just replace every WBRun or WBRun2 declaration with WBLoad (that is embedded in OS3.2.x) Using WBRun requires some library IIRC (wbstart or winstart) but you don't need it |
07 May 2023, 13:07 | #16 |
Registered User
Join Date: Jul 2022
Location: UK
Posts: 136
|
Sorry guys i am a complete idiot and I am conscious of becoming an annoyance.
I've checked SYS:System/BMenu/Scripts/ but it only contains "Dopus" and "Shell". I tried to pen these with ED but it says they are binary. I gues si am using the wrong tool and looking in the wrong place. Again sorry. |
07 May 2023, 18:47 | #17 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,268
|
"Dopus" and "Shell" are not binary ! see screenshot !
The scripts that run the various menus can be found in SYS:System/BMenu/Menu To understand how they work, try copying one of these scripts to Ram: and double-click the script icon If you tell us what you would like to run "in particular" maybe it is easier to help you Last edited by AMIGASYSTEM; 25 May 2023 at 23:09. |
08 May 2023, 22:03 | #18 |
Registered User
Join Date: Jul 2022
Location: UK
Posts: 136
|
I have gone back over this thread several times and I tried a few things, I still do not have any ButtonMenu or LazyBench.
I realised that I was missing the User-Start-up edit in System:S so I added: LAUNCH: SYS:System/BMenu/Files I still have no idea what this means: check all scripts changing every "WBRun2" declaration into "WBLoad" For example I have looked at SYSTEM:/System/BMenu/Menu/Startup The second from last line i can see "LoadWBRun". Is this what i need to edit? If so am I using the correct tool because some characters are rendered as squares. I did also try ED but it won't open the files reporting that they are binary. If I am not editing the correct script please be more specific. Thanks. |
08 May 2023, 22:14 | #19 |
Registered User
Join Date: Jul 2022
Location: UK
Posts: 136
|
|
08 May 2023, 23:32 | #20 |
Paranoid Amigoid
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
|
I archived my own BMenu/LazyBench drawer from my old ClassicWB 3.9 installation, and modified the scripts for C:WBLoad for it to load on you.
Try that instead. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
LazyBench -- Quick and dirty hack :) | ppill | project.ClassicWB | 14 | 13 January 2023 00:10 |
Larger file request menu? | wiz12 | support.AmigaOS | 3 | 27 May 2022 19:20 |
Demos Menu (LazyBench) | jdryyz | project.ClassicWB | 1 | 11 June 2017 01:57 |
File systems, PFS3, FFS and Early boot menu | Gilloo | support.Apps | 7 | 19 June 2015 16:22 |
File systems PFS3, FFS and Early boot menu | Gilloo | request.Other | 0 | 15 June 2015 20:42 |
|
|