No description
Find a file
2022-05-15 00:00:21 +02:00
buildSrc bump kvision, kotlinx serialization, factorio, and a few others 2022-05-14 17:58:14 +02:00
docs/notes tidying up 2021-12-28 17:05:52 +01:00
gradle bump kvision, kotlinx serialization, factorio, and a few others 2022-05-14 17:58:14 +02:00
modules tidy up grouping, colouring, saving map chunks 2022-05-15 00:00:21 +02:00
.gitignore ignore jvm memory crashes 2022-05-01 09:40:23 +02:00
build.gradle.kts bump project version to 0.5.0 2022-05-14 18:00:08 +02:00
gradle.properties add some hacks to try and stop 'Projects must be configuring' bug 2022-05-14 12:23:58 +02:00
gradlew Gradle version bump, and fiddling with some gradle config. Add a 'hardReset' Gradle task. Add a 'docker remove' task. 2022-03-09 21:41:00 +01:00
gradlew.bat init 2021-10-07 22:14:53 +02:00
LICENSE added kvision web-map, cleaning up a few gradle things (tokens) 2021-12-06 22:15:26 +01:00
README.md binser for lua encoding? 2022-05-14 13:10:54 +02:00
settings.gradle.kts implement versions platform, tidy up and bump some dependencies 2022-05-01 09:42:14 +02:00

Kafkatorio

  1. output events from Factorio into Kafka.
    1. Factorio mod listens to events https://mods.factorio.com/mod/kafkatorio-events
    2. For each event, it emits a log message
    3. A tool (e.g. Kafkatorio Kafka Pipe) reads the logs, and sends the messages to a Kafka cluster
  2. Kafkatorio Events Server reads the messages from Kafka
    1. create images of the map
    2. hosts a web map

License

While this project is under development, no license is provided.

cmds

./bin/kafka-streams-application-reset.sh --application-id kafkatorio-events-processor --input-topics factorio-server-log

:screen-fps=60.000000 :live-caching=300 :screen-width=1920 :screen-height=1080 :screen-top=100 :screen-left:20 :screen-fps=60.000000 :live-caching=300 --screen-width=1920 --screen-height=1080 :sout=#transcode{vcodec=h264,vb=0,scale=0,acodec=mpga,ab=128,channels=2,samplerate=44100}:file{dst=D:\\savedir.mp4} :sout-keep

todo

  • add settings
    • is active - whether files are exported or not
    • delete files - clean up all files
    • tick-rate - how often reports are generated
      • requires on some sort of in-mod cache of map<entity-id, event>
      • also divide by game-speed? to keep ratio the same

to investigate:

wasm

kt -> wasm -> lua? kt-flatbuffers -> wasm -> lua?

https://www.npmjs.com/package/wasm2lua?activeTab=readme

Encodings