Welcome to the Gamebase 64 forums.                 An attempt to document ALL Commodore 64 gameware before it's too late!

Problems to start/use Atom GameBase

Discuss any other databases that use the GameBase Frontend, whether in pre development, development or publically released.

Moderator: Jimbo

User avatar
K.C.
Cool Member
Cool Member
Location: The Netherlands
Posts: 416
Joined: Mon Sep 29, 2003 9:57 am

Wed Jun 16, 2010 11:03 am

If I set my keyboard to German, I get a ` when I press the = key in Windows.
But the updated script keeps loading the games correctly.
So on my system it looks like it's working ok.
Vicman
Cool Member
Cool Member
Location: Germany
Posts: 285
Joined: Mon May 12, 2008 7:51 pm

Wed Jun 16, 2010 1:53 pm

K.C. wrote:You forgot to type the r. But it seem to behave a different way than I hoped for.
Just to be sure, can you try to use +{+}r instead of +{=}r?
Sorry don't work for me... :?
Image

Run_Emulator_Send_Keys([6]+{+}r.+{2}%gamename_value%+{2}{Enter}||50)


And here again the first try : :cry:

Image

Run_Emulator_Send_Keys([6]+{=}r.+{2}%gamename_value%+{2}{Enter}||50)


But if there are only 2 different keyboard-layouts (US & German) , i can use 2 Scripts......
But i fear there are much more, right ?
User avatar
K.C.
Cool Member
Cool Member
Location: The Netherlands
Posts: 416
Joined: Mon Sep 29, 2003 9:57 am

Wed Jun 16, 2010 5:12 pm

Vicman wrote:But if there are only 2 different keyboard-layouts (US & German) , i can use 2 Scripts......
But i fear there are much more, right ?
I've no idea how to fix this, because I'm not sure what happens exactly.
What I know is that there are lots of other keyboard layouts besides these 2.
So no one-script-per-keyboard-layout I'm afraid.
Vicman
Cool Member
Cool Member
Location: Germany
Posts: 285
Joined: Mon May 12, 2008 7:51 pm

Wed Jun 16, 2010 8:05 pm

Vicman wrote: some games definitely needs "*R."game" - command, for starting.....
Just do not remember exactly what they were, 'cause i allways use the *R. - command (if possible) to start the games a little bit faster...

have to check out wich one....
O.K.
I've checked the Games, Letters A - D .
Up to now, this Games need the "loadtype = r"

Code: Select all

Atom Forth
Atom Lisp
Atom Pilot
AtomCalc
Atomia Akorny
Bell Hop
Chess
Cluedo
Dragon
I will test the rest tomorrow, and will then upload the updated *.mdb :wink:
User avatar
.mad.
Honoured Member
Honoured Member
Location: Lancashire
Posts: 2261
Joined: Sun Jun 19, 2005 3:30 pm

Thu Jun 17, 2010 11:13 am

Hi Vicman
if you intend to release 2 versions, DE and UK keyboards.
These games will also need altering in the gemus. :wink:

loadtype=special
replace `R. with +{=}R.

a.atm 117 Dungeon
a.atm 118 House
a.atm 119 Intergalactic

--
just had a thought. :idea:
would it be possible to set the keyboad in DOS BOX
for a universal setup.
using config.sys and autoexec.bat

i know the keyboard setup would be wrong for some of us,
but the load keypress script would work for everyone.

if it's possible, K.C. can do it. :wink:
Vicman
Cool Member
Cool Member
Location: Germany
Posts: 285
Joined: Mon May 12, 2008 7:51 pm

Thu Jun 17, 2010 11:22 am

Hi .mad. ,
thanks for your info, but

I allready working on an update.... :wink:

with my modified version, each game should work with each keyboard 8)

please wait ca. 1 hour , and then i will give you here my modified script & *.mdb

btw.
I've asked Jimbo to add the "CHR - Value" into GB/GEMUS.
He will take a look, when he is back from Hollidays :D
Vicman
Cool Member
Cool Member
Location: Germany
Posts: 285
Joined: Mon May 12, 2008 7:51 pm

Thu Jun 17, 2010 1:50 pm

o.k. .mad. ,
here's my updated Atom GB.

It contains a new script & mdb

please test it :roll:

http://rapidshare.com/files/400044690/A ... script.zip

here you can see an example on the game "bell hopp", how it should work.....
http://www.youtube.com/watch?v=bcHcTVysdK4

if it don't work like this clip,
change the typingspeed from 140 (in the k=v pairs) to maybe 180....,
but i hope it works.....

if Jimbo can add the CHR-Value in GEMUS, i will rewrite the script,
to load the games faster :wink:

Image
User avatar
.mad.
Honoured Member
Honoured Member
Location: Lancashire
Posts: 2261
Joined: Sun Jun 19, 2005 3:30 pm

Thu Jun 17, 2010 4:49 pm

ok, i tested it.
a good idea, but flawed.

this is only my opinion. please don't be offended. :D
i think this is a very messy way of loading the games.

your original script had a higher loading success rate.

i know you want to make it work for every machine,
but the key timing is going to be more of a problem.
for me anyway. :P

cursor keys need less timing than letters on these old machines.
so when the game is being selected from the emulator menu screen, the cursor can jump many spaces up.
example:
set the key timing to 600, to see what i mean.
the cursor key will auto-repeat for that length of time.
---
my working timings from the *R list.
Atomia Akorny = 200
Bell Hop = 180/200
Chess = 180
Cluedo = 200
Dammen = can't find a working value.
Moon Patrol = 180
Sphinx = 140
Space Fighter= can't find a working value.

i think the best value is = 200
but Sphinx will not work with that.
----

my final thought's
upload the 2 scripts for german / uk keyboard.
then include a small help file showing what to edit, for other keyboards.

it's still a great gamebase. 8)
and i am off to play some Atom Games. :D
Vicman
Cool Member
Cool Member
Location: Germany
Posts: 285
Joined: Mon May 12, 2008 7:51 pm

Thu Jun 17, 2010 5:18 pm

Thanks for intensive testing .mad. :wink:

So, i will upload a German & UK/US Script.....

But i hope Jimbo can add these CHR-Values ,
so we only need 1 Script for all users :D
User avatar
K.C.
Cool Member
Cool Member
Location: The Netherlands
Posts: 416
Joined: Mon Sep 29, 2003 9:57 am

Thu Jun 17, 2010 5:57 pm

.mad. wrote:your original script had a higher loading success rate.

i know you want to make it work for every machine,
but the key timing is going to be more of a problem.
for me anyway. :P

cursor keys need less timing than letters on these old machines.
so when the game is being selected from the emulator menu screen, the cursor can jump many spaces up.
example:
set the key timing to 600, to see what i mean.
the cursor key will auto-repeat for that length of time.
What happens if you press F2 and type CYCLES=10000 in the right pane (under <GLOBAL> KVSet)?
(maybe it's needed to decrease the K=V pair Typingspeed or delete the key if it can use the default in the right pane).
Vicman
Cool Member
Cool Member
Location: Germany
Posts: 285
Joined: Mon May 12, 2008 7:51 pm

Thu Jun 17, 2010 6:49 pm

@.mad. & K.C.

I have a new Idea :D

For those Games using *r. to loading, i've made 3 diff. kvsets :

1.German Keyboard
2.US Keyboard
3.Alternate Loading

I've tested the Game "TRAP" with German & Alternate - kvset
it works for me 8)

can you, .mad. please test the US/UK Keyboard :!:

here is the new *.mdb :

So, this is my favorite solution (if the CHR-Value failed)

what do you think ?

Image
User avatar
.mad.
Honoured Member
Honoured Member
Location: Lancashire
Posts: 2261
Joined: Sun Jun 19, 2005 3:30 pm

Thu Jun 17, 2010 8:13 pm

K.C. wrote: What happens if you press F2 and type CYCLES=10000 in the right pane (under <GLOBAL> KVSet)?
(maybe it's needed to decrease the K=V pair Typingspeed or delete the key if it can use the default in the right pane).
that works!
with the typing speed value line deleted.
Vicman wrote: For those Games using *r. to loading, i've made 3 diff. kvsets :

1.German Keyboard
2.US Keyboard
3.Alternate Loading
i don't see the kvsets when i press F2.
just colour configs in the drop down menu.

i need your file
Gemus.ini

but i am sure it will work.

also what script should i use with the new file.
i have several on the go. :lol:

original `r
uk {=}r
vicman settings
the new cursor menu one
User avatar
K.C.
Cool Member
Cool Member
Location: The Netherlands
Posts: 416
Joined: Mon Sep 29, 2003 9:57 am

Thu Jun 17, 2010 8:41 pm

Vicman wrote:I have a new Idea :D

For those Games using *r. to loading, i've made 3 diff. kvsets :

1.German Keyboard
2.US Keyboard
3.Alternate Loading
Good idea! :D
But there is one problem with this approach:
If you decide to release the collection prepared for German keyboard layout, the K=V pairs of ALL games need to be changed to let it work on PC's with US keyboard layouts.
I know there is a nice remove/replace option in the K=V pair window, but it isn't very user friendly for the end user.
Maybe this script will make it easier (I've copied the last part of the scripts completely, but only the lines below ElseIf Key_loadtype CONTAINS(R||RU||RUN) have been changed).

Code: Select all

;Start ATOM in DOSBox and send the correct keystrokes to load and run the game.
;------------------------------------------------------------------------------
If Key_loadtype CONTAINS(*)
If Key_loadtype CONTAINS(L||LO||LOAD)
If Key_waitstart CONTAINS(*)
If Key_typingspeed CONTAINS(*)
Run_Emulator_Send_Keys([%waitstart_value%]lo.+{2}%gamename_value%+{2}{Enter}[1]run{Enter}||%typingspeed_value%)
Else
Run_Emulator_Send_Keys([%waitstart_value%]lo.+{2}%gamename_value%+{2}{Enter}[1]run{Enter}||50)
End If
Else
If Key_typingspeed CONTAINS(*)
Run_Emulator_Send_Keys([6]lo.+{2}%gamename_value%+{2}{Enter}[1]run{Enter}||%typingspeed_value%)
Else
Run_Emulator_Send_Keys([6]lo.+{2}%gamename_value%+{2}{Enter}[1]run{Enter}||50)
End If
End If
ElseIf Key_loadtype CONTAINS(R||RU||RUN)
If Key_waitstart CONTAINS(*)
If Key_typingspeed CONTAINS(*)
If Key_keyboard CONTAINS(ge||german||de||deutsch)
Run_Emulator_Send_Keys([%waitstart_value%]`r.+{2}%gamename_value%+{2}{Enter}||%typingspeed_value%)
Else
Run_Emulator_Send_Keys([%waitstart_value%]+{=}r.+{2}%gamename_value%+{2}{Enter}||%typingspeed_value%)
End If
Else
If Key_keyboard CONTAINS(ge||german||de||deutsch)
Run_Emulator_Send_Keys([%waitstart_value%]`r.+{2}%gamename_value%+{2}{Enter}||50)
Else
Run_Emulator_Send_Keys([%waitstart_value%]+{=}r.+{2}%gamename_value%+{2}{Enter}||50)
End If
End If
Else
If Key_typingspeed CONTAINS(*)
If Key_keyboard CONTAINS(ge||german||de||deutsch)
Run_Emulator_Send_Keys([6]`r.+{2}%gamename_value%+{2}{Enter}||%typingspeed_value%)
Else
Run_Emulator_Send_Keys([6]+{=}r.+{2}%gamename_value%+{2}{Enter}||%typingspeed_value%)
End If
Else
If Key_keyboard CONTAINS(ge||german||de||deutsch)
Run_Emulator_Send_Keys([6]`r.+{2}%gamename_value%+{2}{Enter}||50)
Else
Run_Emulator_Send_Keys([6]+{=}r.+{2}%gamename_value%+{2}{Enter}||50)
End If
End If
End If
ElseIf Key_loadtype CONTAINS(C||CH||CHAIN)
If Key_waitstart CONTAINS(*)
If Key_typingspeed CONTAINS(*)
Run_Emulator_Send_Keys([%waitstart_value%]chain+{2}%gamename_value%+{2}{Enter}||%typingspeed_value%)
Else
Run_Emulator_Send_Keys([%waitstart_value%]chain+{2}%gamename_value%+{2}{Enter}||50)
End If
Else
If Key_typingspeed CONTAINS(*)
Run_Emulator_Send_Keys([6]chain+{2}%gamename_value%+{2}{Enter}||%typingspeed_value%)
Else
Run_Emulator_Send_Keys([6]chain+{2}%gamename_value%+{2}{Enter}||50)
End If
End If
ElseIf Key_loadtype CONTAINS(S||SP||SPECIAL)
If Key_keystrokes CONTAINS(*)
If Key_waitstart CONTAINS(*)
If Key_typingspeed CONTAINS(*)
Run_Emulator_Send_Keys([%waitstart_value%]%keystrokes_value%||%typingspeed_value%)
Else
Run_Emulator_Send_Keys([%waitstart_value%]%keystrokes_value%||50)
End If
Else
If Key_typingspeed CONTAINS(*)
Run_Emulator_Send_Keys([6]%keystrokes_value%||%typingspeed_value%)
Else
Run_Emulator_Send_Keys([6]%keystrokes_value%||50)
End If
End If
Else
Show_Message(When k=v pair LOADTYPE is set to SPECIAL,%crlfx2%another k=v pair KEYSTROKES must be entered%crlfx2%containing the keystrokes to be sent to the emulator.%crlfx2%The typing speed doesn't have to be specified.)
End If
Else
Show_Message(Invalid value for k=v pair LOADTYPE entered.%crlfx2%Possible values are: L|LO|LOAD, R|RU|RUN, C|CH|CHAIN, S|SP|SPECIAL)
End If
Else
If Key_waitstart CONTAINS(*)
If Key_typingspeed CONTAINS(*)
Run_Emulator_Send_Keys([%waitstart_value%]lo.+{2}%gamename_value%+{2}{Enter}[1]run{Enter}||%typingspeed_value%)
Else
Run_Emulator_Send_Keys([%waitstart_value%]lo.+{2}%gamename_value%+{2}{Enter}[1]run{Enter}||50)
End If
Else
If Key_typingspeed CONTAINS(*)
Run_Emulator_Send_Keys([6]lo.+{2}%gamename_value%+{2}{Enter}[1]run{Enter}||%typingspeed_value%)
Else
Run_Emulator_Send_Keys([6]lo.+{2}%gamename_value%+{2}{Enter}[1]run{Enter}||50)
End If
End If
End If
If you don't specify anything, a US keyboard layout is assumed.
If you specify a Global K=V pair keyboard=ge / german / de / deutsch, the correct keys for a German keyboard layout are used to send to the emulator.
All other values for K=V pair keyboard are interpreted as US keyboard layout.

Typ: Add keyboard=us to the Global KVSet.
If a user has a German keyboard layout, he only has to change us to de to make all games work on his computer!
Vicman
Cool Member
Cool Member
Location: Germany
Posts: 285
Joined: Mon May 12, 2008 7:51 pm

Fri Jun 18, 2010 8:23 am

.mad. wrote: i need your file
Gemus.ini
:oops: ......well i knew i've forgotten something..... :x

doesen't matter in the moment...see K.C.'s post :wink:


@K.C. :

Thanks again for your help. I will try it this evening or tomorrow.
So, you both can test it when finished 8)
Vicman
Cool Member
Cool Member
Location: Germany
Posts: 285
Joined: Mon May 12, 2008 7:51 pm

Fri Jun 18, 2010 4:14 pm

Hi K.C. & .mad.

I'm really happy with the new script :D

All seems to work fine !

I will change back the k=v pairs for the Games,
that are able to use the "faster" loading.

when it's finished i'll give you the update

Cheers :wink:

Return to “Other GameBase Projects”

Who is online

Users browsing this forum: Google [Bot] and 8 guests