Tag Archives: Deus Ex

Snake crunches more numbers

(Any excuse to make a spreadsheet.)

Since the election is over (as predicted, Obama landslide–yes, I am a happy snake) and I’m now lacking my daily dose of poll data, I’ve turned to crunching other data to support my statistical addiction. Obviously, the first data I looked at was the final election results so I could update my “blue shift” map. Naturally, this led to an examination of the differences between my previous map (from the last blog post), which used predictions based on polls, and the final results. The map this data produced basically only shows where polls were over- and understating support for a candidate. While I was at it (and because it was trivial to drop new data into my SVG generator program), I generated maps for the 2004 and 2008 final presidential election results. All four maps follow–click for the full image, obviously.

The aspect that jumps out the most in the first image (Blue Shift) is how Arkansas is the only state shifting decidedly more Republican; Louisiana and some other adjacent states are also slightly more red or neutral. As I alluded to last time, it appears that the demographics in these states are such that: A. there was profound white prejudice/misinformation against Obama and B. there wasn’t enough black/minority support to overcome this.

The poll performance map is even more interesting. Immediately, North Dakota and Wyoming stand out as performing way better for McCain than expected–I’m going to attribute these two to the limited number of polls. It’s also likely that Rhode Island, Vermont, and Hawaii fall into that same category except in the Democratic direction. Arkansas, as previously discussed, also under-performed prominently for Obama. But I think the biggest conclusion we can draw from this map can be seen if we look at the bigger picture. The Southeast and Central states are all mostly under-performers for Obama, while the western states over-performed (in general). Perhaps, when they get in the polling booth, rural westerners are generally more open-minded and less bigoted (and thus more accepting of a black president) than rural southerners? It could also say something about the turnout regionally. More information is required before we can make a decisive conclusion, but it’s interesting nonetheless.

It occurs to me that the maps aren’t particularly useful for seeing specific results. I considered rectifying that at one point but decided that the purpose of the maps was mainly to compare states to each other, which the maps do quite well. However, if you want to see the data I used, I uploaded the spreadsheet here (Excel 2002 format).

More recently, I’ve been studying the visitor demographics for my site–pondering my precarious IE support and wishing IE6 would just go away already. Though sadly, the data suggests that IE6 usage will persist. It’s like the herpes of web development. Anyways, I collected the data using this site’s raw logs, counting only distinct IPs for a particular browser (i.e. multiple hits are filtered out). Then, I made some pretty charts in Excel to show off the results. Nothing is really surprising here, but… it’s interesting nonetheless. 😉 Charts below.

As a status update, I’ve been working on my Deus Ex guide again and… yes… it’s almost complete 😮 . And I’ve only had to play DX what must be 12 times over 7 years to write it! I’m not complaining, though. Really, it feels like the definitive guide to Deus Ex on the internet and I’m quite proud. Look for an updated GameFAQs version soon.

Also, I’m working on a massive overhaul of the SnakeByte content system which will feature tabviews (emulated with clever HTML, DOM, JavaScript, and CSS, of course), more images, changelog support, and even some AJAX. It’s about 75% complete as of this post, with expected completion before the end of the year.

Posted in Website | Tagged , , | Leave a comment

A Full Month of Doings

I’ve been working on so much stuff lately that it’s hard to decide what to devote each day to. Of course, practically everyone I know doesn’t give a shit about the awesome stuff I do and rather I just jump into the rat race. But anyways, here’s an overview of what I’ve been working on…

Not long after my last post, I updated my mod for the Age of Empires 3 expansion The Asian Dynasties called Gatling Guns for All!. Previously, you could only use the mod with a specific unmodified version of TAD, but I wanted the mod to be usable by all versions of both The Asian Dynasties and The Warchiefs expansions even if they’ve been previously modded. Thus, I had to create an installer (similar to the one I did for Stalker) that would modify only the aspects of the game that I changed. Originally (as I did in the Stalker mod installer), I tried to use regular expressions to find the appropriate setting to change. However, being that the game data is stored as XML, Regex had problems matching certain XML formatting quirks. So, I moved to a query language that I’d never used before called XPath, which is basically XML hierarchy-aware Regex. Though getting some of the nodes in AOE3’s settings files to match was still tricky, XPath in .Net did the job perfectly.

When I went to package the new version of the mod, I actually found out that I had incorrectly archived an essential file in the wrong path in the first versions of the mod. Thus, nobody that downloaded it would have gotten the mod to work as intended :( . And only one person called me on it, though I thought he was a noob at first. But all has been rectified now.

Next, I started working on a script for this site that would color-code programming language syntax and elements so I can attach beautified code to some columns. The script uses a PEAR PHP library called Text_Highlighter to do the color-coding on the fly. However, at the moment, my part of the script still presents certain security risks that I will have to mitigate before it goes live.

news269

Lego Indiana Jones

That project was interrupted by a visit from Kaylen that turned into non-stop gaming in the form of Lego Indiana Jones 😉 . Although the game was littered with some annoying little bugs (having just been released), we did manage to get 100% completion. As most reviews have said, it wasn’t really as fun as Lego Star Wars–how can you beat lightsabers and the force? Though bazookas and bushes you can jump into come close.

The next week, following a concern from a user, I began working on a major new feature for Cursor Lock. Though not really having anything to do with multimonitor gaming, the feature is a natural progression of the existing code. It allows the user to select whether to lock the cursor into the current screen (what it did originally), the selected window, or the selected window interior (client area). Locking the cursor into the window interior is particularly useful for playing windowed 3D games. While I was at it, I decided to completely overhaul the setup GUI to be much more intuitive, separating the selection of the different modes with pretty, graphical buttons. It’s looking rather nice already and should only take a few more days of testing and fixing bugs until public release.

Last week, I got distracted when randomly deciding to replay Deus Ex: Invisible War and then subsequently desiring to mod out some of the major flaws in the game. Only a few changes would make the game much more palatable to the PC fanbase. One of the mod ideas I had was to combine the various proximity and thrown variants of grenades (EMP, scrambler, gas, and concussion), which would return the grenades to their vanilla Deus Ex functionality and give the player a lot more inventory space. So apparently, the developer of Deus Ex, Ion Storm, only decided to release the Thief: Deadly Shadows editor and not the Invisible War one, even though the games were made concurrently on the same engine (Unreal Warfare). I tried for days to get the Thief editor to work for Invisible War, but I don’t see it ever working out easily; there are far too many hardcoded elements of the games in both the editor and the game executables. The best I could do was to get the DX2 packages to load in the Thief editor after it had loaded the core Thief packages first. Then, I could get the DX2 packages to save after some simple modifications, but that made it so there were both Thief and DX2 classes mixed together, making a good number of DX2 objects break ingame (e.g. inventory, particle emitters). In other words: Epic Fail. 😕

However, while I was poking around in Invisible War’s resources, I found the plaintext files containing the secret area’s developer quotes. I decided it’d make a good contribution to my Deus Ex column, despite not being from vanilla Deus Ex. Then, whilst I was formatting the quotes for HTML, I got the crazy notion of using the game’s font for the text. Unfortunately, the font was not in a TrueType or comparable format, but rather it was merely a texture and an accompanying text file (DX2_FONT.cel) of comma-delimited texture character widths (in pixels) that were ordered corresponding to their ASCII value. The texture character height was understood to be 23 pixels, so that a width of -1 in the text file meant to go to the next row. Using a quickly thrown together program, I turned the width values into a Paint Shop Pro script (macro) that would cut out all the characters into individual bitmaps. Finally, I manually pasted them into a font editor to complete the conversion. The font can be downloaded here, and then can be tested on the aforementioned DX2 quotes page.

Posted in Modding, Programming, Website | Tagged , , , , | Leave a comment

That’s right it’s a post.

Another semester of college is dwindling down already, providing me with the chance to finally get my thoughts in order enough to post.

I haven’t really made any progress on any projects other than school stuff, so no news there. I’ve mainly just been trying to relax to some good gaming in between the schoolwork. But since finishing Titan Quest, the gaming has been rather ho-hum.

I went back and played Hitman: Contracts, getting Silent Assassin in all the missions. But alas, it made me appreciate the improvements in Blood Money more so.

Now, I’ve just starting working on Stalker but am having mixed feeling about it. First of all, it’s just as buggy as Titan Quest was. I experienced random freezes, stuttering, and save game corruption within the first few hours of play. Thankfully, the Internet provides communities of other irate gamers in the form of forums. I eventually combed through enough search pages that I found a working solution for the most-annoying freezes. Oddly enough, it has to do with the behavior of the OS’s paging algorithm–a hack that shouldn’t be necessary but is because of the half-assed state of the game’s engine. You just change/add two keys to the registry path:

HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Session Manager/Memory Management
DWORD PagedPoolSize = FFFFFFFF(hex)
DWORD PoolUsageMaximum = 50(dec)

PoolUsageMaximum is a percentage that controls the aggressiveness of the page swapping (this setting may not even be needed). PagedPoolSize controls whether the OS handles swapping dynamically or just lets the pool fill up to a specific size.

Anyways, the gameplay itself is…interesting. At first, it felt like playing Morrowind, but that soon faded as the story drove the game into a more linear style than expected. The game world is not contiguous or load-free, but rather a collection of areas connected together by teleport points. In other words, it’s no Oblivion. It plays more like a perversion of Far Cry than anything else. The few RPG elements almost seem tacked on and only include inventories, looting stashes, and augmenting with passive artifacts. It’s definitely no Deus Ex, either. What it does have are some pretty intense and frequent fire-fights. They actually happen too often, because areas are quickly refilled with mutants and bandits. It’s a real chore to clean out an area on your way to somewhere and then clean it out again on your way back. And there’s no quick travel. I’m unsure I’ll continue playing, because this game is just too in need of polish.

I’ve had a more enjoyable time pwning the shit out of my girlfriend in LieroX 😛 . There are so many weapons in the various mods to try out that it never gets stale. Our favorite right now is the Warhammer weapons mod. It has great effects and good balancing with a wide assortment of weapon types. If you’re unfamiliar with the original Liero, it was basically a side-scroller deathmatch not unlike the popular Worms series (sans the turn-taking). LieroX is just an amped up incarnation with full-color destructible levels, player skins, weapon packs, and Windows and networking support.

And my last bit of news is the conversion of my How-To Deus Column into a plaintext document available on GameFAQs. So my much slaved over guide is finally getting all the hits it deserves. I will, of course, continue to update the original column, as it is easier to maintain in HTML than a heavily-formatted text file.

Posted in Gaming, Troubleshooting | Tagged , | Leave a comment

Still at work.

Apparently, Summer is always the time when I get new content on the site. I’m back at working on the How to Deus Column. It’s nearly doubled in size. There are tons of new images and exploration and general tips. I may not get all the way through the game on the Column this time around, but maybe the 10th time I play Deus Ex I will. 😉

I also updated the Columns list. You know, the one you get to by clicking “Columns Index” in the “Columns” section of the flash navigation. I added the aforementioned Deus Column and the (I have yet to come up with a simple name for this) Desktop/Laptop sharing guide.

You may also notice the slightly new background. I did a remix of the last wallpaper. At first, it turned out like some funky crap, but I took out some of the gayer image elements and made it deceptively simple. I also managed to slip in an int picture of myself.

I also went through the links section to update URLs and delete old links (i.e. AudioGalaxy 😀 ). The link checker portion of Links2 decided to start working, which is about par for that script. You may recall the admin part of it miraculously working several months ago. While I was at it, I filtered out some of the lame/related-to-illegal-substances quotes. There haven’t been any new quotes in a while. I’m contemplating putting quotes from my AIM info in there nowadays.

So, yeh…that’s it.

Posted in Website | Tagged , | Leave a comment

Site updates

I did some modifications to the Imagefolio script earlier. It’s now not so much of a security hazard 😕 (as in, it doesn’t show unnecesary directories) and only shows image files. It always confused me as to why IMAGEfolio showed more than just images, but now it doesn’t…so boom.

Also, I’ve been playing Deus Ex again (seems to have a bit more flavor with XP). Of course, that means also that I’m working on the unfinished but ongoing “How to Deus” Column. You can find it, with the new additions, here.

And if that wasn’t enough, I did two additions to my ghEtTO Hardware Modifications Column. That can be found here.

Loog just came by and delivered his old Seagate 20GB HDD. So, now that I’m off work 😉 , I’ll be swapping the 4GB Maxtor with the Seagate and researching some more Deus.

Posted in Hardware, Website | Tagged | Leave a comment

More on Deus Ex

Been working my Deus Ex Guide and finally brought it to HTML format from TXT. It’s hardly finished, but it has the general outline that I will follow. I actually started writing the TXT back in the summer after completing Deus for the second time. Now, here I am, working on it again only a few minutes after completing it for the 6th time. This really has to be the best plot that has ever been in a game…not just the depth of the story, but how it’s played out. Every time I play this game, I find something new. 😉

Without further ado, I give you the not-even-half-complete Deus Ex Guide.

Tagged | Leave a comment