minetest pocket edition

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

by Sokomine » Tue Jun 18, 2013 18:51

At least the power consumption of a phone would be very low and thus it would be a great (if a bit expensive, depending on the phone used) server.
I'm afraid most players here would like to play on a phone and not just host a server. This may be considerably more difficult to achieve than getting the server running. And even if it works, control of the game might still be difficult with a touch-device.
A list of my mods can be found here.
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

by Jordach » Tue Jun 18, 2013 19:26

PilzAdam wrote:
Mito551 wrote:
PilzAdam wrote:sfan5 manged it to compile the server for an Android phone, it worked pretty good.


....and? is that it? any... hmm... screenshots or test versions or anything?

I played on the server hosted on sfan5's phone. Worked like every other Minetest server, no noticeable differences (except that the chat is broken).

Ask sfan5 for the download link.
BTW, the lag was playable comparable to the Wazuclan server. It also runs on a Samsung Galaxy Ace.

EDIT: It requires busybox and Android 2.3+
Last edited by Jordach on Tue Jun 18, 2013 19:28, edited 1 time in total.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Tue Jun 18, 2013 20:21

PilzAdam wrote:
Mito551 wrote:
PilzAdam wrote:sfan5 manged it to compile the server for an Android phone, it worked pretty good.


....and? is that it? any... hmm... screenshots or test versions or anything?

I played on the server hosted on sfan5's phone. Worked like every other Minetest server, no noticeable differences (except that the chat is broken).

Ask sfan5 for the download link.

I recompiled the server with cURL and UcLibc, the chat is no longer broken.
What you need: Android device(doesn't need to be rooted); USB cable; PC with Windows, Linux or Mac
How to try it out:
1. Download https://dl.dropboxusercontent.com/u/30267315/adb.exe if you are on Windows, otherwise you need to get adb on other ways
2. Try "adb devices" and make sure you see a device listed there (enable usb debugging)
3. Make sure you have more than 20 MB free space on the internal storage (not the SD card) and enable USB Debugging in settings
4. Download https://dl.dropboxusercontent.com/u/30267315/archive-utils-android.zip and extract it
5. Use adb push decompress /data/local/tmp and adb push spk /data/local/tmp
6. Download https://dl.dropboxusercontent.com/u/30267315/Minetest/minetestserver-0.4.7-android.spk.gz
7. Use adb push minetestserver-0.4.7-android.spk.gz /data/local/tmp
8. Log into the device with adb shell
9. Switch to /data/local/tmp and verify that decompress and spk are working:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
your_computer$ adb shell
$ cd /data/local/tmp
$ ls
decompress
spk
minetestserver-0.4.7-android.spk.gz
$ ./spk
spk version 0.1.8 (compiled Jun 18 2013 21:37:15 with gcc 4.6 20120106 (prerelease))
Usage: spk (cx)[v] [options] <archive> [files] ...
spk packs files and directories in a developer-friendly format.

Valid options:
  --no-uid-gid          Doesn't save User ID and Group ID to archive
  --no-mode             Doesn't save Access mode to archive

Examples:
  spk cv example.spk foo bar        # Create example.spk with the files foo and bar
  spk x --no-uid-gid archive.spk    # Extract archive.spk without setting UID and GID
$ ./decompress
Usage: decompress <input> <output>

10. Decompress minetestserver-0.4.7-android.spk.gz and delete minetestserver-0.4.7-android.spk.gz:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
$ ./decompress minetest-0.4.7-android.spk.gz minetest-0.4.7-android.spk
Read 6302847 bytes, Wrote 6299648 bytes, Decompression factor 0.05%
$ rm minetest-0.4.7-android.spk.gz

11. Extract minetest-0.4.7-android.spk and delete minetest-0.4.7-android.spk:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
$ ./spk xv minetest-0.4.7-android.spk
minetest-0.4.7-android
minetest-0.4.7-android/games
minetest-0.4.7-android/games/minimal
minetest-0.4.7-android/games/minimal/game.conf
minetest-0.4.7-android/games/minimal/mods
minetest-0.4.7-android/games/minimal/mods/legacy
minetest-0.4.7-android/games/minimal/mods/legacy/depends.txt
minetest-0.4.7-android/games/minimal/mods/legacy/init.lua
minetest-0.4.7-android/games/minimal/mods/legacy/textures
minetest-0.4.7-android/games/minimal/mods/legacy/textures/firefly.png
<........>
$ rm minetest-0.4.7-android.spk

12. Switch to minetest-0.4.7-android/bin and start minetestserver with the parameters you want:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
$ cd minetest-0.4.7-android/bin
$ ./minetestserver --logfile debug.txt --world ../world --gameid minetest --config minetest.conf
<time>: ACTION[main]:         .__               __                   __   
<time>: ACTION[main]:   _____ |__| ____   _____/  |_  ____   _______/  |_
<time>: ACTION[main]:  /     \|  |/    \_/ __ \   __\/ __ \ /  ___/\   __\
<time>: ACTION[main]: |  Y Y  \  |   |  \  ___/|  | \  ___/ \___ \  |  | 
<time>: ACTION[main]: |__|_|  /__|___|  /\___  >__|  \___  >____  > |__| 
<time>: ACTION[main]:       \/        \/     \/          \/     \/       
<time>: ACTION[main]: World at [../world]
<time>: ACTION[main]: Server for gameid="minetest" listening on port 30010.
creative inventory size: 176
<time>: ACTION[ServerThread]: announcing to servers.minetest.net

After that you can e.g. use your own minetest.conf
You should know how to get files from your computer. (Hint: adb push minetest.conf /data/local/tmp/minetest-0.4.7-android/bin)
Last edited by sfan5 on Mon Oct 21, 2013 16:27, edited 1 time in total.
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Tue Jun 18, 2013 20:54

does it work with other games? thank you very much for these detailed instructions!
and what would happen if i ran "minetest", not "minetestserver"?
Last edited by Mito551 on Tue Jun 18, 2013 20:57, edited 1 time in total.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Tue Jun 18, 2013 21:09

Mito551 wrote:and what would happen if i ran "minetest", not "minetestserver"?

I guess its simply not there, because nobody has succesfully build it yet.
Last edited by PilzAdam on Tue Jun 18, 2013 21:09, edited 1 time in total.
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Wed Jun 19, 2013 05:18

Mito551 wrote:does it work with other games?

Sure, it's the original minetestserver code without any modifications
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

oxenfreedan
Member
 
Posts: 218
Joined: Tue Jan 22, 2013 01:39

by oxenfreedan » Wed Jun 19, 2013 11:45

I don't get how to do it couldn't you just make an apk?
My Awesome Map please try:
http://forum.minetest.net/viewtopic.php?id=5028
I've played minetest since 0.3.1 came out!
Mostly when on forums I'm using a uniden tablet!
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Wed Jun 19, 2013 12:45

oxenfreedan wrote:I don't get how to do it couldn't you just make an apk?

I can't make an .apk because it is not an app and apps need to be written in Java(theres JNI too, but that doesn't work well with .so's requiring other libs)
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Wed Jun 19, 2013 21:02

sfan5 wrote:
PilzAdam wrote:
Mito551 wrote:
....and? is that it? any... hmm... screenshots or test versions or anything?

I played on the server hosted on sfan5's phone. Worked like every other Minetest server, no noticeable differences (except that the chat is broken).

Ask sfan5 for the download link.

I recompiled the server with cURL and UcLibc, the unicode/char errors are gone now.
What you need: Android device(doesn't need to be rooted); USB cable; PC with Windows, Linux or Mac
How to try it out:
1. Download https://dl.dropboxusercontent.com/u/30267315/adb.exe if you are on Windows, otherwise you need to get adb on other ways
2. Try "adb devices" and make sure you
-snip-
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
<time>: ACTION[main]: World at [../world]
<time>: ACTION[main]: Server for gameid="minetest" listening on port 30010.
creative inventory size: 176
<time>: ACTION[ServerThread]: announcing to servers.minetest.net

After that you can e.g. use your own minetest.conf
You should know how to get files from your computer. (Hint: adb push minetest.conf /data/local/tmp/minetest-0.4.7-android/bin)

Has anybody tried this yet?
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
kobayashi
Member
 
Posts: 50
Joined: Fri Mar 22, 2013 19:09

by kobayashi » Sat Jun 22, 2013 09:51

I try this :( You haven't put the dll files for adb and I don't know how to run the GZ files in android
BY ME (KOBAYASHI) FOR YOU =)
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Sat Jun 22, 2013 10:01

kobayashi wrote:You haven't put the dll files for adb

Google the name of the dll thats missing
kobayashi wrote:I don't know how to run the GZ files in android

??? You don't run .gz files
Just do what the steps say, nothing else
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
kobayashi
Member
 
Posts: 50
Joined: Fri Mar 22, 2013 19:09

by kobayashi » Sat Jun 22, 2013 10:16

please put in this the file AdbWinApi.dll
BY ME (KOBAYASHI) FOR YOU =)
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Sat Jun 22, 2013 10:55

You can download it here
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

saikoe
Member
 
Posts: 17
Joined: Sat Aug 17, 2013 00:31

by saikoe » Sat Aug 17, 2013 01:46

Yea everyone would like to play minetest pe just like mcpe you can release it on iPad and iPod and iPhone and also add the same blocks and skins for mutiplayer
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Sat Aug 17, 2013 01:48

saikoe wrote:Yea everyone would like to play minetest pe just like mcpe you can release it on iPad and iPod and iPhone and also add the same blocks and skins for mutiplayer
Not happening any time soon. Or ever for that matter.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

saikoe
Member
 
Posts: 17
Joined: Sat Aug 17, 2013 00:31

by saikoe » Sat Aug 17, 2013 01:50

But why I don't play minecraft anymore I saw herobrine in my world so now I play minetest
 

saikoe
Member
 
Posts: 17
Joined: Sat Aug 17, 2013 00:31

by saikoe » Sat Aug 17, 2013 01:51

Evergreen wrote:
saikoe wrote:Yea everyone would like to play minetest pe just like mcpe you can release it on iPad and iPod and iPhone and also add the same blocks and skins for mutiplayer
Not happening any time soon. Or ever for that matter.

And for something you don't want go and play minetest on your computer
 

saikoe
Member
 
Posts: 17
Joined: Sat Aug 17, 2013 00:31

by saikoe » Sat Aug 17, 2013 01:53

saikoe wrote:
Evergreen wrote:
saikoe wrote:Yea everyone would like to play minetest pe just like mcpe you can release it on iPad and iPod and iPhone and also add the same blocks and skins for mutiplayer
Not happening any time soon. Or ever for that matter.

And for something you don't want go and play minetest on your computer
 

saikoe
Member
 
Posts: 17
Joined: Sat Aug 17, 2013 00:31

by saikoe » Sat Aug 17, 2013 01:53

So yea back off ever nothing
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Sat Aug 17, 2013 02:12

saikoe wrote:
Evergreen wrote:
saikoe wrote:Yea everyone would like to play minetest pe just like mcpe you can release it on iPad and iPod and iPhone and also add the same blocks and skins for mutiplayer
Not happening any time soon. Or ever for that matter.

And for something you don't want go and play minetest on your computer
I see your point, but it still isn't going to happen. It would need an entire rewrite of the game, and no one is interested in doing it. Plus, it would no longer be open source.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

ndjdjksisksk
Member
 
Posts: 130
Joined: Mon May 06, 2013 04:11

by ndjdjksisksk » Sat Aug 17, 2013 04:59

i might play around with the code a little bit with minetest 1.0.0 and see if i can make an interface with the toutch screen
nvm about me leaving minetest but i probably will for a while because i have nothing to do in this comunity becaise i can't make a server. my username is going to change i will make a new acount called stormchaser3000
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Sat Aug 17, 2013 07:02

Evergreen wrote:It would need an entire rewrite of the game

Wrong! We would just need an interface between some Android Java Methods and C++
Evergreen wrote:it would no longer be open source

Also wrong! See above
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
PenguinDad
Member
 
Posts: 122
Joined: Wed Apr 10, 2013 16:46
GitHub: PenguinDad
IRC: PenguinDad GhostDoge
In-game: PenguinDad

by PenguinDad » Sat Aug 17, 2013 10:17

sfan5 wrote:
Evergreen wrote:It would need an entire rewrite of the game

Wrong! We would just need an interface between some Android Java Methods and C++
Evergreen wrote:it would no longer be open source

Also wrong! See above

They are talking about an iPhone and iPad version.
Try to use Android Methods on an iPad.
<Cyndra> Programming properly in C++ feels like putting together a jigsaw puzzle
<Cyndra> where the peices don't fit and the picture doesn't matter.
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Sat Aug 17, 2013 13:09

PenguinDad wrote:
sfan5 wrote:
Evergreen wrote:It would need an entire rewrite of the game

Wrong! We would just need an interface between some Android Java Methods and C++
Evergreen wrote:it would no longer be open source

Also wrong! See above

They are talking about an iPhone and iPad version.
Try to use Android Methods on an iPad.

An iPad/iPod version will also not require a rewrite.
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
ch98
Member
 
Posts: 463
Joined: Wed Jan 02, 2013 06:14

by ch98 » Sat Aug 17, 2013 19:40

rubenwardy wrote:kobayashi, you should search the forum first before posting ideas and requests, this has been mentioned several times.

The app, if done, will probably only be for android.

I am not sure how the android market works, but the dev tool kit is free for android, but not for iOS.

I thought you can get free xcode with iOS thing if you have apple developer account and own an mac.
Mudslide mod Click Here
 

Rct. Tsoul
New member
 
Posts: 4
Joined: Sun Apr 07, 2013 18:24

by Rct. Tsoul » Sat Sep 28, 2013 17:31

sfan5 wrote:Wrong! We would just need an interface between some Android Java Methods and C++

Yes, I will be willing to contribute to this project, sfan5 if you have the MineCraft app on a Android or Ipad/phone, you will see what I am talking about, we only need an interface and controls, when just compiled as is, there is no way to control it, unless you attach a Bluetooth Keyboard & Mouse
but that would suck for a touch device, defeats the purpose of a touch device.
My ultimate goal:
Host a Minetest server on a Cisco/Linux connected to direct fiber optic internet, then when Im board, connect can start building something, even connect with my son so we can build and have some fun.

sfan5 .............. if you don't have MineCraft for a tablet device, I will buy it for you so you can see how it works, this will give you some incite as to how it would work greatly.
 

Claire
Member
 
Posts: 38
Joined: Sun Aug 18, 2013 23:02

by Claire » Mon Oct 07, 2013 23:53

OMG! I would LOVE to see Minetest on mobile device! It would be amazing! I think the player base would grow by a lot!!! :D
 

User avatar
general3214
Member
 
Posts: 118
Joined: Fri Oct 04, 2013 03:15

by general3214 » Tue Oct 08, 2013 01:28

This topic just sparked an idea for me. Minetest should be ported to consoles/smartphones that currently do not have Minecraft available. However, this does not mean that I discourage development for Xbox, iOS, or etc. I am just suggesting an idea to the developers, so that Minetest won't be hidden behind Minecraft's wall of popularity.
March 6, 2014, 8:37 PM PST: I will no longer continue my mods.
Mods | GitHub | MCF
Avatar made by Annahstas
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Tue Oct 08, 2013 14:54

general3214 wrote:This topic just sparked an idea for me. Minetest should be ported to consoles/smartphones that currently do not have Minecraft available. However, this does not mean that I discourage development for Xbox, iOS, or etc. I am just suggesting an idea to the developers, so that Minetest won't be hidden behind Minecraft's wall of popularity.

I personally dont care if Minetest is less popular than Minecraft. Being a small and not-so-known project has also a lot of good sides.
I dont really use any other devices except the PC, so I wont develop for them.
 

User avatar
stormchaser3000
Member
 
Posts: 407
Joined: Sun Oct 06, 2013 21:02

by stormchaser3000 » Wed Oct 09, 2013 02:22

PilzAdam wrote:
general3214 wrote:This topic just sparked an idea for me. Minetest should be ported to consoles/smartphones that currently do not have Minecraft available. However, this does not mean that I discourage development for Xbox, iOS, or etc. I am just suggesting an idea to the developers, so that Minetest won't be hidden behind Minecraft's wall of popularity.

I personally dont care if Minetest is less popular than Minecraft. Being a small and not-so-known project has also a lot of good sides.
I dont really use any other devices except the PC, so I wont develop for them.

good point less griefers lol
 

PreviousNext

Return to Minetest General

Who is online

Users browsing this forum: No registered users and 14 guests

cron