UE4SS-RE / RE-UE4SS

Injectable LUA scripting system, SDK generator, live property editor and other dumping utilities for UE4/5 games
http://docs.ue4ss.com/
MIT License
1.27k stars 166 forks source link

[Docs Tracking] Docs todo #513

Open Buckminsterfullerene02 opened 4 months ago

Buckminsterfullerene02 commented 4 months ago

Will update as I think of things that need to be done.

bitonality commented 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.

UE4SS commented 4 months ago

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.

Buckminsterfullerene02 commented 4 months ago

Added part about linking and such. Any other examples we should provide?

bitonality commented 4 months ago

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

https://github.com/UE4SS-RE/RE-UE4SS/pull/516/files?short_path=b335630#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5

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.