View Single Post
Old 06-02-2008, 04:29 PM   #3
Antartica
Evangelist
Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.
 
Antartica's Avatar
 
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
Quote:
Originally Posted by MatchNL View Post
Is this the case? Is there more to it? How do I know which libraries to include?

Or, better yet, if anyone out there wants to post how to get Nethack to run on the iLiad, please do.

Any help would be appreciated as I'm entirely new to Linux development
First of all, you should download the development vmware image that AdamB prepared (the sticky thread in this sub-forum).

With that you should be able to compile NetHack.

For more instructions, you can follow the guide in:

https://wiki.mobileread.com/wiki/Iliad_unofficial_toolchain

Those instructions are based on the helper scripts included in the vmware image, that include:
dl-and-install.sh for downloading the sources of a program from the debian repository; you only have to pass as a parameter the final executable of the program, the script hunts the source package using the database at debian website.
lib-gen.sh that gets the necessary libraries for the iliad
run-gen.sh that generates the manifest and the run.sh script.

That is to get the barebones of the program working. If the program has datafiles or configuration files, you will have to include them in your "package" and tinker with the run.sh script to make the program use them in the paths you have put them.

Apart from that, it you want the program to get key input, you will need to change the wmclass of the main window to "sh". You can find more information about this in this post:
https://www.mobileread.com/forums/sho...77&postcount=7

Basically that it is.

If/when you find more problems, ask again. Sometimes we're late replying, but if you bug enough in the forums, someone will reply for sure

Good luck!
Antartica is offline   Reply With Quote