Jump to content
The Dark Mod Forums
zergrush

NOLF2 is Free Software

Recommended Posts

No sorry still need to install VS2017, right now only have 2015 and 2019. 

 

edit: Ok instaled vs2017 and i'm building the project.

edit 2: libs compiled fine, penumbra not, first it asked me to update the solution? Then it stoped with error:  fatal error C1083: Cannot open include file: 'hpl.h': No such file or directory

It seems i'm missing some includes

 

Edited by HMart

Share this post


Link to post
Share on other sites

? thats the HPL header thats odd that it cannot find this, try checking in the C/C++ tab in properties for penumbra under additional include directories.

Should look like this -> ..\include;..\dependencies\include;..\OALWrapper\include;%(AdditionalIncludeDirectories)

  • Like 1

Share this post


Link to post
Share on other sites

Wait are you opening the HPL.sln in the root dir file or penumbras ?, you need to open the HPL.sln file as that includes all the other solutions and is setup to build in the correct order.

  • Like 1

Share this post


Link to post
Share on other sites

Build order is OALWrapper -> HPL1 -> Penumbra the HPL.sln does this in the right order after that you can go into the tools folder and build any solution under there to get the mapping tools.

But it is imperative that you do it in this exact order as the tools rely on atleast the OALWrapper and HPL engine being built beforehand.

Penumbra itself is not needed if you only need the tools, but it is built anyway.

The HPL engine is built as a library which can be linked to by client applications (tools / game clients etc.) a bit like the irrlicht engine but as a static library with dynamic runtime bindings.

  • Like 1

Share this post


Link to post
Share on other sites

Theres a new build here https://sourceforge.net/projects/cbadvanced/files/penumbra overture/

get redist-30-07-2020.7z i have severely reduced the number off dll's needed to run penumbra as well as updated SDL SDL_ttf and SDL_image libraries with the latest dependencies linked in statically. Cg has also been updated which reduced the number of headers Cg needs as well.

fltk does not seem to be used in the windows build so the fltkdll.dll might actually be remove as well.

All SDL libraries are now the latest versions from the old series. SDL2 might come in handy next ;)

Easiest way to update is simply to remove all dll's in penumbra and then copy over the contents of redist-30-07-2020.7z

  • Like 1

Share this post


Link to post
Share on other sites

And even more reduction ;) statically linked in ogg vorbis and theora.

Also updated GLee to latest and added the msvc 2017 runtimes to the archive.

redist-static-dependencies-30-07-2020.7z can be found under the same url.

Patched the source with a fix for a crash bug in one map where a node gets traversed badly.

So now it only relies on the OpenAL32.dll and the various SDL dll's.

SSE2 support is now mandatory but pretty much all cpu's today support that so it should be no biggie unless you intend to run it on a pentium 2 :P

  • Like 2

Share this post


Link to post
Share on other sites

Im going to do the same thing that was used in idtech 4 and use props to set the correct build steps,

this should ease it for anyone who wants a go at the source code.

Then im going to upload it to github for those who want to toy with it.

Atm im traversing the code to get at some possible memory leaks pointed out by PVS studio, i will mark these in case fixing them causes other problems.

  • Like 2

Share this post


Link to post
Share on other sites

Last release before i start changing things, get HPL1Engine-sources-02-08-2020.7z from same url as the engine.

Changes:

All libraries beside newton and anglescript have been updated to latest.

Fixed a few memory leaks in source.

Removed old project files (no longer possible to build it with the old compilers anyway).

Added HPL tools to main solution and added a readme on how to use them.

Build instructions:

open HPL.sln in msvc 2017 and select if you want a debug or release build, hit build and profit :P.

If you want the mapper tools theres a folder named tools in the workspace, it does not get built by default but even if you have not built HPL1 yet

it will build the dependencies automatically. Select each tool in the workspace and hit build.

If you want to mod for penumbra you need to open hplhelper.exe and execute the tools from there,

it reads the material.cfg file at startup to get the correct location of of game materials.

You can then do a few things like seing how your model / map / particle etc. would look in game (yah it is pretty basic).

There are a few editors for hudobjects maps and particles but they only have the most basic functionality, atleast you can see if things will look right.

  • Like 1

Share this post


Link to post
Share on other sites

Let me know if there is any problem with this version, it runs flawlessly here but i cannot account for every PC out there.

Things that work for one person have a tendency of breaking for another 😉 so i need input if anything behaves odd.

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...