Author Topic: Re: The X-Com Files - 0.9.8: X-Cool  (Read 264060 times)

Offline Stoddard

  • Captain
  • ***
  • Posts: 417
  • in a fey mood
    • View Profile
    • Linux builds & stuff
Re: The X-Com Files - 0.9.8: X-Cool
« Reply #2325 on: February 11, 2019, 11:28:28 pm »
But I have an alternative suggestion: you can get the mod (just the mod) from GitHub. I suppose it should work just fine for you, if you don't mind having a beta version. Especially with OXCE accepting zipped mods now, or at least soon.

Well, that's how it's usually done - put it on github, someone configures a jenkins job or two that watch github, fetch the stuff, repack it or do anything else with it, upload the result wherever, etc. Post notes in discord, on the forum, everything can be automated.

One question is how to know what is a release and what isn't - git tags are usually used for this.

Not at all different from how oxce builds are done.


Edit: like this: https://lxnt.wtf/oxem/#/XComFiles
« Last Edit: February 11, 2019, 11:56:19 pm by Stoddard »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 8164
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: The X-Com Files - 0.9.8: X-Cool
« Reply #2326 on: February 12, 2019, 10:09:56 am »
You can just click "save as zip" and use it as any other packed mod... No need for all that.

Offline yergnoor

  • Squaddie
  • *
  • Posts: 37
    • View Profile
Re: The X-Com Files - 0.9.8: X-Cool
« Reply #2327 on: February 12, 2019, 12:06:21 pm »
You can just click "save as zip" and use it as any other packed mod.
I confirm. I downloaded the XComFiles-master.zip archive, weighing 121.89 megabytes. When I moved it to the /openxcom/mods/ folder, OXCE for Android accepted it as an X-Files mod and safely launched the game with it. Thank you, this is much more convenient than extracting the mod itself from a common archive containing an exe file, unnecessary on Android. And much faster, unpacking the archive on my slow device takes considerable time.

Offline Stoddard

  • Captain
  • ***
  • Posts: 417
  • in a fey mood
    • View Profile
    • Linux builds & stuff
Re: The X-Com Files - 0.9.8: X-Cool
« Reply #2328 on: February 12, 2019, 05:08:48 pm »
I confirm. I downloaded the XComFiles-master.zip archive, weighing 121.89 megabytes. When I moved it to the /openxcom/mods/ folder, OXCE for Android accepted it as an X-Files mod and safely launched the game with it. Thank you, this is much more convenient than extracting the mod itself from a common archive containing an exe file, unnecessary on Android. And much faster, unpacking the archive on my slow device takes considerable time.

Don't forget that

A) directories override .zips - if there's a directory with older version and a .zip with newer, the results would be interesting.

B) if there is more than two instances of a mod - in a dir and in a .zip - OXCE will not start.

 

Offline yergnoor

  • Squaddie
  • *
  • Posts: 37
    • View Profile
Re: The X-Com Files - 0.9.8: X-Cool
« Reply #2329 on: February 12, 2019, 06:09:25 pm »
Stoddard, Thank you for reminding. However, it seemed obvious to me that you can use only one copy of each mod at a time. Although I understand that someone may forget to delete the old version. However, if you update X-Files with this method, then the archive name (given to it when downloading) will be the same - “XComFiles-master.zip”. And this means that when you try to place a second one along the same, the system will give a warning. In Android, you cannot have two files with the same name in the same directory. There will be extra insurance against oversight.

Offline Stoddard

  • Captain
  • ***
  • Posts: 417
  • in a fey mood
    • View Profile
    • Linux builds & stuff
Re: The X-Com Files - 0.9.8: X-Cool
« Reply #2330 on: February 12, 2019, 06:24:15 pm »
Stoddard, Thank you for reminding. However, it seemed obvious to me that you can use only one copy of each mod at a time. Although I understand that someone may forget to delete the old version. However, if you update X-Files with this method, then the archive name (given to it when downloading) will be the same - “XComFiles-master.zip”. And this means that when you try to place a second one along the same, the system will give a warning. In Android, you cannot have two files with the same name in the same directory. There will be extra insurance against oversight.

Problem is that OXCE doesn't care about zip file names. All what identifies a mod is its id in metadata.yml. Warnings will be overlooked, zips will be downloaded straight to mods dir with (1) (2) etc in their names, old directories will be forgotten in place, you get the idea.

Offline yergnoor

  • Squaddie
  • *
  • Posts: 37
    • View Profile
Re: The X-Com Files - 0.9.8: X-Cool
« Reply #2331 on: February 12, 2019, 08:54:33 pm »
Problem is that OXCE doesn't care about zip file names. All what identifies a mod is its id in metadata.yml. Warnings will be overlooked, zips will be downloaded straight to mods dir with (1) (2) etc in their names, old directories will be forgotten in place, you get the idea.
This is already a matter of gamer care. But the problem for OXCE for Android users is still not new. And before the introduction of reading mods from zip, players had to remove old versions of mods before unpacking new ones. And before there was the danger of mixing files from different versions. Yes, X-Files and X-Piratez for PC come in a complete set of all folders and files (with the exception of UFO data), which helps to avoid mixing versions of PC users. But Android always had to cope with these difficulties on its own. So, I don’t think that adding mods to a zip will somehow worsen the situation. Downloading on Android usually goes to the Downloads folder, you have to move the downloaded mods to the mods folder yourself (this is not an automatic update), this is where the user should notice the duplication if it happens.

Offline hubaj

  • Rookie
  • Posts: 5
    • View Profile
Re: The X-Com Files - 0.9.8: X-Cool
« Reply #2332 on: February 13, 2019, 02:10:33 pm »
Can I ask what are you guys talking about with playing XCF on android? I am playing it on android as well and I never had any issues. I just copied the mod folder from regular version to the appropriate folder on android version of OXCE and it seems to work just fine.