November 2007 Archives

Falling apart, but holding together

| No Comments | No TrackBacks

Once upon a time, there was this game company called Loki Games. They made some nice Linux ports of games and then went bankrupt. Luckily, most of the games still work.

However, I got this weird idea today: Does Sid Meier's Alpha Centauri really need the CD? Well, I went and uninstalled the game, reinstalled, and after some patching, turns out that if I install the whole 600-whatever-megabytes of stuff, yes, the game works just nice and doesn't need a CD at all.

The patch following the reinstall fails spectacularly, however:

loki_patch: dynamic-link.h:57: elf_get_dynamic_info: Assert-makro "! "bad dynamic tag"" ei pidä paikkaansa.

Soooo... the program used by the patcher uses a dog-ancient tricks or something. The patch is just a mysterious executable full of binary crap? Are we doomed?

Well, no...

Stripping away the first few lines of the smac-6.0a-x86.run file, it turns out the file itself is just a .tar.gz file. Blowing that away, I get a small bunch of files: a few shell scripts, a file called patch.dat and what seem to be replacement files. The replacement files turn out to be in "xdelta" format. The patch.dat file is straightforward: Just look at the file name, old MD5 checksum, new file's MD5 checksum, run the xdelta, compare the checksums with patch.dat just to see if it went right, and move the new file over the old file. Tadah!

Still, I'd prefer something a bit easier next time...

Voiced dialogue makes modding hard... not interesting?

| No Comments | No TrackBacks

(Warning: This post is hardly groundbreaking or newly-insightful in nature. I'm definitely late in the party; yes, it's taken this far until the Oblivion modding tools work reliably for me in Linux. =)

In May, I rambled about how this newfangled need to do physics modelling makes games sometimes less intuitive.

Now, I might go ahead and ramble how new more advanced game technology makes modding harder.

When creating newfangled adventures in most games, creating talking animals has traditionally been extremely easy if you have the modding tools. Just plop a copy of a creature to the game, make the thing non-hostile if necessary, and add a dialogue. Right? That's how it works in Neverwinter Nights, at least, and from what I know, in most older games. Sometimes the "copy of a creature" entails some extra work, but it should be doable, right?

Wellll... The Elder Scrolls IV: Oblivion respectfully disagrees. You see, in Oblivion there's difference between "creatures" and "NPCs". The biggest difference, of course, is that creatures cannot engage in dialogue.

So we're deep in the "'copy of a creature' entails some extra work" territory: In theory, we should be able to copy the meshes, stats, stuff, etc to a new NPC. Not so! No! Apparently, you need to do some odd extra legwork to make the creatures talkable.

And when you really think of it, what's the big reason for not allowing this at engine level, right out of the box? Why, the new improved dialogue system, of course, the facial animation system in particular. So, the engine designers went for a trade-off: Talking things need to be redesigned to use the new improved system, while non-talking things can use the old boring way of doing things, which needs less overhead.

No talking mudcrabs here...