Git Product home page Git Product logo

simcity4backup's Introduction

SimCity4Backup

(Korean)

심시티 4 유저 데이터를 백업하는 프로그램입니다. (개인적 용도로 사용하기 위함)

다음을 지원합니다.

  • 건물, 도시, 스크린샷을 zip 파일로 압축하여 백업 파일을 만듭니다.
  • 건물, 도시, 스크린샷 중 백업할 항목을 선택할 수 있습니다.
  • 자동으로 건물, 도시, 스크린샷이 저장된 디렉터리를 찾아줍니다.
  • 백업 파일이 저장될 디렉터리를 변경할 수 있습니다.

사용 방법

빌드하기

  • GOPATH 환경 변수를 해당 프로젝트를 받은 경로로 설정 Windows에서: setx GOPATH (프로젝트를 받은 디렉터리)
  • 터미널에서 go build simcity4backup 실행 후, simcity4backup.exe 파일을 실행하면 됨

실행하기

D:\SC4Backup>simcity4backup.exe [-version|-yes]

옵션 목록

-version : 버전 표시
-yes : 건물, 도시, 스크린샷을 백업할 지 물어보지 않고 백업

설정 변경

scb_cfg.json 파일을 수정합니다. 처음 실행하면, 자동으로 심시티의 유저 데이터가 저장된 디렉터리를 찾습니다. 백업 파일이 저장될 디렉터리는 이 프로그램을 실행한 디렉터리로 지정됩니다. 다음은 scb_cfg.json 파일의 구조와 설명입니다.

{
    "src_dir": "C:\Users\hahaf\Documents\SimCity 4",
    "dest_dir": "C:\Users\hahaf\Documents"
}

src_dir : 심시티 유저 데이터가 저장된 디렉터리
dest_dir : 백업 파일을 저장할 디렉터리

(English)

SimCity 4 User Data Backup program for Windows. (For personal use)

This script supports:

  • Making a plugin/region/screenshot backup with zip file.
  • Choosing whether to make a backup of plugin/regions/screenshots.
  • Automatically find plugin/region/screenshot directory.
  • You can change destination directory where your backup file will be stored.

How To Use

Build

  • Set environment variable GOPATH to the folder which source code is downloaded. For Windows: setx GOPATH (Directory for this project)
  • After run go build simcity4backup on terminal, execute simcity4backup.exe

Execute The Program

D:\SC4Backup>simcity4backup.exe [-version|-yes]

Options

-version : Display the version of this program
-yes : Backup user data without asking you what you want to backup.

Modify Configurations

Edit scb_cfg.json file. If you execute this program for the first time, it will find the directory where the user data of SimCity 4 are stored. Current directory will be designated to the directory where backup files are stored. Following are the structure and the description of scb_cfg.json file.

{
    "src_dir": "C:\Users\hahaf\Documents\SimCity 4",
    "dest_dir": "C:\Users\hahaf\Documents"
}

src_dir : Directory which user data of SimCity 4 are stored.
dest_dir : Directory where your backup files will be stored.

simcity4backup's People

Contributors

rubysoho07 avatar

Watchers

James Cloos avatar  avatar

simcity4backup's Issues

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.