Manaplus on raspberry pi 3 [SOLVED]

Development discussions for TMW's official client, alternative clients and client adaptations.


Raffe
Novice
Novice
Posts: 58
Joined: 17 Mar 2013, 11:00

Manaplus on raspberry pi 3 [SOLVED]

Post by Raffe »

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, 09:43, edited 2 times in total.
User avatar
tomminator
TMW Adviser
TMW Adviser
Posts: 107
Joined: 18 Oct 2008, 17:27

Re: Manaplus on raspberry pi 3

Post by tomminator »

try to follow instructions on this page:

https://manaplus.org/ubuntu
This is not a placeholder
4144
Knight
Knight
Posts: 965
Joined: 03 Aug 2009, 11:57

Re: Manaplus on raspberry pi 3

Post by 4144 »

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
Novice
Novice
Posts: 58
Joined: 17 Mar 2013, 11:00

Re: Manaplus on raspberry pi 3

Post by Raffe »

tomminator wrote: 21 Jan 2019, 17: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, 18: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
Novice
Novice
Posts: 58
Joined: 17 Mar 2013, 11:00

Re: Manaplus on raspberry pi 3

Post by Raffe »

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
Knight
Knight
Posts: 965
Joined: 03 Aug 2009, 11:57

Re: Manaplus on raspberry pi 3

Post by 4144 »

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
Novice
Novice
Posts: 58
Joined: 17 Mar 2013, 11:00

Re: Manaplus on raspberry pi 3

Post by Raffe »

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
Knight
Knight
Posts: 965
Joined: 03 Aug 2009, 11:57

Re: Manaplus on raspberry pi 3

Post by 4144 »

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

Re: Manaplus on raspberry pi 3

Post by Raffe »

4144 wrote: 23 Jan 2019, 23: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
Knight
Knight
Posts: 965
Joined: 03 Aug 2009, 11:57

Re: Manaplus on raspberry pi 3

Post by 4144 »

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
Novice
Novice
Posts: 58
Joined: 17 Mar 2013, 11:00

Re: Manaplus on raspberry pi 3

Post by Raffe »

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
Knight
Knight
Posts: 965
Joined: 03 Aug 2009, 11:57

Re: Manaplus on raspberry pi 3

Post by 4144 »

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
Novice
Novice
Posts: 58
Joined: 17 Mar 2013, 11:00

Re: Manaplus on raspberry pi 3

Post by Raffe »

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
User avatar
Bonnette
Peon
Peon
Posts: 1
Joined: 19 Oct 2019, 07:47

Re: Manaplus on raspberry pi 3 [SOLVED]

Post by Bonnette »

4144 wrote: ↑
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,
do my essay fast 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.
Hello,

What is the correct guide how to build the game without opengl? I can't find the instructions in the repository. I checked the GitHub ManaPlus issues, but there's no solution mentioned.
User avatar
jesusalva
Moubootaur Legends
Moubootaur Legends
Posts: 1438
Joined: 14 Nov 2016, 22:20
Location: Brazil
Contact:

Re: Manaplus on raspberry pi 3 [SOLVED]

Post by jesusalva »

Bonnette wrote: 19 Oct 2019, 07:54 Hello,

What is the correct guide how to build the game without opengl? I can't find the instructions in the repository. I checked the GitHub ManaPlus issues, but there's no solution mentioned.

Code: Select all

./configure --help
configure wrote:

Code: Select all

  --without-opengl        don't use OpenGL

Jesusalva (aka. Jesusaves)
Donate to the project! ─ (Note: If you want to support me instead, Buy me a coffee!)

Former system administrator, project lead and developer.
Do not contact me regarding The Mana World inquiries.

Locked