rink.nu / projects / diablo2 / readme.txt@9d6a4a40a3dc
readme.txt
author Rink Springer <rink@rink.nu>
Sun Jan 31 19:43:02 2010 +0100 (2010-01-31 ago)
changeset 29 9d6a4a40a3dc
permissions -rw-r--r--
Add a readme file describing how to use this stuff.
     1 1. Introduction
     3 Back in the day, I used to play a lot of Diablo2. In order to keep track of the
     4 items I had collected, I made a PHP/MySQL website so that both myself as my
     5 friends could see what I still missed (and thus, whether it was worth to pick
     6 up an item or just dispose of it :-)
     8 2. Rewriting the site
    10 However, as this website worked fine, 1.10 came out, which introduced a lot of
    11 classy new items. As the game got a lot harder, I wanted to be able to search
    12 for items with properties (for example, an overview of all items which give
    13 + to all resistances) - this was not feasible with the old approach (which just
    14 stored item properties in a MySQL TEXT field), so I decided a rewrite was in
    15 order.
    17 3. Implementation
    19 I chose the PostgreSQL database as it's much more feature-complete - and things
    20 like referential integrity and column checks are very useful.
    22 In order to easily import data, I chose to write everything down as XML which
    23 I could then later import into the database using Perl scripts. The XML files
    24 are provided in the xml/ folder, whereas the scripts are in the scripts/
    25 folder.
    27 For ease of use, a complete database dump with all items imported is provided
    28 in sql/diablo2-filled.sql.
    30 4. License
    32 This work is licensed under the GPL license version 2 or up. All item-images
    33 as provided in www/images/items/ are copyright Blizzard Entertainment.
Powered by FreeBSD, PostgreSQL and Perl
© 2001 - 2011 Rink Springer