English Amiga Board


Go Back   English Amiga Board > Other Projects > project.WHDLoad

 
 
Thread Tools
Old 14 April 2021, 16:08   #1
rsn8887
Registered User
 
rsn8887's Avatar
 
Join Date: Oct 2006
Location: USA
Posts: 1,058
How to make WHDLoad update slaves?

When I click update slave on WHDLoad, it gives me a requester to go to the webpage and update the slave manually.

Is it possible to have WHDLoad automatically download the latest slave, un-lha it and install it for me?
Attached Thumbnails
Click image for larger version

Name:	WHD Update_1.jpg
Views:	207
Size:	454.5 KB
ID:	71587   Click image for larger version

Name:	WHD Update_2.jpg
Views:	191
Size:	192.9 KB
ID:	71588  

Last edited by rsn8887; 14 April 2021 at 16:17.
rsn8887 is offline  
Old 14 April 2021, 17:00   #2
coldacid
WinUAE 4000/40, V4SA
 
coldacid's Avatar
 
Join Date: Apr 2020
Location: East of Oshawa
Posts: 538
It's doable, but I don't think that WHDLoad actually has that functionality in it. Some slaves have issues with regard to the WHDLoad site, too (either by not being listed or being configured in a way that the wrong page on the site gets opened).

I'd love to see a tool that would actually go through all my WHDLoad slave installs and automatically update any that are out of date, if this first step of automatic updating for individual ones happen.
coldacid is offline  
Old 14 April 2021, 17:46   #3
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,166
I have a python script that compares slaves and updates them. But it's not that easy as some lha archives may contain several slaves and you don't want to update the wrong one.

I'l relying on the game name & memory config as contained in the .slave header. Of course if memory reqs change then update fails.

Also sometimes game needs reinstalling (diskfiles => files). Then updating the slave breaks your installation.
jotd is offline  
Old 14 April 2021, 22:25   #4
mrv2k
Registered User
 
Join Date: Apr 2020
Location: England
Age: 53
Posts: 431
I've written a program that does it for winuae. Its a stupidly complex process. Here's what it does...

1 The program connects to the EAB FTP and downloads Retroplays dat files.
2. It processes the dat files and compares the data to the files stored on MY PC drive.
3. If a file is new, it downloads it or if its not needed, it deletes it.
4. The program then scans all the WHDLoad archives and gets the dates of all the slaves and stores them.
5. It then fires up a custom WinUAE config that uses the AmigaDOS LIST command to spit out a text file with the dates of the slave files on my Amiga drive image to a shared drive.
6. It processes the file and compares the dates with the archive data. If the dates are different it adds them to a list.
7. The program will then generate a script, copy all the needed files to the shared folder and then updated the Amiga drive.
8. Finally it will add an updated games list to IGame.

Youll never know the headaches I had getting it to work . It still has the odd glitch. But I'm always up to date.
mrv2k 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
Slaves removed from WHDLoad site Radertified Games images which need to be WHDified 16 30 January 2021 00:00
Script to update tool types of slaves for quit key? emuola project.WHDLoad 17 15 March 2017 18:26
CD32 WHDLoad-slaves and mp3? thanius project.WHDLoad 2 07 February 2011 07:49
Running WHDLoad slaves under Opus 4.x plankton support.Apps 1 28 November 2009 00:07
Idea for a new feature in whdload/slaves JohnnyBeGood project.WHDLoad 11 29 July 2009 18:48

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 21:45.

Top

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