English Amiga Board


Go Back   English Amiga Board > Other Projects > project.Amiga File Server

 
 
Thread Tools
Old 15 December 2021, 19:45   #1
mrv2k
Registered User
 
Join Date: Apr 2020
Location: England
Age: 53
Posts: 431
WHDLoad Download Tool



So, I've been writing a tool to help manage and download Retroplay's WHDLoad archives. It is very much the same as Turran's version except it is a lot more flexible and can do some really useful stuff.

Main Features
  • Uses Retroplay's dat files for it's database, so is always up to date.
  • Flexible on where files are saved to.
  • Supports the beta WHDLoad set
  • Over 20 filters available including all supported languages.
  • Create your own curated lists that can be shared.
  • Scan your existing set and remove unneeded files.
  • Only downloads what you are missing.

***Warning***

IMPORTANT! Before you do anything to your existing WHDLoad sets, MAKE A BACKUP!. If you delete everything, TOUGH! Post what happened and I can try to fix the problem.

To leave feedback, bugs and suggestions, only use this thread. Please try to make sure that any feedback is reasonable and constructive.

Posts on the Commodore Amiga Facebook group and the r/Amiga Reddit will be ignored as they are a PITA to keep on top of.

Version 0.2a is available

Fixes / Updates
  • Updated Turran FTP info in docs.
  • Changed donate link to correct one.
  • Fixed path gadgets actions when loading prefs files.

Version 0.3a is available

The connection errors have been fixed! Thanks to Conrad Fenech and Brian Lloyd for the help debugging and testing!

Fixes / Updates
  • Load / Save Prefs now only show prefs files in the file requester.
  • Changed FTP connections to PBEx_FTP DLL which has fixed the connection errors.
  • Fixed a typo in the demo download paths. Demos are now downloaded to the right subfolder if the option is enabled.
  • Fixed bug in list creator/editor that ignored highlighted files when updating main list.
  • Changed the download window to a console window and added escape key to abort the download at any time.
  • Blocked close console button

Version v0.4a is available.

Fixes / Updates
  • Added support for WHDLoad based disk magazines.
  • Added a check to FTP download to catch if a file is created but no data is downloaded. The error is logged in the ftp.log file and the empty file is deleted.
  • Fixed a crash if the required DLL files are missing by preventing the program loading.
  • Added minimize to main window.
  • Switched dat file download to a console and added ftp log support.
  • The edit window now work with the filters. You can now filter and add/remove files to the same list.
  • Added Chip and Fast memory files to the filter.
  • Preference files have been updated for new filters.
  • Re-worked the filter panel to make room for the new filters by moving game, demo and magazine filters next to their path boxes.
  • All FTP settings and FTP paths are now stored in the preferences files and can be edited.
  • Updated the help window to reflect all the new changes.

Version v0.5a is available.

Fixes / Updates
  • Added magazines to the 'Clean Files' procedure.
  • Added 0kb file check to 'Clean Files' procedure.
  • Added temporary fix to FTP download for 0kb files via DOS FTP command.
  • Added a few more donation notifications to the download procedure.

Version 0.6a is available

Fixes / Updates
  • Fixed escaping FTP download crashing the download window.
  • Added separate download folder for Beta games.
  • Added preview window to show download file list.
  • Fixed Port gadget overlap on main window.
  • Fixed disabled gadgets when loading a prefs file.
  • Added switch to change between default PB or alternate FTP procedures.
  • Updated help to reflect changes.
  • Adapted filter to show beta files separate to games

Version 0.7a is available

This release should hopefully fix the remaining FTP download and connection issues. Make sure that you allow the program through your firewall when Windows asks.

You may get a false AV notification. This is due to how Purebasic wraps Window API commands. Just whitelist the executable if you want to use the program. I've included the source code in the zip file.

Fixes / Updates
  • Moved FTP procedures to Windows API functions.
  • Fixed FTP fallback related console and UI crashes.
  • Fixed non unicode characters in download name saving as empty files.
  • Fixed open beta folder button.
  • Removed requirement for PB_FTPEx libraries
  • Clean files now only lists lha & lzx files.
  • Added experimental support for Linux Ubuntu 20+ & MacOS (Source available on GitHub. Executables will be released in 0.8a).
  • Added check for lists folder. Creates if not found.
  • Added donate button to main window.
  • Added version information to executables

Version 0.8a is available

There's two versions in this release. A stable release based on the v0.7a FTP code and an unstable version based on the v0.6a FTPEx library download code that crashes the GUI sometimes. The reason is, there were still a few users who had connection issues with the new code. Having both versions available, should hopefully mean that everyone can use the tool.

Only one major addition. There is now a 'Make Folder' button which is there to create new folders out of your existing downloads. For instance, if you have a full set but only want to copy ECS/OCS games to an A500/600/2000/3000, just untick AGA and CD32 in the filter, press the 'Make Folder' button, select a new folder, decide whether to keep the folder structure and press go.

Fixes / Updates
  • Fixed old dat files not being deleted in Scan FTP procedure.
  • Cleaned up unneeded variables and lists from the FTP download procedures.
  • Fixed console actions on Download FTP procedure.
  • Tweaked FTP procedures to use real FTP variables rather than 1 & 0.
  • Minor speed up when processing strings.
  • Added button that makes a new folder of archives based on your filter selections.
  • Make Folder opens the output folder window when complete.

Version 0.8b is available

This is a quick update that fixes the Turran FTP address as it has changed. You can either delete any prefs files and re-create them or change the ftp address line in any existing prefs file to ftp.grandis.nu with a text editor.


Version 0.9a (Test Version) is available

This is a test release which has HTTP support for downloading from the Turran server. Hopefully this will eliminate the connection issues that have been reported in previous versions. FTP is still supported but is slower due to waiting for connections and folder changes.

Fixes / Updates
  • Fixed a bug in subfolder creation.
  • Added ability to download to folder structures either by category or alphabetically.
  • Changed 'Save Prefs' and 'Load Prefs' to be disabled until the database is loaded.
  • Centered console on main window.
  • Added HTTP based downloads.
  • HTTP & FTP downloading now selectable fron the main window. HTTP is now the default, but the setting is saved in the prefs files if the user
  • wants to change it.
  • Added HTTP path to main window and prefs.
  • Removed 'Use Subfolders' gadget and replaced with selectable combo gadgets for sorting downloads.
  • Improved the download preview window procedure.
  • Added a selectable 255 file limit to the download folders for the A500 mini home computer.
  • All FTP and download gadgets are enabled by default.
  • The FTP procedure has been updated to support the 0-Z and category downloads.
  • Removed 'Make Folder' until I can make a better implementation of it.
  • Fixed a small bug in scrape data procedure.
  • Updated help file to reflect this versions changes.
  • Improved the filter speed.
  • Clear data now keeps the server and filter settings.
  • Fixed a couple of bugs in the save/load prefs procedure. All gadgets now update properly.
  • The clean files process is a bit dumber in the sense that it just looks for the right filename and deletes any lha or lzx file that doesn't match. It does still look for zero kilobyte files.
  • Added a 'refresh list' keyboard shortcut (F5) to update the available files if the user deletes any files manually.

Just a quick update to the full release. I've added several suggested filters and squished a couple more bugs. There is also an x86 version in the archive again.

Version 1.1 is available

Fixes / Updates
  • Added 28 new filters.
  • Fixed bug in scrape procedure that forgot to add beta games to Amiga system.
  • Added fix for x86 compilation
  • Fixed download number in download screen

Version 1.11 is available

Fixes / Updates
  • Fixed beta path gadget updating wrong path
  • Fixed compilation version info
  • Added paypal.me link to the about window if you think I deserve a coffee

Version v1.12 Released

Fixes / Updates
  • Fixed a bug where the default.prefs file was loaded at startup but the gadgets didn't update.

This version adds a couple of feature requests. Namely downloading by category with 0-Z sorting and also a facility to make a new folder from an existing downloaded set of files with different sorting and filtering. There's also a couple of squished bugs as well.

Version v1.2 Released

Fixes / Updates
  • Added alphabetical sorting to category download.
  • Fixed the sort gadgets not updating when the default.prefs was loaded at startup.
  • Added an improved 'Make Folder' procedure back. It doesn't support A500 mini 255 file limit though.
  • Fixed sort gadget logic.
  • Updated the help window to reflect the new changes.
  • Increased the window height to fit new button in and space out the filter a bit better.

Version v1.21 Released

Fixes / Updates
  • Fixed a bug when the FTP and HTTP settings weren't applied to the relevant gadgets when loading the default prefs.

Version v1.3 Released

This version adds CRC32 checking and support for the new Beta - Demos folder in retrogame's folder on the Turran server.

Fixes / Updates
  • Added CRC32 checking to the update procedure.
  • Added support for the new Beta Demo folder on the FTP. All beta files are still saved to the selected beta folder.
  • Users are now prompted to download the dat files when a prefs file is loaded and no data has been downloaded.
  • All download files are size checked against the dat files and removed it they are wrong.
  • HTTP download errors are logged in a file called error_log.txt.
  • You can now toggle the file tree in the download preview.
  • Downloads are a tiny bit slower as the files are size and crc checked once received.
  • You can now save the download list as a text file.
  • Fixed status bar spacing.
  • Changing prefs files will prompt for clearing the database and will rescan the WHDLoad folders.
  • Save Prefs button is now active all the time.
  • The file list now shows any errors in your files by highlighting them with red for missing and blue for bad CRC32.
  • Moved all donate links to a new window.

Version v1.3 Released

Fixes / Updates
  • Fixed list filter not updating for games and beta files
  • Fixed Make Folder not finding any games.
  • Clear data now resets all settings and filters including sort and download paths.
  • You can now save the download list as a text file from the download window.

Here's the link...

https://github.com/MrV2K/WHDLoad-Download-Tool

Last edited by mrv2k; 29 February 2024 at 15:10. Reason: Update
mrv2k is online now  
Old 16 December 2021, 07:05   #2
Tarzin
Registered User
 
Tarzin's Avatar
 
Join Date: Jul 2006
Location: Dunkerque / FRANCE
Posts: 173
Thanks, looks great and usefull!
Tarzin is offline  
Old 16 December 2021, 11:19   #3
Valken
Registered User
 
Join Date: Feb 2009
Location: Amiga
Posts: 465
Awesome!
Valken is offline  
Old 16 December 2021, 11:35   #4
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Very interesting mrv2k, it will be multiplatform? there will be an AROS version?
AMIGASYSTEM is offline  
Old 16 December 2021, 19:29   #5
mrv2k
Registered User
 
Join Date: Apr 2020
Location: England
Age: 53
Posts: 431
Quote:
Originally Posted by AMIGASYSTEM View Post
Very interesting mrv2k, it will be multiplatform? there will be an AROS version?
No AROS unfortunately as there is no version of Purebasic that supports it. Planned versions are... Windows (obviously), Linux and Raspberry Pi OS. (Maybe Mac)
mrv2k is online now  
Old 16 December 2021, 20:26   #6
Viceroy
Registered User
 
Join Date: Jul 2006
Location: Sunderland
Posts: 946
Nice one ;-)
Viceroy is offline  
Old 17 December 2021, 01:28   #7
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Quote:
Originally Posted by mrv2k View Post
No AROS unfortunately as there is no version of Purebasic that supports it. Planned versions are... Windows (obviously), Linux and Raspberry Pi OS. (Maybe Mac)
Thanks anyway
AMIGASYSTEM is offline  
Old 17 December 2021, 12:46   #8
Valken
Registered User
 
Join Date: Feb 2009
Location: Amiga
Posts: 465
I'm going to ask for a backup function JUST IN CASE the latest slave does not work.

It can perhaps just "move" the old slave to backup dir, or ZIP or 7zip it up into a backup file, with directory structure intact to "restore" if possible?

Thank you!
Valken is offline  
Old 17 December 2021, 13:40   #9
polomint
Registered User
 
polomint's Avatar
 
Join Date: Jun 2014
Location: Nelson, Lancashire, UK
Posts: 67
Extremely nice, can't wait to try it if you can add me to your list (fingers crossed)
polomint is offline  
Old 17 December 2021, 13:59   #10
outsiderz
-[User]-
 
outsiderz's Avatar
 
Join Date: May 2020
Location: W. Germany
Posts: 72
great!!!
download link please
outsiderz is offline  
Old 21 December 2021, 16:30   #11
mrv2k
Registered User
 
Join Date: Apr 2020
Location: England
Age: 53
Posts: 431
Alpha test links in first post!
mrv2k is online now  
Old 21 December 2021, 16:53   #12
enigma776
Bringer of Death
 
enigma776's Avatar
 
Join Date: Apr 2017
Location: Peterborough, UK
Age: 40
Posts: 434
Getting can not load ftp folder when clicking load data. am I doing something wrong?
enigma776 is offline  
Old 21 December 2021, 17:10   #13
Turran
Moderator
 
Turran's Avatar
 
Join Date: May 2012
Location: Stockholm / Sweden
Age: 49
Posts: 1,572
Very nice. Let me know if you want it hosted on the FTP with full access to its directory.

Noticed you called it EAB FTP in the program. Its called TURRAN FTP as we try to distance ourselves from EAB (by request).

The donate button (appreciate that) goes to donate towards this forum. I do have a link there are well, but you might donate to the wrong thing if you just set a sum and click donate. The correct link is
https://www.paypal.com/cgi-bin/websc....gif:NonHosted

Last edited by Turran; 21 December 2021 at 17:25.
Turran is offline  
Old 21 December 2021, 17:10   #14
mrv2k
Registered User
 
Join Date: Apr 2020
Location: England
Age: 53
Posts: 431
Quote:
Originally Posted by enigma776 View Post
Getting can not load ftp folder when clicking load data. am I doing something wrong?
Not sure. Only got that error when I couldn't get onto the FTP when it was down or I had another FTP connection running on the same account. Can you get onto the FTP via a program like filezilla?
mrv2k is online now  
Old 21 December 2021, 17:11   #15
enigma776
Bringer of Death
 
enigma776's Avatar
 
Join Date: Apr 2017
Location: Peterborough, UK
Age: 40
Posts: 434
Quote:
Originally Posted by mrv2k View Post
Not sure. Only got that error when I couldn't get onto the FTP when it was down or I had another FTP connection running on the same account. Can you get onto the FTP via a program like filezilla?
I can yes. I can even use the old EAB-WHDLoad_Pack_Downloader_x64 tool. The help file says something about a "Dats" folder is that suppose to be local or on the FTP? If its the FTP there is no Dats folder.

Last edited by enigma776; 21 December 2021 at 17:16.
enigma776 is offline  
Old 21 December 2021, 17:21   #16
Turran
Moderator
 
Turran's Avatar
 
Join Date: May 2012
Location: Stockholm / Sweden
Age: 49
Posts: 1,572
Quote:
Originally Posted by enigma776 View Post
Getting can not load ftp folder when clicking load data. am I doing something wrong?

It does not give proper error messages returned from the FTP it seems. Make sure you are not already logged in and that the username and password is correct (default ftp/amiga should work, but only for one connection per IP)

Last edited by Turran; 21 December 2021 at 17:29.
Turran is offline  
Old 21 December 2021, 17:22   #17
enigma776
Bringer of Death
 
enigma776's Avatar
 
Join Date: Apr 2017
Location: Peterborough, UK
Age: 40
Posts: 434
Quote:
Originally Posted by Turran View Post
It does not give proper error messages returned from the FTP it seems. Make sure you are not already logged in and that the username and password is correct (default ftp/amiga should work, but only for one connection per FTP)
I had thought of this, same error even when using the default account.
enigma776 is offline  
Old 21 December 2021, 17:24   #18
mrv2k
Registered User
 
Join Date: Apr 2020
Location: England
Age: 53
Posts: 431
Quote:
Originally Posted by enigma776 View Post
I can yes. I can even use the old EAB-WHDLoad_Pack_Downloader_x64 tool. The help file says something about a "Dats" folder is that suppose to be local or on the FTP? If its the FTP there is no Dats folder.
The Dats folder is created locally in the main program folder when the program can connect and download the dat files from the FTP. It won't affect the connection to the FTP.

Are you using your own account or the ftp/amiga one?
mrv2k is online now  
Old 21 December 2021, 17:32   #19
mrv2k
Registered User
 
Join Date: Apr 2020
Location: England
Age: 53
Posts: 431
Quote:
Originally Posted by Turran View Post
It does not give proper error messages returned from the FTP it seems. Make sure you are not already logged in and that the username and password is correct (default ftp/amiga should work, but only for one connection per FTP)
Purebasic is a bit crap at getting FTP errors unfortunately. It either gives you a 1 - Connected or -1 Not Connected. I got this error yesterday when the RAID was being changed and later on it cleared up. The standard FTP account connected but wouldn't let me download as it said my IP was already connected. I could only see this when I connected via Filezilla and tried to download a file and it gave me the error.

I'm not sure whether it's fixable without writing a custom FTP procedure which is a bit beyond me at the moment.
mrv2k is online now  
Old 21 December 2021, 17:35   #20
Turran
Moderator
 
Turran's Avatar
 
Join Date: May 2012
Location: Stockholm / Sweden
Age: 49
Posts: 1,572
I see. Yeah, that sounds like a pain. I was lucky with my FTP routine in my version in that it grabs the entire login text, so easy to see errors..


I edited my post a few posts up as I found some "wrong" things =)

4 anonymous users downloading from the Retr0play packs right now, so seems to work fine for others (and me).



Quote:
Originally Posted by mrv2k View Post
Purebasic is a bit crap at getting FTP errors unfortunately..
Turran is offline  
 


Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tool to run WHDLoad from CLI with tooltypes? rsn8887 support.Apps 17 03 October 2019 07:02
WHDLoad zip file download ItsTheSmell support.Games 8 05 August 2019 19:56
uae collection for WHDLoad to download Fantomas35 support.OtherUAE 1 17 March 2018 13:19
WHDload: Tool Tips Support Jason H support.FS-UAE 2 12 February 2015 16:43
WHDLOAD Program Download j_sntos Amiga scene 5 31 March 2012 22:52

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:10.

Top

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