A rather complicated explanation of my problem but here goes.
I recently bought an asus eeepc and decided after playing with linux for a bit to install an n-lited version of xp ie stripped down to the basics. I can run scummvm 0.7.1.0 perfectly except for the fact that I want to use compressed sound files for various games. Now I've tried running them through this but it appears this old scummvm version doesn't play them. So I tried installing the latest scummvm 0.11.0 which didn't work and also 0.10.0. The install works fine but when I go to run scummvm the screen flashes up and goes. I went through command prompt to see exactly what this error was and it came up with "Unable to access application data directory". I've searched for any common occurences and fixes for this with no results. I may be a complete idiot and it could be a simple fix but any help would be greatly appretiated.
Cheers
Compatibility issue
Moderator: ScummVM Team
- eriktorbjorn
- ScummVM Developer
- Posts: 3525
- Joined: Mon Oct 31, 2005 7:39 am
Re: Compatibility issue
The good news is that there's only one case where ScummVM produces that error, and that's when loading the default configuration file:Feenixs wrote:"Unable to access application data directory". I've searched for any common occurences and fixes for this with no results.
Code: Select all
// Check for non-9X version of Windows.
if (win32OsVersion.dwPlatformId != VER_PLATFORM_WIN32_WINDOWS) {
// Use the Application Data directory of the user profile.
if (win32OsVersion.dwMajorVersion >= 5) {
if (!GetEnvironmentVariable("APPDATA", configFile, sizeof(configFile)))
error("Unable to access application data directory");
} else {
I haven't tried running ScummVM on it, though.
Well I think I've found the problem from what you've said. When I try echo %APPDATA% it responds with %APPDATA%. Apparently this is sometimes a bug with various OSs. Now the problem is fixing it, I've tried the microsoft workaround for it but doesn't appear to do anything. How on earth do I get %APPDATA% forwarding to the right folder?!
Argh!
Argh!
I don't suppose you need me telling you that, but those stripped down versions of Windows ARE well-known to produce bugs of varying exocity and beautifulness when trying to run seemingly innocent software on them simply because something in them was stripped out way too far, or left a hole that wasn't properly plugged. Just a pointer at the most possible reason.install an n-lited version of xp ie stripped down to the basics.
Try a different build if you can get your hands on one.
I think for me a different build is the only answer really If this does happen to anyone else try http://support.microsoft.com/kb/329308 and see if that fixes it.
Yesterday I had the same issue on a fresh N-Lited XP. My solution was just to manually add the environment variable "APPDATA" to my user pointing to C:\Documents and Settings\my username\Application Data.
Now echo %APPDATA% outputs the right directory and Scumm works as it should...
Btw, Microsoft fix did not work.
Now echo %APPDATA% outputs the right directory and Scumm works as it should...
Btw, Microsoft fix did not work.
Re: Compatibility issue
Hi Yeah I've been looking at how to fix this but these are all for old OSs and Im having the same problem on my Windows 7 computer, what should I be doing to fix this? Its such a pain in the arse. Thanks xFeenixs wrote:A rather complicated explanation of my problem but here goes.
I recently bought an asus eeepc and decided after playing with linux for a bit to install an n-lited version of xp ie stripped down to the basics. I can run scummvm 0.7.1.0 perfectly except for the fact that I want to use compressed sound files for various games. Now I've tried running them through this but it appears this old scummvm version doesn't play them. So I tried installing the latest scummvm 0.11.0 which didn't work and also 0.10.0. The install works fine but when I go to run scummvm the screen flashes up and goes. I went through command prompt to see exactly what this error was and it came up with "Unable to access application data directory". I've searched for any common occurences and fixes for this with no results. I may be a complete idiot and it could be a simple fix but any help would be greatly appretiated.
Cheers