Error: pack_fopen: unable to change datafile

Started by Montano, Wed 14/07/2010 18:53:11

Previous topic - Next topic

Montano

I'm having a problem with my compiled game.  The game tests fine before I build the .EXE, but afterwards i get the following error:

---------------------------
Adventure Game Studio
---------------------------
An internal error has occurred. Please note down the following information.
If the problem persists, post the details on the AGS Technical Forum.
(ACI version 3.12.1074)

Error: pack_fopen: unable to change datafile: not found: D:\Game\BA2\Compiled\BA2.exe

I saw in the other threads about this error that non-ASCII characters or long file/folder names can cause problems, but my game has none of these.

I would appreciate any insight.

Gilbert

Maybe there're such characters in your "My Documents" folder? As recent versions of AGS would create save games (among other things) there, so it may cause some problems. What language are your Windows in?

The path problem seems to be fixed in the newest (not-released-yet) version though. You may try 3.2 Final 5 and check whether your problem persists. (Right, V3.2 is not officially released yet, but I think it's stable enough for one to upgrade to in case there is some problems from previous versions. Always back up the game files before upgrading of course.)

Montano

C:\Documents and Settings\Lev.LEVI\My Documents

is the path for the "My Documents" folder.  My version of Windows is in English.  I did try loading it with 3.2 Final 5, but it doesn't seem stable enough.  A lot of stuff (Icon bar, Inventory window) doesn't show up at all when I tried to test my game.

Montano

Just finished trying to compile it with 3.2 and still got the same error. :(

Montano

I didn't mention that I started creating the game in version 3.0 and upgraded to 3.1 a little while before I finished it.  Could that have anything to do with it?

Pumaman

Hmm, this is strange. Which version of Windows are you running?
Does this error happen immediately at startup, or later on during the game?

Montano

I'm running windows XP home SP 3.  The error happens right when I try to launch the game.  Works fine when I run it from the editor, but after I compile and try to run it I get the error.

Pumaman

Hmm, strange. Has anyone else had a problem like this?

SMF spam blocked by CleanTalk