Author Topic: OpenXcom for Android - new official thread  (Read 351886 times)

Offline xracer

  • Commander
  • *****
  • Posts: 565
  • X-COM lover, we've gone at it everywhere
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #225 on: November 29, 2017, 07:43:17 am »
Not to sound pedantic, but is Feb on the APK still going on, I have OXC extended but I like a few features from the base code. And the git seems a bit out dated :(

I downloaded 'official' Android ort and I can't import the folder it says they are imported but the game crashes on start up.
« Last Edit: November 29, 2017, 07:45:33 am by xracer »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11722
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: OpenXcom for Android - new official thread
« Reply #226 on: November 29, 2017, 02:42:52 pm »
Yankes is working on the next release of OXCE to include the new vanilla changes, so hopefully it'll be updated soon. But still it will have to be processed by Meridian as well, so it will take some time before the next Android version.

Offline xracer

  • Commander
  • *****
  • Posts: 565
  • X-COM lover, we've gone at it everywhere
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #227 on: November 29, 2017, 08:22:46 pm »
Yes. I always followed Meridiam work on OXCe like I said that is the version I am running, however last I heard Meridian got tired of ***** people and stopped working on OXCe altogether for a while. Then again I have not been in the chats lately. But I am glad someone still working on it.

Offline caleafterearth

  • Sergeant
  • **
  • Posts: 10
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #228 on: December 07, 2017, 12:28:27 pm »
Hellooos!

I can't seen to find a working link to the APK... :(
Help? Lol


Offline xracer

  • Commander
  • *****
  • Posts: 565
  • X-COM lover, we've gone at it everywhere
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #229 on: January 11, 2018, 03:38:21 am »
Hellooos!

I can't seen to find a working link to the APK... :(
Help? Lol


The link is

https://openxcom.org/forum/index.php/topic,5258.0.html

Offline RSSwizard

  • Commander
  • *****
  • Posts: 793
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #230 on: January 16, 2018, 09:34:48 pm »
Just to be clear which version and type of OXC is this for the android?
Last time I picked up the android version I think Meridian was the one who linked it to me and I was under the impression that he was the one maintaining it.

I have version 3.7a+4c5574a OXCE+ and im wondering if it has the same options/capabilities or if this just happens to be a different fork of openxcom for android. Im making a personal mod for TFTD and I dont want to break compatability by installing a different OXC.

Edit:
Quote
"Currently there's no way to force-fire or use alternative movement modes."
The easiest and most intuitive solution to this is the Long Press. Its already used for a variety of things so its going to be tricky to use but at least it would allow the player to use these functions.
  • When confirmation movement mode is turned on (lists path/tus per tile) check for a Long Press on the confirmation, and if so then initiate an immediate forced move (it doesnt have to update the TU count per tile, just do the forced move).
  • In targeting mode when you confirm to fire check for a Long Press, and if so then conduct forced fire.

Ive gotten my butt kicked a couple times just because of the finicky controls used in an android that I have to rapidly press some area to shoot at because it keeps telling me there's no line of fire (usually shooting into a building) and I can even missfire as a result - would be really great to just force fire on a wall tile I was actually trying to shoot. Likewise with the painfully slow movement of rookie soldiers not being able to clear the transport and reach cover by the end of the first turn they've disembarked - or run to the transport door fast enough to get a shot at the first visible alien and provide support for the tank.
« Last Edit: January 16, 2018, 09:53:33 pm by RSSwizard »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9093
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #231 on: January 16, 2018, 09:53:24 pm »
OXC for Android is maintained by sfalexrog.
Downloads here: https://github.com/sfalexrog/openxcom-android/releases

OXCE+ for Android is maintained by me.
Downloads here: https://openxcom.org/forum/index.php/topic,5258.0.html

Offline Bubuskac

  • Sergeant
  • **
  • Posts: 21
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #232 on: March 06, 2018, 12:31:28 pm »
Hi everyone!

For various reason I thought I could try the android version of OXC. First I tried to build my own, because it seemed to be easier than the windows version, but I've got pretty the same result: the app starts, I select the place of the data files, then hit the save and restart button and then I wait... Some time afterward the OS says the app does not reply. I'm not sure it is frozen, since the popup comes really long time later and the phone is responsible as well.

After that I gave a try to the versions listed in the previous post (thank you very much for it!). I can install two versions, but none of them works. The difference that the app suddenly stops running, instead of the dark screen.

I have a little better understanding of android, but this is still C++. :) I'm wondering that I might missing something (like I didn't copied every necessary files to the phone), or it's just the big variety of android devices. I copied the data from my installed OXC folder which is copied and patched by the installer. Could this be the problem? Is there an efficient way to debug? I attached logcat, but that does not give me the idea where to look, because the app just stops logging. Maybe I should start analyse the log line by line, but I hope for some quick beginner tips to start with. :)

Offline Yataka Shimaoka

  • Colonel
  • ****
  • Posts: 284
  • I'm the trouble maker
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #233 on: March 06, 2018, 03:50:27 pm »
Try the OXCE+ android build, its far more updated

Offline Bubuskac

  • Sergeant
  • **
  • Posts: 21
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #234 on: March 06, 2018, 05:24:20 pm »
The result is very similar. I set up the game then I press save and restart, and the set up page is showed again, unless I tick the option to use the app cache for game data. After that the app terminates upon restart, and it simply quits if I restart it (without the error message that the app suddenly stopped running popup).
The log is 0 byte.
Any idea?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9093
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #235 on: March 06, 2018, 05:28:52 pm »
Option 1:
Uninstall and purge everything and start again from scratch.

Option 2:
If it still doesn't work, don't use the loader... but do it manually:
1. install
2. don't run
3. copy UFO/TFTD data in the appropriate place manually
4. now run... (loader won't even start)

Offline Bubuskac

  • Sergeant
  • **
  • Posts: 21
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #236 on: March 06, 2018, 05:42:28 pm »
I tried option 1, with the same result. I thought something could be mixed up.

However I'm still thinking of I'm missing something from "UFO/TFTD data". But I'll try option 2 definitely.

So to clarify:
UFO data is the stuff that can be found on a Windows install in the folder C:\Program Files\OpenXCom\UFO folder (geograph, anim, sound etc)
TFTD data is the stuff that can be found on a Windows install in the folder C:\Program Files\OpenXCom\TFTD folder (geograph, anim, sound etc)

Anything else? Like common folder with the name files, etc.

Thank you!

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9093
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #237 on: March 06, 2018, 05:50:37 pm »
"common", "standard" etc. are installed during APK installation

the only things missing are original resources in "UFO" and "TFTD" folders
(and yes, you can copy them from the Windows install, they are the same)

Offline Bubuskac

  • Sergeant
  • **
  • Posts: 21
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #238 on: March 06, 2018, 06:04:57 pm »
I noticed an interesting thing in the config file:
It starts as
mods:
 -active: false
 id: xcom1
 -active: false
 id: xcom2

etc...

Shouldn't be one of them true? I mean if I want to play with Enemy unknown the option.cfg should start like this:
mods:
 -active: true
 id: xcom1
 -active: false
 id: xcom2

etc.

edit: by the way I'm promoted. :D

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9093
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #239 on: March 06, 2018, 07:09:43 pm »
delete options.cfg and try again