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

Request build instructions #21

Open
JohnPaulHarold opened this issue Oct 26, 2018 · 10 comments
Open

Request build instructions #21

JohnPaulHarold opened this issue Oct 26, 2018 · 10 comments

Comments

@JohnPaulHarold
Copy link

For those not super familiar with cmake, could you provide some build instructions in the readme.md

@ghost
Copy link

ghost commented Oct 29, 2018

It's really easy to CMake it.

  1. Install the Visual Studio 2017;
  2. Install the CMake;
  3. Open the CMake GUI, and select the VS2017;
  4. Setup the Project Dir, and the Build dir, Configure, and it will show you some errors;
  5. Fix the error, only need to setup the OpenAL, FFMPEG and SDL2's include dir and lib dir, and set a Install dir;
  6. Try Configure agan, I think everything will be fun;
  7. Generate the project, and using VS2017 open the project solution in Build dir (In 4. you setup);
  8. Compiling a project named "INSTALL", and it will compiling everything and copy the Binarys to Install dir (In 5. you setup);
  9. Copy everything in NOLF2 game dir;
  10. Openning the game and enjoy :).

@revelator
Copy link

hmm some problems.

current FFMPEG is incompatible (abi changes).
SDL2 also seems to have made some changes so that even when i can actually build it with a rather old FFMPEG from zeranoe i cannot play NOLF2 using it since the characters are stuck in geometry :s

other than that it does start but as pointed out it cannot be used with the versions i tried.

@bibendovsky
Copy link
Owner

hmm some problems.

current FFMPEG is incompatible (abi changes). SDL2 also seems to have made some changes so that even when i can actually build it with a rather old FFMPEG from zeranoe i cannot play NOLF2 using it since the characters are stuck in geometry :s

other than that it does start but as pointed out it cannot be used with the versions i tried.

Updated FFmpeg API, should be compilable now.

Also, how to reproduce a problem with a character stuck in geometry?

@revelator
Copy link

Happens right in the start map, also in manually loaded ones.

Not sure what causes it ?.

@revelator
Copy link

clarifying the player character is frozen so cannot move, i can move the camera but the character cannot walk/run crouch etc.

@revelator
Copy link

and thanks for fixing the ffmpeg problem :)

@bibendovsky
Copy link
Owner

clarifying the player character is frozen so cannot move, i can move the camera but the character cannot walk/run crouch etc.

I suspect there are no bindings defined for character's movement.
Check section Bindings in file Profiles/Player.txt.
Empty binding has value " @ @ ".
I have managed to get such behavior (camera moves but not the character) by creating an empty file Profiles/Player.txt.

@revelator
Copy link

aye after pointing out the bindings i took a look and they are indeed undefined, unfortunatly even copying back the populated player.txt does not work for me as the engine seems to overwrite the bindings with empty values :S.

im using the NOLF2 project from nolfgirl which uses some mods for modernization so i suspect some incompatibility maybe ?.

@bibendovsky
Copy link
Owner

aye after pointing out the bindings i took a look and they are indeed undefined, unfortunatly even copying back the populated player.txt does not work for me as the engine seems to overwrite the bindings with empty values :S.

im using the NOLF2 project from nolfgirl which uses some mods for modernization so i suspect some incompatibility maybe ?.

Could you share unmodified Default.prf and Player.txt files?

@revelator
Copy link

ofc. not at home atm though ill send them your way as soon as im back :)

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

3 participants