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: Slough
Posts: 282
WHDLoad Download Tool - Alpha Test



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.

***Update***

Below are the links for the first alpha test of my WHDLoad downloader. Remember, this is an alpha version, so expect bugs and quirks.

IMPORTANT! Before you do anything to your existing WHDLoad sets, MAKE A BACKUP!. If you delete everything, TOUGH! Post what happened and we 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.

Here are the links...

MEGA
https://mega.nz/folder/bBMnwY7Z#Q1xPbjF7wU-eTU45Vyt-pA

EAB FTP
~uploads/mrv2k/WHDLoad Download Tool

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

Last edited by mrv2k; 04 March 2022 at 21:16.
mrv2k is offline  
Old 16 December 2021, 07:05   #2
Tarzin
Registered User
Tarzin's Avatar
 
Join Date: Jul 2006
Location: Dunkerque / FRANCE
Posts: 137
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: 68
Posts: 7,554
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: Slough
Posts: 282
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 offline  
Old 16 December 2021, 20:26   #6
Viceroy
Registered User
 
Join Date: Jul 2006
Location: Sunderland
Posts: 910
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: 68
Posts: 7,554
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
Registered User

outsiderz's Avatar
 
Join Date: May 2020
Location: Germany
Posts: 46
great!!!
download link please
outsiderz is offline  
Old 21 December 2021, 16:30   #11
mrv2k
Registered User

 
Join Date: Apr 2020
Location: Slough
Posts: 282
Alpha test links in first post!
mrv2k is offline  
Old 21 December 2021, 16:53   #12
enigma776
Bringer of Death

enigma776's Avatar
 
Join Date: Apr 2017
Location: Peterborough, UK
Age: 39
Posts: 387
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: 48
Posts: 1,387
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: Slough
Posts: 282
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 offline  
Old 21 December 2021, 17:11   #15
enigma776
Bringer of Death

enigma776's Avatar
 
Join Date: Apr 2017
Location: Peterborough, UK
Age: 39
Posts: 387
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: 48
Posts: 1,387
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: 39
Posts: 387
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: Slough
Posts: 282
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 offline  
Old 21 December 2021, 17:32   #19
mrv2k
Registered User

 
Join Date: Apr 2020
Location: Slough
Posts: 282
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 offline  
Old 21 December 2021, 17:35   #20
Turran
Moderator

Turran's Avatar
 
Join Date: May 2012
Location: Stockholm / Sweden
Age: 48
Posts: 1,387
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: 1 (0 members and 1 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 16:37.


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