Hi all,
to type a command in a CPC-Emulator (wich is emulated in the Enterprise 128 Emulator) i need to specify the shift-key, wich i need to use......
Well, it's hard to explain for me in english......
the sending command should be :
run "gamename
so the Emulator_Send_Key - command is :
run {C34}%gamename_value% (or run +2%gamename_value%)
but this command will always use the left shift-key plus Number 2.....
But i need to use the right shift-Key plus Number 2 on my keyboard....
Is there a way to specify this in the Send_Key - Function ?
otherwise i have a big problem
The lines in my Enterprise-Script :
;Run CPC-Game in EP Amstrad-Emulator
;-------------------------------------------------
ElseIf Key_emulator CONTAINS(cpc)
Add_CLP(-cfg %emupath%\config\ep128hun\EP_128k_Tape_FileIO_TASMON.cfg)
Run_Emulator_Send_Keys([3]{Enter}[2]{F1}[-1][1]%gamepathfile%{Enter}[-80][3]run +2%gamename_value%{Enter}||50)
Welcome to the Gamebase 64 forums. An attempt to document ALL Commodore 64 gameware before it's too late!
Run_Emulator_Send_Key - Question
Moderator: Jimbo
- Vicman
- Cool Member
- Location: Germany
Post
Run_Emulator_Send_Key - Question
GB done: Philips VG 5000, Sord-M5, Acorn Atom, Enterprise v1.00
- .mad.
- Honoured Member
- Location: Lancashire
Post
have you tried entering the quote like this. "
(not using the CHR CODE)
Run_Emulator_Send_Keys([1]run"filename.bas{enter}||50)
replace (") with whatever right shift 2 displays on your keyboard.
for instance (@) on USA keyboard.
if your running the emulator through DOSBOX, you could try changing the keyboard country settings also.
(not using the CHR CODE)
Run_Emulator_Send_Keys([1]run"filename.bas{enter}||50)
replace (") with whatever right shift 2 displays on your keyboard.
for instance (@) on USA keyboard.
if your running the emulator through DOSBOX, you could try changing the keyboard country settings also.
- Vicman
- Cool Member
- Location: Germany
Post
Hi .mad. ,
yes, i've also tried " in the script....
But whatever......it seems the send-key-function will always use the left shift key.
But the left shift is without function in the "Amstrad Emulator" wich i use in the Enterprise Emulator...
So, an other solution could be, to contact the developer of the Amstrad Emulator....maybe he can give the left shift key a function.
otherwise i allready found a way, to start diff. games without typing " on the emu-screen
yes, i've also tried " in the script....
But whatever......it seems the send-key-function will always use the left shift key.
But the left shift is without function in the "Amstrad Emulator" wich i use in the Enterprise Emulator...
So, an other solution could be, to contact the developer of the Amstrad Emulator....maybe he can give the left shift key a function.
otherwise i allready found a way, to start diff. games without typing " on the emu-screen
GB done: Philips VG 5000, Sord-M5, Acorn Atom, Enterprise v1.00
- Vicman
- Cool Member
- Location: Germany
Post
Hi .mad. ,
but....no
the cfg is o.k.
The left shift key runs fine in the ep128 Emulator.
It only do not work, when running the amstrad-emulator inside of the Enterprise-Emulator....
but it doesn't matter anymore...i've found another solution.
anyway, thanks for your idea
here's the "normal" ep128 emulator : All is fine
and here the amstrad-emulator inside the EP-Emulator :
but....no
the cfg is o.k.
The left shift key runs fine in the ep128 Emulator.
It only do not work, when running the amstrad-emulator inside of the Enterprise-Emulator....
but it doesn't matter anymore...i've found another solution.
anyway, thanks for your idea
here's the "normal" ep128 emulator : All is fine
and here the amstrad-emulator inside the EP-Emulator :
GB done: Philips VG 5000, Sord-M5, Acorn Atom, Enterprise v1.00
- Vicman
- Cool Member
- Location: Germany
Post
Hi Jimbo,
for another game (zaxxon: Enterprise-conversion from spectrum)
I need (again) the right shift key in the send_key_function
otherwise the game don't starts automaticly.....
Any chance to support it
for another game (zaxxon: Enterprise-conversion from spectrum)
I need (again) the right shift key in the send_key_function
otherwise the game don't starts automaticly.....
Any chance to support it
GB done: Philips VG 5000, Sord-M5, Acorn Atom, Enterprise v1.00
- OX
- Ice Cool Member
Post
Hi Vicman, did you find a solution to your right shift + 2 for " problem?
If it can't be done within the Run_Emulator_send_keys() command then you could try running some keyboard bot program for the required key combination with the Run_Program() command which will wait until execution is complete before it continues the Gemus script, I am sure there will be some program out there that can send any key combination to a given current process.
I hope this doesn't bring a halt to Gamebase Enterprise as I was looking forward to it very much.
If it can't be done within the Run_Emulator_send_keys() command then you could try running some keyboard bot program for the required key combination with the Run_Program() command which will wait until execution is complete before it continues the Gemus script, I am sure there will be some program out there that can send any key combination to a given current process.
I hope this doesn't bring a halt to Gamebase Enterprise as I was looking forward to it very much.
- Vicman
- Cool Member
- Location: Germany
Post
Hi Ox,
the shift + 2 problem is still there, but it's only a secondary problem.
The GameBase works without this. Only a few Games (2 or 3) need this for autostarting.
I haven't looked for a keyboard bot program, yet.
But if there is one, i would need help to implement this into the GEMUS-Script.
The GB Enterprise is nearly finished....
But i allways have new ideas for some "Extras" , that i want to add to the GameBase...and this is very time consuming
I hope to upload the "Main GB" at the end of the Year.
New Extras will then come in a later update
the shift + 2 problem is still there, but it's only a secondary problem.
The GameBase works without this. Only a few Games (2 or 3) need this for autostarting.
I haven't looked for a keyboard bot program, yet.
But if there is one, i would need help to implement this into the GEMUS-Script.
The GB Enterprise is nearly finished....
But i allways have new ideas for some "Extras" , that i want to add to the GameBase...and this is very time consuming
I hope to upload the "Main GB" at the end of the Year.
New Extras will then come in a later update
GB done: Philips VG 5000, Sord-M5, Acorn Atom, Enterprise v1.00
- Vicman
- Cool Member
- Location: Germany
Post
Hi OX,
GB Enterprise was in Status "Betatesting".....
.mad. has written a well working GEMUS-Script for the GB EP.
First release will come this weekend
btw.
the shift + 2 problem is solved (via script)
GB Enterprise was in Status "Betatesting".....
.mad. has written a well working GEMUS-Script for the GB EP.
First release will come this weekend
btw.
the shift + 2 problem is solved (via script)
GB done: Philips VG 5000, Sord-M5, Acorn Atom, Enterprise v1.00
Return to “The GameBase Frontend”
Who is online
Users browsing this forum: No registered users and 6 guests