2 different scripts to launch whdload / extras

Discuss the Commodore Amiga database that uses the GameBase Frontend.

Moderator: Jimbo

filevans
New Member
Posts: 11
Joined: Tue Aug 16, 2011 10:49 am

2 different scripts to launch whdload / extras

Fri May 11, 2012 5:11 pm

hello everyone,

i have set up 2 different scripts for using winuae on gamebase, one with a small resolution for most games that look better in a lower resolution (for example 640x400) but then another script using a different uae config file for games that have a bigger full screen resolution, for example pinball fantasies, that needs a much higher vertical resolution, like 576x768 is a good one,

basically it works like a charm for the normal adf games, i can choose which script to launch using the right click on the "play game" icon, but the problem is i can't seem to do it for the extras, as i want to be able to run most whdload games say in 640x400, but the odd one needs to be run higher, does anyone know a way to have 2 seperate scripts for launching extras/whdload games like it can be done on the normal adf games?

thanks everyone for their help
User avatar
.mad.
Highly Commended Member
Highly Commended Member
Location: Lancashire
Posts: 1597
Joined: Sun Jun 19, 2005 3:30 pm

Fri May 11, 2012 5:54 pm

hi,

you can do it with just the one script.
By editing the GEMUS in the Extras game, to use it's own field option.

just add the screen value in the gemus for the games you want to run in a larger screen size.

gemus
screen=768

example scpript

If key_screen CONTAINS (768)

Set_CFG_Value(%dbpath%\amiga.uae||gfx_width_fullscreen||800)
Set_CFG_Value(%dbpath%\amiga.uae||gfx_height_fullscreen||600)

Set_CFG_Value(%dbpath%\amiga.uae||gfx_width_windowed||768)
Set_CFG_Value(%dbpath%\amiga.uae||gfx_height_windowed||576)

Else
Set_CFG_Value(%dbpath%\amiga.uae||gfx_width_fullscreen||640)
Set_CFG_Value(%dbpath%\amiga.uae||gfx_height_fullscreen||400)

Set_CFG_Value(%dbpath%\amiga.uae||gfx_width_windowed||640)
Set_CFG_Value(%dbpath%\amiga.uae||gfx_height_windowed||400)

-----------

or use the gemus for each game to enter both dimensions

width=640
height=480

and edit the script like so...

Set_CFG_Value(%dbpath%\amiga.uae||gfx_width_windowed||%width_value%)
Set_CFG_Value(%dbpath%\amiga.uae||gfx_height_windowed||%height_value%)
filevans
New Member
Posts: 11
Joined: Tue Aug 16, 2011 10:49 am

Sat May 12, 2012 12:55 pm

thanks a lot mad as a hatter

so i edit the script in notepad, and also i edit the gemus by right clicking the game that i want to edit too in the gamebase menu don't I? thanks mate

Return to “Commodore Amiga - GameBase Amiga”

Who is online

Users browsing this forum: No registered users and 1 guest