English Amiga Board


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

 
 
Thread Tools
Old 27 May 2024, 00:59   #1
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,647
Can trainer options (Custom1..5) be renamed?

Without a recompile? I mean the labels presented in the WHD license window.

I see this in a few most recent slaves, and it would be good if it was directly readable what they do, instead of "testing them out" and making notes.

In this case they are not mentioned in the ReadMe.
Photon is offline  
Old 27 May 2024, 03:09   #2
Aardvark
Registered User
 
Join Date: Jan 2019
Location: Finland
Posts: 652
Quote:
Originally Posted by Photon View Post
In this case they are not mentioned in the ReadMe.
Which game is this? Custom options should always be mentioned in the Readme
Aardvark is offline  
Old 27 May 2024, 10:17   #3
Wepl
Moderator
 
Wepl's Avatar
 
Join Date: Nov 2001
Location: Germany
Posts: 873
You can set them and overwrite which is possible in the Slave using the Config option.
See https://whdload.de/docs/en/opt.html#Config
Wepl is offline  
Old 27 May 2024, 13:15   #4
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,647
Quote:
Originally Posted by Aardvark View Post
Which game is this? Custom options should always be mentioned in the Readme
I will need to have another look, because the same slave and WHD version produces different results in emu vs real Amiga. On real Amiga about 3/20 games had the Custom1-names instead of named labels.

Quote:
Originally Posted by Wepl View Post
You can set them and overwrite which is possible in the Slave using the Config option.
See https://whdload.de/docs/en/opt.html#Config
Does Config= work like ToolTypes like QuitKey=? I.e. right-click the exe. It seems I can just turn Custom1 etc on or off with those.

Or (from the examples) I make a small binary file with dc.b and put it somewhere?

I think I just need to spend some time reading the WHD docs.
Photon is offline  
Old 27 May 2024, 17:31   #5
Wepl
Moderator
 
Wepl's Avatar
 
Join Date: Nov 2001
Location: Germany
Posts: 873
You can use it as normal Tooltype:

Code:
Config=BW;C1:B:Skip Intro;C2:X:Activate Trainer:0
creates
  • Button ButtonWait
  • Button "Skip Intro" bound to Custom1
  • Button "Activate Trainer" bound to bit #0 of Custom2
Wepl is offline  
Old 27 May 2024, 17:50   #6
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,340
with custom options in splash screen, what's now missing is most of the authors (including myself) forget to specify which custom flag does what, which is annoying when creating scripts.

It would be nice if custom option (whdload 17+) could be decoded into something clear by a tool. Well we can still search in the slave binary, never mind.
jotd is offline  
Old 27 May 2024, 19:31   #7
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,647
I've tested all the 20ish latest slaves in latest WHDLoad in WinUAE and real Amiga, and WinUAE displays the custom options correctly, while e.g. the Gravity-Force slave displays Custom1..5 on real Amiga instead of the correctly labeled ones in WinUAE. (This slave has custom1..4 documented in the ReadMe. So this is the only thing this slave can be "accused of", I say great job! )

I think it's a file system difference (and I lose the tooltypes?), because I can get the Custom1..5 behavior in WinUAE by mounting the FAT CF card.

I get no warning of losing file properties when copying from PC to FAT CF card tho.

Is there a way around this? A PC-formatted second CF card (and extracting, copying, and deleting) is my solution for easy access and quick file transfers (and not filling up my important SYS and WORK card with GBs of games and demos).

I'd be happy to change the format of the CF card to something else that both ends can read, because FAT is also OLD, SLOW, and CLUNKY.
Photon 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
Trainer options that improve broken games Dastardly Retrogaming General Discussion 11 07 March 2024 10:13
Custom1 Gordon project.WHDLoad 7 29 July 2016 15:11
Mariko renamed to Marioko s2325 AMR data problems 0 15 June 2015 22:28
WHDLoad Heimdall custom1 tooltype Pichamelu support.Games 11 12 March 2012 15:31
Custom1=1 ??? ajoram project.WHDLoad 3 29 April 2011 23:30

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 19:04.

Top

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