Gamebase 64 Forum
| View previous topic :: View next topic |
| Author |
Message |
Vicman Cool Member


Joined: 12 May 2008 Posts: 239 GB64-Points: 240 Location: Germany
|
Posted: Wed Oct 05, 2011 9:31 am Post subject: Emulator_Send_Keys - Problem |
|
|
Hi all,
i'm working on the Enterprise 64/128 TOSEC - Set.
For this, i need to rename the "single" gamefiles.
In Example :
The Basic-Game 4-es Jatek.BAS into 4-es Jatek (19xx)(-)(hu)(PD)[basic].BAS
but when i now start the Game automaticly with my Gamebase EP , the words inside the [ ] "square clip" (in german : eckige Klammer) , will be ignored.....
....and the [ ] itself, too.
So, the Name wich will be typed automaticly is :
4-es Jatek (19xx)(-)(hu)(PD).BAS
instead
4-es Jatek (19xx)(-)(hu)(PD)[basic].BAS
is there a way , to solve this problem ?
as i said before....i need to rename the files this way for TOSEC....
and many games (if not all) will have the [ ] in the complete gamefilename....
any idea ?
btw.
GEMUS-Command is :
Run_Emulator_Send_Keys([3]{Enter}[3]{F1}[-1][1]%gamepathfile%[-20]{Enter}[1]||50) _________________ GB done: Philips VG 5000, Sord-M5, Acorn Atom, Enterprise v1.00 |
|
| Back to top |
|
 |
.mad. Outstanding Member


Joined: 19 Jun 2005 Posts: 983 GB64-Points: 2763 Location: Lancashire, England
|
Posted: Wed Oct 05, 2011 6:33 pm Post subject: |
|
|
Hi Vicman,
As you know the sendkeys uses [ ] for commands.
[seconds to wait].
so it could be that tripping it out.
maybe it's also conflicting in the emulator, by having too many letters in the BAS filename, or "[]" are not valid in the EXOS filename.
have you tried running a file manually (not via gamebase).
using "[GAME].BAS" as the name.
then you will know for sure.
also i remember too many brackets causing me problems in the past.
so i just renamed all the TOSEC files, removing everything after the first "SPACE (".
i think your only way round it (at the moment) is to have....
the ZIP filename with all the TOSEC ()[] bumf.
4-es Jatek (19xx)(-)(hu)(PD)[basic].ZIP
with the normal filename enclosed.
4-es Jatek.BAS
or put each game .BAS file on it's own EXOS .DSK file. |
|
| Back to top |
|
 |
Vicman Cool Member


Joined: 12 May 2008 Posts: 239 GB64-Points: 240 Location: Germany
|
Posted: Wed Oct 05, 2011 6:52 pm Post subject: |
|
|
Hi .mad. ,
| .mad. wrote: |
As you know the sendkeys uses [ ] for commands. |
Yep that's the problem (i think)
| Quote: | | maybe it's also conflicting in the emulator, by having too many letters in the BAS filename, or "[]" are not valid in the EXOS filename. |
No, the problem is not the Emulator !
All works fine, when typing the gamepathfilename manually.....
| Quote: | i think your only way round it (at the moment) is to have....
the ZIP filename with all the TOSEC ()[] bumf.
4-es Jatek (19xx)(-)(hu)(PD)[basic].ZIP |
Yes, i know......
This way i use the "TOSEC" at the moment.....
But the Guy's from TOSEC want to have filenames with fullname & description
anyway, thanks for your ideas, mad !
I've also wrote to the TOSEC-Forum and post my Problem there...
Still waiting for an answer......
If they really want full name-description in the unzipped file,
i thought about using clrmame pro to make a DAT-File for the
Gamebase EP files....
Maybe Jimbo or K.C. have another solution _________________ GB done: Philips VG 5000, Sord-M5, Acorn Atom, Enterprise v1.00 |
|
| Back to top |
|
 |
.mad. Outstanding Member


Joined: 19 Jun 2005 Posts: 983 GB64-Points: 2763 Location: Lancashire, England
|
Posted: Thu Oct 06, 2011 6:35 am Post subject: |
|
|
just thought of something.
try using this in the emulators.ini
UseShortFilenames=1
it might try to load it in the emulator as "GAME~.BAS" |
|
| Back to top |
|
 |
Vicman Cool Member


Joined: 12 May 2008 Posts: 239 GB64-Points: 240 Location: Germany
|
Posted: Thu Oct 06, 2011 1:11 pm Post subject: |
|
|
Great idea, mad
I've just tested it on a few files, and it seems to work nice
Thank You again ! What would we do without you here on GB-Forum ?  _________________ GB done: Philips VG 5000, Sord-M5, Acorn Atom, Enterprise v1.00 |
|
| Back to top |
|
 |
|
|
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
|
|
|