VB6 frontend command line

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
krum
Posts: 11
Joined: Mon May 15, 2006 4:12 am

VB6 frontend command line

Post by krum »

ok I am making a multi-useage frontend for all may games in general.

I am having trouble running the games in ScummVM via command line.

my code looks something like this....

Code: Select all

private sub command1_click()

'Quotations (")
vbquote = chr(34)

'command line
shell (vbquote & "Scummvm Dir" & vbquote & " -Parms" & vbquote & "Game Dir" & vbquote)

end sub
if you are dumb to VB this is a little lesson (") quotes wont show up you have to make em show up with 'vbquote' this is so I can have spaces in my dirs it will look like this.

command line execute:

Code: Select all

"ScummVM Dir" -Parms"Game Dir"

"C:\scummvm\Scummvm.exe" -p"C:\Lucasarts\Loom (cd)\"
now I have tried it like that and like this:

Code: Select all

"C:\scummvm\Scummvm.exe" -p"C:\Lucasarts\Loom (cd)\" Loom
like it stated in the readme (yes I looked at it :-P)

I am puzzled I can get any other program to work like this just fine but scummVM is giving me problems, can anyone give me a helping hand?
User avatar
sev
ScummVM Lead
Posts: 2306
Joined: Wed Sep 21, 2005 1:06 pm
Contact:

Re: VB6 frontend command line

Post by sev »

krum wrote:

Code: Select all

"C:\scummvm\Scummvm.exe" -p"C:\Lucasarts\Loom (cd)" Loom
like it stated in the readme (yes I looked at it :-P)

I am puzzled I can get any other program to work like this just fine but scummVM is giving me problems, can anyone give me a helping hand?
Proper would be:

Code: Select all

"C:\scummvm\Scummvm.exe" "-pC:\Lucasarts\Loom (cd)" Loom

Eugene
krum
Posts: 11
Joined: Mon May 15, 2006 4:12 am

LIFE SAVER

Post by krum »

you are a life saver thanks, 2 stupid mistakes :-P

works GREAT thanks!
Post Reply