1 items

File information

Last updated

Original upload

Created by

Joe

Uploaded by

Joecow2

Virus scan

Some suspicious files

46 comments

  1. beccatoria
    beccatoria
    • premium
    • 138 kudos
    Locked
    Sticky
    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: 

    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. 
    1. Sapphire
      Sapphire
      • premium
      • 50 kudos
      no bat script I've ever made has required echo lol, I have one for origin when it breaks to fix and it works just fine, and save backups
    2. beccatoria
      beccatoria
      • premium
      • 138 kudos
      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!
    3. woopdedoda
      woopdedoda
      • supporter
      • 0 kudos
      Couldn't download the file as it's currently quarantined but I saved your command as a batch file and ran it, seems to have done the trick. Thanks.
    4. ErraticHippie
      ErraticHippie
      • member
      • 33 kudos
      tysm for this!!
    5. Joecow2
      Joecow2
      • member
      • 2 kudos
      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.
  2. FantasyDragon87
    FantasyDragon87
    • premium
    • 0 kudos
    Thank you so much for this!  Gained back 29GB :)
  3. PixelPixie13
    PixelPixie13
    • member
    • 3 kudos
    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!!
  4. rahul717
    rahul717
    • member
    • 3 kudos
     Thank you so much !   
  5. Aleyan82
    Aleyan82
    • premium
    • 0 kudos
    Excellent little utility you made !!!

    Thank you so much for sharing it with the community !
  6. ShadowXIV
    ShadowXIV
    • member
    • 0 kudos
    this is a must have
  7. LMXVB
    LMXVB
    • member
    • 0 kudos
    File reduced from 110gb to 80.1gb. Strong recommend
  8. congrae
    congrae
    • member
    • 0 kudos
    Worked like a charm!
  9. Qoryqpa
    Qoryqpa
    • member
    • 0 kudos
    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!
  10. whismerhill
    whismerhill
    • member
    • 15 kudos
    @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.
  11. bking1994
    bking1994
    • premium
    • 0 kudos
    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.
    1. Arsic0
      Arsic0
      • member
      • 1 kudos
      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.

      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!
    2. bking1994
      bking1994
      • premium
      • 0 kudos
      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. 
    3. Poppiii
      Poppiii
      • supporter
      • 6 kudos
      @Arsic0 So this doesn't work for me- getting an execvp error that there's no such file or directory?
    4. TheRoosterLord
      TheRoosterLord
      • supporter
      • 14 kudos
      Try this:

      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 {} \;
    5. smx87
      smx87
      • premium
      • 0 kudos
      Reduced my game file size by 2GB, what went wrong, the script ran and appeared to be removing all the correct files.
    6. Netslo56
      Netslo56
      • supporter
      • 0 kudos
      @Arsic0
      Making that file and running it worked perfectly, thanks a lot!