Gamebase 64 Forum

RegisterRegister Log inLog in

Developed my first Gamebase and have a question

 
Post new topic   Reply to topic    -= GB64 Forum =- Forum Index -> The GameBase Frontend
View previous topic :: View next topic  
Author Message
throwingmuse
New Member


Joined: 16 Jan 2012
Posts: 16
GB64-Points: 16


PostPosted: Sun Apr 01, 2012 5:25 pm    Post subject: Developed my first Gamebase and have a question Reply with quote

Well, I've started developing my own Gamebases. I mostly did this because older Gamebases are no longer available on their historic web-storage sites (MediaFire, MegaUpload, etc.) I also wanted to learn how to customize aspects of existing lists to suite my personal needs.

I started with the Daphne emulator. I began by focusing on two titles: Dragon's Lair and Space Ace. Once I read the GEMUS documentation and experimented, I was able to get Gamebase to successfully launch each game. I then expanded Dragon's Lair by using key/value pairs into two entries which allowed for the ordered and random scene progression.

Here is the basic GEMUS code I used:

Code:
Add_CLP(%gamefilenoext%)
Add_CLP( vldp)
Add_CLP( -framefile G:\Emulation\Emulator\Daphne\framefile\%framefile_value%)
Add_CLP( -homedir %emupath%)
Add_CLP( -fastboot -noserversend -sound_buffer 2048 -opengl -x 1024 -y 768)

Show_Message(%commandline%)

Run_Emulator()


I then began adding extra content to each game: pictures, manuals, etc. However, this is where I am now stuck. I cannot determine how to add more than one picture to an item. I can use the interface to add a single picture but it won't allow me to multi-select. I want to add in-game screenshots and a title screen to each game. How is this done?


Last edited by throwingmuse on Sun Apr 01, 2012 7:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
.mad.
Elite Member
Elite Member


Joined: 19 Jun 2005
Posts: 1241
GB64-Points: 3022
Location: Lancashire

PostPosted: Sun Apr 01, 2012 5:45 pm    Post subject: Reply with quote

you need to rename the picture files as follows

Dragons_Lair.png <- Link this as main picture file
Dragons_Lair_1.png
Dragons_Lair_2.png

do not mix different file formats as it will not work.
only the first screen will be shown if you do.

Dragons_Lair.bmp
Dragons_Lair_1.png
Dragons_Lair_2.jpg
Back to top
View user's profile Send private message
throwingmuse
New Member


Joined: 16 Jan 2012
Posts: 16
GB64-Points: 16


PostPosted: Sun Apr 01, 2012 6:17 pm    Post subject: Reply with quote

Thanks! That worked. I had my images originally named image_1.png and image_2.png.

I have one last question for the moment: key value pairs. The documentation indicates:

Key=Value pairs give you the flexibility of specifying arbitrary variables that can be used in your GEMUS scripts. By pressing F2 in GameBase (when a game is selected) you can enter key=value pairs specifically for that game, along with managing sets of keys=value pairs (kvsets)."

However, my experience is that when I select a game and hit F2 to enter a key=value pair, it impacts all titles in the Gamebase, not just the one selected.

I've tried it two ways:

1. GLOBAL
I know that this impacts all games in the list

2. Create a new KVSET
I believe this is the way to go but I haven't been able to determine the correct syntax from the documentation. The special kvset= tag is confusing me, I think.

My goal is this:

Code:
Game 1
     framefile=x

Game 2
     framefile=y

Game 3
     framefile=z


so I can use %framefile_value% in GEMUS based on the game selected.

How is this done?
Back to top
View user's profile Send private message
throwingmuse
New Member


Joined: 16 Jan 2012
Posts: 16
GB64-Points: 16


PostPosted: Tue Apr 03, 2012 4:31 am    Post subject: Reply with quote

Well, I discovered the solution and it turned out to be extremely simple. For some reason, I was fixated on the right hand side of the key=value pair popup window (F2) since it was highlighted. I was entering all of my key=value pairs in the right panel, experimenting with kvsets and global values. I never once tried to enter a simple key=value pair in the LEFT panel. Upon doing so, I was able to define unique framefiles for each game in the list. Live and learn.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    -= GB64 Forum =- Forum Index -> The GameBase Frontend 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-2014 The GB64 Team