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.
Mission Loading Screen
Minor issue but would be nice if it could be changed.
I'm not sure if even the waiting for other players to load is also the same resolution? load so fast now that the game is old that I don't even see it.
Replacing all the bitmaps with higher resolution versions would bloat the size of the mod though. I can't recall what the game does if you change the resolution but not change the actual bitmap loading graphic. I assume it would just leave a black border around the graphic. Can't recall if it automatically centers the graphic or if the image is awkwardly placed in the top left.
This might be worth exploring since the temporary drop down to lower resolution is annoying. Feel free to experiment if you wish. I won't have time to test until this weekend. Are you saying this is something you would want included before releasing v0.7? Maybe it could be an additional download for people who would prefer this feature?
Here is a thread about the hacked executables:
Decimal offset 301365 (or 0x00049935 in hex) 0x58 0x02 0x00 0x00 Decimal offset 301372 (or 0x0004993C in hex) 0x20 0x03 0x00 0x00
Of course you would have to hack each Last Resort custom Swat.exe file with the corresponding resolution
Imagine upping the resolution would make them look awful? and they aren't really images you can go re-capture at a higher res, can you ghost in SWAT? can't even recall, I know with Raven Shield I went and found exact locations and took screenshots for its loading screens.
I myself would be fine with the black border and the image centered if it works like that, top left might be odd but seems like a small sacrifice to not have my resolution jump all over the place.
So that info is part of the .exe? damn, shame you couldn't make it an option you could toggle on/off.
DarkSynopsis wrote: shame you couldn't make it an option you could toggle on/off.
Yeah it is hard coded in the swat.exe files. Dynamically changing something like that would probably freak out every anti-virus program on the planet, lol.
UPDATE: Sadly, it does place the load screen in the top left of the screen. Considering the load screens are only 800x600 it looks so small on a 1920x1080 screen.
From my experience with the 2D menus sometimes Swat 3 will put them in the center and sometimes in the top left. I have never figured out what controls that. I would love to figure that out some time. I have always wondered if there was some sort of DirectDraw flag that controls that.
Your idea was fantastic and I really wish I could implement it but right now it just looks like poo sadly. I never even thought about doing this because of the annoying resolution change so you get a pat on the back for thinking out of the box
Slippery Jim wrote: This might be worth exploring since the temporary drop down to lower resolution is annoying. Feel free to experiment if you wish. I won't have time to test until this weekend. Are you saying this is something you would want included before releasing v0.7? Maybe it could be an additional download for people who would prefer this feature?
Just did a quick test with 1920x1080 and it opts for top left, since its not ideal might be best if it was an additional download? seems like a hassle to add into v0.7 at this point and wouldn't surprise me if someone doesn't like it.
I just tried windowed mode with 1024x768 since I thought it kept the window the same and the image was still full screen, seems I recalled wrong, it does the same thing, 800x600 image in top left rest is black.
Quick image just for the sake of the thread.
Rather than a DirectDraw flag it may be giving X and Y startup coordinates of 0,0 for the DirectDraw window? Sometimes when Swat 3 centers a 2D menu how is it doing it? The game can run in 1024x768 also so does that mean on some windows that are centered the game does some calculating and passes the x,y in a variable to the window?
Perhaps it is controlled by .Con file but I don't seem to recall any off the top of my head.
Maybe compare several resolution calls and see if anything stands out? Compare the centered windows against the top left window call.