This tutorial assume you already have civ6 tuner installed, refer to the civ6 C&C section if needed.
1/ Setting the tuner
Open the "AppOptions.txt" file in the "\AppData\Local\Firaxis Games\Sid Meier's Civilization VII" folder (on Windows)
find the line
Code:
;Enable FireTuner. 1 : Enable, 2: Disable, -1 : Default
;EnableTuner -1
and set it to
(don't forget to remove the semi-colon at the beginning)
Start a civ7 game the Tuner should say it's "connected" on the bottom left, but the "Lua States" (which is JS now) selection dropdown menu is empty
View attachment 718812
Go to connection and click on "Refresh Lua States"
The menu should now allow to choice between "App UI" or "Tuner" (if you are in game, on the main menu only "App UI" context exists)
View attachment 718815
Select "Tuner" context
You'll find Civ7 panel in the folder "\Steam\steamapps\common\Sid Meier's Civilization VII\Base\Platforms\Windows\Config\TunerPanels" if you want to open them, but only some are working with the old tuner, for example the AutoPlay panel is not working.
You may need to refresh the states again, and you'll have to do so if you exit back to the main menu and start a new game.
2/ Launch Autoplay
The panel doesn't, but the commands themselves are working.
Here is the sequence to start an AutoPlay as observer, then end it
Code:
Autoplay.setObserveAsPlayer(1000)
Autoplay.setReturnAsPlayer(0)
Autoplay.setActive(true)
Autoplay.setActive(false)
"1000" is observer with full vision, "-1" means no observer (run faster I suppose), and you can use a playerID to run with that player's visibility.
edit: you need to set a valid return number before calling Autoplay.setActive(true)
All commands for Autoplay are
Code:
setActive
setTurns
setReturnAsPlayer
setObserveAsPlayer
setAsLocalPlayer
setPause