Gamebase 64 Forum

RegisterRegister Log inLog in

2 different scripts to launch whdload / extras

 
Post new topic   Reply to topic    -= GB64 Forum =- Forum Index -> Commodore Amiga - GameBase Amiga
View previous topic :: View next topic  
Author Message
filevans
New Member


Joined: 16 Aug 2011
Posts: 11
GB64-Points: 11


PostPosted: Fri May 11, 2012 5:11 pm    Post subject: 2 different scripts to launch whdload / extras Reply with quote

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
Back to top
View user's profile Send private message
.mad.
Outstanding Member
Outstanding Member


Joined: 19 Jun 2005
Posts: 982
GB64-Points: 2762
Location: Lancashire, England

PostPosted: Fri May 11, 2012 5:54 pm    Post subject: Reply with quote

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%)
Back to top
View user's profile Send private message
filevans
New Member


Joined: 16 Aug 2011
Posts: 11
GB64-Points: 11


PostPosted: Sat May 12, 2012 12:55 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    -= GB64 Forum =- Forum Index -> Commodore Amiga - GameBase Amiga All times are GMT
Page 1 of 1

 
Jump to:  
Cannot post new topics
Cannot reply to topics
Cannot edit your posts
Cannot delete your posts
Cannot vote in polls in this forum


Powered by phpBB © phpBB Group

The C64 Banner Exchange
The C64 Banner Exchange

gb64.com ©1997-2010 The GB64 Team