Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0004146Dwarf FortressTechnical -- Generalpublic2011-03-06 12:372014-09-23 12:08
kaosdrachen 
Footkerchief 
normalcrashalways
resolvedno change required 
Debian 'Sid' 64Bit x86Debian LinuxSid amd64
0.31.20 
 
0004146: Game unable to start due to "main index file missing/corrupted"
This bug originates in 0.31.19; .18 worked fine.

When trying to start the game, after it loads the keybindings from data/init/interface.txt it exits with the following dialog message:

FATAL ERROR
Main index file missing/corrupted. The file "index" must be in the "data" folder. Make sure DF decompressed into its folders properly.


1) Install Dwarf Fortress on a 64-bit linux system
2) copy over 32-bit variants of the libraries it needs into df_linux/lib until it no longer fails on missing libraries.
3) Attempt to launch the game.

According to MD5 checksums, the index file is identical to one on a different 32-bit linux install which works fine.
0.31.19, 0.31.20, 64-bit, linux
duplicate of 0003780resolved Footkerchief Dwarf Fortress won't install 
Issue History
2011-03-06 12:37kaosdrachenNew Issue
2011-03-06 12:40FootkerchiefNote Added: 0015834
2011-03-06 12:41FootkerchiefTag Attached: AWAITING UPDATE
2011-03-06 12:54kaosdrachenNote Added: 0015836
2011-03-06 12:55kaosdrachenTag Attached: 0.31.19
2011-03-06 12:55kaosdrachenTag Attached: 64-bit
2011-03-06 12:55kaosdrachenTag Attached: 0.31.20
2011-03-06 12:55kaosdrachenTag Attached: linux
2011-03-06 13:06FootkerchiefNote Added: 0015837
2011-03-06 13:18kaosdrachenNote Added: 0015838
2011-03-06 13:21FootkerchiefNote Added: 0015839
2011-03-06 13:23kaosdrachenNote Added: 0015840
2011-03-06 13:26kaosdrachenNote Added: 0015841
2011-03-06 13:27FootkerchiefStatusnew => resolved
2011-03-06 13:27FootkerchiefResolutionopen => no change required
2011-03-06 13:27FootkerchiefAssigned To => Footkerchief
2011-03-09 04:50DwarfuTag Detached: AWAITING UPDATE
2014-09-23 12:08FootkerchiefRelationship addedduplicate of 0003780

Notes
(0015834)
Footkerchief   
2011-03-06 12:40   
Reminder sent to: kaosdrachen

Did you unzip a new version of the game on top of a previous installation?
(0015836)
kaosdrachen   
2011-03-06 12:54   
No, I explicitly renamed the existing (working) version to df_old before unpacking the new version to its own directory.
(0015837)
Footkerchief   
2011-03-06 13:06   
Have you tried installing the libraries on your system instead of copying them into df_linux/lib? I don't know if copying libraries into there is recommended.
(0015838)
kaosdrachen   
2011-03-06 13:18   
The libraries aren't the problem. If they were the binary wouldn't be able to even execute because of missing/incompatible symbols.

The game starts, reads its config files, tries to read data/index and throws up the above error.
(0015839)
Footkerchief   
2011-03-06 13:21   
I didn't mean that libraries are executing incorrectly, I meant that the index file seems to function as a manifest and you may be throwing it off by including new files in the lib folder. Try installing them with your system libs instead.
(0015840)
kaosdrachen   
2011-03-06 13:23   
If it's a manifest, is there a way to rebuild it in situ?
(0015841)
kaosdrachen   
2011-03-06 13:26   
Copying the index file from the old DF seems to have worked, although it is complaining a lot about missing keybinds and the escape key doesn't seem to interrupt the intro movie anymore.