• Skip to site navigation
  • Skip to content
  • Skip to sidebar
  • Skip to footer
  • Go to archive page
Shadowmaster’s Lair
  • Home
  • Projects
  • Articles
  • About
  • Contact
  • Blog

Preparing for yet another year

Tuesday, November 30, 2010

It’s almost over. Time flies even faster as we get closer to the end of 2010, and apparently there’s a lot to summarize despite we’re not in the finish line yet!

This has been a particularly difficult year for me in a more personal sense, and I’ve faced some trials I won’t speak about and then some, but I’ve also learned new things in the road — things that may be of greater use to me in the future. There’s really a lot that could be said about this year but I’ll restrict it to computer stuff to avoid boring the audience too much bore the audience as much as possible.

Continue reading “Preparing for yet another year” ›
Posted in Frogatto, IRC, Miscellaneous, Personal, Projects, Rei 2 IRC Bot, Software, Web design, Wesnoth, Wesnoth-TC, freenode at 02:11 UTC | 1 comment

State of Wesnoth-UMC-Dev, and Codename Hakone

Tuesday, November 23, 2010

The Wesnoth-UMC-Dev Project has been around for quite a while now and it’s helped in the preparation of three user-made add-ons for entering Wesnoth’s mainline repository. As time passes more content finds its place into our facilities and more people learn to take advantage of Subversion. There’s still more to come, as ESR and Fabian Müller (fabi/fendrin) are working on a new drake campaign for mainline titled Wings of Victory.

We are currently in need of more people interested in helping around with repository maintenance and application processing tasks, though. Espreon, AI and I do our best to handle new registrations and keep everything tidy and clean, but we also have projects of our own!

As part of a series of changes I hope to have ready before March 2011 — just in time for our 3rd anniversary — the development of a new website “skin” codenamed Hakone, has started today.

I already have most of the CSS rules working, but this template is not leaving the early development stage soon, for I still want to try new and crazy ideas on it before the final deployment phase. In particular, I want to reorganize the site structure at the same time to make it more accessible to our target audience while providing as much documentation as we can. You can have a taste of the preliminary plan clicking on the screenshot above.

Due to my unusual workflow, things are likely to be dropped, replaced and added as I deem necessary or convenient. I’m going to make use of Twitter to post major updates as I go during the next few months.

Finally, I’ve also been making steady progress on improving Rei 2 IRC Bot’s power and cleanness, and for a couple of weeks Shikadibot has been running with her core instead of Shikadibot 0314’s (R.I.P.). Nonetheless, #wesnoth-umc-dev’s bot is unlikely to change much in terms of features, as she doesn’t run with all of Rei 2’s modules for the sake of resource saving.

Posted in Rei 2 IRC Bot, Software, Wesnoth, Wesnoth-UMC-Dev at 06:06 UTC | 1 comment

EPSON Stylus TX105 on Debian Squeeze

Friday, November 19, 2010

Due to general laziness, it took me a long while to research how to make my EPSON Stylus TX105 multifunctional inkjet printer work natively on Linux. I got one of the steps done, arguably only because it was relatively easy to do on a Debian system without messing things up too much — I got the printer piece working on May 2009 with Debian GNU/Linux 5 “Lenny.” Ever since then, I’ve stuck with Windows Vista for scanning and Linux for printing.

This is not the case anymore, now that I’ve learned better. This is one of the many ridiculous things one may need to do when stuck with old hardware that doesn’t work on Linux out-of-the-box. In comparison, I recently installed a Brother HL-2140 laser printer by just plugging the USB cable and waiting for KDE to tell me that the device was configured and ready. Amazing.

So, without further ado, here’s my personal recipe for making the TX105 work natively on Debian GNU/Linux 6 “Squeeze.”

Continue reading “EPSON Stylus TX105 on Debian Squeeze” ›
Posted in Hardware, Software at 03:06 UTC | No comments

Yet another report on GUI2

Tuesday, November 16, 2010

Despite Mordante/SkeletonCrew’s absence from the #wesnoth-dev IRC channel for a while, I’ve still been making progress on converting more parts of the Wesnoth game interface to the GUI2 toolkit. As I mentioned before, completing the transition to GUI2 is an important step towards the next major milestone that is Wesnoth 2.0, and there’s still a lot of work to be done in this area.

Yesterday I pushed a set of commits that convert the Campaign Difficulty selection dialog to GUI2, as part of the changes for Wesnoth 1.9.3. Although It was rather simple to implement, I had to refactor out from the in-game character dialog ([message]) window some code to parse the legacy GUI1 menu items markup, which is now possible to combine with Pango to achieve funky effects in the difficulty menu like what After the Storm already managed with GUI1, and more.

As a result, both the campaigns menu and the difficulty menu consistently use the same toolkit now and there’s even less remaining to be done to discontinue the usage of legacy widgets:

  • The whole gamemap view and the surrounding UI still use GUI1 elements, as do context and main menus in the game.
  • Every dialog with unit previews (debug-create, unit list, recruit, recall, load game, level-up) still needs to be converted to GUI2. There are experimental versions of the Load/save game and Debug-create dialogs in development since a while ago and they can be previewed with the --new-widgets command-line option.
  • The whole help system and the Credits screen accessible from the main menu still need to be converted.
  • Story screens don’t use GUI2 yet but they do use Pango for rendering text on the title and body regions.
  • The game preferences, hotkey configuration/input and network progress dialogs still use GUI1.
  • The add-ons manager (install/update) dialog needs to be remade in GUI2 as soon as possible in order to address the many usability complaints found in the Ideas forum.
  • The End-of-game and loading screens still use what I like to call “GUI0”, a widget-less presentation format that uses the legacy SDL_ttf-based text rendering code.
  • The game status and statistics windows.
  • The multiplayer game setup and waiting screens also need to be converted to GUI2, although an experimental/WIP version of the former is already available.
  • Floating text labels in the game still need to be converted to use Pango instead of SDL_ttf.

Despite the possibly incomplete but long list above, we are much closer to having a consistent game UI that can be later updated and polished as necessary without the involvement of ugly and hard to maintain hacks. Eleazar and West already have some cool ideas which would be nice to implement in the near future.

Posted in Software, Wesnoth at 01:36 UTC | No comments

Living on the bleeding edge

Friday, November 12, 2010

I just finished upgrading the X.org server on my laptop from Debian Squeeze/Sid’s version (1.7.x) to 1.9.2 from the Experimental repository. It was quite a task since my initial command pulled some incorrect dependencies and then forgot some.

sudo apt-get install -t experimental xorg xserver-xorg

This installed the ATI Catalyst and NVIDIA drivers along with pretty much every video and input driver for some reason, which I had to manually remove later — this even though I had disabled Recommends. Since my laptop runs with custom builds of Mesa, the Radeon DDX and the DRM library, I had to rebuild those by hand as usual, but that wasn’t enough to make my system usable again because I forgot to upgrade xserver-xorg-dev, of all things. So, rinse and repeat, and voilà…after several attempts, my X server works again!

sudo apt-get install -t experimental xserver-xorg-dev

Of course, all this calls for the question: why am I using Debian Sid+experimental instead of sticking to a different, more “updated” distribution?

The fact is, I feel comfortable with Debian even though my installation isn’t a normal one anymore because I have foreign stuff I require for testing purposes, X.org included. I can manage myself very well no matter what happens, as you can see above — the little exercise I mentioned lasted for less than 20 minutes because I know how the system works so I can fix it if it breaks — I’m definitely not recommending random people to do whatever I do in any case. But after trying Sabayon GNU/Linux on my desktop box (Blackcore), I know for sure I don’t want to replace Debian with it. I am also certain that openSUSE is not what I want anymore, and this has a lot to do with the package management architecture employed.

It should also be noted that the only reason I’m using stuff from Experimental right now is that Squeeze is frozen, so basically no new upstream versions are entering Sid until Squeeze becomes the new stable. I’m not running away of any bugs — rather, I’m searching for more bugs to face and I’m not afraid of them.

Now I go back to bug-hunting on the Radeon DDX!

Posted in Hardware, Miscellaneous, Software at 05:47 UTC | No comments

Status of After the Storm and Invasion from the Unknown

Wednesday, November 10, 2010

Frequent visitors of the Scenario & Campaign Development Forum at Wesnoth.org’s board may have noticed that there’s a release announcement for After the Storm version 0.3, which is available at the official 1.9.x add-ons server and at SourceForge.net thanks to the Wesnoth-UMC-Dev Project.

I’m certain at this point that I can’t promise regular updates, but I’m trying to resurrect this project after a long period of inactivity that unfortunately followed the ceasing of development on its predecessor Invasion from the Unknown.

The truth is, I have been busy with all sorts of stuff this year — as a result, AtS has had to endure some parental abandonment. Although things aren’t becoming much easier for me in the following weeks, I hope to be able to finish episode I by next February, if not earlier.

As for IftU, I may resurrect it for 1.9.x if my time and creativity allows. Some convenient conversions of WML code to Lua are already done in SVN trunk, and at least the first scenario works, but more testing is required. In any case it’s unlikely to see the sunlight again until some more drastic (non-technical) changes I have planned become possible.

Posted in Personal, Projects, Software, Wesnoth at 02:26 UTC | No comments

Reporting on the GUI2 transition

Monday, November 8, 2010

A few days ago I got bored and decided to give the Wesnoth GUI2 transition, as described in this post a bit of help. In consequence, all of the following dialogs in Wesnoth trunk, after the release of version 1.9.2, have been converted to GUI2 and should be able to display languages such as English (Shavian alphabet) correctly.

  • Every confirmation dialog in the game with exception of the add-ons dependencies resolution window (revisions 47443, 47445, 47446, 47447, 47448, 47450, 47451, 47509.)
  • The gamemap labels editor dialog (revision 47482.)
  • Four list-type dialogs:
    • Selection of the next scenario with the :cl debug command (r47463)
    • Display resolution list in Preferences (r47469)
    • Theme selection in Preferences (r47472)
    • List of installed add-ons for removal (r47467)

This should be considered yet another step forward for GUI2 and the Pango-based text rendering in trunk, bringing us a tad closer to the much awaited… Wesnoth 1.10 release. ;)

Posted in Software, Wesnoth at 19:35 UTC | No comments

Coming soon in Wesnoth RCX 0.2

Thursday, November 4, 2010

Long ago, Jetrel from the Battle for Wesnoth Project contacted me regarding possible extensions to the image path functors module of the game engine.

One of those extensions, which I implemented just in time for Wesnoth 1.6, and later gave it a separate syntax of its own was palette-switching using the same secondary algorithm used by the game’s color range-based team-coloring code. The ~PAL() functor, originally implemented as an extension to ~RC(), was thus born.

Wesnoth RCX 0.2 is not out yet due to some heavy refactoring that’s in progress, but a major feature that it’s going to sport in this opportunity is the ability to define custom color ranges and palettes.

The aforementioned extension to the game engine, which I shortly merged into the command-line based Wesnoth-TC tool, was originated by a possibility Jetrel discussed with me on IRC, namely randomizing individual units’ hair colors (and other compatible traits) on recruit. This sure doesn’t sound like a major task from the C++ side, and in fact the only thing missing right now is a transparent mechanism for defining these variations in [unit_type] nodes. However, it involves heavy revisions in the art department, to clear any traces of paintbrush strokes and sprites using excessive shades of a single color.

WIP elves

The goal: defining strict palette sets for recoloring. Above: Jetrel’s WIP revised baseframes for some of the elves.

Since trying artwork transforms like this in the game can easily become a tedious task (and not just because of the WML coding), Wesnoth RCX is soon going to step forward and provide artists with the ability to try out their own color ranges and palette sets and tweak them as required until achieving the wanted result. I hope that Wesnoth RCX will not just become the artists’ favorite tool, but more like an essential item for the mainline art development workflow.

Another couple of features are also going to feature in 0.2: zooming (suggested by artisticdude in the forums), and compete drag-n-drop support, so users can drag the transformed image into their favorite image editing application for further tinkering. I’m sure Mac users will especially like this new addition. ;)

Posted in Software, Wesnoth, Wesnoth-TC at 23:34 UTC | No comments

Wesnoth Evolution: “Strategy”

Monday, November 1, 2010

Some may recall that during my review of Wesnoth 0.1 I found a mysterious package inside the 0.1 distribution named strategy-source.tar. On closer inspection, the contents turned out to predate the sources of the first version of Wesnoth released to the general public by at least four days. However, I didn’t try to compile or run the mysterious application in that opportunity.

We are now going to take a route back in time to codename “Strategy”, which is a prototype version of the same engine powering Wesnoth 0.1. For readability purposes, we’re going to dub it Wesnoth-00 and proceed with the review.

In this article, I use a Win32 build running on Wine (1.3.6), with a single patch applied on it to not make the game go 1024x768 fullscreen. The data files are those belonging to Wesnoth 0.1, since the prototype archive only contained the source code.

Continue reading “Wesnoth Evolution: “Strategy”” ›
Posted in Software, Wesnoth, Wesnoth Evolution at 19:07 UTC | No comments

Wesnoth RCX 0.1.3

Wednesday, October 27, 2010

Release early, release often, they say.

The source code, and a brand-new Windows binary for a new bugfix release of Wesnoth RCX are now available!

  • Source code: wesnoth-rcx-0.1.3.tar.gz (Gzip tarball, 64 KiB)
    SHA1 checksum: 8da029389cda28adde02d51d054be7c1108a20d2
  • Windows package: wesnoth-rcx-0.1.3-win32.zip (Zip archive, 5.2 MiB)
    SHA1 checksum: bb35cf5c11daaa9de16d67f512ca7bdd6292a0c5
  • Mac OS X binary: morningstar.app.zip (Bundle, 12.7 MiB)
    SHA1 checksum: 66f9f0b4fdf447564a9fb3f73898ba8479402694
    This binary is kindly provided by Alarantalara from the forums.

The only important change in this version fixes a bug in 0.1.2 and earlier causing job output to be created out of sequence — file #1 and #2 would be red TC, #3 blue, #4 green, and so on.

As my Twitter followers can tell, I downloaded and installed the Qt4 SDK for Windows and successfully compiled and ran Wesnoth RCX on a virtual machine with Windows XP SP3. Some additional DLLs are included in the package, so it’s necessary to run the included morningstar.exe from the original folder after extraction. I don’t think I’ll bother with an installer this soon, since this is after all a work-in-progress and I can’t concentrate on programming and packaging at the same time.

I do hope however that the existence of a Windows (2000/XP and later) version of RCX will help spread the word and attract more testers and artists to it. ;)

As with the last time, the instructions for building the source are in the included INSTALL file in the distribution archive. This file is not present in the Win32 distribution for obvious reasons.

Don’t hesitate to comment on RCX’s development, usability, bugs, or suggest new features! The only way things can get fixed or improved is that you make sure I am aware of what needs to be changed. If you think you can help with something else, please tell me!

UPDATE (2010-10-27): added direct link for the Mac OS X bundle download provided by Alarantalara.

UPDATE (2010-12-06): migrated files to SourceForge.net

Posted in Software, Wesnoth, Wesnoth-TC at 00:16 UTC | No comments

Wesnoth Evolution: 0.3

Monday, October 25, 2010

It’s time to continue with our journey into the past to unveil the mysteries of the Battle for Wesnoth Project and its history. This time, we’ll take a look at the third major version of Wesnoth ever released, which succeeds versions 0.1, 0.2 and 0.2.1.

I have not been able to find a package for Wesnoth 0.2.1, but it also happens to be the first version to have changelog entries which can be found even nowadays in SVN trunk:

Version 0.2.1:
 * many redraw bugs fixed
 * new scenarios added
 * many new graphics added that were contributed by Paco
 * infinite recall bug fixed
 * recalling now costs 20 gold pieces. Gold from previous scenarios carries over,
   and there is a bonus for finishing a scenario early
 * better transitions between tiles added (graphics for this not complete though)

Nonetheless, Wesnoth 0.3 — packaged on July 29th 2003 and including a lot of hidden files created by vi/vim and other applications — includes more changes than the changelog entries in SVN would lead us to believe.

Continue reading “Wesnoth Evolution: 0.3” ›
Posted in Software, Wesnoth, Wesnoth Evolution at 18:51 UTC | No comments

Wesnoth RCX (codename “Morning Star”) 0.1.2

Sunday, October 24, 2010

The source code for a new revision release of Wesnoth RCX is now available.

  • Version 0.1.2 (Gzip tarball, 60 KiB)
    SHA1 checksum: 060e45725711a4f4dca284af1ceec2a144042fe4

The main changes in this version include adding support for dropping files into the application’s window or shortcut, and allowing to open more compatible file formats: Windows Bitmap (BMP), and depending on Qt4’s configuration, Photoshop PSD and GIMP XCF — note that output is still solely in the PNG format for simplicity and it’ll remain so.

I sort of promised support for dragging images from RCX, but that won’t be possible yet because it’s not as trivial as drop support and I’m too lazy at the moment. I also made a few minor revisions in the UI, but you probably don’t care about that or any of this until I can offer Windows and Mac OS X binaries — unfortunately, we’re not quite there yet because I need your help for that. It’s not magic. I can’t make it work without an adequate development environment for each platform and, as you should know at this point, I don’t own any Mac machines.

The instructions for using the source code don’t follow this time. I know what you think :blah: , so it’s up to you to read the included INSTALL file in the distribution archive.

Feedback

Don’t hesitate to comment on RCX’s development, usability, bugs, or suggest new features! The only way things can get fixed or improved is that you make sure I am aware of what needs to be changed. If you think you can help with something else, please tell me!

UPDATE (2010-12-06): migrated files to SourceForge.net

Posted in Software, Wesnoth, Wesnoth-TC at 23:50 UTC | 5 comments
‹ Previous 1 ··· 4 5 6 7 8 9 10 ··· 14 Next ›
Page 7 of 14, totaling 165 entries
‹ May ’12 ›
Mo Tu We Th Fr Sa Su
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
  • Recent posts
  • Archives
  • RSS/XML RSS 1.0
  • RSS/XML RSS 2.0
  • Atom/XML Atom 1.0
  • RSS/XML Comments
Twitter: @shikadilord
  • On the other hand, the practical results are beautiful.1 day ago
  • You know you have jumped the shark when your commit advertises itself as "Horrible, horrible hack". #Wesnoth1 day ago
  • That's all there's to say on the matter.2 days ago
  • Shadowmaster’s Blog: After the Storm 0.8.0 http://t.co/Txzwse3y #Wesnoth2 days ago
  • I just updated the #Wesnoth forums' Posting Guidelines with a new item on attachments: http://t.co/hZeCFXqF4 days ago
  • Can anyone tell me how an account name of 'buynowwebsites' could exist for anything other than spamming? http://t.co/93ZTLOlM1 week ago
Categories
  • XML Frogatto
  • XML Hardware
  • XML IRC
  • XML freenode
  • XML Miscellaneous
  • XML Personal
  • XML Projects
  • XML Rei 2 IRC Bot
  • XML Wesnoth-TC
  • XML Site updates
  • XML Software
  • XML Web browsers
  • XML Web design
  • XML phpBB
  • XML Wesnoth
  • XML Wesnoth Evolution
  • XML Wesnoth-UMC-Dev
Projects
  • Wesnoth Add-ons
  • Wesnoth-TC/RCX
  • Frogatto levels
  • Rei 2 IRC Bot
  • Wesnoth-UMC-Dev Registry
  • Shikadibot 0314
  • phpBB 3.0 Mods/Hacks
Articles
  • Wesnoth Evolution
Links
  • Battle for Wesnoth
  • Wesnoth-UMC-Dev
  • Frogatto & Friends
Contact • Site Information & Disclaimer

Copyright © 2006-2012 by Ignacio R. Morelle. All rights reserved.
Powered by Poison Ivy/Dorset6 D9 and Serendipity.
Hosting provided by rewound.net and NearlyFreeSpeech.NET.

Serendipity PHP Weblog Valid XHTML 1.0 Transitional