No ETA, I'm afraid! There's some other stuff I'd like to finish up before it's updated.
Attachment 3414Attachment 3415
At 4:3, everything works perfectly, as it should. It's the aspect ratio the game was designed to use.
Attachment 3416Attachment 3417
As we increase the width, we see stretching occur on menus and the motion sensor mask.
Attachment 3418Attachment 3419
The motion sensor overlay (the static image) is part of cyborg.unit_hud_interface, but the mask isn't.
Both the mask and the blips are referenced in default.hud_globals. Text also gets stretched, I just remembered.
The menus, pause, loading, postgame, etc. are all made from .ui_widget_definition tags. (You knew all of that, I'm just laying out all the cards here)
Open Sauce had a fix for most, if not all, of that; I'm not exactly sure how, but it seemed to simulate 4:3 regardless of resolution.
Attachment 3420Attachment 3421
This stretching can be extremely problematic as you further increase the ratio.
There's actually a point where text no longer gets rendered.
I also asked about scopes earlier, but I thought about a workaround using crosshairs (Innergoat asked me if that's how I did it and I misunderstood the question, whoops) instead of using masks. The only issue with that is convolution now goes to the center of the screen (used mask alpha, so a workaround might be black RGB with an alpha for the mask, but it will still stretch) and night vision won't work (not sure how that worked yet, probably used any black RGB for masking).
That's not relevant to this issue though.
I was also glancing around at other things exclusively referenced in default.hud_globals - just to be sure, I don't know everything you've modified to make work in HAC 2 - and noticed waypoint arrows and damage arrows don't get stretched.
Last edited by Tnnaas; October 18th, 2015 at 07:24 AM.
Sadly, scaling the masks through the tags doesn't work. The game just ignores any scaling values in those tags.
In regards to the UI, scaling the HUD through tags is fairly straightforward thanks to the elements being positioned relative to anchor points (top/left/bottom/right) but with the UI, I'd assume everything is placed with absolute screen co-ordinates, which makes things slightly more problematic, especially if custom UIs need to be handled.
OpenSauce went about things a different way which gave them a scaled UI but squished the HUD in the middle. I'm not sure what technique they're using these days (perhaps a hybrid of their previous technique and modifying the tags) but I think the only difference between the two programs is the motion sensor blip.
To have a scaled UI in HAC, I'd likely have to implement something similar to OS and ultimately, I didn't feel that the stretched UI was worth fixing relative to the time it'd take to do so and I don't think the end result, aside from the main menu, looks particularly great either.
The HAC2 website is down, domain name haloanticheat.com seems to have expired.
This makes HAC2 crash Halo on startup. The "fix" for now is to copy hac.dll from your local temp folder, to the main directory where Halo is installed.
You can do this for now, to fix this:
Press the windows key, hold, and press "R" (Windows-R) - this will bring up the "Run" dialog.
For Windows Vista, 7, 8, and 10, enter:
%USERPROFILE%\appdata\local\temp
For Windows XP, enter:
%USERPROFILE%\Local Settings\temp
This will open a window where you can find your copy of hac.dll
Right-click on the file, and select Copy
Then, Windows+R again.
For 64-bit versions of windows, enter this for Halo CE:
C:\Program Files (x86)\Microsoft Games\Halo Custom Edition
For 32-bit versions:
C:\Program Files\Microsoft Games\Halo Custom Edition
Another window will open with the contents of your Halo install directory.
Right-click anywhere in the file list, and select Paste
Windows will probably ask you if you want to do this with administrator privileges, say Yes
Once the file is copied into the Halo install directory, it will (should) no longer crash on startup if it cannot contact haloanticheat.com
If Btcc22 doesn't come up with a fix for this quickly, we at Realworld® will come up with a permanent fix for this. Stay tuned.
Any questions, feel free to talk to me on Evolve at msalerno or email me directly at msalerno@kilonet.net and we'll figure out something.
Old. Not news.
lmao
Did you not follow the installation instructions?
Can't wait. best of luck. Have fun accomplishing this task. I certainly expect outstanding results from you in the future.
Keep us posted and show us what you got, man.
I'll be sure to come directly to you for any assistance I need with Btcc22's Halo Anticheat 2.
There are currently 2 users browsing this thread. (0 members and 2 guests)
Bookmarks