![]() |
#1 |
Rookie
Join Date: Jul 2007
Posts: 4
![]() |
problem with graphics
When I try to load the David Gervais tileset, I get the following error messages:
Cannot read bitmap file '32x32.bmp' Cannot initialize graphics Anyone got any ideas as to what's going on? It used to work until a few days ago and I haven't changed anything on the computer. cheers Michael |
![]() |
![]() |
![]() |
#2 |
Rookie
Join Date: Jun 2007
Location: London, UK
Posts: 11
![]() |
You need to download the tileset (for some reason, it's not included in the main distribution). Download the file graf-32x32-306.zip from here http://angband.oook.cz/download.php
Unzip it into the lib\xtra\graf directory (it should contain two files 32x32.bmp and mask32.bmp) That should fix it. |
![]() |
![]() |
![]() |
#3 |
Rookie
Join Date: Jul 2007
Posts: 4
![]() |
I've already got the tileset. Like I said, it used to work fine but now it won't load.
|
![]() |
![]() |
![]() |
#4 |
Adept
|
Is this completely true, you haven't changed ANYTHING? If so, you might try replacing the file - it may have been corrupted. If this doesn't work try giving us some more information like OS, Angband version, etc.
Bill |
![]() |
![]() |
![]() |
#5 |
Rookie
Join Date: Jul 2007
Posts: 4
![]() |
Yep, completely true, I'm afraid.
I tried replacing the files - no good. I'm using the pr2 version of angband in windows xp sp2 but I have the same problem when I go back to the 3.06 version. I've played around a bit this morning: I have my desktop set to 32 bit display andthe tileset won't load. If I change to 16 bit, then run angband and load the tileset, it works fine - even if I change back to 32 bit while angband is running. But, when I try to run agband with the tileset again in 32 bit screen, it won't work. Last edited by mjtokarski; July 7, 2007 at 07:23. |
![]() |
![]() |
![]() |
#6 |
Veteran
Join Date: Apr 2007
Posts: 1,951
Donated: $40
![]() |
I can't reproduce this, and I have no idea why this is happening for you; the code suggests that the game is just having a problem loading the graphics file.
|
![]() |
![]() |
![]() |
#7 |
Adept
|
I can't confirm his problem under Windows as I'm running Linux. Perhaps I can try later today. But I can reproduce a similar problem using my build under Ubuntu.
From the comamnd line: ./angband -g gives me Adam Bolt graphics ./angband -g -- -b gives me Adam Bolt graphics w/bigtile ./angband -g -- -b -o gives me original graphics w/bigtile ./angband -g -- -b -g gives me no graphics at all, the same as just ./angband All the above commands work as expected using the pr1 build, so the problem does seem to be with pr2 and Gervais graphics. Bill |
![]() |
![]() |
![]() |
#8 | |
Veteran
Join Date: Apr 2007
Posts: 1,951
Donated: $40
![]() |
Quote:
![]() Try putting the files in http://angband.oook.cz/download/extr...-32x32-306.zip in your lib/xtra folder. |
|
![]() |
![]() |
![]() |
#9 |
Adept
|
I wish it could be so simple. If I've made an error, it's more subtle than that.
wfp@wfp-desktop:~/angband-3.0.8pr2/lib/xtra/graf$ ls -la total 6061 drwxr-xr-x 2 wfp wfp 360 2007-07-05 12:52 . drwxr-xr-x 5 wfp wfp 176 2007-07-04 20:33 .. -rw-r--r-- 1 wfp wfp 492598 2007-03-23 16:03 16x16.bmp -rw-r--r-- 1 wfp wfp 166508 2007-05-07 11:59 16x16.png -rw-r--r-- 1 wfp wfp 3933240 2004-11-17 18:13 32x32.bmp -rw-r--r-- 1 wfp wfp 469484 2007-05-07 11:59 32x32.png -rw-r--r-- 1 wfp wfp 103286 2007-03-23 16:03 8x13.bmp -rw-r--r-- 1 wfp wfp 203830 2007-03-23 16:03 8x8.bmp -rw-r--r-- 1 wfp wfp 45099 2007-03-23 16:03 8x8.png -rw-r--r-- 1 wfp wfp 200758 2007-03-23 16:03 backgrnd.bmp -rw-r--r-- 1 wfp wfp 423 2007-06-06 17:04 Makefile -rw-r--r-- 1 wfp wfp 491584 2004-11-17 18:14 mask32.bmp -rw-r--r-- 1 wfp wfp 61502 2007-03-23 16:03 mask.bmp wfp@wfp-desktop:~/angband-3.0.8pr2/lib/xtra/graf$ |
![]() |
![]() |
![]() |
#10 |
Adept
|
OK, I found it. In main-x11.c, at line 2836:
bitmap_file = "32x32.bmp"; should be bitmap_file = "graf/32x32.bmp"; the entries for the original and Adam Bolt graphics were changed, but Gervais were not. Bill |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with blank walls in Vista | Finster | Vanilla | 77 | October 9, 2012 17:15 |