Hi peeps, need to pick your brains if I may.
Scenario is I'm trying to help the Demobase c64 team with help via Hoxs64. Lots of the demo collections are badly done ie just a collection of .prg files with no way of file selection upon boot ie you must load the file indidually rather than load"*",8,1 and that loading a first boot file that holds a selector.
While playing with hoxs64 I made this
Add_CLP( -autoload %gamepathfile%)
So it basically did a load"*",8,1
But after a few secs research I found that Hoxs64 man had included a way to specify a file number to load on a disk.
ie
Add_CLP( -autoload %gamepathfile% 3)
That loads the nth file on the disc.
Is there a way to assign a number to each individual disc entry so that when the script runs it inserts that file number into the script.
ie one database entry might load file 3 but a different disc might load file 8?
I'm sure it can be done but my brain hurts at this time..
Welcome to the Gamebase 64 forums. An attempt to document ALL Commodore 64 gameware before it's too late!
Gamebase variable / command line help..
Moderator: Jimbo
- Paul Irvine
- Cool Member
Post
Gamebase variable / command line help..
-------
Loved ones are never gone as long as you remember them....
Loved ones are never gone as long as you remember them....
- Paul Irvine
- Cool Member
Post
Looking at it again I tried to make the key_pairs work but I can't sort it out.
I set it as files=8
and hoped I could use %key_files% to represent the number 8 but I seem to have got that logic wrong.
I don't need a complete If Contains thing, I just want to set a variable for each disc / entry in the database that can be inserted ala the first post
I set it as files=8
and hoped I could use %key_files% to represent the number 8 but I seem to have got that logic wrong.
I don't need a complete If Contains thing, I just want to set a variable for each disc / entry in the database that can be inserted ala the first post
-------
Loved ones are never gone as long as you remember them....
Loved ones are never gone as long as you remember them....
- Paul Irvine
- Cool Member
Return to “The GameBase Frontend”
Who is online
Users browsing this forum: Ahrefs [Bot] and 6 guests