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

New GB version coming... feature requests, anyone?

Discuss GameBase, the Universal Emulator Frontend!

Moderator: Jimbo

Jimbo
GB64 Team
Posts: 256
Joined: Tue Nov 16, 2004 3:50 pm

Mon Mar 15, 2010 4:17 pm

hrmes wrote:Run_Emulator_Send_Keys([2]%autotype_value%~||80)

in the first case I get cloadrun on screen and in the second I get run£2disc` in both cases without enter.

In the second case it seems that '+2' is also not parsed correctly when using a key value as it should give a quote character. '+2' however is parsed correctly however when given directly without using key values.
What is %autotype_value% set to exactly? autotype=+2 ?

And as K.C. said, ~ has been removed as the enter key. Use {ENTER} instead.
hrmes
New Member
Posts: 29
Joined: Thu Jan 24, 2008 9:49 am

Mon Mar 15, 2010 4:31 pm

Sorry, forgot to mention it, autotype_value=run+2disc
Jimbo
GB64 Team
Posts: 256
Joined: Tue Nov 16, 2004 3:50 pm

Mon Mar 15, 2010 6:21 pm

The key=values are parsed the same way the other gemus environment vars are parsed (e.g. %gamepathfile%) meaning that NO replacements are made. This is so that if there is a shift/alt/ctrl character present in the string (e.g. +, ^, % etc) they will be treated as that character, and won't affect the character following it.

So... autotype=run"disk works.

I think it might be worth parsing the literal characters in the key=values though, else there's no way you can specify {ENTER} etc.

I can't parse the other environment vars, for the risk of replacing some literal +, % or ^ chars which would affect the char following it, e.g. c:\gbgame\0\foo%123.zip.

So maybe the answer is to leave all environment vars so they are not parsed, but to parse the literal characters in the k=v values. This way, you could do stuff like this: -

autotype=run +2%gamepathfile%+2{ENTER}


Unless I'm missing something, I think this should work.
hrmes
New Member
Posts: 29
Joined: Thu Jan 24, 2008 9:49 am

Mon Mar 15, 2010 6:58 pm

I agree that only key values should be parsed.
Unfortunately run"disk comes out as run+disk in WinAPE because it seems that the chars in the given key are interpreted as key positions, and pressing the " key, at least in my keyboard (English US keymap), results in + appearing in WinAPE.
So to get run"disk in WinAPE you have to give run@disk
Deleauvive
New Member
Contact:
Location: France
Posts: 9
Joined: Sat Aug 29, 2009 11:41 am

Thu Mar 18, 2010 6:38 am

Hi,


I (NewDeli on EAB) finally had the chance to try out the beta (it's included with the latest GBCPC, a Gamebase for the CPC you may have heard of). Nice multi-column mode & most-welcomed additional features !

EDIT : Features request moved
Last edited by Deleauvive on Thu Mar 18, 2010 9:33 am, edited 2 times in total.
Jimbo
GB64 Team
Posts: 256
Joined: Tue Nov 16, 2004 3:50 pm

Thu Mar 18, 2010 7:40 am

Hi, you have good feature requests, but please add them to this thread as I'm only fixing bugs now in v1.3.

Thanks
Deleauvive
New Member
Contact:
Location: France
Posts: 9
Joined: Sat Aug 29, 2009 11:41 am

Thu Mar 18, 2010 9:31 am

Good morning !

Ok, done so. Bon courage for the bugfixes.
Jimbo
GB64 Team
Posts: 256
Joined: Tue Nov 16, 2004 3:50 pm

Thu Mar 18, 2010 7:51 pm

Can those on Vista and Windows7 please try the following. Open notepad.exe, paste in the following text, then save it as GameBase.exe.manifest in your GB folder): -

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> 
    <assemblyIdentity version="1.0.0.0"
	processorArchitecture="X86"
	name="GameBase"
	type="win32"/> 
<description>elevate execution level</description> 
   <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
      <security>
         <requestedPrivileges>
            <requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>
         </requestedPrivileges>
      </security>
   </trustInfo>
</assembly>
Then try and run GB as a normal user. I'm hoping it requests administrative privileges. If it works, maybe I should include this file in v1.3.

let me know, thanks!
chrismcd
New Member
Posts: 19
Joined: Mon Jun 01, 2009 12:05 am

Thu Mar 18, 2010 10:34 pm

I can confirm that the UAC pops up after I made that GameBase.exe.manifest file

Running Win 7 32bit here


Chris
hrmes
New Member
Posts: 29
Joined: Thu Jan 24, 2008 9:49 am

Fri Mar 19, 2010 2:53 pm

On the other hand people like me who have UAC disabled because they rely on 3rd party software (Comodo Firewall, Symantec Endpoint Protection) don't notice anything.
Running Windows 7 64bit.
Flarp
Keen Member
Keen Member
Posts: 105
Joined: Tue Aug 10, 2004 1:43 pm

Bug in newest Beta using win7 64bit

Fri Mar 19, 2010 6:08 pm

I'm using Win7 64bit and in one of my gamebase projects when I have any picture, named anything that is in .jpg format in my "screenshots" folder and then I have the same file with the same exact name in .jpg format also saved in my "extras" folder and then in my "posters" folder.. I get the following problem.

Both the files, the "screenshot" and the "poster" pics show on the right hand column at the same time.. 1 under the other. I want the "screenshot" pic to show there.. but i don't want the "poster" pic to show there.. I want the "poster" pic to show up only if I click on it under the extras tab or where it says "poster" in the new extras column on the left hand side. Hopefully I explained this well enough so you know what I mean.
Jimbo
GB64 Team
Posts: 256
Joined: Tue Nov 16, 2004 3:50 pm

Fri Mar 19, 2010 6:25 pm

does this happen when you untick "also show picture extras" in options?
Jimbo
GB64 Team
Posts: 256
Joined: Tue Nov 16, 2004 3:50 pm

Fri Mar 19, 2010 6:31 pm

hrmes wrote:On the other hand people like me who have UAC disabled because they rely on 3rd party software (Comodo Firewall, Symantec Endpoint Protection) don't notice anything.
Running Windows 7 64bit.
So if you run GB as a normal user, does it crash? or does your 3rd party software elevate the permissions?
Flarp
Keen Member
Keen Member
Posts: 105
Joined: Tue Aug 10, 2004 1:43 pm

Fri Mar 19, 2010 7:06 pm

I unticked the box you said under "options" and it fixed my problem.. thank you very much.
hrmes
New Member
Posts: 29
Joined: Thu Jan 24, 2008 9:49 am

Fri Mar 19, 2010 8:23 pm

Jimbo wrote: So if you run GB as a normal user, does it crash? or does your 3rd party software elevate the permissions?
No it doesn't crash, and I don't get any warnings from the firewall or antivirus. This may be because GameBase has already been used and is considered a legitimate program by the firewall and antivirus.

Return to “The GameBase Frontend”

Who is online

Users browsing this forum: Ahrefs [Bot] and 5 guests