This is a tool for generating Tool Assisted Speedruns in Factorio.
Warning
This project is no longer actively maintained. See https://github.com/theis999/Factorio-TAS-Generator for a more updated version.
Showcases:
- Steelaxe%:
- GOTLAP: 17:00 by EZRaiderz
- Any%: Zaspar_. You can follow his progress on twitch.
- Default settings: Omn1. You can follow his progress on twitch.
The latest release can stand on its own, but these tools are recommended:
- Game speed controls — To help zoom in on the important actions
- TAS step planner — To help with building a plan from inside factorio
- TAS Precision helper — Provides precision control data and also shows list of TAS steps
- TAS state printer — To help with run desyncs, when you have changed something in the past and it has cascading effect
If you find another tool, do let us know.
Bugs can be reported through Issues, and new features can be requested there too.
This tools works by converting a list of steps into a Factorio mod. The mod will then force the character to execute each step until it reaches the goal. The list of steps is saved in a csv-like text file, and is displayed in a grid table through the tool.
Steps are executed using Factorio's Lua API, so while we strive to simulate realistic inputs, there are still differences. A few of the more noteworthy differences:
- The TAS doesn't need the cursor, however it is still bound by character reach distance.
- Huge rocks always yield 47 coal and 47 stone. Instead of the random yields in regular play, which can create some hard to deal with incosistencies.
- Construction robots are not available.
Do you want to help? To get started on Windows you need MS Visual studio and MSYS2. On other platforms you may have discover the process yourself.
- Download and install MS Visual studio
- Through the visual studio installer you need to install
desktop development with c++
- Through the visual studio installer you need to install language pack
English
- Download and install MSYS2
- Run MSYS2 and enter the following commands:
pacman -Syu
pacman -S ${MINGW_PACKAGE_PREFIX}-toolchain ${MINGW_PACKAGE_PREFIX}-cmake ${MINGW_PACKAGE_PREFIX}-make base-devel git
pacman -S ${MINGW_PACKAGE_PREFIX}-wxWidgets3.2 ${MINGW_PACKAGE_PREFIX}-boost
- [Optinal] to get wxFormBuilder, run the following commands:
git clone --recursive https://github.com/wxFormBuilder/wxFormBuilder
cd wxFormBuilder
cmake -S . -B _build -G "MSYS Makefiles" --install-prefix "$PWD/_install" -DCMAKE_BUILD_TYPE=Release
cmake --build _build --config Release -j `nproc`
cmake --install _build --config Release
- Run msys2-mingw64 and enter the following commands:
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.bat
./vcpkg integrate install
./vcpkg install wxwidgets
./vcpkg install wxwidgets:x64-windows
After installing wxwidget, clone the FTG repository by:
- Open visual studio
- Open the file menu
- Click the Clone repository (3rd from the top)
- In the url field, enter:
https://github.com/theis999/TAS-Helper-for-Factorio
To open GUI builder:
- Open MSYS2
- Enter
./wxFormBuilder/_install/wxFormBuilder
It is recommended to download Visual studio code
and add the extension Factorio Modding Tool Kit