Game Design, Programming and running a one-man games business…

The carbon friendly indie :D

So it’s a year to the day since solar power got installed at positech towers. how much power has been generated?

1,331 kwh.

The panels are installed, not on the roof, but in the drive opposite my office, which is cool because I can just about see them from my desk, over the monitors. There has been a lot of talk about feed in tariffs etc, so I might as well do the math myself.

The install cost was £10,608 according to my old blog post

1,331 units at 43p/unit FIT is £572.33. assume 50% export at 3p/unit gives another £20. Also, I saved buying 1,331 units at 12.5p/unit from the power company, saving another £166. This gives total income of about £758

However, the FIT rose to 45p at some point along that, and the 3p/unit is rising too, so it’s a bit more than that. The FIT is locked for 25 years (index-linked) so the rate cuts don’t affect early adoptors.

At installation, the projected income was £1,029 for output of 1,845, so basically it didn’t generate the estimated power. why? Pretty simply, it’s a combination of shading in early mornings and early evenings through most of the off-peak, combined with amazingly poor sun in the last few weeks. June/July should be bumper months for solar, but the cloudy rainy days have been incredibly bad lately.

A combination of some tree pruning which has reduced (fairly recently) the shading, and presumably a more usual summer next year should mean for a much better return. I didn’t really do it for the money, I am a green-energy geek, but it’s good to know it makes some sort of economic sense. Energy prices are likely to recover their stratospheric climb after the current recession, which will also boost the economic case. Output would be much higher if the panels were roof mounted (and the installation cost would have been much lower).

Anyway, given that the energy my office consumes is certainly not 1,331 units a year, I’m pretty sure I could make a grand claim that positech is carbon-neutral, and do so with a straight face. Pity about the way everything else in modern life, travel especially, consumes so much energy. I gave up eating beef 3 years ago partly because of its appalling environmental footprint, so I’m claiming some extra points there too. (I don’t miss it at all, lamb rocks!).

Anyway, that’s enough tree hugging for one blog post. I intend to have a sudden outpouring of GSB related bloggage soon.

My experience with code signing certificates for games…

Hands up everyone who knows about code-signing certificates!!!! anyone?

Well they are quite dull, but you have all seen evidence of them, or their non-existence. Code-signing has been around a long time, but for most of the time it’s been a topic that indie game devs could ignore. Essentially, as I understand it, code signing is a way for people to know that the exe file they are downloading is the same exe file it claims to be, and that it doesn’t have any malware in it (not really…but…read on).

If you download an .exe file from the internet using internet explorer, you get scary message windows popup and warn you that your house is about to explode and that swarms of locusts will descend and kill you. However, if that exe file is code-signed, the message is marginally less scary, and you are told the locusts are probably not deadly, and that the explosion will only cause collateral damage.

Some poor sods who have the misfortune to have malware called ‘norton internet security’ probably don’t even get that far. This malware just deletes any exes it doesn’t personally like the look of, regardless of content or publisher… sigh.

Anyway, the get your code signed (and thus scare your potential customers/demo downloaders) a *bit* less, you need to pay an exorbitant sum of money to some supposedly trustworthy company that will verify who you are. I paid $99 and got a few emails asking to see bill or bank statement scans (like they can’t be forged in 10 minutes in photoshop), hand-wavey claims that my identity will be verified in ways unmentioned, and a 1 minute phonecall from a very bored guy in an indian call center checking that I knew all about my submission.

In other words, rigorous FBI-level security clearing stuff that mafia-funded russian hackers could not even begin to circumvent. Oh no…

And then you get a special URL that plonks something somewhere in your copy of internet explorer (it HAS to be IE, what irony!) and are left to fend for yourself.

A bit of experimenting showed that you can ‘export’ the certificate from IE onto your hard drive, at which point you pick a password for it. The next bit it easier, because if you use inno setup, there are simple instructions of enabling it to auto-sign your installers, once you’ve downloaded a ‘signing tool’ from some third party.

And then lo! You have code-signed installers. This means Internet Explorer and Norton Internet Stupidity are very very very slightly less suspicious of my games and demos. Hurrah! Thanks to crass stupidity at the highest levels, they still spout warnings like ‘This file is not commonly downloaded, and therefore must be a virus’ (which are never ever downloaded, clearly). But, it’s a slight step in the right direction.

People are getting more and more used to using clients like steam to get games, and more and more wary of random internet exes. I thought I should at least do my tiny bit to stem the tide of the total extinction of a free, open internet where people can sell games direct, by actually signing my exes and making them seem safer to the wary. Pity that the entire code-signing system was exposed as totally insecure, but I don’t make the rules…