No description
Find a file
2022-02-13 11:15:51 +01:00
buildSrc - try making a factorio mod portal api client, for auto releasing 2022-02-13 10:42:13 +01:00
docs/notes tidying up 2021-12-28 17:05:52 +01:00
gradle yan lock update 2022-02-13 11:15:51 +01:00
modules map - make zooming more granular 2022-02-13 11:09:32 +01:00
.gitignore tidy up shared config, start setting up kafka processor 2021-10-24 14:55:04 +02:00
build.gradle.kts version bumnp, more gradle tidying, and fix the kotlin-js-store yarn lock file location 2022-02-09 13:16:57 +01:00
gradle.properties mucking around trying to get protoc working. I've finally got a task that downloads the exe... 2021-10-29 19:14:47 +02:00
gradlew init 2021-10-07 22:14:53 +02: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 tweaking map scale/zoom 2022-02-09 10:45:44 +01:00
settings.gradle.kts - try making a factorio mod portal api client, for auto releasing 2022-02-13 10:42:13 +01:00

  1. output events from Factorio into Kafka.
    1. Factorio mod listens to events.
    2. For each event, it emits a file.
    3. A Kafka Connector consumes each file.
  2. Factorio Web Map reads data from Kafka
    1. converts data to images
    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