Forum index VCMI Project - Heroes 3: WoG recreated
Forum of the project aiming to recreate best turn-based strategy ever!

FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  StatisticsStatistics
RegisterRegister  Log inLog in  AlbumAlbum  DownloadDownload

Previous topic :: Next topic
VCMI Wiki opened!
Author Message
Tow dragon 
VCMI Programmer


Joined: 01 Feb 2008
Posts: 1004
Location: Kraków
Posted: 2013-01-19, 15:09   

To do so, we need a developer with appropriate device willing to support such port. Testers are important but not enough.
_________________
:)
 
     
Alkololo 

Joined: 18 Jan 2013
Posts: 15
Posted: 2013-01-21, 18:08   

I could try to do it if I had instructions. But I've never did anything like that before.
 
     
Ivan 
VCMI programmer

Age: 26
Joined: 08 May 2009
Posts: 1438
Location: Ukraine
Posted: 2013-01-21, 18:23   

Quote:
But I've never did anything like that before.

In this case - believe me, this is not a good idea.

For compile instructions for PC see our wiki (wiki.vcmi.eu). But we can't help with any Android-related stuff.
 
     
Alkololo 

Joined: 18 Jan 2013
Posts: 15
Posted: 2013-01-21, 19:44   

Ok, I'll try to do something
There is a guy who already did it here http://4pda.ru/forum/inde...0#entry18809948
But it doesn't work properly, It starts but when you choose map and press to play and press Begin it freezes
and log is here. May be you know what to do here and it is not a linux_for_android_tablet problem
Code:
[email protected]:~$ vcmiclient
Starting...
Creating console and logfile: 0
Loading settings: 60
VCMI 0.89 (client)
shm_open() failed: Permission denied
ALSA lib pcm_dmix.c:985:(snd_pcm_dmix_open) unable to create IPC semaphore
Note: SDL suggests to use 16 bpp instead of24 bpp
New screen flags: 0
    Initializing screen: 220
Cannot open /usr/local/share/vcmi/Data/VIDEO.VID: failed opening file: No such file or directory
    Initializing video: 10
    Initializing minors: 0
Mix_OpenAudio error: No available audio device
Mix_OpenAudio error: No available audio device
    Initializing sound: 30
Initializing screen and sound handling: 30
Loading .lod files: 380
    General text handler: 90
    Hero handler: 150
    Artifact handler: 20
    Creature handler: 180
    Town handler: 100
    Object handler: 40
    Def information handler: 170
    Building handler: 20
    Spell handler: 20
Initializing VCMI_Lib: 1200
Screen handler: 10
Loading and transforming heroes' flags: 830
    Main graphics: 1000
Initializing game graphics: 0
Message handler: 10
Initialization of VCMI (together): 2530

Probably this discussion should be moved to some other place...
 
     
Ivan 
VCMI programmer

Age: 26
Joined: 08 May 2009
Posts: 1438
Location: Ukraine
Posted: 2013-01-21, 22:58   

Code:
shm_open() failed: Permission denied

Something wrong with shared memory. Map loading will not work correctly.
What's wrong? No idea. Try asking somebody familiar with both c++ and Android.

I also see sound and video playback errors but they should not be critical.
 
     
Tow 
Project Lead
VCMI Programmer


Joined: 01 Feb 2008
Posts: 1407
Location: Kraków, Poland
Posted: 2013-01-22, 11:40   

Besides, why does it access a shared memory at that point? We do use it but only for waiting for server (later).

It may be some issue with Boost. I don't know how well Boost supports Android ATM but if I remember correctly, Pelya when building his port had also ported significant parts of it.

@Alkololo
After pressing start, client starts server and waits till it's ready. Please check if VCMI_server is process started? Does it create VCMI_Server_log.txt (and if — what does it say)?
_________________
VCMI is a work in progress.
VCMI is NOT an another mod.
 
     
Alkololo 

Joined: 18 Jan 2013
Posts: 15
Posted: 2013-01-23, 03:25   

Tow wrote:
Besides, why does it access a shared memory at that point? We do use it but only for waiting for server (later).

It may be some issue with Boost. I don't know how well Boost supports Android ATM but if I remember correctly, Pelya when building his port had also ported significant parts of it.

@Alkololo
After pressing start, client starts server and waits till it's ready. Please check if VCMI_server is process started? Does it create VCMI_Server_log.txt (and if — what does it say)?

it is actually not just android but debian on arm tablet using linux-deploy apk

VCMI_Server_log.txt
Download 229 Time(s) 14.22 KB

 
     
Alkololo 

Joined: 18 Jan 2013
Posts: 15
Posted: 2013-01-23, 03:29   

OMG OMG
IT WORKS AFTER I TYPED SUDO VCMICLIENT
OMG
:roll:
 
     
Tow dragon 
VCMI Programmer


Joined: 01 Feb 2008
Posts: 1004
Location: Kraków
Posted: 2013-01-23, 10:14   

http://xkcd.com/149/

sudo make vcmi finished
;)
_________________
:)
 
     
Alkololo 

Joined: 18 Jan 2013
Posts: 15
Posted: 2013-01-26, 05:20   

Tow dragon wrote:
http://xkcd.com/149/

sudo make vcmi finished
;)

:mrgreen:
So I didn't find a lot of lags there
the only thing (and it makes the game impossible to play) that I am not able to enter a castle, when I do it game stops working :-(
but saves and loads work, I can explore map and fight and collect resourses, I am also able to load a WOG campaign.
Here is my terminal log, may be you know what is the reason :oops:

terminal log.txt
Download 280 Time(s) 2.72 KB

 
     
AVS 

Joined: 25 Feb 2011
Posts: 563
Location: Russia
Posted: 2013-01-26, 08:20   

Console log is not enough. You should provide "VCMI_Client_log.txt" "VCMI_Server_log.txt" "server_log.txt" and please report bugs to bugtracker.
 
     
Display posts from previous:   
Reply to topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Add this topic to your bookmarks
Printable version

Jump to:  

Powered by phpBB modified by Przemo © 2003 phpBB Group

Hosting provided by DigitalOcean
Page generated in 0.03 second. SQL queries: 14