Skip to content

simple_preconfig

mithrendal edited this page Nov 11, 2021 · 3 revisions

the vc64web can be preconfigured in a simple hashtag key value notation. For more complex preconfiguration you might want to use JSON notation, which enables a more complex preconfiguartion.

for the simple hashtag notation, the setting has to be right after the emulator address

https://vc64web.github.io/

we add each setting with a # like #setting1=anything ...

when vc64web sees a URL like #http... it will stop with the setting processing and starts to load the programm from the given URL.

openROMS=true this will boot into openROMS without any question when no ROMs installed

SID=6581 or SID=8580 for setting the version of the Sound Interface Device

2ndSID=d420 d420 is an example any other address will do

port1=true or port2=true will connect port1 or port2 (currently only the keyboard)

navbar=hidden which hides the top navbar shortly (2.5 seconds) after loading...

wide={true|false} and border={true|false} or border=0.3 which control cinematic wide screen and with border or borderless without saving these to the local preferences ...

touch=true set before port2=true then vc64web will select a touch joystick in port2, instead of the keyboard

dark=false starts forces vc64web to start in light mode, regardless of the saved preferences of the user. This is particulary useful when using the player to embed vc64web on light themed web pages...

dialog_on_missing_roms=false to supress the rom dialog when floppy rom is missing

dialog_on_disk=false to surpess the disk dialog when an d64 or g64 will be inserted

see here how it looks like:

dual SID preconfig https://vc64web.github.io/#openROMS=true#2ndSID=d420#navbar=hidden#http://csdb.dk/getinternalfile.php/206403/to_norah.prg

joystick port preconfig https://vc64web.github.io/#openROMS=true#port1=true#http://csdb.dk/getinternalfile.php/207233/joytester.prg

https://vc64web.github.io/#openROMS=true#port2=true#http://csdb.dk/getinternalfile.php/207233/joytester.prg

Clone this wiki locally