This script works fine but you can't just copy-paste into a text file and rename the extension to .bat. You need the echo commands. So something like this:
Paste that into a text document, rename it to delete_localisaton.bat or similar, place in your Legendary folder and run (at your own risk).
As a suggestion, this is a great idea after the patching cycle is finished, because next time a patch shows up you'll end up with an extra 30GB of stuff to download.
Totally willing to believe that. I'm crap at bat files. But like you it didn't work for me and that fixed it for me. There's probably a more sensible solution!
Strange, worked fine for me without echo. Maybe some security feature of windows I don't have turned on or something. I'll update it to this. Also waiting for them to stop updating the game shouldn't be necessary. Steam doesn't check every file during updates. Only the files that have been updated.
I was sitting in the folders and was about to manually take out every file that had a language abbr. within the name, but decided on doing a quick search before I painstakingly did it manually - and oh my goodness... lol the amount of files this thing deleted! Even if I could've spotted them all which I doubt), it would've taken all day! tysm!!
Does anyone have issues installing texture mods through MEM after using this? Just trying to narrow down possible culprits. Other than that it worked great, thanks OP!
@beccatoria so information the "echo" commands are just text that shows up it's not bad to have them in and in fact it's better practice to have some echo commands rather than make users of a batch script look at an empty cmd window not knowing what's happening (in case there's a delay while deleting)
however THEY ARE NOT REQUIRED strictly speaking and the commands will work either way with or without echo the exact same way additionally I'd personally add a "pause" command at the end to avoid the cmd window from closing before the user has confirmed visually that it's done but again strictly non necessary
one thing though, if your steam game files are in protected directories you may need to run the command as an administrator
It's unfortunate that people spread so much misinformation because they actually don't know what they are talking about, yet they talk anyway.
I have a Steam Deck but am still new to Linux. If you want to get this working on Linux, running it in a bottle works. Follow the instructions on making the .bat file, and put it in the Mass Effect folder, then link the Mass Effect Legendary Edition folder to the bottle folder, and then in Bottles activate the .bat. It won't give any message or any indication it worked and at first i was worried it didn't, but the file size is now 78GB. Glad it worked, i was dreading going through one by one and deleting them from each game.
I have Steam Deck. Batch scripts are for Windows, we want a shell script for Linux so I wrote one, sFTP'd it over to /home/deck and set it as executable (can either do that through sFTP or by command line). Booted into Desktop Mode and ran it.
Probably many ways to write it but there you go! Important to note, Steam in Game Mode and Desktop Mode will still show 110 GB same as on Windows, but browse there on Dolphin and the properties will show ~79 GB.
Thank you very much! I'll screenshot this and post it to the Steam Deck subreddit! A bunch of people who haven't learned to use Bottles are confused on my instructions but I'm not an experienced Linux user, the Deck is my first time using it. I'm a pretty fast learner but this is not something i know.
46 comments
echo deleting files
del /s *_de.* *_fr.* *_it.* *_plpc.* *_ra.* *_DEU.* *_FRA.* *_ITA.* *_POL.* *_JPN.* *_RUS.* *_ESN.*
echo done!
Paste that into a text document, rename it to delete_localisaton.bat or similar, place in your Legendary folder and run (at your own risk).
As a suggestion, this is a great idea after the patching cycle is finished, because next time a patch shows up you'll end up with an extra 30GB of stuff to download.
Also waiting for them to stop updating the game shouldn't be necessary. Steam doesn't check every file during updates. Only the files that have been updated.
Thank you so much for sharing it with the community !
so information
the "echo" commands are just text that shows up
it's not bad to have them in
and in fact it's better practice to have some echo commands rather than make users of a batch script look at an empty cmd window not knowing what's happening (in case there's a delay while deleting)
however THEY ARE NOT REQUIRED strictly speaking and the commands will work either way with or without echo the exact same way
additionally I'd personally add a "pause" command at the end to avoid the cmd window from closing before the user has confirmed visually that it's done
but again strictly non necessary
one thing though, if your steam game files are in protected directories you may need to run the command as an administrator
It's unfortunate that people spread so much misinformation because they actually don't know what they are talking about, yet they talk anyway.
chmod 755 remove_lang.sh
./remove_lang.sh
#!/bin/bash
if [ -d "/home/deck/.local/share/Steam/steamapps/common/Mass Effect Legendary Edition" ]
then
cd "/home/deck/.local/share/Steam/steamapps/common/Mass Effect Legendary Edition"
else
cd "/run/media/mmcblk0p1/steamapps/common/Mass Effect Legendary Edition"
fi
find . \( -name "*_de.*" -o -name "*_fr.*" -o -name "*_it.*" -o -name "*_plpc.*" -o -name "*_ra.*" -o -name "*_DEU.*" -o -name "*_FRA.*" -o -name "*_ITA.*" -o -name "*_POL.*" -o -name "*_JPN.*" -o -name "*_RUS.*" -o -name "*_ESN.*" \) -exec rm -vf {} \;
Probably many ways to write it but there you go! Important to note, Steam in Game Mode and Desktop Mode will still show 110 GB same as on Windows, but browse there on Dolphin and the properties will show ~79 GB.
Hope this helps!
find . \( -name "*_de.*" -o -name "*_fr.*" -o -name "*_it.*" -o -name "*_plpc.*" -o -name "*_ra.*" -o -name "*_DEU.*" -o -name "*_FRA.*"
-o -name "*_ITA.*" -o -name "*_POL.*" -o -name "*_JPN.*" -o -name
"*_RUS.*" -o -name "*_ESN.*" \) -exec rm -vf {} \;
Making that file and running it worked perfectly, thanks a lot!