Jump to content

Including external JA or JO files with OpenJK


Dusty

Recommended Posts

Posted

I recall hearing at one point this is a no-no.

But I want to ask, is it actually?

I understand the purpose is to avoid piracy or legal issues, and I don't want either of those to be a thing, but my simple mind wouldn't think external files being included the same way as non-OpenJK code mods and content mods do would be a problem.

The reason I ask is because I'm considering adding expansions  to OpenJK for the weapons.dat and NPC file parsing, and I'm also wanting to look into writing expansions for the .sab files, saber style files, constants files, among other tidbits, and it would be nice to include updated external files or at least helper files with the OpenJK binaries.

Thanks for any information.
 

EDIT:
I would also add, that the point is increasing the configurability, modularity, and quality-of-life/ease of and lightweightness of mods that use OpenJK, which I believe is in line with OpenJK's goals and not a departure from them.

I also cross-posted this on the OpenJK Github discussions tab for extra visibility, since I don't know how active this particular JKHub forum is...
https://github.com/JACoders/OpenJK/discussions/1260

Posted

This would probably be best discussed with the main OpenJK devs on the JKCommunity discord, that's where they hang out more actively.

I think they will tell you that you are better off forking OpenJK to make your own mod rather than add these types of things to OpenJK. Legal issues are only a problem if you're sharing the original assets from the games. If you're including other mod content, that's not a problem and it how literally every code mod out there is done. The reason OpenJK doesn't have that is because it's meant to be a foundation that other mods are built on top of, not really a mod itself.

Posted

I see, I'll probably check with them on the Discord.

Originally creating my own modification is what I did some time ago with Dusty's Patch.

The Patch still needs some clean up and bug fixing though, and is pending combination/compatibility with JK Enhanced.

But the main reason I want this feature set to be part of the main OpenJK source is that I feel it is true to the mission of OpenJK and shouldn't be accidentally exclusive to my modification which includes a lot of subjective content and gameplay modifications even if they are cvar-controlled.

For example, I want to (formally) externalize most of the existing hardcodes on weapon stats, NPC AI stats and behavior, saber style definitions, and perhaps a few other features while maintaining unchanged behavior/gameplay outputs in OpenJK.

But I can discuss it on Discord then.

 

Thank you much Circa and hope you're doing well as it has been a long time with no see.

I may be around cleaning up my mods the next few years :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...