aliens

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

Offline sfalexrog

  • Captain
  • ***
  • Posts: 56
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #135 on: July 24, 2015, 07:29:58 pm »
Will I could play the oxc extended on android?

Regarding the OpenXcom Extended mod, there's a way to compile it into the Android version (like, in fact, many of the binary mods!). You'll need to build the version yourself, though. The rough idea is outlined here: https://github.com/sfalexrog/openxcom-android/blob/master/README.md ("Mod compatibility" section).

In https://github.com/sfalexrog/OpenXcom there's a branch called sdl2_extended which is a merger between OpenXcom Extended and SDL2-Android port. It might give you a nice starting point!

Offline DAHgaming

  • Squaddie
  • *
  • Posts: 2
  • I love xcom, But I play all games in general.
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #136 on: July 29, 2015, 02:33:14 am »
Hello! I have a installation problem with this platform of the game. with the latest version of the Android build. I was able to make folders successfully, but there are still problems. I will put down the directory formats now:

X-com: Enemy Unknown
status: Not fuond (Incomplete installation)

path to game data files:
/mnt/sdcard/openxcom/UFO

Path to save data folder:
/mnt/sdcard/openxcom/Save Games     (FYI, this is the only folder I made myself)

Path to configuration files:
/mnt/sdcard/openxcom/standard

I don't understand everything I should be doing in the installation. I've already played and installed the windows version on my computer, and I put the required game folders in the data folder, so what would I do now???

Offline imcx22

  • Squaddie
  • *
  • Posts: 8
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #137 on: July 29, 2015, 03:14:23 am »
Hello! I have a installation problem with this platform of the game. with the latest version of the Android build. I was able to make folders successfully, but there are still problems. I will put down the directory formats now:

X-com: Enemy Unknown
status: Not fuond (Incomplete installation)

path to game data files:
/mnt/sdcard/openxcom/UFO

Path to save data folder:
/mnt/sdcard/openxcom/Save Games     (FYI, this is the only folder I made myself)

Path to configuration files:
/mnt/sdcard/openxcom/standard

I don't understand everything I should be doing in the installation. I've already played and installed the windows version on my computer, and I put the required game folders in the data folder, so what would I do now???
For me, the application picked up data correctly on its own. I just unpacked the Xcom game, the app found it and asked to copy data which I agreed to and it worked fine ever since. Perhaps try a different version of Xcom, if the app doesn't find the game data automatically.

Wysłane z mojego SM-A300FU przy użyciu Tapatalka


Offline nadir-1648

  • Captain
  • ***
  • Posts: 90
  • Oh yes, this is going to be dreadful.
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #138 on: July 29, 2015, 03:43:18 am »
It's finicky about music. Try downloading a new soundtrack; if it's just the MIDI version, it's not gonna see it in my experience.

Offline nadir-1648

  • Captain
  • ***
  • Posts: 90
  • Oh yes, this is going to be dreadful.
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #139 on: August 02, 2015, 04:39:31 am »
A TFTD stream means TFTD will soon be consumable by the public...

edit: TFTD sorta works on the Android port now, with certain issues:

-Crashes when Deep Ones attack

-Crashes when a USO is detected

-Crashes on the interior Artefact Site level

-In the New Battle screen, I can load SWS ammo into the craft

-Crashes when I try to assault an Escort USO

-All the other OTFTD issues apply

-This:
Much as I love airlocks, that's overdoing it  :P
« Last Edit: August 04, 2015, 05:11:43 pm by Z. Nadir »

Offline sfalexrog

  • Captain
  • ***
  • Posts: 56
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #140 on: August 04, 2015, 06:09:01 pm »
(Huh, apparently someone did something and ran OpenTFTD ruleset on a build that doesn't exactly support it :P )

So, you've waited for it.

You've asked for it.

And with the blessings of our benevolent masters, SupSuper and Warboy, TFTD is now more than a four-letter word.

And I may only humbly offer the Android version that is built with the OpenTFTD ruleset and code: https://dl.dropboxusercontent.com/u/732324/OpenXcom-v1.0-gd81a980.apk.zip (it's not yet on the modsite, but apparently the modsite doesn't really work for android OXC anyway)Update: looks like the modsite functions properly now!

So that all of us can suffer everywhere.

---
Okay, so joking aside, the Android version is still lacking a lot of things everyone has asked about (*ahem*decent Battlescape UI*ahem*), and I didn't really give the port nearly enough love that it deserves. Still, TFTD support is there and it's nearly as good as on PC (which itself still suffers from some bugs, as far as I can tell). I've tried playing (ehm, playTESTING) this thing for a bit, and it seems to run fine, which is to say, it didn't crash horribly for a good 30 minutes.

Since TFTD support is a bit rough, I'm not yet offering to install it through the dreaded Configure Folders dialog. Instead, you'll have to go through this process yourself, placing all the required folders in your openxcom/TFTD folder (which helpfully contains a README.TXT file to list what's required). Don't worry though, the setting will come soon.

There's also one more thing that I need help with: there's at least three TFTD versions out there, probably even more. What I would like to know is what are the major differences between them, how they affect OpenTFTD and how to determine the version by looking at data files. I want this thing mostly for the Configure Folders dialog section.

And feel free to report system-specific issues to my Github! I'll look into them - eventually  :P
« Last Edit: August 05, 2015, 04:22:12 pm by sfalexrog »

Offline woot835

  • Squaddie
  • *
  • Posts: 2
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #141 on: August 09, 2015, 05:02:02 pm »
TFTD works fine on my tablet (Samsung Galaxy S Tab 2 10.1 with Android 4.2.2), but it has an annoying issue of not being able to use .mid files that my game came with. I went around looking for .ogg files to replace with and I did find some, but the sound quality is half static. So is there a way to use .mid files for my android tablet, or do I have to stick with staticy .ogg music for the rest of the game.

Offline sfalexrog

  • Captain
  • ***
  • Posts: 56
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #142 on: August 09, 2015, 07:59:38 pm »
it has an annoying issue of not being able to use .mid files that my game came with. I went around looking for .ogg files to replace with and I did find some, but the sound quality is half static.

Unfortunately, midi synth is not really supported in Android. I've tried a test build with TiMidity-enabled SDL2_Mixer, but it requires sound fonts (and I have to hardcode the place where the user can put them), and it sounds all kinds of wrong. So, yeah, your only real options are FLAC, OGG, and Adlib.

As for the quality, have you tried setting your sample rate to a higher value? It's 22050 by default, you might want to increase it to 44100, though you should check your files to have the same sample rate, since SDL doesn't do a good job at resampling sound.

Offline woot835

  • Squaddie
  • *
  • Posts: 2
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #143 on: August 10, 2015, 10:05:32 am »
Yup, converting the sample size into 44100 fixed the quality issue, thanks!

Offline sfalexrog

  • Captain
  • ***
  • Posts: 56
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #144 on: August 15, 2015, 07:53:59 pm »
This release is brought to you by Z. Nadir's telling me that Alien Containment actually has its own screen!

New version!
  • Updated to upstream git 868d699
  • Long-pressing on modules will act as a right-click and take you to the module's menu
  • Long-pressing on a soldier in a craft equipment screen will take you to his/her stats.
  • Maybe something else that I don't remember!

Grab it at the modsite or, if all else fails, from my Dropbox! Here's the link: https://dl.dropboxusercontent.com/u/732324/OpenXcom-v1.0-g7c343cc.apk.zip

Offline begri

  • Sergeant
  • **
  • Posts: 41
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #145 on: August 16, 2015, 03:27:17 pm »
Very bad build. Lot of things lot working.

Maybe because I just updated the apk and it didn't apply the patch or why?

Example :
inventory stats -
Tftd instalation -
Somhow I don't get item from the mission -

Fmp mod... Or the mod is broken?

Sent from my SM-T800 using Tapatalk


Offline sfalexrog

  • Captain
  • ***
  • Posts: 56
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #146 on: August 16, 2015, 04:15:04 pm »
Very bad build. Lot of things lot working.

Maybe because I just updated the apk and it didn't apply the patch or why?

Example :
inventory stats -
Tftd instalation -
Somhow I don't get item from the mission -

Fmp mod... Or the mod is broken?

That's weird. I just did a clean install (grabbing the .apk from the modsite and moving my current OpenXcom folder), got thrown into the "select folders" dialog, installed UFO Defense and TFTD from it, and everything seemed to be working. I also tried the latest FMP, and it seemed to work, though I didn't do a thorough testing.

Can you please do the following:
 - Save a game (preferably in battlescape mode when you don't get items from the mission),
 - Go to your OpenXcom folder and find the savegame and your Options.cfg file,
 - Send them both to me?
 - It would also be great, though not really necessary, if you grabbed a logcat of the game starting up.

Anyway, thank you for writing about these problems, I'll try to solve them as soon as possible!

Offline begri

  • Sergeant
  • **
  • Posts: 41
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #147 on: August 19, 2015, 11:45:50 am »
Everything is ok. False alarm :)

Sent from my SM-T800 using Tapatalk


niculinux

  • Guest
Re: OpenXcom for Android - new official thread
« Reply #148 on: August 19, 2015, 03:44:04 pm »
Thank ypu sfalexrog! Cannot wai for the 2.0 packaged .apk!!! <3

Offline sfalexrog

  • Captain
  • ***
  • Posts: 56
    • View Profile
Re: OpenXcom for Android - new official thread
« Reply #149 on: August 21, 2015, 01:33:32 am »
Everything is ok. False alarm :)

Glad to hear that :)

Thank ypu sfalexrog! Cannot wai for the 2.0 packaged .apk!!! <3

No sooner than there's a 1.1/2.0/something milestone, I guess. Right now it's a "Kinda Nightly" :p

Which brings me to today's announcement: a new version is out! Mandatory pointy list:
  • Based on upstream 9ba220e;
  • Has minor interface tweaks;
  • And all the bugfixes you've been waiting for!

Much like any other time there's an update, you're advised to download it from the modsite (https://www.openxcom.com/mod/openxcom-android-nightly in case it's hard to find), and if it doesn't work for you, there's always my dropbox: https://dl.dropboxusercontent.com/u/732324/OpenXcom-v1.0-g812f08e.apk.zip.