i wish scummVM to display some text messages before running

General chat related to ScummVM, adventure gaming, and so on.

Moderator: ScummVM Team

Post Reply
UFO
Posts: 21
Joined: Sat Jun 23, 2012 6:56 pm

i wish scummVM to display some text messages before running

Post by UFO »

this is how i run games with batch files for DOSbox
@ECHO OFF
CLS
ECHO ==================
ECHO Prince of Persia 1
ECHO ==================
ECHO up + left = single left jump
ECHO left / up = run and jump to the left
ECHO SHIFT = walk/hang
ECHO.
ECHO SHIFT = draw and attack
ECHO SHIFT + up = block
ECHO.
ECHO SHIFT L = next level
ECHO SHIFT T = add lives
ECHO.
ECHO CTRL G = save
ECHO CTRL L = load only at intro
ECHO CTRL Q = quit
ECHO.
ECHO CTRL A = restart
ECHO CTRL R = new game
ECHO ====================================
ECHO.

choice /C:abcdefghijklmnoprstuvwxyz0123456789q /n "Q to quit or any other key to continue"
IF ErrorLevel 36 GOTO :END
GOTO :CONTINUE

:CONTINUE
prince megahit
:END
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
this is how i run games with summVM

SET D0=C:\SCUMMVM
SET D1=%D0%\scummvm.exe
SET D2=%D0%\scummvm.ini
SET V1=W:\ZZZ1\Simon the Sorcerer 1 - scummVM
SET V2=--auto-detect
ECHO %V1%
START "" "%D1%" -c "%D2%" -p "%V1%" %V2%

note : in actual, SET "V1=%~1" is fed by DOS style ZTREE file manager
------------------------------------------------------
but i would like to run scummVM like the way i did with DOSbox by showing the list of hotkeys as below 1st

CLS
M = music on/off
S = sound on/off
F1 = INCREASE TEXT SPEED
F3 = decrease TEXT SPEED
F2 = normal TEXT SPEED
F10 = hints
-/+ = volumes
ESC = cutscenes

Ctrl + 0-9 = load
Alt + 0-9 = save
Ctrl + F = move fast
pause

is there a way to implement this?
if there isn't
would it be possible to implement something like this as below

SET D0=C:\SCUMMVM
SET D1=%D0%\scummvm.exe
SET D2=%D0%\scummvm.ini
SET V1=W:\ZZZ1\Simon the Sorcerer 1 - scummVM
SET V2=--auto-detect

START "" "%D1%" -c "%D2%" -p "%V1%" %V2% -text "c:\simon1\scummVM-some-default-named-text-MSG.txt"
User avatar
Praetorian
ScummVM Developer
Posts: 857
Joined: Tue May 08, 2007 8:54 am
Location: Greece
Contact:

Re: i wish scummVM to display some text messages before running

Post by Praetorian »

Couldn't you follow what you did for your Dosbox batch scripts, essentially preceding the command that launches ScummVM with a series of echo messages (or maybe you could do a "type text.txt" to print out the contents of a text.txt file), then stopping to offer the choice to continue or quit (like in your batch scripts) and if they continue, then launch ScummVM.
UFO
Posts: 21
Joined: Sat Jun 23, 2012 6:56 pm

Re: i wish scummVM to display some text messages before running

Post by UFO »

>Couldn't you follow what you did for your Dosbox batch scripts... essentially preceding the command....
I cant believe that my brain was blocked for this, it was the easiest way to solve , all i had to do was include 3 lines
thanks for clearing my head, sometimes i need to talk about it just a little more. i know why i had this trouble, scummVM.bat was not an independent batch file, it was the part of ZTREE's integrated batch function, so i didnt think about why i needed to modify the ZTREE's integrated batch function

CLS
TYPE "%ANS%\ZZ.TXT"
PAUSE

SET D0=C:\UTILITY\SCUMMVM
SET D1=%D0%\scummvm.exe
SET D2=%D0%\scummvm.ini
SET V1=%ANS%
SET V2=--auto-detect
ECHO %V1%
START "" "%D1%" -c "%D2%" -p "%V1%" %V2%
Post Reply