0
Ago 31 2015

A note about Call Of Duty 1/UO BSP maps

Call Of Duty 1 and its expansion, United Offensive, are based on the Quake III engine, therefore they share some of its features, like a Binary Space Partitioning to describe maps, even though the format isn’t compatible.

An article copyrighted 2000 describes very well the BSP format of Quake 3. It’s interesting, because it’s the very base to understand CoD, too, at least its devision in lumps and some of them.

An article on “Mappers United Wiki” depicts the lumps of CoD 1 maps and the size of single lump, but they aren’t explained. Luckily in the same site there’s an article on CoD 2, and most of the structs are equal.

So I’ve tried to render them, but I’ve only managed to build the geometry of maps.

First of all - they use a Z-Up coordinate system, like Blender, but contrary to many rendering systems.

Second thing is that units are very big, they are something like decimeters.

Thirs - everything is in little endian.

That said, let’t analyze some important structs.

Header and lumps directory

The header of CoD is equal to Quake: first 4 bytes are the “IBSP” word, uppercase.

Then there’s an unsigned 32 bit integer, which is the format version. CoD 1/UO is 59, whereas CoD 2 is 4 and… [Leggi il resto...]

2
Feb 02 2014

Plugin Tabmenu (v4.1) [Flatpress]

Description

This is the new version of the Tabmenu plugin, that replaces, the version 4.0.

The plugin adds “sel” class if you are in that page (in HTML, class=”sel”).

You can use both {{TABCLASS}} and {{TABSELECT}} patterns: the difference is that the first adds the class attribute, the second just the sel and so you can speficy other classes. See below for an example.
This is an example (for the homepage):

<li {{TABCLASS:index}}><a href="/" title="Homepage>Homepage</a></li>
<li class="myotherclass {{TABSELECT:index}}"><a href="/" title="Homepage>Homepage</a></li>

Replace index with:

  • index for the homepage;
  • blogindex or blog for the blog homepage;
  • contact for contact.php
  • admin for admin panel
  • login for login page
  • post:entry_id or entry:entry_id for entries (entry_id is the entry id in format entryYYMMDD-hhmmss)
  • static:static_id or page:static_id for static pages (static_id is the static page name, not title)
  • category:id or cat:id for a category with category number as id
  • tag:tagname for a tag
  • params:url or fp_params:url or fpparams:url, where url is the part next to the ? of Flatpress standard urls (standard means not RewriteURLs or PrettyURLs).

A note about the blog… [Leggi il resto...]

8
Lug 18 2013

Plugin RewriteURLs (v2.3.6) [Flatpress]

There is a new small fix in RewriteURLs plugin.

It fixes the strange behavior with ?u mode.

So if you use the classic mode or pathinfo mode you don’t need to update it.

Thanks to LTB for the reporting.

Downlaod: rewriteurls_v2.3.6.tar.gz.

Released under GPLv2.

0
Mar 28 2013

Local Cover Art 0.3 [Picard]

I have updated the Local Cover Art plugin for Music Brainz Picard.

This plugin allows you to embed in your music files the cover of the album they belongs to.

The plugins looks for these files: Front, Cover, Folder and, if the album has more than one disc, it looks also for Front-discnumber, Front discnumber, Front_discnumber and these files have higher priority. They can be also all lowercase and the extension can be png, jpg and jpeg. The first file found is used.

There could be some problems if the disc are in different folders and each folder has a “front” image file. I’m sorry but solving this problem would make the plugin heavier because of how the plugin is implemented. If you find a solution please contact me :-)

Older versions of the plugin had problems with FLAC files. Now they’re solved.

The license of the plugin is released under Creative Commons Attribution 3.0. The authors are me and Oliver Charles and Philipp Wolfer (the authors of Cover Art Downloader, the plugin I modified to create this one). If the original license isn’t compatible, please contact me, otherwise I prefer keeping this license. I’d prefer publishing in the Public Domain but I don’t know the license of the original Cover Art Downloader. Now it’s released under GPL but I’ve modified it before it was covered with this license.

If you find bugs please contact me.

Download: localcoverart-0.3.py

If you don’t know how to install it, please refer to official instructions.

5
Mar 03 2012

Plugin RewriteURLs (v2.3.2) [Flatpress]

English

Hi, I’ve corrected another small bug of the RewriteURLs plugin.

It didn’t handle correctly the feed of comments.

License: GNU GPL v2

Download

Italiano

Ho corretto un altro piccolo bug del plugin RewriteURLs.

Non prendeva i feed dei commenti.

Licenza: GNU GPLv2

Download