Archive for the 'Links' Category

April 14th 2008

Taglib Property Handler

I’ve recently released, via. Sourceforge, an alpha of my Taglib Property Handler. It allows Windows (Explorer, Search, etc.) to view the metadata that exists in a variety of audio formats.

Taglib supports (so far) ogg (vorbis), flac, oga, mpc, wv, spx, tta, mp3 and wma. The last two have some support in Windows, however, support for id3v2.4 in mp3 files is lacking.

Currently, it works best under Vista (either 32-bit or 64-bit). XP (even with Windows Desktop Search installed) seems not to be interested in the properties I have to offer. The installer (intentionally) completely does not work under XP.

Any comments welcome, but this is an alpha, and, even though there is (nearly) no risk to your files or your system stability, it’s possible that something is horribly broken. :)

No Comments yet »

January 19th 2007

Belkin’s USB Wireless Adapter G: f5d7050uk

Dear Belkin, choice makes humans sad.

Which f5d7050 do I have? No idea.

As usual, the device has a huge STOP: Run the Installation CD-ROM FIRST. Inserting the CD and clicking “install” gets me:

---------------------------
Belkin Wireless USB Utility
---------------------------
Click on icon if you want to communicate directly to another wireless computer near you (Ad-Hoc).
---------------------------
OK
---------------------------

…and then disappears.

I decided, at random, to download the latest version of the drivers for Windows XP, ie. f5d7050-ver4.exe, a tiny 28MB, which do exactly the same as the CD.

A WinRAR extract of the download (eventually) yields a folder called Driver containing the necessary Windows driver files for 98 thru XP. Total compressed size of the necessary parts of the Driver folder that are needed for XP? 120kB. I don’t even want to know what craplets were bundled along with the driver.

Result: A working wireless network card having completely ignored all of the warnings from the packaging, setup, installer, manual, etc. and only the final step, installing the (non-WHQL’d) driver, as Administrator.

And people wonder why it’s the technically inept that have all the problems with their OSes

1 Comment »

August 27th 2006

Copy Protection on Demos.

Why? Why is it necessary to bundle copy protection with demos? What is it actually protecting?

For a released game, you can quite fairly argue that any copy protection applied is useful (initially) to help deter piracy, but for a demo? The only thing I can think of here is the reliance on the copy protector’s packing to prevent reverse engineering of the engine, an (eventually) futile task. The protection might hold for a month or so, but if you’ve actually released (or, at least, code-frozen) your product, what help is protecting your engine from the competition? They’re apparently aiming for a later release date, and hence will be using a further developed engine regardless.

The alternative possibility being that the demo is limited in features up until the point where you supply an ‘activation code’ of some kind, an idea which has largely died out with this whole ‘internet’ thing (due to the ease of selling to customers and then distributing the release version of the game). See JetPack and Zone66 for some games that had properly limited (with ‘post off for the full version’) demos, and some of the wonderful creations in the archives of Lucky’s VB Gaming Forum for some of the “greatest” home-grown copy protection schemes, ever.

Assuming, based on sheer size, that demos for modern games don’t have all the game content bundled, and the developers aren’t paranoid about people stealing their unpacked code, we’re back to having no reason for copy protection on demos.

The only exception to this are demos (or non-sale releases) of games with network play, where you rely on the protection system to prevent the user damaging their client in some way, for instance Trackmania Nations, in which you really shouldn’t be relying on an external library to protect the play (it should, ideally, be impossible to cheat because the server checks everything it’s sent).

Following that, back to the normal.. moaning about applications that don’t work correctly as a limited user on Windows.

I recently downloaded the Just Cause demo, and was (pleasantly) suprised to see that the installer is limited user aware, even offering to install into your Application Data directory, which would undoubtedly irritate some sys-admins (with roaming profiles turned on). That is, it works fine, right up until a few seconds before the end, where it dies with a error message quoting “Access Denied”, with no other useful information. Woe. Looking at Regmon / Filemon logs doesn’t give any further information, either.

That wasn’t wholly unexpected, but having uninstalled it and re-run the set-up program as an administrator (which works fine), I try to run the demo (as either user), and get given:

A required security module cannot be activated.
This program cannot be executed (5016).

Please have a look at http://www.securom.com/message.asp?m=module&c=5016 for further, more detailed information.

(That link was dead at the time of writing, too.)

Lovely. Well, I certainly won’t be buying the game, then. Good work, demo.

2 Comments »

July 13th 2006

Kensington locks

At IBM, due to the sheer number of Thinkpads lyring around on desks, all laptops are supposed to be secured to the owner’s desk using a Kensington MicroSaver, simply to stop people walking in and grabbing a pile of laptops.

The first hit on Google for “Kensington lock” was, t the time of writing, a Digg post about picking Kensington locks, the essence of which is: Cardboard tube with the same diamter of the lock and some jiggling.

My ‘lockpick’, fashioned from a pencil, a few bits of scrap paper and some sellotape (all of which were lying around on my desk at the time):

With this, and about 5 minutes trying to get the technique right, I managed to get the lock off my laptop.. repeat attempt (knowing which way to ‘lean’, which you can work out easiest by looking at the key, but that’s cheating, of course..) took about 30 seconds to get the lock off.

So much for not being able to just grab them off desks..

1 Comment »

July 8th 2006

Boredom

Following the CompSoc BFL 2006 and a week at home, I’ve moved to the Southampton area for my IT year at IBM Hursley.

Not having had an internet connection for most of that time, I’ve had to come up with some other things to do (besides watching QI).

First, anyone who’s used GnuWin32’s CoreUtils’ ls will probably have noticed how slow it was (for example, it takes ~4 seconds to list the files on my desktop); it also lacks actual checking of the owner/group of the file, the permissions and the colouring/console-width-awareness provided on other platforms. I can (now) appreciate the permissions, but the others.. Anyway, I decided to rewrite it. Going reasonably well, but reading the permissions (for anyone but the current user) is a pain. A serious pain.. if I ever manage to do it successfully, I’ll probably write about it. As far as I can tell, nobody else has ever managed it, so things aren’t looking good.

It’s not ready for general use yet, but it’s definitely working:

Secondly, having seen both Silver’s ConResMgr (a tool that lets you drag-resize Windows Command Prompt windows), and the way he lays out windows on his screen, I thought I’d have a go at doing it semi-automatically.

The result was the imaginitively ‘FauWM Assistant’, which, when you Ctrl+drag or Ctrl+resize windows will show a dialog prompting you for which sextant(s) of which screen(s) you’d like the window to be placed in.

The result is that it’s very easy to get a window setup that looks something like:

The (ultimately sexy) prompt for window position currently looks like:

So, to use:

  • Grab (pretty much) any window by the title bar, I know it doesn’t work with Winamp and (partially) Putty.
  • Hold control and just drop the window anywhere; the Segment Select.. window shown above will come up under your cursor.
  • Drag a box through some of the rectangles shown.
  • The window should now be where you wanted it.

You can download FauWM Assistant (sig), it needs the Visual Studio 2005 (8) Runtime Library.

No Comments yet »

June 30th 2006

Flaaaames!

All reason has failed, it’s time for some transparent flaming of Laurence’s response to my previous post.

I do not have the time or inclination to install each one to find out if it is in the default package selection, …

Don’t worry, I’m more than happy to do it for you. It appears that (k)Ubuntu, Mandriva, Fedora and SUSE don’t ship with the packages in their default install.

..and even if not it’s still a single tick-box away and can be installed from the installation media rather than a large download away.

Where did you get this installation media from, just out of interest? Did you download them, say, a DVD iso? Sounds rather large, if you aren’t going to be installing most of the packages by default. Maybe you didn’t download them and paid someone like The Linux Shop to ship them to you? You may not be aware that Microsoft offer a similar service, for instance, they allow you to order the platform sdk on a low-cost cd.

..it took 3 searches and 20 minutes following various links to find a download page for Visual Studio Express Edition.

I think we might need pictures here.

  1. First of all we’re going to visit the website of a popular search engine, known as Google. You may have heard of it. We’re looking for “Visual Studio Express Edition”, so go ahead and enter it into the box, noquotes.
    Google's home page with the I'm Feeling Lucky button highlighted
    Click “I’m feeling lucky”, as indicated in the above image.
  2. This’ll get you to the Visual Studio Express Edition home page. From here, we have to decide which version of VSEE we’re after For Windows Development. At random, I’ve picked the C++ edition, so click Visual C++ 2005 Express Edition. Another screen capture is provided if you are having problems locating the link:
    Visual Studio 2005 editions
  3. We’re aiming to download it, so, here, click on the large DOWNLOAD NOW link. Large Download Now image. No arrows required here, I hope.
  4. Again, click “Download“: Download link with subtle indication arrows.
  5. That’s all. If, however, you’d prefer to manually download the file as apposed to use Microsoft’s download manager, you may want to select manual installation instructions here.

By my count, that’s four mouse clicks from the google home-page. The Direct-X SDK is three.

Additionally, once downloaded and installed I still have to add the library paths for DirectX’s libraries to the search paths for any project requiring them.

Visual Studio has a global library path, very useful for these library things. It even has a nice GUI to configure it! To access it, under Visual Studio 2005, follow: Tools -> Options -> Projects and Solutions -> VC++ Directories -> Show directories for: Library files.

Any path added to there will be searched by your project.

…As far as I can tell (I may be wrong) this ’standard’ is a defacto standard and applications do not have to comply if they do not want to….

I wasn’t refering to the labeling of the menus, I was refering to the fact that they will be accessible via. alt keys (if they exist at all), and that windows will attempt to fill in any access keys that the application has failed to specify, meaning that you’ll always have a consistent interface.

Hope that helps :)

No Comments yet »

Next »