Open Buckminsterfullerene02 opened 4 months ago
Adding these commands that are now available as a part of #494 but aren't being advertised publicly yet.
Install a mod to a game.
xmake install -o "C:/MyGame/" <mod_name>
Install all mods to a game.
xmake install -o "C:/MyGame/" -g mods
Currently installing mods also automatically installs the locally compiled version of UE4SS. I'm looking into a way to explicitly disable this option if you want to test mods against a released version of UE4SS...
I also added the ability to install arbitrary files alongside the mod by using
target("mymod")
add_extrafiles("someconfig.json")
The xmake install command will automatically pick these files up and install them with the mod dll.
xmake install -o "C:/MyGame/" UE4SS
Installs dwmapi.dll, UE4SS.dll and UE4SS.pdb to the game folder.
It's on my radar to remove the now duplicated functionality from https://github.com/UE4SS-RE/UE4SSCPPTemplate/pull/2 since the mod install + ue4ss install logic is now baked in to UE4SS.
Updated the first checklist entry, and added another related one. I think this makes more sense, but feel free to revert or make whatever changes.
Added part about linking and such. Any other examples we should provide?
Explain difference of xmake f -m and xmake/xmake build. Some users have been confused that the former command "doesn't work" because they aren't aware it is only for setting configuration
This PR adds some richer xmake documentation. We should probably decide what should live in the readme and what should live in the template repo/UE4SS docs dir. I figure I'd start with the documentation in the readme since it flows well with the current dev environment set-up steps.
Will update as I think of things that need to be done.