de_dust for Far Cry 2

Posted: January 28, 2012 by jellymann in gaming

[UPDATE: fixed some exploitable bugs and places you could get stuck]

I made a clone of the map de_dust from Counter Strike: Source.

I just finished it, so it hasn’t been play-tested yet. If you find any bugs (which I’m sure you will) please let me know in the comments.

Click here to download.

Here are some pics so you can see how it looks.

Holidays!

Posted: November 26, 2011 by jellymann in Uncategorized
Tags:

I’ve finally done with exams, and consequently finished with first year at TUKS. It seems as if the year went by so fast.

My programming skill has increased exponentially. The comparison between code from last year and now is incredible. Even some of the old stuff id painful to look at.

Looking forward to the rest of the holidays, and next year! I’ve got a job at TUKS now as a programming teaching assistant starting next year. I also might be getting a new desktop for Christmas. Finally I can ditch this old Core 2 Duo.

Sync saved games with DropBox

Posted: July 27, 2011 by jellymann in computers, gaming, tech, windows

If you use Steam you probably know that some games sync your saved games to the Steam cloud (e.g. Half-Life), so owning multiple gaming-capable computers doesn’t become a chore. However, not all games currently support the Steam cloud (e.g. Terraria). For those games you can use DropBox to sync your saved games across multiple computers and, due to its cross-platform nature, multiple operating systems (e.g. if your game runs on a Mac, too).

For this how-to I am going to use Terraria on Windows as an example, but it can be easily translated to other games and operating systems as well.

Firstly, locate the necessary folders. Your DropBox folder is wherever you put it, probably in Documents. Your game’s save folder is wherever they put it. Terraria’s saved games are in My Documents\My Games\Terraria, or more specifically:
Windows Vista/7: C:\Users\Username\Documents\My Games\Terraria
Windows XP: C:\Documents and Settings\Username\My Documents\My Games\Terraria

Secondly, copy whatever saved files you want into a folder in your DropBox folder. For Terraria I just copied my Players folder, config file and my primary world into a folder called …DropBox\savegames\Terraria. Some people working off very slow connections or strict data caps might want to leave the worlds, as they can get relatively big. After copying the files and/or folders, make note of where their originals are and what they’re called (exactly), for example World 1 is called world1.wld and is in …\Terraria\Worlds. Next, delete the original files that have been copied to your DropBox.

Thirdly, create symbolic links (symlinks). A symlink is like a shortcut to a file or folder but looks like an actual file or folder to the operating system instead of a shortcut file. Thus if we create symlinks in the Terraria save folder that point to the copies in DropBox, Terraria won’t notice the difference. To create a symlink to a file, use the command mklink in a command prompt. To create a symlink to a folder, use mklink with the /D flag set. For example, if I copied config.dat from Terraria to DropBox, I’d create the symlink with the following command:
mklink "C:\Users\Username\Documents\My Games\Terraria\config.dat" "C:\Users\Username\Documents\DropBox\savegames\Terraria\config.dat"
And I’d create the symlink to the Players folder with the following:
mklink /D "C:\Users\Username\Documents\My Games\Terraria\Players" "C:\Users\Username\Documents\DropBox\savegames\Terraria\Players"
Just replace Username with your Windows user name, and change the drive letter and/or DropBox location where necessary. Once the symlinks are created you can begin playing and your savegames should be synced to their new folders.
Note: If you’re not concerned with data usage, you can move the entire Terraria folder into DropBox and just do one directory symlink, e.g.:
mklink /D "C:\Users\Username\Documents\My Games\Terraria" "C:\Users\Username\Documents\DropBox\savegames\Terraria"

If you get stuck with making symlinks, the command mklink /? might help.

Useful tip

Create environment variables for your DropBox and the game’s save location:
set DROPBOX="C:\Users\Username\Documents\DropBox"
set TERRARIA="C:\Users\Username\Documents\My Games\Terraria"

You can then use these variables in your mklink commands like this:
mklink /D "%DROPBOX%\savegames\Terraria\Players" "%TERRARIA%\Players"

Other OS

In Linux (and possibly the same in Mac OS) the ln command creates symlinks. However, there are a few differences from mklink:
link and target are swapped, the -s flag must always be set if you want to make a symbolic link, and there’s no need for the -d flag to be set for directories, as this only applies to hard links.
If you get stuck, read the man page! (man ln)

Force-Quit AutoHotKey Script

Posted: June 30, 2011 by jellymann in computers, hotkeys, keyboard, windows

I noticed that on a Mac, you can force quit an application by pressing Command+Shift+Option+Escape. This is infinitely easier than opening the task manager and clicking to find the process.

Here is an AutoHotKey script I made that force-quits the active application using Control+Shift+Alt+Escape:

!^+Esc::
WinGet,win_n,ProcessName,A
WinGet,win_pid,PID,A
MsgBox, 4, Kill?, Kill %win_n% (%win_pid%)?
IfMsgBox, YES
    Run,taskkill /f /pid %win_pid%,,,
else
	return
return

Or if you prefer not to have a message box, and just plain kill the app:

!^+Esc::
WinGet,win_pid,PID,A
Run,taskkill /f /pid %win_pid%,,,
return

Windows 8 mockup

Posted: June 29, 2011 by jellymann in computers, customization, windows

Rainmeter skin: omnimo by fediaFedia

Visual Style: zetro by pisadeviant

Start button: Metro button alt by me


It’s pretty nippy here in Pretoria.

I hope Microsoft moves away from the ridiculously overdone glass style. The Metro UI is much cleaner in my opinion, and harder to get finger-marks on than glass😛

Stay tuned!

Posted: June 8, 2011 by jellymann in Uncategorized

Just a quick update: I am definitely still alive. Uni had taken over my life for a few months there. I didn’t realize how bad it could be!

I apologize for disappearing. I hope to bring you more potentially useful posts in the next month. Hopefully… ^_^

My Minecraft House

Posted: April 10, 2011 by jellymann in gaming, minecraft

It’s just two rooms at the moment, nothing big. It’s all about living in style and luxury. Built only from locally produced goods, it blends right into the scenery. And the view from that window is amazing.