Wednesday, May 9, 2012

WebGL Firefox Error

So I figured I'd post about this, since I ran into a problem and had to dig through some forum posts to find how to fix this. My problem was on Ubuntu 10.04 LTS using Firefox 12.0, with NVIDIA GeForce Go 6150. Trying to use WebGL gave me the error that I forgot to save because I'm smart like that.

Anyway, the quick fix was to enter in your url about:config, then search for WebGL, then enable webgl.force-enabled. No idea if it will cause any problems, but for now it works.

***Edit:
Updated to Ubuntu 12.04 LTS, same settings and everything and now WebGL just refuses to work at all. No solution found yet, all the ones that I tried did absolutely nothing.

Monday, May 7, 2012

Steam and non-Steam game on Linux

For a while now I've been messing around on and off with Wine and seeing what I can do with it, and I finally managed to not only install Steam, which I had done for a while now, but I installed the original fallout and registered it in Steam as a non-Steam game. So here's a quick walkthrough how, I did this on Ubuntu 10.04 LTS... so yeah.

First, you want to install Wine and PlayOnLinux. On Ubuntu you can just sudo apt-get install wine playonlinux.

Now you want to run PlayOnLinux, and select the "install" option. From there, search out Steam and install it. This should handle everything with Steam no problem.

After this is done, feel free to log into Steam, but close it out if you do for this next part. Steam is installed on a virtual drive, and therefore cannot see all your other lovely programs you may install with just Wine. So from here, you want to select "Configure" and go to the Steam virtual drive listed. From here you can alter Wine's settings for installation processes. For the original fallout, I had to set a virtual desktop and set Wine to Windows 95 due to the program running a version check and not letting it install in a newer Windows version. Options for all this are under the "Wine" tab, under "Configure Wine".

Now that all your settings are set for a successful installation, go to the Miscellaneous tab. There should be an options for "Run a .exe for this virtual drive". From there, run your .exe file to install. Once done, revert back any changes to the Wine configuration save for the necessary graphics changes you may have made. Now run Steam, select Steams add a game option, add a non-steam game and you should be able to find your game.

Should you wish to find the game to play directly with Wine, check in your home folder under .PlayOnLinux/wineprefix/Steam/Program Files/ for your stuff. If you want to have it in with your other Wine stuff, you can make a link and place it in your home folder under .wine/dosdevices/c:/Program Files/ (link the whole folder it's in, not just the .exe). This may be needed if it uses the drive it was installed on, due to the whole virtual drive stuff. You can then run it with a command like env WINEPREFIX="/path/to/home/.wine" wine C:\\windows\\command\\start.exe /Unix /path/to/home/.wine/dosdevices/c:/Program\ Files/path/to/game.exe. An alternative and easier method than messing around with that is to open up PlayOnLinux, then hit configure. From there, go into your Steam virtual drive and select the option "make a new shortcut from this virtual drive" in the General tab. From there, you can make shortcuts to launch your other games without going through steam, right from your PlayOnLinux window.

Hopefully that all works for other people, let me know should something break or have issues.

Tag Cloud

.NET (1) A+ (2) addon (6) Android (3) anonymous functions (5) application (10) arduino (1) artificial intelligence (2) bash (4) c (7) camera (1) certifications (4) cobol (1) comptia (4) computing (2) css (2) customize (16) encryption (2) error (19) exploit (17) ftp (3) funny (2) gadget (2) games (2) Gtk (1) GUI (5) hardware (6) haskell (15) help (8) HTML (6) irc (2) java (5) javascript (21) Linux (19) Mac (4) malware (2) math (8) network (9) objects (2) OCaml (1) perl (4) php (9) plugin (7) programming (42) python (24) radio (1) regex (3) security (25) sound (1) speakers (1) ssh (3) story (1) Techs from the Crypt (2) telnet (2) tools (14) troubleshooting (5) Ubuntu (4) Unix (4) virtualization (1) web design (14) Windows (7) wx (2)