Squiddy Posted March 20, 2008 Share Posted March 20, 2008 (edited) Hey all, a friend noted on gtareactor that Vice City has problems with 16:10 resolutions (like widescreen monitors have). This showed in a difference between the crosshair and the actual hit point. See the screenshots below if you don't know what I'm talking about. From that on I worked on improving the display and fixed some minor stuff. Fixes - HUD not stretched anymore - Crosshair match hit point - perspective adjusted Download http://squiddy.marway.org/gta/files/vcwidescreen.zip (http://squiddy.marway.org/gta) Install Extract into vice city directory. Enable the widescreen option in the display menu. Be sure to keep the file in the directory only if you're playing in widescreen. Otherwise it will affect 4:3 displays. Before/After comparison screenshot Edited April 5, 2008 by Squiddy EenCole 1 Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/ Share on other sites More sharing options...
ESMazter Posted March 20, 2008 Share Posted March 20, 2008 Great thing for laptop users like me! Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1057634098 Share on other sites More sharing options...
[CTD]LaBan Posted March 22, 2008 Share Posted March 22, 2008 Great! Now i can play correctly on my laptop, too 5* Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1057643725 Share on other sites More sharing options...
Rbn 3d Posted March 22, 2008 Share Posted March 22, 2008 Nice!! But.... any release for SA?? Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1057644464 Share on other sites More sharing options...
Alexander Blade Posted March 22, 2008 Share Posted March 22, 2008 N1ce fix ! may be if Squiddy will tell me how he did it for VC i'll do this 4 SA Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1057645229 Share on other sites More sharing options...
Squiddy Posted March 22, 2008 Author Share Posted March 22, 2008 Thank you all. Does SA really have the same problems? I am surprised, I expected them to handle this better. Of course I do my best to help you Alexander, you might want to check the source, it really is not much I did, research lasted longer than everything else: http://squiddy.marway.org/gta/source/vcwidescreen.txt But if you don't work with VC it probably doesn't help you much, maybe I can explain it better. First priority was to fix the crosshair position, which is drawn in CHud::Draw. The calculation used some floats for scaling. As I changed them, the bullet hit position was changed too, so I had to change the code and manually adjusted them to fit. float shoot_scale_x = 0.5362989902f;float shoot_scale_y = 0.3810000122f;DWORD p = vcversion::AdjustOffset(0x5575FA);VirtualProtect((void*)p, 4, PAGE_EXECUTE_READWRITE, &dwProt);*(DWORD*)p = (DWORD)&shoot_scale_x;VirtualProtect((void*)p, 4, dwProt, &dwProt); p = vcversion::AdjustOffset(0x55760A);VirtualProtect((void*)p, 4, PAGE_EXECUTE_READWRITE, &dwProt);*(DWORD*)p = (DWORD)&shoot_scale_y;VirtualProtect((void*)p, 4, dwProt, &dwProt); Second was the vertical scale of the whole display. Strechnutter had that option in VC Camhack, called 'Height stretch'. Maybe it's present in SA too. This value is changed when activating cutscenes for example. p = vcversion::AdjustOffset(0x54A29E);VirtualProtect((void*)p, 4, PAGE_EXECUTE_READWRITE, &dwProt);*(float*)p = 1.56f;VirtualProtect((void*)p, 4, dwProt, &dwProt); The horizontal scaling of the HUD was corrected. Everything was affected, excepts the radar map sprites. They had to be adjusted seperatly. *(float*)vcversion::AdjustOffset(0x697A70) = hud_scale_x;*(float*)vcversion::AdjustOffset(0x68FD14) = radar_scale_x; When I corrected the huds horizontal scale, the sniper mode had a bug. The black rectangles left and right to the sniper texture had to be made wider, otherwise a small coloumn was not black. This is how it looked in the end: See here: http://gtareactor.planet-multiplayer.de/gt...achmentid=32712 Well, I hope this helps you somehow. If there is any question, feel free to ask. Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1057645790 Share on other sites More sharing options...
-/TNT\- Posted March 22, 2008 Share Posted March 22, 2008 San Andreas on my PC always looks all stretched upwards. I've resorted to the CamHack, it fixes the problem. I haven't noticed any aiming difficulties though, but I'll be glad if you can fix this. It just eliminates another app I keep open when gaming. Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1057645836 Share on other sites More sharing options...
Alexander Blade Posted March 23, 2008 Share Posted March 23, 2008 2Squiddy : thx a lot ) Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1057648553 Share on other sites More sharing options...
simkas Posted March 24, 2008 Share Posted March 24, 2008 I f*cking love you. Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1057655064 Share on other sites More sharing options...
simkas Posted April 4, 2008 Share Posted April 4, 2008 I'm having a problem with this. When I put the .asi in my game foler, the screen looks more stretched in widescreen mode. Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1057730470 Share on other sites More sharing options...
Squiddy Posted April 4, 2008 Author Share Posted April 4, 2008 Did you enable the widescreen option in the display settings? It is needed, as the mod is correcting the settings done by VC. If this doesn't help, could you post a screenshot? Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1057730513 Share on other sites More sharing options...
simkas Posted April 5, 2008 Share Posted April 5, 2008 Here's how it looks without this fix: And here's what it is with the fix: With the fix, the hud doesn't look so stretched, but the view is stretched down verticaly. Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1057735858 Share on other sites More sharing options...
Squiddy Posted April 5, 2008 Author Share Posted April 5, 2008 Well... that's going to be difficult. Thing is, I asked a friend what vertical scale he prefers, that's the one I chose for the fix. It's really a matter of personal taste I assume, but imo on the second screenshot Tommy does look more natural than on the other one. If you prefer a different setting, I need to make it configurable. Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1057735985 Share on other sites More sharing options...
simkas Posted April 5, 2008 Share Posted April 5, 2008 Well... that's going to be difficult. Thing is, I asked a friend what vertical scale he prefers, that's the one I chose for the fix. It's really a matter of personal taste I assume, but imo on the second screenshot Tommy does look more natural than on the other one. If you prefer a different setting, I need to make it configurable. He looks too short in the second picture. Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1057736035 Share on other sites More sharing options...
Squiddy Posted April 5, 2008 Author Share Posted April 5, 2008 Well, yeah. I guess I can find 10 people claiming he is too tall in the first picture. Okay, I make it configurable then, maybe today, maybe tomorrow. Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1057736055 Share on other sites More sharing options...
spaceeinstein Posted April 6, 2008 Share Posted April 6, 2008 I don't know if other people have this issue but someone posted this problem with the widescreen fix. http://img228.imageshack.us/img228/3417/bugcr3.jpg Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1057744517 Share on other sites More sharing options...
Squiddy Posted April 6, 2008 Author Share Posted April 6, 2008 (edited) Oh, never checked that. Makes sense, because that map is rendered in the same function as the HUD I think. When I corrected the scale factor for the hud, the icons position stayed the same. Two possibilities.. stretching the map in that display or correcting the icons position. I think the first is easier. I'll check that out. Edit Okay, figured out where the problem is, just need to find a good way to fix it. Maybe I do it the lazy way, at least the bug will be fixed then. Edited April 6, 2008 by Squiddy Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1057745399 Share on other sites More sharing options...
The Kirbster Posted April 10, 2008 Share Posted April 10, 2008 Thanks man, I really needed this. Good job. Correct me if I'm wrong, but I think you just made the aiming circle at the location of where the Widescreen mode fires, instead of changing the line of fire location to where the aiming circle is. Yes? Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1057772186 Share on other sites More sharing options...
Squiddy Posted April 10, 2008 Author Share Posted April 10, 2008 Yes, I found this to be the easiest solution and I think it doesn't really makes a difference in playing, does it? Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1057772346 Share on other sites More sharing options...
The Kirbster Posted April 10, 2008 Share Posted April 10, 2008 No, I find it easier to use sometimes . Great job on the mod, and good luck with fixing the map glitch. Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1057772420 Share on other sites More sharing options...
Squiddy Posted April 10, 2008 Author Share Posted April 10, 2008 Thank you. I think I fixed the problem with the map, could someone try it out please? I do not have a widescreen here, which makes it harder to decide if it really was fixed. I uploaded the new .asi temporarly for testing. Thanks to anyone who tries. If it works, it will be updated on my webpage. http://squiddy.marway.org/gta/files/vcwidescreenfix.asi Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1057772929 Share on other sites More sharing options...
The Kirbster Posted April 11, 2008 Share Posted April 11, 2008 (edited) OK, I'll go test it out after I finish re-installing (my game can't load for some reason ) Edit: Alright, I tested it, and the map is good. All the icons are good. BUT, the new version has the problem that is displayed in the "Before" of the Before/After pic. (Like I aim at a cop's head with the targeting thing, and it completely misses) Strange... Edited April 11, 2008 by The Kirbster Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1057773742 Share on other sites More sharing options...
BruTaLysT Posted May 9, 2008 Share Posted May 9, 2008 (edited) If you still use a 4:3 CRT, it's quite easy to simulate a 16:10 widescreen resolution. Just set the display to 1920x1080 for instance (or 1680x1050, 1440x900 etc.) and scale the image with your monitor's OSD settings to get the correct aspectratio. This will result in black bars on top and bottom, but it will represent a 16:10 display correctly. It could be very practical for you to test the changes you make. But lot's of tnx for making the fix anywayz. Although I hope u will fine-tune it a bit further Oh and i you can't get these resolutions to work, there should be ways to add custom resolutions within nVidia or ATi control panel. If this does not work either, Powerstrip will be able to Edited May 10, 2008 by BruTaLysT Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1058056752 Share on other sites More sharing options...
Diabhal Posted May 10, 2008 Share Posted May 10, 2008 I tried it on the Steam version of VC, and the game crashes on loading a savegame. Anybody got it to work on the Steam version? Using Geforce 8800 GT 512, Forceware 169.12, 1440x900 resolution Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1058062139 Share on other sites More sharing options...
dinamit04 Posted July 14, 2008 Share Posted July 14, 2008 Can someone please upload it somewhere else? For some reason, the website is blocked for me. Thanks in advance. Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1058352501 Share on other sites More sharing options...
Squiddy Posted July 14, 2008 Author Share Posted July 14, 2008 Weird, hope this one works: http://rapidshare.de/files/39998957/vcwidescreen.zip.html Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1058352524 Share on other sites More sharing options...
dinamit04 Posted July 14, 2008 Share Posted July 14, 2008 Works Great! Thanks alot, this was bugging me alot lately...Great Work Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1058352542 Share on other sites More sharing options...
wildstoo Posted September 27, 2008 Share Posted September 27, 2008 I tried it on the Steam version of VC, and the game crashes on loading a savegame. Anybody got it to work on the Steam version? Using Geforce 8800 GT 512, Forceware 169.12, 1440x900 resolution Nope, crashes for me too in the Steam version. GeForce 9800 GX2 Forceware 175.16 1680x1050 Any ideas? Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1058563520 Share on other sites More sharing options...
spaceeinstein Posted September 27, 2008 Share Posted September 27, 2008 You need to replace gta-vc.exe with an older version. Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1058563726 Share on other sites More sharing options...
g30dud3 Posted October 29, 2008 Share Posted October 29, 2008 Sorry for bumping this topic, but I have a question thats been bugging me for a while - Why on earth should this be an issue in the first place? If you are using a 16:10 resolution you don't need to enable the "Widescreen" option Link to comment https://gtaforums.com/topic/318680-rel-vice-city-widescreen-fix/#findComment-1058621537 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now