Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use newer libs? #619

Closed
kablooey123 opened this issue Jul 17, 2023 · 5 comments
Closed

Use newer libs? #619

kablooey123 opened this issue Jul 17, 2023 · 5 comments

Comments

@kablooey123
Copy link
Contributor

Sure you're aware, Valve released new compiled libraries and DLLs for Alien Swarm 3 years ago. ASWRD seems to be using the older ones. Is there a reason why? Seems to be a drop-in replacement - only noticeable change is the addition of some new string utils in tier1. Hopefully the newer ones have slightly better bytecode?

@BenLubar
Copy link
Contributor

We were given custom DLLs by Valve shortly before release in 2017 and an updated engine.dll when an exploit was discovered in 2020.

@kablooey123
Copy link
Contributor Author

kablooey123 commented Jul 17, 2023

Every lib present in the SDK at sdk_src/lib/common/ has a newer version. The file sizes are around the same, so I think they used the same compile settings, just a potentially newer compiler. I've tested compiling and running the game against them, seems to work just fine. Would be worth benchmarking though.

The new DLLs and EXEs in bin/ are all tool related. Hammer.exe hasn't been compiled with large address awareness, so maybe don't use that... However it may be worth looking into the other tools, specifically VRAD, which had a performance bug patched in late 2017.

@BenLubar
Copy link
Contributor

At some point I want to port the Source SDK 2013 map compilers over, but for now I'll put the lib and dll files in the beta branch and see if anyone complains.

@BenLubar
Copy link
Contributor

updating videocfg.lib caused the game to boot in 640x480

@BenLubar
Copy link
Contributor

Ok, getting a lot of weird crashes. I've reverted the library change for now.

Porting changes from other Source Engine branches or games is definitely something I'm still interested in, whether it's open source code I'm allowed to use or replicating a feature from scratch, but it looks like these libraries are not going to work, at least not without a lot of additional effort.

@BenLubar BenLubar closed this as not planned Won't fix, can't repro, duplicate, stale Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants