maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   The Mana World 0.0.28.1 (https://talk.maemo.org/showthread.php?t=27732)

tobiasj 2009-03-21 17:23

The Mana World 0.0.28.1
 
Here is the latest available build for The Mana World.

(http://www.themanaworld.org/) is an 2D MMORPG that is open source.

It is a quick and dirty testing build to see what needs to be worked on.

From what I have played of it, they have made a LOT of improvements to the code because it runs a lot faster on my tablet than 0.0.24 did.

You need to install (apt-get install) as root the following libs from Extras-Devel

apt-get install libguichan-0.8.1-1
apt-get install libguichan-sdl-0.8.1-1
apt-get install libphysfs-1.0-0
apt-get install libsdl-ttf2.0-0
apt-get install libsdl-net1.2 (I did not have to install this one myself, but I might have for something else.)

I don't believe any other libs are needed (that we don't already have) because that is all my tablet complained about, however if there are others you need please let me know and I will update this post.

****************UPDATE 03-30-2009**********
DEB Package now available get it from http://www.n8ftl.com/maemo/

You must still install the libs listed above before the package will install.
This package installs the bin to /usr/share/games and the data to /media/mmc1 and does NOT include the music files.

*****************


If you have an N810 you can log in using the keyboard, however if you have an N800 you can set the username and password in the .desktop file after the exec statement

Exec=/home/user/tmw --username name --password password

Anyway, let me know what isnt working for you and I will do my best to fix it..


-John

http://www.n8ftl.com/maemo/images/tmw/tmw1.png
http://www.n8ftl.com/maemo/images/tmw/tmw2.png

Bundyo 2009-03-21 18:07

Re: The Mana World 0.0.28.1
 
You forgot libguichan-sdl-0.8.1-1 :)

And its actually working verrry good. :)

tobiasj 2009-03-21 19:26

Re: The Mana World 0.0.28.1
 
Quote:

Originally Posted by Bundyo (Post 273577)
You forgot libguichan-sdl-0.8.1-1 :)

And its actually working verrry good. :)

GAH I knew I would forget one...


And I am glad it is working well for you, I have wanted to do this one for some time (well since they locked 0.0.24 out of the server anyway...) but never felt it was one I could handle till now.

-John

Picklesworth 2009-03-23 03:52

Re: The Mana World 0.0.28.1
 
Dude, you read my mind! I was just looking through the games in Ubuntu's repositories (wondering what had changed since I looked about a year / a half ago), tinkered with Mana World and thought "man, I would fall in love with this if I had a computer on which I couldn't run a more graphically rich game..." then I found this thread. From YESTERDAY. Thanks for the efforts, Tobiasj :)

This also requires libsdl-net be installed before it will open.

tobiasj 2009-03-23 16:10

Re: The Mana World 0.0.28.1
 
Quote:

Originally Posted by Picklesworth (Post 273830)
Dude, you read my mind! I was just looking through the games in Ubuntu's repositories (wondering what had changed since I looked about a year / a half ago), tinkered with Mana World and thought "man, I would fall in love with this if I had a computer on which I couldn't run a more graphically rich game..." then I found this thread. From YESTERDAY. Thanks for the efforts, Tobiasj :)

This also requires libsdl-net be installed before it will open.

I have made request after request to the MMORPG's that I play on a regular basis to offer some kind of client API so that we could make chat or low res/low req clients to access them while mobile and it seems to always fall on deaf ears. (Yes, I know, they dont have the time or the resources to add that kind of major tech. BUT when they create a new 'version' or 'UPGRADE' that requires me to either, pay (buy the client) again or download an entirely new client they COULD have put at least the hooks into the engine..)

That is one of the things I like about TMW they went with a format that is basically playable on anything you can compile it for.

I would love to see a portable client for Asheron's Call, heck the engine is adjustable enough (graphically) that you might be able to port the full client to the N8x0. I was able to make it play in Debian using Wine so it can't be THAT intensive...(well ok it could but it really isn't at the low graphics settings) I have played it on windoze laptops that were NOT gaming machines in the least. Granted the 480 pixel height is a problem (I have played it on my OQO which is also 800x480) I am sure something could be worked out..

oh well, enough dreaming, I am off to kill more bugs in TMW...


-John

MSchievelbein 2009-03-23 18:10

Re: The Mana World 0.0.28.1
 
Thank you very much, I play TMW on a regular basis and will love having it on my N810. I will let you know of any problems after I install it tonight...

tobiasj 2009-03-23 21:56

Re: The Mana World 0.0.28.1
 
Does the sound work? I almost never have the sound turned up on my NIT but I decided to see what the sounds of TMW are and well, I dont get any.

I am going to d/l the deb binaries and see what it is supposed to sound like and then see what I can get working on the N810.

Also, I am going to change the mapping for chat from Return to KP_Enter and Return so that it seems more natural on the N810 then using the center button is.

(the desktop icon works now as well :D )

-John

Bundyo 2009-03-23 22:23

Re: The Mana World 0.0.28.1
 
Sorry, no sound :)

tobiasj 2009-03-24 01:06

Re: The Mana World 0.0.28.1
 
Quote:

Originally Posted by Bundyo (Post 274014)
Sorry, no sound :)


Yup, from running on my desktop I see there isnt a lot of sound to begin with but it certainly does not work on my tablet. I will look into that tonight. Is anyone intersted in adding the music to it? I didnt do that on purpose, but I could add it if anyone is interested... as a seperate install or something...


-John

Bundyo 2009-03-24 06:31

Re: The Mana World 0.0.28.1
 
I think music will be an overkill. It is running on 100% CPU already :)

tobiasj 2009-03-24 13:42

Re: The Mana World 0.0.28.1
 
Well, the sound effects and music do not work because(I assume) they are ogg files.

I added the ogg support that you can download from maemo.org and while I can play the OGG files now in media player they still do not work in the game. I get:

[12:38:54.24] Sound::init() Initializing sound...
[12:38:54.30] Sound::info() SDL_mixer: 1.2.6 (compiled)
[12:38:54.30] Sound::info() SDL_mixer: 1.2.6 (linked)
[12:38:54.30] Sound::info() Driver: esd
[12:38:54.30] Sound::info() Format: S16LSB
[12:38:54.30] Sound::info() Rate: 22050
[12:38:54.30] Sound::info() Channels: 2

So no errors init'ng sound system

but then:

[13:38:57.57] Sound::startMusic() Playing "/media/mmc1/share/tmw/data/music/Magick - Real.ogg" -1 times
[13:38:57.58] Sound::startMusic() Warning: error loading file: Module format not recognized

Soooo it still doesn't like the ogg files, however it is trying to load them. I am trying to find the code that actually lists what files get played when and see if I can change it to MP3 or something silly like that and then convert the ogg to mp3 files.

The sound effects are much the same I assume since they are:

bat-dying1.ogg
bat-hit1.ogg
bow_shoot_1.ogg
fire-goblin-hit1.ogg
fire-goblin-hit2.ogg
fire-goblin-miss1.ogg
fist-swish.ogg
flower-hit1.ogg
flower-hit2.ogg
flower-miss1.ogg
fluffy-hit1.ogg
fluffy-hit2.ogg
fluffy-hit3.ogg
fluffy-hurt1.ogg
fluffy-miss1.ogg
knife-hit1.ogg
knife-miss1.ogg
levelup.ogg
loghead-hurt1.ogg
loghead-hurt2.ogg
loghead-hurt3.ogg
loghead-hurt4.ogg
loghead-hurt5.ogg
maggot-dying1.ogg
maggot-hit1.ogg
maggot-hit2.ogg
maggot-miss1.ogg
pinkie-hit1.ogg
pinkie-miss1.ogg
scorpion-hit1.ogg
scorpion-hit2.ogg
scorpion-hit3.ogg
scorpion-hit4.ogg
scorpion-miss1.ogg
short-sword-hit1.ogg
short-sword-miss1.ogg
shroom-hit1.ogg
slime-hit1.ogg



onward and upward...

-John

MSchievelbein 2009-03-24 14:26

Re: The Mana World 0.0.28.1
 
I have been playing TMW for over 2 years now and IMHO, the music is not needed. It is nice for the first week or so to hear background music, but then it gets annoying. Personally, even on my desktop, I play my own music in the background and have the TMW sound turned off.

Picklesworth 2009-03-24 14:42

Re: The Mana World 0.0.28.1
 
Wishing this didn't put anything in my home directly. I symlinked .tmw (which has settings, downloads, cache and the like) to a spot on /media/mmc1, but it would be nice to be just have it directly write there...

With regards to performance, there are some in game settings which can be tweaked to improve matters quite nicely.

Bundyo 2009-03-24 15:22

Re: The Mana World 0.0.28.1
 
About the sound - there are two routes - you can convert the sounds to mp3, or use the way linman got Widelands working with sound (if I remember correctly). r maybe there is some new way of going ogg in SDL, but I don't know about it. Didn't port anything recently.

tobiasj 2009-03-24 16:04

Re: The Mana World 0.0.28.1
 
Quote:

Originally Posted by Picklesworth (Post 274184)
Wishing this didn't put anything in my home directly. I symlinked .tmw (which has settings, downloads, cache and the like) to a spot on /media/mmc1, but it would be nice to be just have it directly write there...

With regards to performance, there are some in game settings which can be tweaked to improve matters quite nicely.

Well, I did say quick and dirty. Most of the locations can be changed when I configure the build.
When I make the next build to give to people there will be some sweeping changes, including locations.

-John

tobiasj 2009-03-24 16:09

Re: The Mana World 0.0.28.1
 
Quote:

Originally Posted by Bundyo (Post 274192)
About the sound - there are two routes - you can convert the sounds to mp3, or use the way linman got Widelands working with sound (if I remember correctly). r maybe there is some new way of going ogg in SDL, but I don't know about it. Didn't port anything recently.

I will try to find out how linman got ogg working in Widelands, it isnt so much the music as the sound effects that I want working. Thing is, if I fix one I have fixed them both, so you get an option, music or not, sound or not. The choice of sound or not is all I am after really.

I like the fact that they built keymapping into the configuration settings in game so I dont have to change any mappings in the code. I may however make a default NIT config file and put it into the next release so that you dont HAVE to change them to make it work properly. (I LOVE using 'a' and then 'L-CTRL' to attack rather than trying to click on the tiny little things,well in the desktop version anyway.. it is 'R-CTRL' on the NIT).

-John

mikkov 2009-03-24 16:41

Re: The Mana World 0.0.28.1
 
I believe that Widelands is using libsdl-mixeroggwav package, which is static libsdl-mixer library with ogg support. You should be able to use it as a replacement for libsdl-mixer.

tobiasj 2009-03-24 18:51

Re: The Mana World 0.0.28.1
 
According to the Widelands thread, he custom compiled a libSDL_mixer1.2.8 and you had to install that to make it work.

I installed it on my n810 and it didnt help, though I didnt expect it to because I compiled with 1.2.6.

Problem is I can not find 1.2.8-1 to install in scratchbox I can only find 1.2.8-5 and it has SOOOOO many dependency issues with things I am concerned about upgrading because then nothing I compile may work on the tablets anymore.

Oh well, I will keep looking and plugging away at it.

mikkov 2009-03-24 19:04

Re: The Mana World 0.0.28.1
 
try to use libsdl-mixeroggwav1.2-dev package when building

tobiasj 2009-03-24 19:30

Re: The Mana World 0.0.28.1
 
Quote:

Originally Posted by mikkov (Post 274253)
try to use libsdl-mixeroggwav1.2-dev package when building

I run into this...

The following packages have unmet dependencies:
libsdl-mixer1.2-dev: Depends: libsdl-mixer1.2 (= 1.2.6-4) but 1.2.8-1 is to be installed
libsdl-mixeroggwav1.2-dev: Conflicts: libsdl-mixer1.2-dev but 1.2.6-4 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Thanks, and I will keep looking...


-John

mikkov 2009-03-24 19:37

Re: The Mana World 0.0.28.1
 
Where did you install ibsdl-mixer1.2 1.2.8-1? Maemo has only 1.2.6-4

tobiasj 2009-03-24 19:51

Re: The Mana World 0.0.28.1
 
Quote:

Originally Posted by mikkov (Post 274269)
Where did you install ibsdl-mixer1.2 1.2.8-1? Maemo has only 1.2.6-4

http://www.internettablettalk.com/fo...ight=Widelands


I am going to remove it now as it isnt necessary and doesnt solve the problem that I can tell...


-John

tobiasj 2009-03-26 01:18

Re: The Mana World 0.0.28.1
 
OK so I removed the RETURN key from opening up the chat window. It was WAY annoying when you were trying to use the arrow keys (errr, DPAD) to move around because when chat is open you can not move.

So the next thing I want to tackle is the emoticons/smilies. You need to press shift and a number key to get one. I have found no way to make that work on a N810 keyboard.

Does anyone have any ideas on where to remap those?


-John

tobiasj 2009-03-26 13:04

Re: The Mana World 0.0.28.1
 
BAH! nevermind. I went into the code to look at the mappings for smilies/emoticons and they were not using unicode there. Which is odd, because they were using it almost everywhere else. So now, you CAN use (well in my latest build) the number keys to show smilies. I recommend using L_Shift to activate smilies however as you have to press that key, the Fn key and the number key all at the same time to make it work, and well, thats almost impossible unless you use L_Shift because you can hold both L_Shift and Fn down with one thumb and then press the number you want...

I need to check and see if shortcuts work or not, may be the same problem and I can fix that up as well...


-John

tobiasj 2009-03-26 13:33

Re: The Mana World 0.0.28.1
 
Shortcuts were the same problem. changed it to using unicode and now they work as well.

Since there have been a few changes now, I decided to post the bin so you can update. You can download just the exec from my website --> tmw (right click and Save Target As) then just plop it over the top of the existing one. (The default location is /home/user/)


-John "Still workin' on the sound" Tobias

MSchievelbein 2009-03-26 14:10

Re: The Mana World 0.0.28.1
 
O.K., forgive my ignorance, but what do I do with the tmw-0.0.28.1-ARMEL.tar.gz file? I installed the dependancies and download the gz file to my removable drive, but when I click on it, my n810 says it does not have an application associated for it. Thanks

tobiasj 2009-03-26 14:26

Re: The Mana World 0.0.28.1
 
Quote:

Originally Posted by MSchievelbein (Post 274788)
O.K., forgive my ignorance, but what do I do with the tmw-0.0.28.1-ARMEL.tar.gz file? I installed the dependancies and download the gz file to my removable drive, but when I click on it, my n810 says it does not have an application associated for it. Thanks

When you download it to the N8x0 go into XTerm, become root however you choose to do so. (see http://wiki.maemo.org/Root_access if you do not already know how to do this...) most everything below has to be done in XTerm as root. (well, actually now that I think about it, it probably can be done as user, but in case there is something that cant, do it as root...)

First get to the root of the filesystem:
(cd /)

Then when at root, copy the .tar.gz from where ever you downloaded it to / by using the copy command:
(cp /home/user/MyDocs/.documents/tmw-0.0.28.1-ARMEL.tar.gz / )

Then uncompress it using:
( tar -xzvf tmw-0.0.28.1-ARMEL.tar.gz )

This will install everything where it belongs. (well it should anyway...)

Then you can download the most recent tmw binary from my 1st post or the one a couple posts up and copy it over the original using:
(cp /home/user/MyDocs/.documents/tmw /home/user/)

You may also have to set the permissions on this file to make it run:
(chmod +x /home/user/tmw)

Now you should (SHOULD) have an icon (though a broken one) in extras called The Mana World and you can click on it to start the game.

If you already knew a bunch of this I apologize, but I thought there might be some out there that didn't know it. (but were afraid to ask..)

I will make a Deb file as soon as I either fix sound or give up on fixing it.

-John

tobiasj 2009-03-30 14:04

Re: The Mana World 0.0.28.1
 
As I have given up for the time being on sound (it seems no one but me wants it anyway...) I have packaged this up into a deb for easier installation.

You can get the package from my website at n8ftl.com/maemo

You still have to install the libs first manually though the package will not let you install unless they are and will list them as depends in package manager.

when and if I get sound working I will create a supplementary package to install whatever patching I need as well as the music files.

Enjoy!
-John

mikkov 2009-03-30 16:48

Re: The Mana World 0.0.28.1
 
Where is the source for the Mana World?

tobiasj 2009-04-01 15:13

Re: The Mana World 0.0.28.1
 
Quote:

Originally Posted by mikkov (Post 275794)
Where is the source for the Mana World?

The original sources are available here -> The Mana World

My modified sources are ugly and butcherd and I am going to start from scratch with clean code, put all the changes into #IfDef's so that the code is readable and proper then I will post mine. I really didnt have to change much however. Only some resolution settings and changing keysym.sym for keysym.unicode in a few places where they had not already made that change. (about half were already unicode) The hardest part was finding and installing all the deps.


-John

mikkov 2009-04-01 16:44

Re: The Mana World 0.0.28.1
 
I am interested in your version of the source :) I would like to try something with the sound..

revolytion 2009-05-04 18:05

Re: The Mana World 0.0.28.1
 
Hi! At game start, the tablet stands out an error
"Error: Equipment Database: Could not find equipment.xml!"
Someone knows, how it to correct?:confused:

silvermountain 2009-06-27 05:18

Re: The Mana World 0.0.28.1
 
Anyone playing this from a tablet?
I've been trying to go to their homepage today but it's not responding.

dukemagus 2009-06-27 16:54

Re: The Mana World 0.0.28.1
 
a little more and we're having tibia for maemo

silvermountain 2009-06-27 17:31

Re: The Mana World 0.0.28.1
 
Quote:

Originally Posted by dukemagus (Post 300367)
a little more and we're having tibia for maemo

Yeah, but isn't tibia a freemium game (you may to get access to areas, more powerful in-game, etc)?

And yay, themanaworld.org is up and running again. Gonna check it out tonight.

But...question...which one do I download for the N810....?

Debian package
Ubuntu package
Fedora package
Gentoo eBuild
FreeBSD port
OpenBSD port

?

jperez2009 2009-06-27 19:11

Re: The Mana World 0.0.28.1
 
http://www.n8ftl.com/maemo/tmw.htm - N810 Port

It's by the same guy, just on a different page.

Jesse~

Noctleigh 2009-12-27 00:09

Re: The Mana World 0.0.28.1
 
Is this program going to come in a one-lump package one day?

alexreed88 2009-12-27 07:40

Re: The Mana World 0.0.28.1
 
please dont revive dead topics such as this..it misleads people such as me who lurk this forum waiting for new apps..

uberballo 2009-12-27 13:46

Re: The Mana World 0.0.28.1
 
this year: mana world
Next year:TIBIA!
ps: jagermeister is a soda?

OID 2009-12-29 09:02

Re: The Mana World 0.0.28.1
 
From debian repository TMW 0.29.1 work nice, but you need convert all data PNGs to indexed pallete for better performance


All times are GMT. The time now is 09:02.

vBulletin® Version 3.8.8