Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: T-Pr on Sun 20/06/2010 19:34:55

Title: Error: pack_fopen: unable to change datafile [ SOLVED ]
Post by: T-Pr on Sun 20/06/2010 19:34:55
Hi guys , i know this question is asked before but the solution is not work on my game. When I open my game , i have an error that says ;

Error: pack_fopen: unable to change datafile: not found c:lablablablahaydutlar4.exe

like here ;

http://www.adventuregamestudio.co.uk/yabb/index.php?topic=37899.0

the same problem. But that guy solved problem by Rebuilding All , but i tried  build exe and then Rebuild All , but always the same problem in other pc , is there any solution ?
Title: Re: Error: pack_fopen: unable to change datafile [ Different ]
Post by: RickJ on Mon 21/06/2010 11:06:42
What are the actual folder and exe names?  You do know there is a length restriction on the folder name? (either 8 or 12 chars)
Title: Re: Error: pack_fopen: unable to change datafile [ Different ]
Post by: T-Pr on Mon 21/06/2010 11:19:16
Here ;

C:\Users\Inan\Documents\Haydutlar 4\Compiled\Haydutlar4.exe

Can this destination make trouble ?
Title: Re: Error: pack_fopen: unable to change datafile [ Different ]
Post by: Crimson Wizard on Mon 21/06/2010 11:43:05
Can be this because of space in "Haydutlar 4" folder name?
Title: Re: Error: pack_fopen: unable to change datafile [ Different ]
Post by: T-Pr on Mon 21/06/2010 15:59:56
Possible , but i can play it on my pc , when i transfer it to other pc it must work becausethe destination will change ,there won't be any Haydutlar(space)4 file ,  i'm not transfering the whole game file , just compiled file. Also , i tried to make a new game and put all the files into it , it didn't work again.
Title: Re: Error: pack_fopen: unable to change datafile [ Different ]
Post by: Pumaman on Fri 25/06/2010 14:16:52
There is a known issue with 3.1.2 if the path contains non-ASCII characters (such as Turkish letters), this shoudl be resolved in AGS 3.2.

If you make a directory like C:\GAME and put the compiled files in there, do you still get the errors?
Title: Re: Error: pack_fopen: unable to change datafile [ SOLVED ]
Post by: T-Pr on Fri 25/06/2010 14:28:27
OMG , thanks a lot  , really thank you , i released the game and some people had problem , and they can solve this problem now , i 'm making a version of my game which has install which installs it to Program Files . Thank you a lot  again :).