Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] Re: civ2gfx tileset no longer working
Home

[Freeciv-Dev] Re: civ2gfx tileset no longer working

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: mike_ml@xxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: civ2gfx tileset no longer working
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 20 Feb 2002 22:44:15 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Wed, Feb 20, 2002 at 10:33:29PM +0100, mike_ml@xxxxxxxxxxxx wrote:
> Hi,
> 
> I am normally playing the civ2gfx-tileset created from the original civ2
> datafiles using the script provided by Lino Mastrodomenico using the
> method described in
> http://arch.freeciv.org/freeciv-dev-200103/msg00245.html
> However, using the current cvs-version (on linux, i386), the client
> breaks on startup giving me the message:
> "./civ -t civ2gfx
> civclient: tilespec.c:489: tilespec_lookup_sprite_tags: Zusicherung
> »sprites.road.dir[i] != ((void *)0)« nicht erfüllt.
> Abgebrochen"
> (for all non-germans: "Assertion xxx not met. Cancelled." or something
> like that :) )
> This is my first try on the cvs-version, so I dont know for how long
> this has been broken.
> Since all other tilesets are working for me and civ2gfx is not exactly
> an "officially supported" part of freeciv I have not filed a bug-report,
> but I would still appreciate any hints given on fixing this problem... 

Change which caused this:

date: 2001/09/14 07:35:09;  author: rfalke;  state: Exp;  lines: +18 -19
Remove DIR_D[XY]2 and it's only user. The road and rail sprites in
isometric tilesets are now indexed by symbolic names in the
specfile. In the code the array is now indexed by DIR_D[XY].

Solution: perform changes like this on the spec file:

Index: terrain1.spec
===================================================================
RCS file: /home/freeciv/CVS/freeciv/data/hires/terrain1.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- terrain1.spec       2001/04/17 22:01:40     1.3
+++ terrain1.spec       2001/09/14 07:35:09     1.4
@@ -89,26 +89,25 @@
  10,  3, "ts.whales"
  10,  5, "ts.horses"
 
+;roads
+ 11, 1, "r.road_n"
+ 11, 2, "r.road_ne"
+ 11, 3, "r.road_e"
+ 11, 4, "r.road_se"
+ 11, 5, "r.road_s"
+ 11, 6, "r.road_sw"
+ 11, 7, "r.road_w"
+ 11, 8, "r.road_nw"
 
-;roads - we follow the the numbering of the DIR_D[XY] arrays
- 11, 1, "r.road0"
- 11, 2, "r.road1"
- 11, 3, "r.road2"
- 11, 4, "r.road3"
- 11, 5, "r.road4"
- 11, 6, "r.road5"
- 11, 7, "r.road6"
- 11, 8, "r.road7"
-
-;rails - we follow the the numbering of the DIR_D[XY] arrays
- 12, 1, "r.rail0"
- 12, 2, "r.rail1"
- 12, 3, "r.rail2"
- 12, 4, "r.rail3"
- 12, 5, "r.rail4"
- 12, 6, "r.rail5"
- 12, 7, "r.rail6"
- 12, 8, "r.rail7"
+;rails
+ 12, 1, "r.rail_n"
+ 12, 2, "r.rail_ne"
+ 12, 3, "r.rail_e"
+ 12, 4, "r.rail_se"
+ 12, 5, "r.rail_s"
+ 12, 6, "r.rail_sw"
+ 12, 7, "r.rail_w"
+ 12, 8, "r.rail_nw"
 
 ;add-ons
  4, 7, "tx.farmland"

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Like the ad says, at 300 dpi you can tell she's wearing a
  swimsuit. At 600 dpi you can tell it's wet. At 1200 dpi you
  can tell it's painted on. I suppose at 2400 dpi you can tell
  if the paint is giving her a rash."
    -- Joshua R. Poulson


[Prev in Thread] Current Thread [Next in Thread]