minetest pocket edition

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

by Mito551 » Post

sfan5 wrote:
oxenfreedan wrote:GOOD!!!!!!!!!! I cant wait for the finished minetest pe 0.0.1!!!!!!!!!!!
0.0.1....
Making a reduced pocket version is bad!
It's better to port the pc version with all features
+1

User avatar
tima_gt
Member
Posts: 22
Joined: Mon Jun 10, 2013 13:19

by tima_gt » Post

Good project, but when it released?

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

by PilzAdam » Post

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

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

by Mito551 » Post

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?

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

by PilzAdam » Post

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.
Last edited by PilzAdam on Tue Jun 18, 2013 13:49, edited 1 time in total.

Sokomine
Member
Posts: 4290
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

by Sokomine » Post

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.

Jordach
Member
Posts: 4534
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach
Location: Blender Scene

by Jordach » Post

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.

sfan5
Moderator
Posts: 4095
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

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/302 ... ndroid.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/302 ... oid.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:

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:

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:

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:

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 » Post

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
Location: Germany

by PilzAdam » Post

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.

sfan5
Moderator
Posts: 4095
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

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
Location: mars

by oxenfreedan » Post

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!

sfan5
Moderator
Posts: 4095
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

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)

sfan5
Moderator
Posts: 4095
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

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-

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
Location: The lava

by kobayashi » Post

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 =)

sfan5
Moderator
Posts: 4095
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

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
Location: The lava

by kobayashi » Post

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

sfan5
Moderator
Posts: 4095
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

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 » Post

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: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

by Evergreen » Post

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.
Back from the dead!

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

by saikoe » Post

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 » Post

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 » Post

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 » Post

So yea back off ever nothing

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

by Evergreen » Post

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.
Back from the dead!

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests