Opened 19 years ago

Closed 19 years ago

Last modified 6 years ago

#2577 closed defect (fixed)

ALL: Crash on Win32 when starting a game

Reported by: SF/martin_gore Owned by: fingolfin
Priority: blocker Component: Port: Win32
Version: Keywords:
Cc: Game:

Description

I downloaded the latest CVS Win32 Installer build (4/25/06). The new GUI menu starts up just fine (looks nice btw). However, when I try to 'start' any game, the program just exits without any messages/warnings. I switched back to the baseline build (0.8.2) and I can start the games as normal.

I've verified the paths, checked the options, everything looks in order -- for some reason, this build just exits.

My system: P4 3.4Ghz 2GB RAM, nvidia 6600GT. WinXP Home.

Hope this helps. MG

Ticket imported from: #1476651. Ticket imported from: bugs/2577.

Change History (11)

comment:1 by Kirben, 19 years ago

ScummVM attempts to open a directory as a file, to check if the directory is valid, but this fails under Windows.

Assigning to _sev, who made that change.

comment:2 by Kirben, 19 years ago

Owner: set to sev-
Priority: normalblocker

comment:3 by SF/andrej4000, 19 years ago

A possible workaround is my patch #1476692.

comment:4 by fingolfin, 19 years ago

File::exists is very badly implemented, did I mention that? :-).

comment:5 by fingolfin, 19 years ago

Summary: ScummVM crashes when I start a game ...ALL: Crash on Win32 when starting a game

comment:6 by fingolfin, 19 years ago

I reimplemented File::exists correctly. This should hopefully help with this issue, please give it a try :-).

comment:7 by fingolfin, 19 years ago

Owner: changed from sev- to fingolfin

comment:8 by fingolfin, 19 years ago

My changes to File::exists were bogus. Of course the true problem was that base/main.cpp used File::exists to check for the presence of a directory specified through an absolute path.

Instead, base/main.cpp now correctly uses FilesystemNode, which fixes the issue, at least over here. Please give it a try.

comment:9 by Kirben, 19 years ago

Resolution: fixed
Status: newclosed

comment:10 by Kirben, 19 years ago

Starting games in ScummVM under Windows works fine now.

comment:11 by digitall, 6 years ago

Component: --Unset--Port: Win32
Note: See TracTickets for help on using tickets.