Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 05-13-2008, 02:52 PM   #1
MatchNL
Junior Member
MatchNL is on a distinguished road
 
Posts: 4
Karma: 50
Join Date: May 2008
Device: iLiad 2nd Edition
New to this... Help with Nethack

I've been attempting to get the linux version of NETHACK to run on the iLiad (since it uses X11 libraries which I've been told should work fine).

I noticed (for programs like dillo and gargoyle) that you just need to make an .xml manifest document which points to run.sh to get programs to run on the iLiad.

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
MatchNL is offline   Reply With Quote
Old 05-20-2008, 04:23 PM   #2
NatCh
Gizmologist
NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.
 
NatCh's Avatar
 
Posts: 11,615
Karma: 929550
Join Date: Jan 2006
Location: Republic of Texas Embassy at Jackson, TN
Device: Pocketbook Touch HD3
I wish I could help you, but I can't.

However, I do think this is an absolutely nifty idea!

So here's a bump to bring it back to the top, at least.
NatCh is offline   Reply With Quote
Advert
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
Old 06-02-2008, 05:06 PM   #4
Ervserver
Wizard
Ervserver ought to be getting tired of karma fortunes by now.Ervserver ought to be getting tired of karma fortunes by now.Ervserver ought to be getting tired of karma fortunes by now.Ervserver ought to be getting tired of karma fortunes by now.Ervserver ought to be getting tired of karma fortunes by now.Ervserver ought to be getting tired of karma fortunes by now.Ervserver ought to be getting tired of karma fortunes by now.Ervserver ought to be getting tired of karma fortunes by now.Ervserver ought to be getting tired of karma fortunes by now.Ervserver ought to be getting tired of karma fortunes by now.Ervserver ought to be getting tired of karma fortunes by now.
 
Ervserver's Avatar
 
Posts: 2,624
Karma: 1008294
Join Date: Dec 2007
Location: Iowa, USA
Device: Nook Simple Touch
Hello MatchNL, I hope things will run smooth for you soon, great people here to help.
Ervserver is offline   Reply With Quote
Old 06-02-2008, 05:45 PM   #5
yokos
Pac-Man caught my iLiad.
yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.
 
yokos's Avatar
 
Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
The READMEs of Nethack are bit lengthy & tricky because the src for all the different kinds of systems is included in the tar.gz, it comes w/o a configure, so you have to edit [uncomment/change parameters] manually some Makefiles.
yokos is offline   Reply With Quote
Advert
Old 06-06-2008, 03:04 PM   #6
MatchNL
Junior Member
MatchNL is on a distinguished road
 
Posts: 4
Karma: 50
Join Date: May 2008
Device: iLiad 2nd Edition
A long road ahead...

Thanks for the help thus far, everyone! It looks like I have quite a bit of work ahead of me.

I suppose it'd be easier if I wasn't working from a Windows machine to begin with

Due to the refresh rate and the fact that Nethack (and other rogue-like games) are highly keyboard-dependent, I may ultimately decide to point my efforts in a different direction.

However, I'll give this a try so that I can at least say I got it working

MatchNL is offline   Reply With Quote
Reply


Forum Jump


All times are GMT -4. The time now is 11:52 AM.


MobileRead.com is a privately owned, operated and funded community.