invalid size 256x257 error

Moderators: GSH, Ultraken

Post Reply
User avatar
Huib-Bloodstone
Rattler
Posts: 92
Joined: Fri Feb 18, 2011 10:36 pm

invalid size 256x257 error

Post by Huib-Bloodstone »

Hello,

I get error invalid size 256x257 error on AI maps.. i started playing bz1 again after the latest release

This might be a commen problem but i couldn't find any info on it.

Any fix for this except going back to the original bz1
Error on AI maps are gone, it just crashes a lot ;)
User avatar
Nielk1
Flying Mauler
Posts: 2991
Joined: Fri Feb 18, 2011 10:35 pm
Contact:

Re: invalid size 256x257 error

Post by Nielk1 »

How did the map get an extra bit in the first place is my question.
User avatar
Huib-Bloodstone
Rattler
Posts: 92
Joined: Fri Feb 18, 2011 10:36 pm

Re: invalid size 256x257 error

Post by Huib-Bloodstone »

Installing AI Map Mars_03_Fun seems to fail, it overwrites aspilo00.MAP and thats were the error comes from.

Try not to overwrite it when asked..
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: invalid size 256x257 error

Post by General BlackDragon »

it gives a map size error because it overwrites an existing texture?

Sorry, but that makes as much sense as saying that your left sock smells because you wear an ear ring.
User avatar
Ded10c
Recycler
Posts: 3815
Joined: Sun Feb 20, 2011 11:05 am
Location: Stoke-on-Trent
Contact:

Re: invalid size 256x257 error

Post by Ded10c »

Seatbelts and sparkplugs.
User avatar
Zax
Attila
Posts: 1388
Joined: Sat Feb 19, 2011 6:56 am

Re: invalid size 256x257 error

Post by Zax »

delete the texture then and it will get the default from the zfs.
Apollo
Sabre
Posts: 456
Joined: Sat Feb 19, 2011 9:51 pm

Re: invalid size 256x257 error

Post by Apollo »

Textures for Bz must be a power of two and square.
256
128
64
32
User avatar
ScrapPool
Sober Scav
Posts: 24
Joined: Wed Jul 20, 2011 8:47 am

Re: invalid size 256x257 error

Post by ScrapPool »

Copy-overwriting with the TRO sprite tables seems to fix this for some reason, too. Might as well be magic to me though, I have no idea how it works...
User avatar
Ultraken
Patch Creator
Posts: 373
Joined: Fri Feb 18, 2011 6:06 pm
Contact:

Re: invalid size 256x257 error

Post by Ultraken »

1.5.1.9 is much more tolerant about texture size but it's still good form to ensure that textures are at least power-of-two if not square. GPUs have supported non-square textures for years, but many only support non-power-of-two textures with no mipmaps (typically HUD/UI). Unless a texture has unusual UV wrapping requirements, it's best to pack non-square and non-power-of-two textures into a texture sheet.
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: invalid size 256x257 error

Post by General BlackDragon »

I give mine an alpha'ed or extra boarder to bump up image size.
Battlezone Classic Public Forums
*****General BlackDragon*****
Post Reply