Showing posts with label scripts. Show all posts
Showing posts with label scripts. Show all posts

Sunday, March 17, 2013

Python scripts crashing with setLocale?

There are instances when I get Linux servers that have misconfigured locales and I don't have time to really fiddle around and fix these issues.  So I get these python scripts crashing out on me like with this locale.setlocale(locale.LC_ALL,'') and going locale.Error: unsupported locale setting with no real solution in sight.

One way to move forward is to do:

export LC_ALL=C

Saturday, December 1, 2012

*UPDATE* Star Wars: The Old Republic - Free to Play - Script Helper

*UPDATE*
The script has been updated to handle multiple running SWTOR processes.  The launcher was updated to also run the server side process that runs the game (although it still freezes on the splash screen).  This update will get the appropriate SWTOR.EXE process' arguments and terminate the running copy.

I wrote a bash script that will help with those pesky arguments when getting the game to run on Wine.  Run the launcher, and click Play.  Then run the script and copy the arguments.  Paste it on Play on Linux and then enjoy the game.  The script is quick and dirty.  As usual, no explicit warranty.