Skip to content

Hardcode cardinals of all exports in wsock32 - #931

Open
catornot wants to merge 4 commits into
R2Northstar:mainfrom
catornot:fix-wsock32-ordinals
Open

Hardcode cardinals of all exports in wsock32#931
catornot wants to merge 4 commits into
R2Northstar:mainfrom
catornot:fix-wsock32-ordinals

Conversation

@catornot

Copy link
Copy Markdown
Member

this fixes the recent regression in the release.

I would not even try to justify such a blunder, but this is also just absurd. either way it seems like certain titanfall 2 dlls on windows care a lot more about ordinals than on linux which is how it seemingly never got caught.

not sure if everything needs to be hardcoded but I tested it on fresh install of windows 10 22H2 where it seems to work with this pr. therefore I will push a new release with this change.

@github-actions github-actions Bot added needs testing Changes from the PR still need to be tested needs code review Changes from PR still need to be reviewed in code labels Aug 10, 2026
@catornot
catornot force-pushed the fix-wsock32-ordinals branch from e92e113 to f25d685 Compare August 10, 2026 07:42
@catornot
catornot requested a review from AllusiveWheat August 10, 2026 08:07

@AllusiveWheat AllusiveWheat left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it probably works, seems fine

@sonny-tel

Copy link
Copy Markdown
Member

this is a bit excessive, the issue is probably only present due to the original .def file having the typo getnetbyname=PROXY_getnetbyname @ 1101 instead of getnetbyname=PROXY_getnetbyname @1101. This is at least how I fixed this issue 6 months ago I think

@louvenarde

louvenarde commented Aug 11, 2026

Copy link
Copy Markdown

I don't know what this was supposed to fix, but the WSock proxy (from main, not this PR) caused a hard freeze for me right after the logos, and this fixed it (I downloaded an artifact to test it live in my install). The game now launches properly with that proxy, as opposed to freezing completely with a proxy freshly built from main 👍

I did not test ingame further

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs code review Changes from PR still need to be reviewed in code needs testing Changes from the PR still need to be tested

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

5 participants