Set up recording
Build recording turns a saved run into a recording that the Lou view can play. It needs Python with Lou’s recording tools. You set this up once per machine. Until you do, the Lou view shows the two commands to run, a Copy commands button and a Check again button.
Before you start
- Install Python 3.
- Record at least one run, so you have something to open. See Record a run.
Create the environment
Open a run in Lou
Open the Lou view, choose the Review tab and click a run. If the environment is missing, the view reads:
Lou needs its recording tools. They are not installed yet (Lou looks for them at …). Run these two commands once in a terminal, then click Check again:
Run the two commands
The view prints the two commands with the full path for your machine. Choose Copy commands, or select the text, and run them in a terminal.
macOS
python3 -m venv ~/.cache/lou-rrd-venv
~/.cache/lou-rrd-venv/bin/python -m pip install rerun-sdk==0.33.0Check again
Back in GameGen, choose Check again. Build recording becomes available.
The version matters. Run the commands exactly as the view shows them, with the version they name.
Use a different Python
To use an interpreter of your own, set louTrainer.converter.python in the project’s .unrest/gamegen.json to a Python that has the recording tools. If that path does not exist, the view reads:
Lou needs its recording tools, and the Python that runs them was not found: …. Set louTrainer.converter.python in … to a Python that has them. To add them to the Python you choose, run this with its path:
Under it is one command and a Copy command button. Replace the placeholder path in the command with your interpreter’s path, run it, then choose Check again.
What a fork needs
Fork from here does not use this environment. It needs:
- A built project. Run Build in the Unreal view first.
- Node, Bun or Deno.
- The engine that
Scripts/ue.mjsfinds, orUE_ROOT.
Acknowledgement
Built on the open-source Rerun viewer (MIT/Apache-2.0).