haekb / nolf2-modernizer

NOLF 2 Modernizer aims to unlock resolution support, restore multi-player support, and fix a few bugs here and there.
https://haekb.itch.io/nolf2-modernizer
30 stars 4 forks source link

[WIP] Backport Contract JACK's GameSpy.dll #5

Closed haekb closed 4 years ago

haekb commented 4 years ago

So bit messy, but here it goes!

First of all this is based on the discord-sdk branch, so you may need to disable _DISCORDBUILD if you don't have discord installed.

Basically NOLF 2 uses directory servers for..I guess a master list system. As far as I know no one has replicated that structure, however with a little hex editing we can get it to point at QTracker's servers.

This is successfully tested on CJ, and the games seem preeeettty similar. So why not backport it?

Oh boy, this is a bit of work.

haekb commented 4 years ago

I could not get this actually working with NOLF2, so I decided to just re-implement ServerDir myself.