Code Monkey home page Code Monkey logo

songs-of-syx-mod-more-options's Introduction

Updated for V65 by Senso.

Steam Workshop

Adds a menu with more options for the game:

  • Tune the volume of in game soundsConfig like wind
  • Toggle certain random eventsConfig
  • Tune the amount of weather effects like snow
  • Influence bonuses
  • Collect and export game stats into a CSV file
  • Change the likings between your races
  • Game crash detection and backup mechanism

Enable Script Button Stats Widget Sounds Events Weather Boosters Metrics Races Advanced Backup

Getting started

Maven is required to compile, package and install the mod.

(1) Install games jar file as dependency by copying it from the game installation folder

mvn validate 

(i) You only have validate once (or when the games got an update you need)

(2) Compile mod source; prepare mod file structure; copy mod files to game mod directory

mvn install 

(!) Game installation and mod directory paths are configured in the pom.xml in the <profiles> and are default set to:

Game Installation

  • Windows: C:\Program Files (x86)\Steam\steamapps\common\Songs of Syx
  • Linux: ~/.steam/steam/SteamApps/common/Songs of Syx

Mod Directory

  • Windows: ${user.home}/AppData/Roaming/songsofsyx/mods/
  • Linux: ~/.local/share/songsofsyx/mods/

(3) Run the game, and you should see a Example Mod mod. Activate it and launch.

Build commands

(i) Installs only the games SongsOfSyx.jar and info/SongsOfSyx-sources.jar as a dependency, and validate whether it was successful.

mvn validate

(!) This is required or the project won't find the games code.

(i) Building the mod only into target/out:

mvn package

The source code of the mod will be copied into e.g. target/out/songs-of-syx-mod-example/V63/script/_src.

(i) Build and copy the output into the games mods folder (excluding _src):

mvn install

(!) The games mod folder location varies on each OS. There are maven profiles "windows" and "linux". The "windows" profile is the default. Maven should detect when you are building on a Linux OS and switch to the "linux" profile (not tested). You can force a profile with e.g.

mvn install -P linux

(i) Deletes the target directory containing the packaged mod files and removes the mod from the games mod directory.

mvn clean

Mod Info / Build Settings

In the pom.xml you will find <properties> where you can change information about the mod. There you can also change the <game.version.major> property to your used game version. The <game.version.minor> property is only important when your mod really depends on stuff in this version and isn't compatible with lower versions.

Files (e.g. assets) for the mod are located in src/main/java/resources/mod-files and will be copied in the package phase.

Debugging

You can enable Debug Mode and Developer Mode in the game launcher settings. You will get more detailed logs and in-game developer tools for testing.

Intellij IDEA

There are two .xmlfiles in the .run/ folder:

  • Main.run.xml launches the game directly
  • MainLaunchLauncher.run.xml starts the game launcher

You may want to edit the WORKING_DIRECTORY option to your local game installation path. It's default set to: C:/Program Files (x86)/Steam/steamapps/common/Songs of Syx.

And your package name may also differ in the PATTERN option. It's default set to: jake.example.*

They should be automatically available in the IDE. You can also edit them there :)

songs-of-syx-mod-more-options's People

Contributors

4rg0n avatar sensohakai avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

songs-of-syx-mod-more-options's Issues

I cant see the menu.

The menu size is too big for me( i play this game on laptop and my screen resolution is 1366x768. thank you..

Screenshot (8)

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.