Manaplus on raspberry pi 3 [SOLVED]

Development discussions for Manaplus (Evol's official client) and alternative clients.
Post Reply
Raffe
Peon
Peon
Posts: 29
Joined: 17 Mar 2013, 12:00

Manaplus on raspberry pi 3 [SOLVED]

Post by Raffe » 21 Jan 2019, 16:57

I have for some time been owning a raspberry pi 3 micro computer, that I would like to run TMW on.
Unfortunately the default version of manaplus client is an outdated version (1.4.10.11-1) that doesnt run.
Now i am a complete beginner with any kind of linux - so i will probably ask stupid questions !
And please correct me if im mistaken about things i write here !
I have as "OS" installed Raspbian which should be a lightweight version of Debian.

The purpose of writing in here is to investigate if it is possible for me (and many others - i hope) to be able to play TMW on a raspberry pi 3.
I have heard rumors of other players who runs manaplus on a raspberry pi - and i would sure like to get hints to the soulution from theese players.
I would also like this to end up with a sort of manual : TMW on raspberry pi 3 for dummies 8)

So what did i learn so far :
1.
default manaplus is too old and have to be "updated".

2.
I found this link :
https://github.com/ManaPlus/ManaPlus/issues/25
Where i noticed a person called 4144 8) - mentioned what he calls "backports" and gives an example.

3.
On TMW homepage under downloads (debian) i found this :
https://manaplus.org/repository

4.
I opened LX-terminal and runs theese two lines :
rm 4144.asc
wget http://repo.evolonline.org/manaplus/4144.asc
The file 4144.asc was downloaded.

5.
But how to add the backport ? where ?
I tried to type in LX-terminal and got back message : Re: "DEB" Command not found... then searched on that and found this :
https://gist.github.com/brunoleles/5a92 ... 5f96a28f3a
Then in LX-terminal typed :
sudo nano /etc/apt/sources.list
YES! now i could add the line :
deb http://repo.evolonline.org/manaplus maverick main
to the sources list - save it and run : sudo apt-get update
but NO! i get the message :
Could not download http://repo.evolonline.org/manaplus/dis ... f/Packages 404 Not Found (i.p-adress)

How to get further on ???
thanks

best regards
Raffe
Last edited by Raffe on 26 Jan 2019, 10:43, edited 2 times in total.
User avatar
tomminator
Peon
Peon
Posts: 64
Joined: 18 Oct 2008, 18:27

Re: Manaplus on raspberry pi 3

Post by tomminator » 21 Jan 2019, 18:46

try to follow instructions on this page:

https://manaplus.org/ubuntu
This is not a placeholder
4144
Client Developer
Client Developer
Posts: 937
Joined: 03 Aug 2009, 12:57

Re: Manaplus on raspberry pi 3

Post by 4144 » 21 Jan 2019, 19:24

rasberry pi based on arm processor. And in manaplus site hosted only i386 and amd64 packages.
For use manaplus on arm you must build from sources or use official debian or ubuntu repositories with latest or almost latest manaplus versions.
Compilation probably simpler but slower than search how to add official repositories.

Another option use one of upto date distro on rasberry pi. But default look like you using very outdated distro.
Raffe
Peon
Peon
Posts: 29
Joined: 17 Mar 2013, 12:00

Re: Manaplus on raspberry pi 3

Post by Raffe » 21 Jan 2019, 22:26

tomminator wrote:
21 Jan 2019, 18:46
try to follow instructions on this page:

https://manaplus.org/ubuntu
Thanks for replying Tomminator.
Yes i have downloaded the file, but typing the command in LXterminal responds with an error message.
Hovever i can install the package by double-clicking it, causing it to appear in "add/remove software"
But still i cannot activate it.

---
4144 wrote:
21 Jan 2019, 19:24
rasberry pi based on arm processor. And in manaplus site hosted only i386 and amd64 packages.
For use manaplus on arm you must build from sources or use official debian or ubuntu repositories with latest or almost latest manaplus versions.
Compilation probably simpler but slower than search how to add official repositories.

Another option use one of upto date distro on rasberry pi. But default look like you using very outdated distro.
Thanks for replying 4144.
I was under the impression that the "sudo apt-get update" would keep my distro (version ?) well... updated :?
Tommorow I might do a brand new setup then - to see if manaplus has been changed in a newer distro.

best regards
Raffe

p.s. I also found theese :
http://mirrordirector.raspbian.org/rasp ... s/?C=M;O=D
But im not yet sure what to do with them.
Raffe
Peon
Peon
Posts: 29
Joined: 17 Mar 2013, 12:00

Re: Manaplus on raspberry pi 3

Post by Raffe » 23 Jan 2019, 12:10

Ok so now i reinstalled new build as suggested by 4144
(raspbian stretch desktop) found here :
https://www.raspberrypi.org/downloads/raspbian/
updated it...

YES - newer version manaplus has been added to the new build 8)
version is now 1.7.1.21-1

On my first log-on I noticed that "online players" do not work - it sais "ugrade your client"
I will be doing a little more testing and reply here.

So next i am curious to see if this version can be upgraded...
4144
Client Developer
Client Developer
Posts: 937
Joined: 03 Aug 2009, 12:57

Re: Manaplus on raspberry pi 3

Post by 4144 » 23 Jan 2019, 17:33

Yes 1.7.1.21 bit old too.
but atleast now you can add testing or unstable debian repository and install manaplus from it
Raffe
Peon
Peon
Posts: 29
Joined: 17 Mar 2013, 12:00

Re: Manaplus on raspberry pi 3

Post by Raffe » 23 Jan 2019, 19:05

Now i have played a little with the version 1.7.1.21 and it runs fine.
I run it with soulution 1024x768 and its ok.
x-button had to be reconfigured ;)
online players list : says only "please update manaplus"
no emojies select able in chatbox.
Otherwise it is playable.

But i would like an even never version to run
Tried to update this way with LX-terminal :
wget http://repo.evolonline.org/manaplus/4144.asc => file downloaded.
sudo -i (otherwise i cannot gain rights to change sources.list)
nano /etc/apt/sources.list (opens sources list)
added the line : deb http://repo.evolonline.org/manaplus karmic main
save and exit - restart LX-terminal :
sudo apt-get update

all updates are ignored :( "no releasefile" or something like that)
is the missing part the 4144.asc ?

next step could maybe be trying the files that i found here :
http://mirrordirector.raspbian.org/rasp ... s/?C=M;O=D

best regards
Raffe
4144
Client Developer
Client Developer
Posts: 937
Joined: 03 Aug 2009, 12:57

Re: Manaplus on raspberry pi 3

Post by 4144 » 24 Jan 2019, 00:20

Again, you using ARM arch. Repository from manaplus/evolonline not support ARM.
You must use OFFICIAL debian repositories. Read my previous message :)
Raffe
Peon
Peon
Posts: 29
Joined: 17 Mar 2013, 12:00

Re: Manaplus on raspberry pi 3

Post by Raffe » 24 Jan 2019, 16:33

4144 wrote:
24 Jan 2019, 00:20
Again, you using ARM arch. Repository from manaplus/evolonline not support ARM.
You must use OFFICIAL debian repositories. Read my previous message :)
Thanks for replying 4144.

I am trying hard to understand the problem, but really i have no idea of deeper mechanisms in theese systems.

So are you saying that this upgrade cannot come from any files found in manaword.org site ?

A place like this ?
https://packages.debian.org/sid/manaplus
https://packages.debian.org/sid/manaplus-data

Do you have any suggestions where to look elsewhere ?

best regards
Raffe
4144
Client Developer
Client Developer
Posts: 937
Joined: 03 Aug 2009, 12:57

Re: Manaplus on raspberry pi 3

Post by 4144 » 24 Jan 2019, 16:45

File /etc/apt/sources.list
In this file you have repositories for stable or stretch version.
And you can add same lines for testing or unstable.
Raffe
Peon
Peon
Posts: 29
Joined: 17 Mar 2013, 12:00

Re: Manaplus on raspberry pi 3

Post by Raffe » 25 Jan 2019, 17:36

I have spent three hours trying to do this :

downloaded theese two files (package) from debian homepage :
https://packages.debian.org/buster/armh ... s/download
https://packages.debian.org/buster/all/ ... a/download

Then
sudo dpkg -i /path/to/file/manaplus_1.8.12.8-1_armhf.deb

still missing more packages that i got and installed in the same manner.

sudo apt-get update => works ok
sudo apt-get install manaplus => not all is fine - still missing som packages.

looking at manaplus in "add/remove software" it looks like version 1.8.12.8 is installed only i cannot activate both program and data at the same time, and of course nothing happends.
The third part of manaplus : manaplus-dpg-1.7.1.21-1 cannot be upgraded.
maybe thats part of the problem.

I would like to hear from anybody who plays newest version on raspberry pi.
I am running low of ideas
4144
Client Developer
Client Developer
Posts: 937
Joined: 03 Aug 2009, 12:57

Re: Manaplus on raspberry pi 3

Post by 4144 » 25 Jan 2019, 20:50

Add repository what i said before, install manaplus, remove added repositories.
It will update some or many packages for newer versions, but this is better than complete switch to unstable repository.
And you will not solve conflicts manually
Raffe
Peon
Peon
Posts: 29
Joined: 17 Mar 2013, 12:00

Re: Manaplus on raspberry pi 3

Post by Raffe » 26 Jan 2019, 10:01

4144... you are the best :D
Now playing TMW on a raspberry pi3 using manaplus ver.1.8.12.8 8)
So here is the prescription (based on present versions) or "manaplus on RPI3 for dummies" :lol: as promised :

To install rasbian strech with desktop (2018-11-13) on a raspberry pi (with help of windows computer) :
1. format sd-card (on another computer) - you can use this program (sd-formatter) :
https://www.sdcard.org/downloads/format ... index.html
2. download latest distro of raspbian stretch with desktop here :
https://www.raspberrypi.org/downloads/raspbian/
3. make image of rasbian stretch on formated sd-card - you can use this program (win32diskimager) :
https://sourceforge.net/projects/win32diskimager/
4. put the new card in your raspberry pi3, connect wifi, upgrade.

To install manaplus version 1.8.12.8 on your raspberry pi3 :
1. in "add/remove software" search "manaplus"
install all packages (dont worry if version is 1.7.1.21-1)
2. Open LXterminal :
sudo -i
nano /etc/apt/sources.list
3. in the opened file you add this line in the bottom :
deb http://ftp.de.debian.org/debian buster main
to save the change : ctrl+o - to confirm : return - to exit : ctrl+x
4. restart LXterminal :
sudo apt-get update
sudo apt-get install manaplus
(accept all choises along)
5. when finished : reboot your pi
6. Open LXterminal :
sudo -i
nano /etc/apt/sources.list
7. in the opened file you remove this line again :
deb http://ftp.de.debian.org/debian buster main
to save the change : ctrl+o - to confirm : return - to exit : ctrl+x
8. restart LXterminal :
sudo apt-get update
9. when finished : reboot your pi
Manaplus is now placed under "games" and is version 1.8.12.8 - and is playable 8)

Have fun !!! cya
best regards
Raffe
Post Reply