maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Ancient Domains of Mystery (https://talk.maemo.org/showthread.php?t=70484)

Addison 2011-03-01 06:17

Ancient Domains of Mystery
 
Hey all.

If you enjoy D & D or rogue games, this here will be quite the awesome treat for you. :)

You'll first need to have ROXterm, Open SSH, Sudser, and have root access.

Download and unzip to /media/mmc2/

http://www.mediafire.com/?6bhb9e36n12y3e3

It should look like this on your card /media/mmc2/N800/ADOM

Open the ADOM install file, select all, copy, then paste in Xterm.

To launch, it will be
roxterm -f
then type adom

If you want to quick launch this you can enter adom for the Custom command under Edit Current Profile in Roxterm.


Hardware keys:

Zoom out = minus, change targeting, previous page
Zoom in = plus, change targeting, next page
Full Screen = Removes virtual keyboard for two seconds. Sometimes the two keyboards overlap in the wrong order or sometimes you just need to check the status of your character on the very bottom of the screen.

D-Pad = Directions
Center D-Pad = Walk
So for faster gameplay, just press Center D-Pad then the direction you want your character to go.

Escape = Beserk tactics
Menu = Normal tactics
Home = Coward tactics

These can all be custom changed by editing the following two files:
/user/share/.xbindkeys_adom
/user/share/.Xmodmap_adom



In case something bad happens, like you lose your internet connection, there are two ways you can immediately get out of ROXterm:
CTRL - a
CTRL - z


Also, once you've created an account with your login name and password, you'll want to edit this file:
/usr/bin/adom
to change the login name.

You can edit the coloring in the file:
/usr/share/roxterm/Config/Colours/GTK

If you ever power down or reset your tablet, copy and paste the file Restore keyboards from /media/mmc2/N800/Keyboards/ into Xterm. This has to only be done once after every time you either power down or reset your N800.


Screenies:
http://img819.imageshack.us/img819/5769/44164163.png

http://img836.imageshack.us/img836/1497/70143926.png

http://img694.imageshack.us/img694/5025/57572238.png


It would be great if I got at least one tester on this.

By the way, in this version, there's also a multiplayer feature too which I would love to check out with somebody. :)

Addison 2011-03-03 10:13

Re: Ancient Domains of Mystery
 
Not even a single tester?

Poopers. :(

*lol*

Oh well. I do understand that this post is something like 4 years much too late. :D

At least I have the files on the internet now in case my memory card ever squibs. :)

jwernerny 2011-03-03 18:22

Re: Ancient Domains of Mystery
 
I may test it soon, I'm still trying out Diablo Turbo.

Does it really need roxterm, or will xterm (not osso-xterm) work?

- John

Addison 2011-03-04 01:00

Re: Ancient Domains of Mystery
 
Hey John.

The truth is, you don't need any of this crud except for Open SSH.

Here's the breakdown on everything that is packaged with this.

Well first, ROXterm lets you use GTK coloring while Xterm doesn't. That's only the real reason for the extra install.

Libvte removes an invisible 1 pixel border on the screen. Without it, you'll have a 798x478 screen which means you would have to go with a smaller font without it.

Konwert filters lets you treat your terminal as if it were an IBM computer. So say if you were to play Nethack, you can now choose IBM graphics rather than just DEC. This looks so much better.

Custom font that fits perfectly on the screen. Also, it's the only one I know of which will work 100% if you ever go to a BBS site.

Virtual, touchscreen keyboard in case you're like me using an older N800 tablet.

Keybindings and scripts which make gameplay so much simpler.

And really, that's about it.

I personally can't imagine a better setup, but if you have any suggestions, I'm willing to hear them. :)

szopin 2012-10-06 19:19

Re: Ancient Domains of Mystery
 
Someone managed to get raspbian binary to run under android, happens to also work on maemo:

http://www.adom.de/forums/showthread...oid-(no-dosbox)

Addison: should also work on N8x0, speed pretty much the same as qemulating, smaller memory footprint. And no worries about qemu/lib compatibility I hope.

Addison 2012-10-07 07:04

Re: Ancient Domains of Mystery
 
After I unzipped it, I have one folder called libs and a file called run.

Where do I put this libs folder?

Also what permissions and owners do all of these files need to be inside of it?

So far, I'm getting the following errors.


./run: line 12: /usr/share/adom/libs/ld-2.13.so: Permission denied
./run: line 12: exec: /usr/share/adom/libs/ld-2.13.so: cannot execute: Success


Thanks ahead szopin. :)

Addison 2012-10-07 07:51

Re: Ancient Domains of Mystery
 
I keep forgetting that I need to stop unzipping files from my SD card. *lol*

Okay. So I unzipped everything from /usr/share/

I'm getting this following error now.

FATAL: kernel too old

Any ideas? :)

lma 2012-10-07 08:13

Re: Ancient Domains of Mystery
 
Quote:

Originally Posted by Addison (Post 1277500)
FATAL: kernel too old

That message comes from glibc. I guess this binary is statically linked with a version incompatible with the Diablo kernel so it looks like a lost cause :-(

Addison 2012-10-07 08:29

Re: Ancient Domains of Mystery
 
Ah nuts.

So I guess I did everything correctly but it's just not possible to run on the older tablet?

Oh well.

Oh hell. :)

szopin 2012-10-07 13:00

Re: Ancient Domains of Mystery
 
Bummer... Not sure if it is adom binary fataling out, or maybe the provided libc-2.13.so that is too new. Managed to run the adom binary on N900's ld-2.5/libc by modifying the run file to this:
Code:

scr=`readlink -f $0`
if [ $? != 0 ]; then
  echo No busybox, you must run this from the adom directory
  dir=$PWD
else
  dir=`dirname $scr`
fi

lib=/lib
export HOME=$dir
export TERMINFO=$lib/terminfo
exec $lib/ld-2.5.so --library-path $lib $dir/adom

Make sure ld-2.5.so is so named in diablo, (running 'ls /lib/ld*' should tell you that, change the last line accordingly) libs folder can be deleted at this point, so only files needed are run script and adom raspbian binary. When trying to run it cried missing libtinfo.so, symlink to libncurses did the trick:
Code:

cd /lib
sudo ln -s libncurses.so.5 libtinfo.so.5

At this point 'run' managed to start adom with only maemo libs I believe. Probably won't help, but maybe worth a shot


All times are GMT. The time now is 22:50.

vBulletin® Version 3.8.8