I'm trying to run ultima 6 and getting the following error on startup.
error couldn't find the default key setting at trying defaultkeys.txt in the data directory
The file is there and there is key information in it. How do I fix this error and run the game?
Thanks for any help!
Edit: Its the ultima collection on windows 10 if this helps.
How to fix: Ultima 6 defaultkeys.txt error?
Moderator: ScummVM Team
- dreammaster
- ScummVM Developer
- Posts: 559
- Joined: Fri Nov 04, 2005 2:16 am
- Location: San Jose, California, USA
Re: How to fix: Ultima 6 defaultkeys.txt error?
The most likely cause is somehow a corrupted scummvm.ini. Either try deleting it and let it get recreated, or check the section in it for ultima6 and ensure there isn't a "keys" line present
Re: How to fix: Ultima 6 defaultkeys.txt error?
Where is this file scummvm.ini? I don't see it in scummvm or ultima 6?
Edit: I found it. Here is the ultima 6 part:
[ultima6_enh]
filtering=false
description=Ultima VI - The False Prophet - Enhanced (DOS/English)
path=C:\Games\UC\Ultima6\
engineid=ultima
fullscreen=true
gameid=ultima6_enh
language=en
platform=pc
aspect_ratio=false
guioptions=lang_English
I don't see anything about keys. Am I missing something?
Edit 2: I tryed deleting that part of scummvm.ini and its the only game with issues. Even ultima 8 works. I have a lot of others there too that work. Any ideas?
Edit: I found it. Here is the ultima 6 part:
[ultima6_enh]
filtering=false
description=Ultima VI - The False Prophet - Enhanced (DOS/English)
path=C:\Games\UC\Ultima6\
engineid=ultima
fullscreen=true
gameid=ultima6_enh
language=en
platform=pc
aspect_ratio=false
guioptions=lang_English
I don't see anything about keys. Am I missing something?
Edit 2: I tryed deleting that part of scummvm.ini and its the only game with issues. Even ultima 8 works. I have a lot of others there too that work. Any ideas?
- dreammaster
- ScummVM Developer
- Posts: 559
- Joined: Fri Nov 04, 2005 2:16 am
- Location: San Jose, California, USA
Re: How to fix: Ultima 6 defaultkeys.txt error?
Okay, that seems okay. You don't by any chance have an old copy of nuvie.cfg lying around in either the game folder or ScummVM folder? If so, that would also override the default. Worst case, I've committed in a change to make the error just a warning, though it would mean you'd need to play using a daily build rather than the just released 2.2 version.
Re: How to fix: Ultima 6 defaultkeys.txt error?
I did have that file in there as I was trying to use nuvie to play before your update. It didn't work either as it crashed on startup.
I removed the file and now it crashes on startup with this:
Error loading data scripts u6 init.lua
init.lua is in the u6/data/scripts folder.
Any ideas?
I removed the file and now it crashes on startup with this:
Error loading data scripts u6 init.lua
init.lua is in the u6/data/scripts folder.
Any ideas?
- dreammaster
- ScummVM Developer
- Posts: 559
- Joined: Fri Nov 04, 2005 2:16 am
- Location: San Jose, California, USA
Re: How to fix: Ultima 6 defaultkeys.txt error?
I'm somewhat flummoxed as to what could be causing this error. init.lua is a script file that's part of the ultima.dat (in reality a zip file) resource file that's automatically packaged into the ScummVM executable in release builds. All I can suggest is to make sure that you really are running the official 2.2.0 release (look at the title in the ScummVM launcher), and you don't have any copies of ultima.dat lying around that could be superceding the one in the executable. If it's still not working, try getting a copy of ultima.dat from here, and put it in the game folder, see if it makes any difference.
Re: How to fix: Ultima 6 defaultkeys.txt error?
Well I found the problem. I downloaded another copy and it worked. I deleted the collection ultima 6 install and reinstalled and it works. The only difference is nuvie was never installed this time. So apparently there are more files in nuvie that will stop it from working if its used before using scummvm.
Thanks for the help. I use scummvm on everything I can. Thanks for the hard work. Now all we need is ultima 7 support.
Thanks for the help. I use scummvm on everything I can. Thanks for the hard work. Now all we need is ultima 7 support.
- dreammaster
- ScummVM Developer
- Posts: 559
- Joined: Fri Nov 04, 2005 2:16 am
- Location: San Jose, California, USA