Difference between revisions of "Forum:Help finding .dat file"
Jump to navigation
Jump to search
(Help... I need help locating files...) |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 8: | Line 8: | ||
[[User:A Person|A Person]] ([[User talk:A Person|talk]]) 01:00, 10 April 2015 (UTC) | [[User:A Person|A Person]] ([[User talk:A Person|talk]]) 01:00, 10 April 2015 (UTC) | ||
+ | :You don't. the <tt>nhdat</tt> -file contains multiple data files, but it doesn't contain the plain text des-files, but binary lev-files compiled with lev_comp. --[[User:Paxed|paxed]] ([[User talk:Paxed|talk]]) 04:00, 10 April 2015 (UTC) | ||
+ | |||
+ | :By "through apt-get install" ... if you got it simply through "sudo apt-get install nethack", then you presumably have the binaries. If you want to modify it, you'd need the source code, and the ability to compile it. --[[User:HarJIT|HarJIT]] ([[User talk:HarJIT|talk]]) 17:30, 17 April 2015 (UTC) | ||
+ | |||
+ | How do you find the plain text files then? | ||
+ | |||
+ | <small>---- Preceding unsigned comment added by [[User:A Person|A Person]] ([[User talk:A Person|talk]])</small> | ||
+ | |||
+ | :They are in the source code distribution available from the NetHack website in the nethack-3.4.3/dat/ folder. If you modify them, you will need to compile your modified NetHack yourself for to use them. --[[User:HarJIT|HarJIT]] ([[User talk:HarJIT|talk]]) 17:26, 17 April 2015 (UTC) |
Latest revision as of 17:30, 17 April 2015
I am pretty new at looking at the code for NetHack, so I need some help. How do I access the dat file with all of the .des files in it? For background information, I have NetHack through apt-get install on a Linux system. Thanks!
A Person (talk) 01:00, 10 April 2015 (UTC)
- You don't. the nhdat -file contains multiple data files, but it doesn't contain the plain text des-files, but binary lev-files compiled with lev_comp. --paxed (talk) 04:00, 10 April 2015 (UTC)
- By "through apt-get install" ... if you got it simply through "sudo apt-get install nethack", then you presumably have the binaries. If you want to modify it, you'd need the source code, and the ability to compile it. --HarJIT (talk) 17:30, 17 April 2015 (UTC)
How do you find the plain text files then?