Author Topic: [submod]Submod list for XCF  (Read 76379 times)

Offline AndyFox

  • Colonel
  • ****
  • Posts: 110
  • ÷)
    • View Profile
Re: [submod]Submod list for XCF
« Reply #135 on: February 18, 2025, 01:56:18 pm »
Several submods seem to have broken for me in the latest OXCE update - Arsenal Additions, the Natasha recruitment mod, Hyper & Trajectories, in the least

This is because of "trailing whitespaces"... wonder if there is a way to clear all .rul and .yml files in a directory of them with one click of a button?  :-\


Offline CrazedHarpooner

  • Colonel
  • ****
  • Posts: 191
    • View Profile
Re: [submod]Submod list for XCF
« Reply #136 on: February 18, 2025, 02:23:29 pm »
Not a single button click, but it can be done via regular expressions in Notepad++ while searching/replacing in files.
Remember to fill in the Directory or select it via the 3 dots.
In find what, I've typed:
Code: [Select]
[ ]+$left the replace with blank and added these filters for the files to be modified
Code: [Select]
*.rul;*.ymlMark the search mode as Regular expression and check/un-check the 'In all sub-folders' as desired.

WARNING: This is very powerful and can make unwanted changes if you're not sure what you're doing, use it at your own risk. I recommend you perform a 'Find all' first to verify it's finding the right things and not including lines that could break the mod. And probably make a copy of everything before making changes, just in case.

Offline norpan83

  • Sergeant
  • **
  • Posts: 32
    • View Profile
Re: [submod]Submod list for XCF
« Reply #137 on: February 18, 2025, 03:03:47 pm »
might want to make it
Code: [Select]
[ \t]+$

Offline AndyFox

  • Colonel
  • ****
  • Posts: 110
  • ÷)
    • View Profile
Re: [submod]Submod list for XCF
« Reply #138 on: February 18, 2025, 03:52:49 pm »


Here are Bash and PowerShell commands that remove trailing whitespaces from .rul, .yml, and .nam files in the current directory and all subdirectories, while saving the files in UTF-8 encoding.

Bash:
Code: [Select]
find . -type f \( -name "*.rul" -o -name "*.yml" -o -name "*.nam" \) -print0 | while IFS= read -r -d '' file; do
    iconv -f UTF-8 -t UTF-8 "$file" | sed 's/[[:space:]]*$//' | iconv -f UTF-8 -t UTF-8 > "$file.tmp" && mv "$file.tmp" "$file"
done

PowerShell:
Code: [Select]
Get-ChildItem -Path . -Include *.rul, *.yml, *.nam -Recurse -File | ForEach-Object {
    $content = Get-Content $_.FullName -Encoding UTF8
    $processedContent = $content | ForEach-Object { $_.TrimEnd() }
    $processedContent | Set-Content -Path $_.FullName -Encoding UTF8 -Force
}

Don't forget about backups!
« Last Edit: February 19, 2025, 11:08:59 am by AndyFox »

Offline Daynarr

  • Squaddie
  • *
  • Posts: 5
    • View Profile
Re: [submod]Submod list for XCF
« Reply #139 on: February 22, 2025, 11:38:06 pm »
X-Com Files Names 2.2 has problems with new OXCE 8.1 causing a good number of errors ranging from closed captions error because same names have ' in them (need to put those names inside of "") to having some files use TAB instead of space.
I have fixed those errors for myself and it all works fine now but i'm wondering if there is any interest in fixed files so not everyone has to do it for himself? And if there is how do i do it? I've never uploaded any files here.
Ofc, this is not my mod, i just fixed errors to make it work with current version so i would like to keep this low profile with all credits going to original author.
« Last Edit: February 23, 2025, 04:40:18 am by Daynarr »

Offline Juku121

  • Commander
  • *****
  • Posts: 1848
  • We're all mad here.
    • View Profile
Re: [submod]Submod list for XCF
« Reply #140 on: February 23, 2025, 01:11:30 am »
You can just attach the updated mod to your post and I can link it in the OP. Not sure how much it's worth, since I doubt a significant number of people use the list over mod.io itself.


I don't know if Ostrich-Hungry is active on any of the OXC social media, but at least pinging their mod.io page's comments might be worth it.

Offline Daynarr

  • Squaddie
  • *
  • Posts: 5
    • View Profile
Re: [submod]Submod list for XCF
« Reply #141 on: February 23, 2025, 05:10:15 am »
Oki, this is fixed version. Everything from the original is same except those fixes.
https://drive.google.com/file/d/1zL22xp_OVcfMf4Dc-fL9qBgPsX3VIebg/view?usp=sharing

I'll make a mention on mod.io page as well.

Offline Juku121

  • Commander
  • *****
  • Posts: 1848
  • We're all mad here.
    • View Profile
Re: [submod]Submod list for XCF
« Reply #142 on: February 23, 2025, 05:19:14 pm »
Added to the list. I hope Ostrich-Hungry updates the mod at some point, too.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11926
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [submod]Submod list for XCF
« Reply #143 on: February 23, 2025, 05:38:16 pm »
Added to the list. I hope Ostrich-Hungry updates the mod at some point, too.

Same.

I haven't seen him in some months. If he disappears for good, I think it should be fine for someone to adopt his mod? It's pretty popular, and would be a shame to see it go.

Offline Ostrich-Hungry

  • Sergeant
  • **
  • Posts: 22
    • View Profile
Re: [submod]Submod list for XCF
« Reply #144 on: February 24, 2025, 08:23:05 am »
Same.

I haven't seen him in some months. If he disappears for good, I think it should be fine for someone to adopt his mod? It's pretty popular, and would be a shame to see it go.

Hey! Here I am! Was busy with real life stuff, but adding names from time to time. Just saw my mod got problems with new OXCE update.
Will fix it soon! I would like to finish some countries that gave me trouble finding names. Latvian last names are a pain in the ass. All the baltic countries are a little obscure with their naming rules, but I really like their culture so I would hope to make a nice list for them. Anyways, this update already includes a lot of new content!
Nice to see you people doing well. Take care!

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11926
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [submod]Submod list for XCF
« Reply #145 on: February 24, 2025, 04:08:54 pm »
Hey! Here I am! Was busy with real life stuff, but adding names from time to time. Just saw my mod got problems with new OXCE update.
Will fix it soon! I would like to finish some countries that gave me trouble finding names. Latvian last names are a pain in the ass. All the baltic countries are a little obscure with their naming rules, but I really like their culture so I would hope to make a nice list for them. Anyways, this update already includes a lot of new content!
Nice to see you people doing well. Take care!


Good to have you back! :)

Please fix the music mod as well, I'd like to use it ;)

Offline Juku121

  • Commander
  • *****
  • Posts: 1848
  • We're all mad here.
    • View Profile
Re: [submod]Submod list for XCF
« Reply #146 on: February 25, 2025, 03:29:07 pm »
Added the Reworked Facility Expansion Pack and split the rebalance/addon part due to post character limits.

Offline AndyFox

  • Colonel
  • ****
  • Posts: 110
  • ÷)
    • View Profile
Re: [submod]Submod list for XCF
« Reply #147 on: February 26, 2025, 11:55:29 am »
Added the Reworked Facility Expansion Pack and split the rebalance/addon part due to post character limits.

The Russian translation is just right for this version.

Offline AndyFox

  • Colonel
  • ****
  • Posts: 110
  • ÷)
    • View Profile
Re: [submod]Submod list for XCF
« Reply #148 on: March 01, 2025, 11:05:26 pm »
Interceptions for X-Com Files — enclose a translation into Russian.

The sub-modification has been updated, the Russian translation has also been updated.

Offline AndyFox

  • Colonel
  • ****
  • Posts: 110
  • ÷)
    • View Profile
Re: [submod]Submod list for XCF
« Reply #149 on: March 14, 2025, 11:53:59 pm »
These sub-modifications have lost compatibility with the new version of OXCE 8.1:

Yautja Hunter
Arsenal Additions
Chemical Laser Weapons
Maps and Scraps
« Last Edit: March 15, 2025, 02:03:55 am by AndyFox »