ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.com Rules - Search - Register - Login curved edge
Folder Forum Index > Help and Support > [SOLVED]Return to Zork: Error when running from command line
[SOLVED]Return to Zork: Error when running from command line
  Author    Thread Reply to topic
SixOfTwelve



Joined: 04 Sep 2017
Posts: 2
[SOLVED]Return to Zork: Error when running from command line 

Hi everyone, long time user, first time poster here...

I've encountered the following problem on both my Windows 7 (32bit) machine and my Windows 10 computer:

When I try to run Return to Zork via command line, the screen goes black for a few seconds, then a window pops up with this message:

code:
Assertion failed!

Program: e:\emulators\scummvm\scummvm.exe
File: engines/made/made.cpp, Line 77

Expression: _gameid !=-1

Abort / Retry / Ignore




When I click on "Ignore", the game runs anyway.
When using the current 1.9.0 version, it does so without comment, when using the daily build, I get this additional message in a DOS window:
code:
Failed to query the CD TOC: 21



My scummvm.exe is in e:\emulators\scummvm\
The Return to Zork data files are in f:\roms\scummvm\rtz

This is the command line I use:
code:
e:\emulators\scummvm\scummvm --path=f:\roms\scummvm\rtz -f rtz



Similar use of the line with other scummvm titles works fine, for example
code:
e:\emulators\scummvm\scummvm --path=f:\roms\scummvm\lucas\fulltrtl -n -f ft

runs Full Throttle without complaint.

I've tried both my original CD version of Return to Zork as well as several other sources, including the floppy version. All of these work just fine when running them from inside the ScummVM GUI, so I obviously have all the correct data files, but all versions of the game get the same error when running them from the command line.
Am I missing an extra command line argument somewhere, or is the problem with line 77 in the above mentioned made.ccp? I'm not a programmer, so I'm afraid I couldn't make head nor tails out of the actual code.

Any help would be greatly appreciated.

Last edited by SixOfTwelve on Fri Sep 08, 2017 10:21 pm; edited 1 time in total
 Reply with quote  
Post Fri Sep 08, 2017 7:34 pm 
 View user's profile Send private message
criezy
ScummVM Developer


Joined: 23 Sep 2006
Posts: 456
Location: West Sussex, UK
 

I can reproduce the issue, but it works if I use made instead of rtz:

code:
e:\emulators\scummvm\scummvm --path=f:\roms\scummvm\rtz -f made


Or, if you have already added the game to ScummVM, and is thus listed in the launcher, you can get the game ID for it by looking at the game settings and use this. In such a case you don't even need to provide the path. For me the IS is rtz-cd:
code:
e:\emulators\scummvm\scummvm -f rtz-cd


 Reply with quote  
Post Fri Sep 08, 2017 8:47 pm 
 View user's profile Send private message
SixOfTwelve



Joined: 04 Sep 2017
Posts: 2
 

It worked! Thank you so much!

 Reply with quote  
Post Fri Sep 08, 2017 10:20 pm 
 View user's profile Send private message
  Display posts from previous:      
Reply to topic

Forum Jump:
 



Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Powered by phpBB © 2001, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge