Author Topic: OXCE v7.15 for Android  (Read 162750 times)

Offline RSSwizard

  • Commander
  • *****
  • Posts: 793
    • View Profile
Re: OXCE v6.6.1 for Android
« Reply #120 on: October 17, 2020, 09:39:08 pm »
Hey bud hows it going.
I just got the latest vers of OXCE android and ive noticed a small problem with it...
Trying to change the Shaders (ex, to CRT) in the cfg file doesn't seem to have any effect at all. I made sure to enable openGL in the cfg but its like this is totally ignored.

Im running on a Moto E5 Play with a 720p screen.
Im also running TFTD because those are the only resource files ive currently got off of my hd, though I dont think it makes a difference for this.

Edit:  added options.cfg screenshot
« Last Edit: October 17, 2020, 10:28:58 pm by RSSwizard »

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9084
    • View Profile
Re: OXCE v6.6.1 for Android
« Reply #121 on: October 17, 2020, 09:44:22 pm »
Why is that an issue?

Only filters that can be configured on the GUI are supported.

Offline RSSwizard

  • Commander
  • *****
  • Posts: 793
    • View Profile
Re: OXCE v6.7 for Android
« Reply #122 on: October 21, 2020, 07:49:32 pm »
I think I actually did discover a weird bug.
Modding... changed Deep One attack to deliver a low grade (lobbed) explosive attack, set the hitAnimation to 8 like usual.
When I encountered it on land terror mission the explosion thats displayed is the "Water Bubbles Underwater Explosion" instead of the regular explosive blast. It may have played the underwater sfx for it too I dont remember for sure.
Its not a breaker to me and I can even roll with that, but its just really odd.
(Mod is now broken too currently so I cant pull it up to take shots)

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9084
    • View Profile
Re: OXCE v6.7 for Android
« Reply #123 on: October 21, 2020, 08:38:44 pm »
Can't say much without seeing the mod... but my guess would be that it is just incorrectly modded.

Also, please use this thread only for Android-specific stuff.

Offline yergnoor

  • Colonel
  • ****
  • Posts: 147
    • View Profile
Re: OXCE v6.7 for Android
« Reply #124 on: October 22, 2020, 08:42:30 am »
Greetings.
Is it possible to add a separate setting for the location of the mods folder for Android?
Now it is tied to the location of the save folder, which makes it impossible to transfer mods to a memory card (the game does not have write rights to this place).  Meanwhile, the internal memory of Android does not have enough space to store the heaviest mods, for example, X-Piratez.
Previously, I got around this limitation by placing heavy mods in the standard folder, which is located along with the game data, I have them on the memory card.
But some time ago, such misuse of the standard folder was reasonably prohibited.  But this also led to the impossibility of transferring mods to a memory card, and in the internal memory of my Android there is rarely more than half a gigabyte of free space.
Sufficient for light mods, but too few for heavy mods.

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9084
    • View Profile
Re: OXCE v6.7 for Android
« Reply #125 on: October 22, 2020, 09:25:09 am »
How did you make OpenXcom search for data folder on the SD card?


From the source code, Android has following folder search:

Data folder:

Code: [Select]
#ifdef __ANDROID__
// Stop being smart about finding data - it frustrates the users.
//list.push_back("/sdcard/openxcom/data/");
//list.push_back("/storage/extSdCard/openxcom/data/");
return list;
#endif

User folder:

Code: [Select]
#ifdef __ANDROID__
list.push_back("/sdcard/openxcom/");
list.push_back("/storage/extSdCard/openxcom/");
return list;
#endif

Config folder:

Code: [Select]
#ifdef __ANDROID__
return "/sdcard/openxcom/";
#endif

Offline yergnoor

  • Colonel
  • ****
  • Posts: 147
    • View Profile
Re: OXCE v6.7 for Android
« Reply #126 on: October 22, 2020, 09:58:48 am »
From the source code, Android has following folder search:
This is the default data location.
How did you make OpenXcom search for data folder on the SD card?
In the settings, in the SYSTEM section, it is possible to change the location of the game folders.  Also, this setting appears on first launch.
You can change:
1. The location of the game data. 
2. Location of mods and save folders (only together). 
3. The location of the settings file.
But the save and the settings file must be in internal memory (so that the game can overwrite them).  And along with them is the mods folder.  Game data can be moved to a memory card through the first of three buttons.  I move the data itself through a third-party file manager, and then indicate the path to it in the game settings.  I have been doing this since the days of playing in the port of regular OpenXcom (not Extended).

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9084
    • View Profile
Re: OXCE v6.7 for Android
« Reply #127 on: October 22, 2020, 10:06:47 am »
I see.
The paths are passed as arguments in this case.

OK, for now, I will allow reading user mods from 'standard' folder again as before (on Android and iOS only).
And in the future I may split the user path into user path and mod path...

Offline yergnoor

  • Colonel
  • ****
  • Posts: 147
    • View Profile
Re: OXCE v6.7 for Android
« Reply #128 on: October 22, 2020, 10:16:50 am »
Meridian, thanks.
Of course, it's better if the location of the mods folder can be customized.  But for now, it will be possible to use the standard folder on Android for this.
For a computer, there is no such need, only troubles.  I remember how confusing it was when players advised each other to use different folders for mods.

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9084
    • View Profile
Re: OXCE v6.7.2 for Android
« Reply #129 on: October 24, 2020, 11:43:15 am »
OK, so I did not allow reading user mods from 'standard' folder.
But I allowed them to be read from a new 'mods' folder in the data directory (same place where 'common' and 'standard' folders are).

So now the mods can be placed in:
<userFolder>/mods
<dataFolder>/mods

Offline yergnoor

  • Colonel
  • ****
  • Posts: 147
    • View Profile
Re: OXCE v6.7.2 for Android
« Reply #130 on: October 24, 2020, 03:52:59 pm »
Meridian, thanks a lot.  Good decision.

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9084
    • View Profile
Re: OXCE v6.8.1 for Android
« Reply #131 on: November 24, 2020, 02:45:59 pm »
Meridian, thanks a lot.  Good decision.

There is an issue with v6.7.2 and also v6.8 ... the mods are loaded twice, when user folder and data folder are the same.
Which leads to double the load time; and also to weird errors in some situations.

Please update to v6.8.1

Offline yergnoor

  • Colonel
  • ****
  • Posts: 147
    • View Profile
Re: OXCE v6.8.1 for Android
« Reply #132 on: November 24, 2020, 07:02:18 pm »
Thanks.  I updated the game and warned other Russian-speaking users of the Android version about this fix.

Offline DHangelfan

  • Squaddie
  • *
  • Posts: 6
    • View Profile
Re: OXCE v6.9.1 for Android
« Reply #133 on: January 21, 2021, 12:45:41 am »
Howdy folks! Great mod!

I was simply wondering how to delete a saved game using touch controls?

On PC, you'd simply right click in the "Load Game" screen. I'm wondering if there's a way to do it that doesn't include me going into the program directory and deleting files.
« Last Edit: January 21, 2021, 12:58:22 am by DHangelfan »

Offline R1dO

  • Colonel
  • ****
  • Posts: 442
    • View Profile
Re: OXCE v6.9.1 for Android
« Reply #134 on: January 21, 2021, 02:29:25 pm »
Try pressing a little longer.
For as far as i know touch devices register short presses as left click and long presses (possibly followed by another action based on feedback) as right click.