Play Space Station 13 via Wine in Linux!

This game is one of my all time favorites. It has a steep learning curve to it, but omg it is so much fun when you get the hang of it. Here is how you can play it on Linux!

1.) Get the Byond client from this link http://www.byond.com/download/build/499/499.1187_byond.exe

2.) Run the installer with wine.

3.) You will need to get mfc42.dll from http://www.dll-files.com/dllindex/dll-files.shtml?mfc42  (click on “DOWNLOAD ZIP-FILE”)

4.) Extract the contents of the mfc42.zip to .wine/drive_c/Program\ Files\ \(x86\)/BYOND/bin

5.) There should be a BYOND icon on your desktop after the install. You can now run it just by double clicking on it.

6.) You will now need to make a BYOND account.

7.) After you register, login, and you can now add locations for Space Station 13

8.) Go to File, and then Open Location.

9.) Add “byond://BYOND.world.1477150822” <– This is the NOX server. One of my Favorites.

10.) Enjoy playing!

I hope this helps out.

-Orkultus-

Advertisements

Unmuting Your Mic For Live Speaker Output. (PULSEAUDIO)

So i play guitar, and while im using my computer, i like to plug in my guitar to my mic jack, and play along with the drum beats that i make on Hydrogen. I noticed at first that when i plugged it in, i couldn’t hear the sound of it coming out of my speakers, and that the Pulse Audio Volume Control Settings didn’t have the option to unmute it. So i did some research, and found a way to temporarily loop the output from the mic jack to my speakers, from a command line. This way when i was done messing around, i could just turn it off, and things went back to normal.

Anyway! Here are the commands i did to make this happen!

1.) Open a Terminal

2.) To turn it on, type in “pactl load-module module-loopback latency_msec=10

3.) To turn it off when you are done, type in “pactl unload-module (Module Number)

Ok i need to explain something. After you type in the command to start it. A number appears right after you press enter. It’s the module number. Mine on my system says “24“. Yours might be different, but i am not sure. So whatever that number is that pops up, you add it the end of the kill process when you are done using it. EXAMPLE = “pactl unload-module 24

This will turn off the output from your mic, and put your speakers back to normal. Note that if you are using the front jack on your computer (which some computers have), that you will have to go into your pulse audio settings, and change it to the jack that you are using. When i used the front, i got a feedback that made my cat take off running and hide behind the couch. Alot of front mic jacks have terrible feedback, haha.

Well i hope this helps you out!

-Orkultus-

PS: There is a way to make it always stay on from startup, but i will only post that How-To if requested. I dont really see the need to have it always on.

WarGame: European Escalation Linux (Optimus)

This game was giving me a hell of a time. It would not load at all. I tried the following things, and got the following errors.

./Wargame”  <— (this just using the intel card) .. Game wont load. Just got this error.

./Wargame: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory

Then i tried “optirun ./Wargame“… Then got this error.

[S_API FAIL] SteamAPI_Init() failed; Sys_LoadModule failed to load: /home/chuck/.steam/bin32/steamclient.so
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.
sh: xmessage: command not found

(Although this error says steam isn’t running..it is)

Then i tried “primusrun ./Wargame

./Wargame: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory

This error saying that “libsteam_api.so” isn’t found….It is in the Wargame directory.

So i figured it out, and created this bash script for primusrun with this command “touch Opti-war“.

then i opened it with gedit “gedit Opti-war“. Then i added this to it

#!/bin/bash
export vblank_mode=0
cd ~/.local/share/Steam/SteamApps/common/Wargame\ European\ Escalation/ && export LD_LIBRARY_PATH=~/.local/share/Steam/ubuntu12_32/:~/.local/share/Steam/SteamApps/common/Wargame\ European\ Escalation/ SteamAppId=58610 && primusrun ./Wargame

Then i saved it, and did “chmod +x Opti-war

then i ran it just fine with “./Opti-war

Game loaded up just fine, and works great 🙂 It took a bit to figure out what was going on.

 

I hope this helps any other Optimus users having the same problem

-Orkultus-

 

 

 

What i have been up to (Non Linux Related)

Well, i haven’t had much time lately to do any Linux Fix it posts, due to working a ton at my night job. I work at Home Depot, on the freight crew, and since it’s starting to get nicer outside, it has been really busy. Freight has been coming in 2 or 3 trucks at a time. I almost feel like i live there, more than i do at home.

In other news, i went in today to try and see what i could do about trading in my 2012 Kawasaki Ninja 250r for a 2012 Kawasaki Ninja 650r. They gave me a quote on what they would give me for the trade in, and said they would try to send me home on a 650, without having any down payment. I waited an hour in the building walking around while they talked to the bank. They said they would approve my loan, and give me a 7.59% APR, compared to my current, which is at a horrible 23%, and my monthly payments would be $170 dollars, instead of my current $200 dollars a month. I got really excited, and thought hell yeah!, i get to ride home a 650. Then he said, “but the bank would like to see $1880 dollars for a down payment”. Then all that happy feeling went away.  I didn’t have $1880, nor could i save up that much. I make just enough to pay bills; That’s it. So it looks like i wont  be getting my 650r.

Anyway, i hope other people are having much better luck than i am.

-Orkultus-

The Realm! Point and Click Adventure Game, needs your help!

I dont normaly post things like this, since it’s not related to errors or configuring something in Linux, but the devs @ “Atomhawk” have just announced that they will be creating a Linux Version! The artwork for this game is looking amazing, and i cant wait for it to finish! They need funding on Kickstarter, so im spreading the word to all Linux Gamers, about the news! If we can get them to their goal, not only will we have a awesome game available for Linux, but hopefuly they will continue to support Linux for future game releases!

http://www.kickstarter.com/projects/995134339/the-realm-game?ref=live

Check it out. I would love to see them overwhelming struck with a storm of Linux supporters.

-Orkultus-

Streaming to Twitch.tv in Ubuntu Linux!

So apparently i am writing this like a new post. I had a script for streaming to twitch.tv with ffmpeg, but apparently it doesn’t work for that anymore. So i found a script on github that i will share with you. This time it is using avconv.

Open a terminal, and create a file in your home directory or where ever you want, and name it “twitch-stream“, with this command “touch twitch-stream“. Then open it with a editor, and add this script to it.

#! /bin/bash
# originaly from http://tinyurl.com/twitch-linux from taladan
# gist created by brodul
INRES=”1600×900″ # input resolution
OUTRES=”1600×900″ # Output resolution
FPS=”30″ # target FPS
QUAL=”ultrafast”
STREAM_KEY=$(cat ~/.twitch_key)
avconv \
-f x11grab -s $INRES -r “$FPS” -i :0.0 \
-f alsa -ac 2 -i pulse \
-vcodec libx264 -s $OUTRES -preset $QUAL \
-acodec libmp3lame -ar 44100 -threads 6 -qscale 3 -b 712000 -bufsize 512k \
-f flv “rtmp://live.twitch.tv/app/$STREAM_KEY”
Ok so apparently this one is simular to the last one i had on here.
1.) set your INRES=
2.) set your OUTRES=
3.) set your FPS=
4.) you can set your QUAL=  <– i have it set to ultrafast. Really depends on your bandwith
5.) this script is telling us to put your live twitch key in a file in your home directory called “.twitch_key” .. so in our home directory we just type in “touch .twitch_key“, and then get our key from http://twitch.tv/broadcast. (you must be logged in to twitch.tv, and press the “Show Key” button on the right) Copy and past your key into “.twitch_key”, then save it.
6.) then run “chmod +x twitch-stream
I just tested this out on my laptop and i had to install something extra, because it was giving me an error “Unrecognized option ‘preset’ Failed to set value ‘ultrafast’ for option ‘preset’“. So i did “sudo apt-get install libavcodec-extra-53", and tried to run my script again. It started up, and i was able to view it on my twitch page. Also found out that sound wasn't working, so i noticed in the script that it is using libmp3lame. So make sure you install lame with "sudo apt-get install lame". It should now work well.
I hope this works out better than the last script with ffmpeg. I know it was working for me when i first created that last one, but it wasn’t working when i just tried it. Sorry for all that confusion.
-Orkultus-
PS: if you want to stream to justin.tv, you just change the line on the bottom from “rtmp://live.twitch.tv/app/$STREAM_KEY“, to “rtmp://live.justin.tv/app/$STREAM_KEY