Giter Site home page Giter Site logo

byar-chobby's Introduction

BYAR-Chobby

BYAR mutator for Chobby

Download links

Developing the Lobby

  1. Download using one of the links above and start the application.

  2. Start the application once and launch the lobby. This will download the engine and other dependencies.

  3. Open the install directory (there's a button for that in the launcher), and create a games directory, then clone this repository inside the games directory:

git clone https://github.com/beyond-all-reason/BYAR-Chobby.git BYAR-Chobby.sdd

This should result in the following directory being present: /path/to/install/dir/data/games/BYAR-Chobby.sdd/ under . (Beyond-All-Reason\data\games\BYAR-Chobby.sdd\LuaMenu\configs\gameConfig should be a correct path)

NOTE: The games directory is data/games under windows, and just games under Linux.

  1. Choose the Dev Lobby config from the launcher's top right dropdown menu which will run the lobby version on your PC. You can now develop and test any BYAR specific lobby functionality.

  2. If you want to develop Chobby itself, clone it in the games directory similar to step 3:

git clone https://github.com/Spring-Chobby/Chobby.git Chobby.sdd

You must also change the depend table in BYAR-Chobby.sdd/modinfo.lua to use Chobby $VERSION instead of rapid://chobby:test.

To enable debugmode, make an empty devmode.txt in the already used game install directory (/data/), and then the Settings/Developer tab will appear in the lobby. All debug messages are visible in th Debug chat panel.

Developing the Game

  1. Make sure you've first finished setting up the lobby development environment (previous section)

  2. Open the install directory, and inside the games directory clone the BAR game repository:

git clone https://github.com/beyond-all-reason/Beyond-All-Reason.git BAR.sdd
  1. Start Chobby with Dev Lobby config, open the Settings/Developer tab and in the Singleplayer option choose Beyond All Reason Dev. The application title should change to Beyond All Reason Dev.

  2. Choose Skirmish as you normally would - this will put you in a match against one Null AI by default - and start it. This should start Beyond All Reason with your local development version. You should see Beyond All Reason $VERSION in your window title.

Tips for BYAR-Chobby development:

  1. Use Zerobrane Studio dev env, open up any chobby Beyond-All-Reason\data*.lua file with Zerobrane studio, then set Project->Project Directory->From current file
  2. This allows you to ctrl+shift+f to find any text in all of chobby, useful
  3. Do NOT try to edit anything in Chobby.sdd! If you want to edit something in Chobby.sdd that is not overwritten by the mutator BYAR-Chobby (e.g. does not exist in BYAR-Chobby.sdd), then copy it over to BYAR-Chobby.sdd first and commit it (so we have a baseline).
  4. Open infolog.txt in notepad++ or anything to grep for errors.

How to make new launcher releases:

  1. Modify a file in the dist_cfg folder (https://github.com/beyond-all-reason/BYAR-Chobby/tree/master/dist_cfg) on the master branch to trigger a launcher build. It should start a new action here: https://github.com/beyond-all-reason/BYAR-Chobby/actions
  2. Wait until the build completely finishes (the action should be green and have a check), otherwise you might create an incomplete release.
  3. Make a release by finding the latest Draft here https://github.com/beyond-all-reason/BYAR-Chobby/releases , open it, click Edit draft and then Publish Release
  4. Send new download links to .exe and .AppImage to BAR discord #website so download links on website can be updated.
  5. Note that pr-downloader is fetched from https://github.com/beyond-all-reason/spring-launcher
  6. TODO: currently, the manual forked action is the one that needs to be launched for a build, as the automatic one still uses the now outdated upstream spring-launcher repo

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.