English Amiga Board


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

 
 
Thread Tools
Old 24 January 2023, 05:24   #1
carlosgod
Registered User
 
Join Date: Oct 2021
Location: boston
Posts: 22
Noob question on how one goes about "WHDloadifying" games

Hi - I've recently started tinkering with Winuae and learning how to install LHA files in the workbench (3.1) environment, as well as creating HDF files using ADF Opus. Recently, I became interested in making WHDload HDF files for Amiga games. One of the guide I looked at is this:

http://lindqvist.synology.me/wordpress/?page_id=182

So I understand that all Hard disk installed Amiga games in HDF format which have been "WHDloadified" generally have a file called "game.slave" sitting at the top of the directory structure. This file acts as some sort of an instruction on what to execute and stuff like memory allocation. When used in conjunction with WHDload.hdf, the Amiga emulator can automatically start up the game instead of having to go through Workbench and manually clicking on the executable. This is very convenient for those Android/Linux retroemulation handhelds.

My very noob question is... how does one go about "WHDloadify" an Amiga game in the first place - and why some HDF-installed games are WHDloadified and others are not? For example - T-Zer0 (which I believe DamienD converted from CD format to HDF format) does not appear to have game.slave or WHDLoad built in its file structure. Or Final Odyssey: Theseus Verses the Minotaur. Or any of the recent Amiga demos that came out. Is there a tool that makes 'game.slave' file? OR do you have to code it in Assembly and thus beyond the means of mere mortals (which means all we can is wait for these WHDloadify experts to do it for us?).

Thank you and sorry if this is a very noob question that someone has already asked previously. I know there's the WHDLoad.de page and manual but frankly I'm having a hard time understanding the technical detail, so would appreciate if someone can explain in simple terms how this works.
carlosgod is offline  
Old 24 January 2023, 07:29   #2
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,608
Quote:
Originally Posted by carlosgod View Post
Is there a tool that makes 'game.slave' file? OR do you have to code it in Assembly and thus beyond the means of mere mortals (which means all we can is wait for these WHDloadify experts to do it for us?).
There is no tool. Somebody has to create the slave for a game. WHDLoad fixes games so that they run from HD and on faster Amigas. Some games (like T-Zero or Final Odyssey that you mentioned) already work that way and don't need to be fixed.
TCD is offline  
Old 24 January 2023, 07:55   #3
carlosgod
Registered User
 
Join Date: Oct 2021
Location: boston
Posts: 22
I see. So WHDload enables everything to run from HD.

One thing I didn't quite understand is that when you go to websites like whdownload.com or whdload.de, you can download LHA install files for various games. But these LHA files aren't the full game right? They are like 30-60KB each. In that case am I right in thinking that to unpack/install these LHA, you would still need to insert the original games (either in ADF or .ISO format) and the LHA self-extraction program rearrange them into HDF structure?

Regarding T-Zero example, what's you're saying is that you don't necessarily need to "WHDloadify" games to make it work in HDF format if the author of the game designed in such way that it already works right off the bat? So presumably games written more recently (for example, Alarcity or ReshootR) are unlikely to be "WHDloadified", while games written in the early 90s are?

Thank your for your patience in explaining - I am very new to all this stuff!
carlosgod is offline  
Old 24 January 2023, 08:23   #4
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,608
Quote:
Originally Posted by carlosgod View Post
One thing I didn't quite understand is that when you go to websites like whdownload.com or whdload.de, you can download LHA install files for various games. But these LHA files aren't the full game right? They are like 30-60KB each. In that case am I right in thinking that to unpack/install these LHA, you would still need to insert the original games (either in ADF or .ISO format) and the LHA self-extraction program rearrange them into HDF structure?
On whdload.de you only get the patches and have to install the game using original media like you describe. On whdownload.com you get the pre-installed game.

Quote:
Originally Posted by carlosgod View Post
Regarding T-Zero example, what's you're saying is that you don't necessarily need to "WHDloadify" games to make it work in HDF format if the author of the game designed in such way that it already works right off the bat? So presumably games written more recently (for example, Alarcity or ReshootR) are unlikely to be "WHDloadified", while games written in the early 90s are?
Yep, that sums it up pretty well.
TCD is offline  
Old 24 January 2023, 08:43   #5
Snoopy1234
Registered User
 
Snoopy1234's Avatar
 
Join Date: Apr 2022
Location: Australia
Age: 52
Posts: 845
WHDLoad involves having WHDLoad system files and multiple versions of kickstart roms in your System drive in C, S and optionally other folders. Then you store each game in it's own folder with multiple game folders in a container folder or drive of your choice. The WHDLoad.DE installs patch original game disks or ADF/IPF images (with DiskImage from Aminet installed), to a game folder on your HDD as a working game using the WHDLoad system files on your System drive to run. The created game icon information tab can be used to add Tooltypes for the game to run on a system that may vary from default or may need Tooltypes anyway, such as PRELOAD or NOCACHE (for 020+Cpu's). WHDownload has complete patched games that can be added to your games folder which removes the need for original media. The ethics of Copyright are left up to you.
Snoopy1234 is offline  
Old 24 January 2023, 10:13   #6
carlosgod
Registered User
 
Join Date: Oct 2021
Location: boston
Posts: 22
Quote:
Originally Posted by Snoopy1234 View Post
WHDLoad involves having WHDLoad system files and multiple versions of kickstart roms in your System drive in C, S and optionally other folders. Then you store each game in it's own folder with multiple game folders in a container folder or drive of your choice.

Okay I'm starting to understand how this works. Thanks for clarifying!

One question - for HDF files that hasn't been WHDLoadified (like Damien's T-Zer0) and as a result doesn't have game.slave at the top most directory, can you still boot directly into the game when you start up the emulator instead of booting into workbench and then manually click the game icon?

I was under the impression that you must have WHDload system files +game.slave to be able to do this, but now I'm starting to think that I've completely misunderstood the way these things work and what WHDload is really used for...
carlosgod is offline  
Old 24 January 2023, 10:14   #7
carlosgod
Registered User
 
Join Date: Oct 2021
Location: boston
Posts: 22
Quote:
Originally Posted by TCD View Post
On whdload.de you only get the patches and have to install the game using original media like you describe. On whdownload.com you get the pre-installed game.



Yep, that sums it up pretty well.
Thanks for clearing this up for me!
carlosgod is offline  
Old 24 January 2023, 10:16   #8
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,608
Quote:
Originally Posted by carlosgod View Post
One question - for HDF files that hasn't been WHDLoadified (like Damien's T-Zer0) and as a result doesn't have game.slave at the top most directory, can you still boot directly into the game when you start up the emulator instead of booting into workbench and then manually click the game icon?
In theory: yes I haven't looked at the HDF, but on it should be a directory 's' and a file inside called 'startup-sequence'. There you would enter the main 'executable' of the game and then it should start when you boot the HDF.
TCD is offline  
Old 24 January 2023, 16:59   #9
carlosgod
Registered User
 
Join Date: Oct 2021
Location: boston
Posts: 22
Quote:
Originally Posted by TCD View Post
In theory: yes I haven't looked at the HDF, but on it should be a directory 's' and a file inside called 'startup-sequence'. There you would enter the main 'executable' of the game and then it should start when you boot the HDF.
Ah so that's what folder S and startup-sequence is for. Thanks - I'll try editing it and see if I can make it boot directly when I start up!
carlosgod is offline  
Old 24 January 2023, 20:25   #10
Seiya
Registered User
 
Seiya's Avatar
 
Join Date: Nov 2014
Location: Italy
Posts: 2,367
usally hdf games not contains startup-sequence or other file from workbench system. You have your workbench 1.3, 2.0 or 3.x mounted as dh0: and hdf is mounted as dh1:
To convert in WHD you should have HDF that contains workbench installation and the game.
Seiya is offline  
Old 25 January 2023, 03:54   #11
carlosgod
Registered User
 
Join Date: Oct 2021
Location: boston
Posts: 22
Quote:
Originally Posted by Seiya View Post
usally hdf games not contains startup-sequence or other file from workbench system. You have your workbench 1.3, 2.0 or 3.x mounted as dh0: and hdf is mounted as dh1:
To convert in WHD you should have HDF that contains workbench installation and the game.


I see.., but this brings me to another question. For those handheld emulators using retroarch or uae4arm, usually I need to use whdload.HDF (which has boot priority) along with the whdloadified game in HDF format when I boot into the game. If the workbench is embedded within the HDF of the game itself, what does the file whdload.HDF do? I also think you need whdload.pref as well...
carlosgod is offline  
Old 13 February 2023, 09:44   #12
Jope
-
 
Jope's Avatar
 
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,863
So a hdf is just an image of a hard drive. In order to be able to run WHDLoad, you need to have an AmigaOS installation. This would probably go to whdload.hdf. Then if you want to have swappable hard drives for games, you can create a game.hdf for each game where the whdload slave and datafiles live.

If you set it up really nicely, you could have the different game.hdfs always have the same device name / volume label and make your whdload.hdf automatically start the game from the game.hdf if it detects that your style of game.hdf is present in the system while it is booting.

.. but if you don't want to go through the trouble, just use FS-UAE and feed it a .lha archive of a preinstalled whdload game (for example from the Retroplay collection), it does it all for you.
Jope 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
"Laser Squad" games thread (eg. "Evil" ) nittamituaki support.Games 18 18 May 2018 19:38
Question on audio settings: Should I use UAE "sinc" or OpenAL "4-point sync" or both? Dr.Venom support.FS-UAE 3 14 September 2017 08:22
Difference WHDLoad-Games "normal" & "fast" pellewolf project.WHDLoad 3 25 July 2017 15:38
Other games with "Darkmere"/"LotR" atmosphere? (may also be current-gen) dex Nostalgia & memories 20 27 January 2016 15:29
How "Brick Games" and "Game' n' Watches" works Leandro Jardim Retrogaming General Discussion 2 03 August 2013 17: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 20:11.

Top

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