NixOS Package

General discussions about game development using the Drag[en]gine Game Engine.

If you do not know where to post your questions try this place.
dragonlord
Site Admin
Posts: 36
Joined: Tue Apr 21, 2020 12:18 am

Re: NixOS Package

Post by dragonlord »

That's really not nice. It's a security feature to avoid file corruption and tampering. But you could disable the checks in if nothing helps:
- https://github.com/LordOfDragons/dragen ... e.cpp#L548
- https://github.com/LordOfDragons/dragen ... n.cpp#L390
You would need to disable the entire if-blocks there to avoid the file based exception.
gale_username
Posts: 6
Joined: Sun Sep 08, 2024 1:28 am

Re: NixOS Package

Post by gale_username »

Is there a way I could generate the manifest files separate from the main build step after the modules have been patched?
dragonlord
Site Admin
Posts: 36
Joined: Tue Apr 21, 2020 12:18 am

Re: NixOS Package

Post by dragonlord »

The manifest files are XML files. You can use an XML library to load, edit and save them. Most probably simpler would be using an XSLT processor to alter a specific tag content. "xsltproc" is the usual command line tool to do this.
Post Reply