Trouble with overview image

Trouble with overview image

Re: Trouble with overview image Posted by Gollum on Tue Oct 7th 2003 at 11:46pm
Gollum
1268 posts
Posted 2003-10-07 11:46pm
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
Wrong map image dimensions in overviews/gmdm2.bmp

That's the error I get (except that Valve actually writes "dimesions").

The image is 1024*768 @ 256 colours.

Any ideas?
Re: Trouble with overview image Posted by Cash Car Star on Tue Oct 7th 2003 at 11:49pm
Cash Car Star
1260 posts
Posted 2003-10-07 11:49pm
1260 posts 345 snarkmarks Registered: Apr 7th 2002 Occupation: post-student Location: Connecticut (sigh)
I think it has something to do with the .txt file that accompanies the .bmp - I've seen this before but forgot how I corrected it.
Re: Trouble with overview image Posted by Orpheus on Wed Oct 8th 2003 at 12:02am
Orpheus
13860 posts
Posted 2003-10-08 12:02am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
Gollum said:
Wrong map image dimensions in overviews/gmdm2.bmp

That's the error I get (except that Valve actually writes "dimesions").

The image is 1024*768 @ 256 colours.

Any ideas?
does HL acknowledge only 256 colors?

seems kinda low to me, think about it, it has to be a BMP, and not a JPG, so maybe formatting it so low in colors will cause it to error out :sad:
Re: Trouble with overview image Posted by Campaignjunkie on Wed Oct 8th 2003 at 12:17am
Campaignjunkie
1309 posts
Posted 2003-10-08 12:17am
1309 posts 329 snarkmarks Registered: Feb 12th 2002 Occupation: Student Location: West Coast, USA
Hmm, I thought it had to be a .tga.
Re: Trouble with overview image Posted by KoRnFlakes on Wed Oct 8th 2003 at 7:27am
KoRnFlakes
1125 posts
Posted 2003-10-08 7:27am
1125 posts 511 snarkmarks Registered: Jul 3rd 2002 Occupation: Yus! Location: Norfolk
nah its bmp
Re: Trouble with overview image Posted by Gollum on Wed Oct 8th 2003 at 7:44am
Gollum
1268 posts
Posted 2003-10-08 7:44am
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
The Valve overview images are all 256 colour BMPs at 1024*768, so I don't think it can be the format :confused:
Re: Trouble with overview image Posted by KoRnFlakes on Wed Oct 8th 2003 at 8:08am
KoRnFlakes
1125 posts
Posted 2003-10-08 8:08am
1125 posts 511 snarkmarks Registered: Jul 3rd 2002 Occupation: Yus! Location: Norfolk
goll, when u took the screenshot did you make the txt?
Re: Trouble with overview image Posted by Gollum on Wed Oct 8th 2003 at 8:10am
Gollum
1268 posts
Posted 2003-10-08 8:10am
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
This is the text from gmdm2.txt, located in the same directory as the image (....loada Steam crappo/Half-Life/gmdm2/overviews):

// overview description file for gmdm2.bsp

global
{
ZOOM 2.15
ORIGIN 115.38 -881.69 -312.00
ROTATED 1
}


layer
{
IMAGE "overviews/gmdm2.bmp"
HEIGHT -1537.00
}


 
Re: Trouble with overview image Posted by KoRnFlakes on Wed Oct 8th 2003 at 8:11am
KoRnFlakes
1125 posts
Posted 2003-10-08 8:11am
1125 posts 511 snarkmarks Registered: Jul 3rd 2002 Occupation: Yus! Location: Norfolk
lol, Thats not gonna matter to me if I didnt take the screenshot with the info in it m8
Re: Trouble with overview image Posted by Gollum on Wed Oct 8th 2003 at 8:15am
Gollum
1268 posts
Posted 2003-10-08 8:15am
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
I don't understand  :confused:

Do I have to do anything differently due to gmdm2 being in its own mod?
Re: Trouble with overview image Posted by KoRnFlakes on Wed Oct 8th 2003 at 8:17am
KoRnFlakes
1125 posts
Posted 2003-10-08 8:17am
1125 posts 511 snarkmarks Registered: Jul 3rd 2002 Occupation: Yus! Location: Norfolk
m8, I think u may have perhaps just copied the info from a different image?

dev_overview 1 - info & details appear in the console & along the top, you need to screenshot this to keep the info for when u make the txt

dev_overview 2 - take a shot of this, This is your actual .bmp overview.

make the txt & enter the corresponding info from dev_overview 1 into it.
Re: Trouble with overview image Posted by Gollum on Wed Oct 8th 2003 at 8:21am
Gollum
1268 posts
Posted 2003-10-08 8:21am
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
Hmmm.  I could've sworn that's what I did.  Might try again just for luck....
Re: Trouble with overview image Posted by KoRnFlakes on Wed Oct 8th 2003 at 8:28am
KoRnFlakes
1125 posts
Posted 2003-10-08 8:28am
1125 posts 511 snarkmarks Registered: Jul 3rd 2002 Occupation: Yus! Location: Norfolk
id give you a hand but dev_overview 1 doesnt seem to work in steam, Or at least I just tried it and it didnt.
Re: Trouble with overview image Posted by Gollum on Wed Oct 8th 2003 at 8:31am
Gollum
1268 posts
Posted 2003-10-08 8:31am
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
You need to get Steam to make a shortcut, and add -dev to it.  It fails to make shortcuts to mods though.
Re: Trouble with overview image Posted by KoRnFlakes on Wed Oct 8th 2003 at 8:34am
KoRnFlakes
1125 posts
Posted 2003-10-08 8:34am
1125 posts 511 snarkmarks Registered: Jul 3rd 2002 Occupation: Yus! Location: Norfolk
or just add it to the launch options. Im an idiot.
Re: Trouble with overview image Posted by KoRnFlakes on Wed Oct 8th 2003 at 8:54am
KoRnFlakes
1125 posts
Posted 2003-10-08 8:54am
1125 posts 511 snarkmarks Registered: Jul 3rd 2002 Occupation: Yus! Location: Norfolk
User posted image

// overview description file for dh_spammage.bsp

global
{
 ZOOM 5.66
 ORIGIN 524.00 -264.00 80.00
 ROTATED 1
}

layer
{
 IMAGE "overviews/dh_spammage.bmp"
 HEIGHT -297.00
}
Re: Trouble with overview image Posted by KoRnFlakes on Wed Oct 8th 2003 at 9:21am
KoRnFlakes
1125 posts
Posted 2003-10-08 9:21am
1125 posts 511 snarkmarks Registered: Jul 3rd 2002 Occupation: Yus! Location: Norfolk
Ignore, edit finaly worked.
Re: Trouble with overview image Posted by Gollum on Wed Oct 8th 2003 at 10:21am
Gollum
1268 posts
Posted 2003-10-08 10:21am
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
Umm...what am I supposed to do with that?  Your overview information looks just like mine, except obviously with different numbers and map names.
Re: Trouble with overview image Posted by KoRnFlakes on Wed Oct 8th 2003 at 10:33am
KoRnFlakes
1125 posts
Posted 2003-10-08 10:33am
1125 posts 511 snarkmarks Registered: Jul 3rd 2002 Occupation: Yus! Location: Norfolk
look at both posts to check if youve put the correct numbers in the correct place. looking at my numbers you can see where each one goes in the txt. Just in case you do actually have one in the wrong place or missing.

The only one that isnt written the same is height which is max on the dev
Re: Trouble with overview image Posted by Gollum on Wed Oct 8th 2003 at 10:45am
Gollum
1268 posts
Posted 2003-10-08 10:45am
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
Okay thanks; I'll have another go when I get the chance.
Re: Trouble with overview image Posted by KoRnFlakes on Wed Oct 8th 2003 at 10:57am
KoRnFlakes
1125 posts
Posted 2003-10-08 10:57am
1125 posts 511 snarkmarks Registered: Jul 3rd 2002 Occupation: Yus! Location: Norfolk
btw, whats the command for spectator mode. Tried spectate in console & it told me spectator mode was disabled. I didnt see it in the options when I started a steam serv.
Re: Trouble with overview image Posted by Gollum on Wed Oct 8th 2003 at 11:29am
Gollum
1268 posts
Posted 2003-10-08 11:29am
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
Also, is it possible to spectate if you are the server?
Re: Trouble with overview image Posted by Gollum on Wed Oct 8th 2003 at 12:22pm
Gollum
1268 posts
Posted 2003-10-08 12:22pm
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
Okay, this is a little embarassing :redface:

I was saving the BMP in run length encoding (RLE), rather than normal RGB.

Overview BMPs must be RGB-encoded, it appears.
Re: Trouble with overview image Posted by Cash Car Star on Wed Oct 8th 2003 at 6:21pm
Cash Car Star
1260 posts
Posted 2003-10-08 6:21pm
1260 posts 345 snarkmarks Registered: Apr 7th 2002 Occupation: post-student Location: Connecticut (sigh)
As to the bmp/tga thing... I've seen both work.