Skip to content

Commit 7dbcfea

Browse files
Update Readme
1 parent 0961348 commit 7dbcfea

5 files changed

Lines changed: 18 additions & 3 deletions

File tree

README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,28 @@ Another goal that emerged along the way, was learning about the way modern CPUs
66

77
# Why did you start?
88
I was playing Factorio and started being unable to expand due to performance issues. So in my hubris I declared: "How hard can it be?".
9+
I hope that the next person with this thought can find this project, and build on the ideas I have had and continue to push the performance.
910

1011
# Current State
11-
Most logic for power grids, belts, splitters, assemblers, labs, inserters, mining drills, solar panels and accumulators is working. This allowed me to recreate a Factorio base, giving me a point for performance comparison.
12-
I was able to run a base comprised of 40 copies of [this](https://factoriobox.1au.us/map/view/2824bc1566bd95b5825baf3bd2eb8fa32de8397526464f5a0327bcb82d64ebf8/#1/nauvis/15/2942/1158/0/447) Factorio Megabase by Smurphy (which Factorio runs at ~40 UPS) at 60 UPS on my machine.
12+
Most logic for the basic building blocks of factories are working. This allowed me to recreate a Factorio base, giving me a point for performance comparison.
13+
I was able to run a base comprised of 60 copies of [this](https://factoriobox.1au.us/map/view/2824bc1566bd95b5825baf3bd2eb8fa32de8397526464f5a0327bcb82d64ebf8/#1/nauvis/15/2942/1158/0/447) Factorio Megabase by Smurphy (which Factorio runs at ~40 UPS) at 60 UPS on my machine.
14+
15+
### Megabase (40k SPM) with Solar
16+
![A 40k SPM megabase with its solar array](mega.png)
17+
### Gigabase (60x Megabase, 2.4M SPM)
18+
![A 2.4M SPM Gigabase comprised of 60 megabases running at 60UPS](giga.png)
19+
20+
### Machines Producing Stuff
21+
![Furnaces smelting steel](steel.png)
22+
![Production of advanced circuits using direct insertion and belts](red_chips.png)
1323

1424
# Running it
15-
It should run on Linux, Windows and MacOS. Assuming you have [rust and cargo](https://rust-lang.org), just `cargo run --release`. On NixOS the included `shell.nix` contains all you need.
25+
If you only want to try it out, a web based build is available on [my website](https://aschhoff.de/projects). The performance of running in the browser is not amazing (mainly due to the browser being limited to a single thread), but it should still be able to run a 40k SPM Megabase without issue.
26+
WASM being limited to 4GB of RAM also limits the size of the factories.
27+
28+
For the best experience, I advise using the native build.
29+
It should run on Linux, Windows, MacOS as WASM (Though only Linux and WASM are tested regularly). Assuming you have [rust and cargo](https://rust-lang.org), just `cargo run --release`. On NixOS the included `flake.nix` contains the program packaged for nix, or a devshell with my VSCodium based development environment.
30+
1631

1732
# Attributions
1833
All graphics used with the `graphics` feature are from the Factorio Mod [Krastorio 2 Assets](https://codeberg.org/raiguard/Krastorio2Assets).

giga.png

238 KB
Loading

mega.png

89.2 KB
Loading

red_chips.png

987 KB
Loading

steel.png

322 KB
Loading

0 commit comments

Comments
 (0)