Last resort logo

SWAT 3 - LAST RESORT GAME MODIFICATION


Spam Prevention - PLEASE READ !! (23 Apr 2021)

Due to a problem with spammers the rules for posting in the forums have changed for new users.

Newly registered users won't have their posts published until a moderator approves them.

High Resolution Targas

More
4 years 3 weeks ago #1314 by Copy-Cat
So, i'm pretty close to figuring it out, and thru the process I have managed to break the game in an unusual way.

The map loads white washed, seems only to be 4 colors, black, white, green and I think red.
Its soo trippy to walk around the map with only black and white, but the 512 targa I was testing is no longer causing errors.

Here is the trippy screenshot

Attachment not found



anyhow we are in the lab cooking up the next big fix

Please Log in or Create an account to join the conversation.

More
4 years 3 weeks ago #1315 by Slippery Jim
Replied by Slippery Jim on topic High Resolution Targas
Gawd, I hope you figure this out!

Please Log in or Create an account to join the conversation.

More
4 years 2 weeks ago - 4 years 2 weeks ago #1317 by Copy-Cat
Replied by Copy-Cat on topic High Resolution Targas
Update: I am able to force load map with a 512 x 512 Targa. The game currently doesn't know how to handle them, so it crashes on render.

If I start the map with player looking away from texture, it loads, as soon as a single pixel tries to load it crashes. I am real close, just need to figure this program out to find the return call to the function that sets the eax register to 0 b4 the error call. If ya know how get on and take a look.

2nd UPDATE:
Got it to load the 512 targa!, now to come up with a patch!
I'm hoping the repeat uvs on the texture is caused by the texture not being built into the materials.dat

3rd UPDATE:
Yeah it was WC needing the materials.dat updated, but, unfortunately WC complains of the 512 X 512 targa and will not apply the uv mappings, so I Tricked it into thinking the Targa is 256 x 256 and the targa in folder is 512 x 512.

Here is the long awaited screenshot!

Attachment not found



I know, I know I could've picked a better image to test with but I thought it would be kewl at the time! LOL

Please Log in or Create an account to join the conversation.

More
4 years 2 weeks ago - 4 years 2 weeks ago #1318 by Slippery Jim
Replied by Slippery Jim on topic High Resolution Targas
Does the alpha layer still work?

PS: you should have done Doc Brown from Back To The Future.

Please Log in or Create an account to join the conversation.

More
4 years 2 weeks ago #1320 by Copy-Cat
Replied by Copy-Cat on topic High Resolution Targas
1

Please Log in or Create an account to join the conversation.

More
4 years 2 weeks ago - 4 years 2 weeks ago #1321 by Slippery Jim
Replied by Slippery Jim on topic High Resolution Targas

Copy-Cat wrote: also using tga instead of bmp works too.


That last part confused me. Please explain.

Please Log in or Create an account to join the conversation.

Moderators: DarkSynopsis
Time to create page: 0.279 seconds
Powered by Kunena Forum