Code Monkey home page Code Monkey logo

factorio-shell's Introduction

factorio-shell

自己用的异星工厂脚本(支持游戏更新,崩溃重启)

我的系统是centos7 装了screen (yum install screen)

游戏本体在 /mnt/factorio 文件夹

存档配置在 /mnt/factorio-1-0.17 中

软连接将factorio中的bin/x64/factorio、data/base和data/core映射到/mnt/factorio-1-0.17文件夹

命令如下:

ln -s /mnt/factorio/bin/x64/factorio /mnt/factorio-1-0.17/bin/x64

ln -s /mnt/factorio/data/base/ /mnt/factorio-1-0.17/data

ln -s /mnt/factorio/data/core/ /mnt/factorio-1-0.17/data

然后进factorio-1-0.17里修改配置,添加mod和存档

screen -R game

创建游戏会话,在会话内 执行./run1.sh 启动游戏

再创建个自动更新的会话 执行 ./autoUpdate.sh

如果有不明白的就自己研究吧

潜~~~

factorio-shell's People

Contributors

geekfrog avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.