![]() |
Re: Roguelikes on N900 discussions
Quote:
|
Re: Roguelikes on N900 discussions
This website has RSS feeds for so many roguelikes all in one place! :D
http://www.elderlore.com/fr/category...elike/page/159 |
Re: Roguelikes on N900 discussions
Ugh... Sorry. What am I doing wrong on this?
[1|user@Nokia-N800-43-7|~]cd /usr/bin/adom-qemu/ [1|user@Nokia-N800-43-7|/usr/bin/adom-qemu]cp -a qemu-i386 adom adom-i386 toggle_fullscreen lib/* test/ cp: cannot remove 'test/qemu-i386': No such file or directory cp: cannot remove 'test/adom': No such file or directory cp: cannot remove 'test/adom-i386': No such file or directory cp: cannot remove 'test/toggle_fullscreen': No such file or directory cp: cannot remove 'test/ld-linux.so.2': No such file or directory cp: cannot remove 'test/libc-2.11.2.so': No such file or directory cp: cannot remove 'test/libc.so.6': No such file or directory cp: cannot remove 'test/libdl.so.2': No such file or directory cp: cannot remove 'test/libgcc_s.so.1': No such file or directory cp: cannot remove 'test/libm.so.6': No such file or directory cp: cannot remove 'test/libncurses.so.5': No such file or directory cp: cannot remove 'test/libstdc++.so.6': No such file or directory cp: cannot remove 'test/libstdc++.so.6.0.13': No such file or directory [1|user@Nokia-N800-43-7|/usr/bin/adom-qemu]cd test [1|user@Nokia-N800-43-7|/usr/bin/adom-qemu/test]./toggle_fullscreen -bash: ./toggle_fullscreen: No such file or directory [1|user@Nokia-N800-43-7|/usr/bin/adom-qemu/test]./qemu-i386 ./ld-linux.so.2 --library-path `pwd` ./adom-i386 -bash: ./qemu-i386: No such file or directory |
Re: Roguelikes on N900 discussions
@Addison : The files and folder have root owner while you seems to be running as "user"
run the following commands - sudo gainroot <Not sure what the command is on N800 to switch user to root> cd /usr/bin/ chmod 777 adom-qemu cd adom-qemu chmod 777 * exit <To return to the original user> then run the other commands Quote:
|
Re: Roguelikes on N900 discussions
Okay. New errors of unhappiness. :)
[1|user@Nokia-N800-43-7|/usr/bin/adom-qemu]cp -a qemu-i386 adom adom-i386 tog gle_fullscreen lib/* test/ cp: cannot preserve ownership of 'test/qemu-i386': Operation not permitted cp: cannot preserve ownership of 'test/adom': Operation not permitted cp: cannot preserve ownership of 'test/adom-i386': Operation not permitted cp: cannot preserve ownership of 'test/toggle_fullscreen': Operation not perm itted cp: cannot preserve ownership of 'test/ld-linux.so.2': Operation not permitte d cp: cannot preserve ownership of 'test/libc-2.11.2.so': Operation not permitt ed cp: cannot preserve ownership of 'test/libc.so.6': Operation not permitted cp: cannot preserve ownership of 'test/libdl.so.2': Operation not permitted cp: cannot preserve ownership of 'test/libgcc_s.so.1': Operation not permitte d cp: cannot preserve ownership of 'test/libm.so.6': Operation not permitted cp: cannot preserve ownership of 'test/libncurses.so.5': Operation not permit ted cp: cannot preserve ownership of 'test/libstdc++.so.6': Operation not permitt ed cp: cannot preserve ownership of 'test/libstdc++.so.6.0.13': Operation not pe rmitted [1|user@Nokia-N800-43-7|/usr/bin/adom-qemu]cd test [1|user@Nokia-N800-43-7|/usr/bin/adom-qemu/test]./toggle_fullscreen [1|user@Nokia-N800-43-7|/usr/bin/adom-qemu/test]./qemu-i386 ./ld-linu -library-path `pwd` ./adom-i386 ./qemu-i386: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./qemu-i386) |
Re: Roguelikes on N900 discussions
delete the "test" dir and rerun the commands
|
Re: Roguelikes on N900 discussions
Did you mkdir test before copying?
Where did you put the files? vfat or ext2/3? DoomRL needs a lot more dependencies than "small" games like ADOM, particularly those for sound effects. A brief test poured out the same fatal error messages all over the screen, despite the presence of all the required libraries. The game also requires a screen of at least 80x25. The combination of the strong sound effects and (very colorful) ascii graphics gave me a perplexing but funny feeling. Perhaps a workaround is to disable the sound and music, if there is such an option, but the game will be of much less fun. :D Speaking of perplexing game, anyone tried Dwarf Fortress? It's the most complicated roguelike I've ever seen. Playing it on a 2.8" screen is nothing but fantasy. http://www.bay12games.com/dwarves/index.html http://df.magmawiki.com/ http://www.bay12games.com/dwarves/screens/dwf5.png Look at the system requirements http://df.magmawiki.com/index.php/40...m_requirements ... OMG :eek: |
Re: Roguelikes on N900 discussions
Yeah doomRL will be much less fun without the sound effects :(
but imo its the perfect RL for n900 - not too complex, can be quickly played for 10-15 mins and insanely fun :D are you continuing to try to get it to run? can you tell me the steps you take? I can also try this game or some other small RL DF is the most complex game I have seen - I tried to get into it on pc but gave up after 8-10 tries :o |
Re: Roguelikes on N900 discussions
Okay, I changed the owner for all of the files to user and tested again. :)
[1|user@Nokia-N800-43-7|~]cd /usr/bin/adom-qemu/ [1|user@Nokia-N800-43-7|/usr/bin/adom-qemu]cp -a qemu-i386 adom adom-i386 toggle_fullscreen lib/* test/ [1|user@Nokia-N800-43-7|/usr/bin/adom-qemu]cd test [1|user@Nokia-N800-43-7|/usr/bin/adom-qemu/test]./toggle_fullscreen [1|user@Nokia-N800-43-7|/usr/bin/adom-qemu/test]./qemu-i386 ./ld-linu -library-path `pwd` ./adom-i386 ./qemu-i386: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./qemu-i386) |
Re: Roguelikes on N900 discussions
Someone please tell me I'm not hosed on this.
I would love to have this offline on my tablet! :) |
Re: Roguelikes on N900 discussions
Look likes some problem with the libc file on your setup.
In a word, again, to make things easier and avoid messing up the original files, 1) create a *new* directory anywhere you prefer in a ext2 partition (vfat/fat32 won't work!) 2) copy *everything* with *proper* permission in that directory 3) make sure *all* the libraries are present. 4) run ./qemu-i386 ./ld-linux.so.2 --library-path `pwd' ./adom-i386 btw who can get adom-sage to work? The current qemu package is badly broken and only damion's build works. After almost a whole week of searching, I find the online documentation too obscure to me to tell which qemu builds are compatible with which libraries and which disk image.... and qemu seems notoriously hard to compile (failed on me several times)... a really big mess :( |
Re: Roguelikes on N900 discussions
I'm sorry. I swear, I don't know what's wrong here.
http://img259.imageshack.us/img259/6594/21666275.png http://img227.imageshack.us/img227/4302/67267991.png [1|user@Nokia-N800-43-7|~]cd /usr/bin/adom-qemu/ [1|user@Nokia-N800-43-7|/usr/bin/adom-qemu]./qemu-i386 ./ld-linux.so.2 --library-path 'pwd' ./adom-i386 ./qemu-i386: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./qemu-i386) |
Re: Roguelikes on N900 discussions
Try this:
sudo chown -R user /usr/bin/adom-qemu sudo chgrp -R users /usr/bin/adom-qemu btw why don't you put the adom dir to somewhere other than /usr/bin ? |
Re: Roguelikes on N900 discussions
Okay. Did that. Same error as before though.
./adom.sh./qemu-i386: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./qemu-i386) Poopies. I'll ask someone with an older tablet. Maybe they might know what's up with this. :) |
Re: Roguelikes on N900 discussions
Oh gosh you guys lost me with this thread.
From what I can gather you are running an x86-compiled Rouge-like game inside of QEMU emulator. Additionally 009N has a N900 (with Maemo5) while Addison has a N800 (with Maemo4). Maemo5 has newer versions of core libraries than Maemo4 (these libraries can't be updated without breaking everything). Now assuming that the version of libc in question is the Maemo one not the one used inside of QEMU then the Maemo4 vs Maemo5 difference may be the culprit. If not then I'm going to have to re-read this thread more carefully. Furthermore, is it not possible to get the source for this game? A proper compile for ARMEL would be much better than running it via an emulator. Also @Addison, next time you run into permission denied errors, just run the script as root. I'm going to try and find the source for this game ++ re-read the thread. EDIT: BTW Addison, I did try (and fail) to back-port Powder for N8x0. Got the deps but the code just wouldn't compile cleanly (went for ~15 min before fatal error). |
Re: Roguelikes on N900 discussions
Yay for having an awesome friend here! :D
You so rock Linux! And yeah, there is no source for ADOM and there never will be. Poopies. :( |
Re: Roguelikes on N900 discussions
I just wanted to say THANKS!!
I am using 009N's configuration and ADOM runs like a dream. Goodbye, productivity! For those of you having problems running it - make sure that the files are on a linux filesystem (i.e. not on the Windows-readable portion of your disk - I used /opt/adom-qemu) and that permissions are set: Here's what I did: Code:
$ chmod +x adom adom-i386 adom.sh qemu-i386 toggle_fullscreenAs for Dwarf Fortress, that screenshot you pasted has resolution 640x300 - and the N900 runs circles around that. The biggest problem with DF will probably be insufficient processing power - you're going to get like 2 frames per second on the N900 (I had to upgrade to a quad-core desktop before I saw decent frames in that game!) |
Re: Roguelikes on N900 discussions
lol ...
i simply forgot Addison's is N800... :p Quad-core for an ascii-graphic game. How weird... Still trying hard to get adom-sage running, because its much improved UI and display. See if I can run a micro windows qemu/dosbox/bochs ... It's sad but true that ADOM is not open source. So is Dwarf Fortress... |
Re: Roguelikes on N900 discussions
Quote:
I didn't have the setup for compiling for Maemo 4. If someone can give me the relevant info I can try cross-compile qemu-i386. @TimusEravan: It's quite easy to work out what an x86 binary needs in order to run ADOM Maemo 5. To do this you'll need: - A working qemu binary - The ADOM x86 binary - A set of libraries required by the x86 binary - Proper syntax of executing qemu Steps: 1) Copy the ADOM binary to an x86 linux box. 2) Use ldd to find out all the libraries the binary is linked to (because it is dynamically and not statically linked). 3) Copy all the libraries according to the output of ldd. 4) Copy all those lib to N900. No need to create the directory hierarchy. Just put everything in one and the same directory. 5) Run qemu with the x86 binary as argument and with proper syntax and options |
Re: Roguelikes on N900 discussions
You would be so loved by me dude if you were able to compile this for Diablo. :swoon:
|
Re: Roguelikes on N900 discussions
I was SOO close to a successful packaging of QEMU (~ an hour of compiling on my machine) but then after the compile it wanted to optify it -_- and failed there. Gotta remove this optifying non-sense and hope it compiles again.
|
Re: Roguelikes on N900 discussions
Cool! Could you tell me your configure options? I've tried compiled directly on my N900 but crashed in the final linking (something wrong with tcg.o). Maybe I can get it done as I'm not using any SDK but just the regular gcc & g++.
|
Re: Roguelikes on N900 discussions
@009N
Uh.....what? Also I should mention packaging QEMU for Maemo4. After a dozen times running the same command (and different random error messages; freaking C and ghosts in the code), dpkg-buildpackage -rfakeroot -sa it finally packaged it. However I'm not convinced this is compiled correctly. The first time it compiled correctly (but got messed up during the packaging) it took a lot longer to compile. Anyway any N8x0's users want to test this for me? Grab the *.deb and dpkg -i I'm going to try another compile just because I don't trust this one 100%. EDIT: I should add that I had to strip out audio support because libpulse-dev and it's deps aren't compiled for Maemo4. |
Re: Roguelikes on N900 discussions
I suppose the difference is just a matter of the maemo versions, so I can try your setting to see if it is also built seccessfully for frementle.
Where do you get the source? I was using the one from git http://wiki.meego.com/ARM/Meego_on_Qemu Thanks in advance. :D |
Re: Roguelikes on N900 discussions
I think this build is the same
If you click my link http://repository.maemo.org/extras-d...ce/q/qemu-kvm/ Download those 3 files into scratchbox (into a new folder) then dpkg-source -x *.dsc That'll patch with the .diff and unpack the archive, then make changes as needed (debian/changelog, debian/control and debian/rules), then dpkg-buildpackage -rfakeroot -sa which runs ./configure (with parameters specified in debian/rules then make and then it packages it into a .deb A simple step-by-step how-to on what do after installing qemu to get this game working would be a nice addition to this thread. |
Re: Roguelikes on N900 discussions
Okay after several tries I got a clean compile. (~20 minutes versus 2min above).
folder (.deb + source + nasm build-depends): qemu (N8x0) .deb: Now to give it a try on my N810.... EDIT: All that and it seems I need to fiddle with debian/control some more as it claims python isn't installed... |
Re: Roguelikes on N900 discussions
Okay finally! http://www.box.net/shared/6s44amh0f6
It installs on my N810 without a problem now (I forgot that in maemo4 python is packaged as python2.5). Testers wanted.: http://www.box.net/shared/qglpui3nrz I'll try to upload it to extras-devel in a few hours but testers are appreciated at this time to verify all functionality is working. EDIT: nasm is now in extras-devel. However QEMU failed in autobuilder and I'm not sure why: https://garage.maemo.org/builder/dia...log.FAILED.txt Anyway go ahead and give the .deb I uploaded to box.net/os2008 a try and reply with your success or failure. |
Re: Roguelikes on N900 discussions
Okay. All I tried was this..
http://www.box.net/shared/qglpui3nrz Attempted to install qemu-kvm_0.12.3-0maemo1_armel but it stated the package was incompatible. Nuts. :) |
Re: Roguelikes on N900 discussions
@Addison
Yeah I took down the other links. $ root # wget http://p7230.homelinux.com/maemo/qem...emo1_armel.deb # apt-get install libuuid1 # dpkg -i qemu-kvm_0.12.3-0maemo1_armel.deb Worked for me on a fresh install. I'm not sure what the issue is for you. Could you please post what the error says? Note: It need not be the whole error (unless you copy and paste), just need to know the main issue. |
Re: Roguelikes on N900 discussions
Balls. *lol*
I don't have wget installed. I have it as a deb on my memory card but it's saying it's incompatible. I've done this before but I forgot since it's been so long. A little help linux? :) |
Re: Roguelikes on N900 discussions
o_O you don't have wget installed???
Sometimes I wonder what Nokia was thinking not having these basic tools pre-installed. I don't have the incompatible message so it's difficult to debug. Are you using HAM (Hildon Application Manager; GUI)? If so then yeah it's "incompatible" (not a defined category) but if dpkg is saying it then there are other issues. Did you install libuuid1? Also did you uninstall the Maemo5 version of qemu? Just to make sure you have the right version of this package, I want you to download this md5sum binary I compiled for Diablo: Download: http://p7230.homelinux.com/maemo/md5sum # chmod +x md5sum # ./md5sum qemu-kvm_0.12.3-0maemo1_armel.deb Your output should be: f2ff22cdbbb51c5805aa091de4cdb996 qemu-kvm_0.12.3-0maemo1_armel.deb If that hash is different then it means you downloaded an older version that I packaged. If it's the same, then I don't have a clue what the problem is. |
Re: Roguelikes on N900 discussions
Hey linux!
What directory does md5sum get moved to? Right now it's sitting on my external memory card. Thanks! |
Re: Roguelikes on N900 discussions
md5sum should reside in /usr/bin/ (default location set by coreutils; and benefit is that it's in the PATH).
However for my example just put md5sum in the same directory as the qemu .deb file and it'll work. It's very portable. |
Re: Roguelikes on N900 discussions
Okay. Will do!
Thanks chief! |
Re: Roguelikes on N900 discussions
Output was
f2ff22cdbbb51c5805aa091de4cdb996 qemu-kvm_0.12.3-0maemo1_armel.deb :) So what's next? |
Re: Roguelikes on N900 discussions
That means it was the same file >_<
I was hoping that was the problem. You could try # apt-get remove qemu-kvm # apt-get remove qemu Then # dpkg -i qemu-kvm_0.12.3-0maemo1_armel.deb But for now I'm out of ideas, sorry. |
Re: Roguelikes on N900 discussions
Okay chief.
[1|root@Nokia-N800-43-7|/usr/bin/adom-qemu]apt-get install libuuid1 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer require d: python-dateutil Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: libuuid1 0 upgraded, 1 newly installed, 0 to remove and 17 not upgraded. Need to get 39.0kB of archives. After unpacking 90.1kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libuuid1 Install these packages without verification [y/N]? y Get:1 http://qole.org maemo/main libuuid1 1.40.3-1 [39.0kB] Fetched 39.0kB in 2s (16.3kB/s) Selecting previously deselected package libuuid1. (Reading database ... 22947 files and directories currently installed.) Unpacking libuuid1 (from .../libuuid1_1.40.3-1_armel.deb) ... Setting up libuuid1 (1.40.3-1) ... [1|root@Nokia-N800-43-7|/usr/bin/adom-qemu]dpkg -i qemu-kvm_0.12.3-0maemo1_ar mel.deb Selecting previously deselected package qemu-kvm. (Reading database ... 22951 files and directories currently installed.) Unpacking qemu-kvm (from qemu-kvm_0.12.3-0maemo1_armel.deb) ... Setting up qemu-kvm (0.12.3-0maemo1) ... Good, yes? But still... [1|user@Nokia-N800-43-7|~]cd /usr/bin/adom-qemu/ [1|user@Nokia-N800-43-7|/usr/bin/adom-qemu]./adom.sh ./qemu-i386: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./qemu-i386) Turds. :( |
Re: Roguelikes on N900 discussions
Oh. well at least it appeared to install (haven't tested it to make sure it properly works).
I think I'll have to take a look at this adom script. |
Re: Roguelikes on N900 discussions
If you could, a screenshot please?
And second, since I'll be reflashing tomorrow, a step by step on how you installed this correctly? That would totally rock! :) |
Re: Roguelikes on N900 discussions
No, no. I only got QEMU installed, not the script.
And I'm going to get some sleep now. If you reflash, be SURE to backup your stuff. I know you have a LOT of custom stuff setup so be careful!!! You may want to save a dd of your install. Also you wish to take this time to create a cloned install onto an SD card. I'll take a look at this adom tomorrow I guess. I'm tired, so just, just be careful, Addison. |
| All times are GMT. The time now is 09:09. |
vBulletin® Version 3.8.8