[Tool] ITB Mod Loader - v2.3.0

Discuss and distribute tools and methods for modding.
User avatar
kartoFlane
Posts: 1454
Joined: Mon Jan 14, 2013 10:20 pm

[Tool] ITB Mod Loader - v2.3.0

Postby kartoFlane » Tue May 15, 2018 7:14 pm

Seeing as I have taken over the development of the mod loader some time ago, I figured a new topic would be useful to allow me to update it when I release a new version.

About

The mod loader is a collection of lua scripts and DLL libraries, providing a framework that loads mods and empowers them with additional features.

This is a continuation of Cyberboy2000's mod loader, which was originally posted here. Seeing as he's been unreachable for quite a while, I decided to take over the deveopment to fix bugs and implement new features.


Download

GitHub repository can be found here.

Download link: [ Version 2.3.0 ]
Release page with changelog

A list of all previous releases can be found here.


Installation

Extract the zip file into the game's base directory, next to the game's executable, overwriting files as necessary. The zip includes original copies of the overwritten files so you can easily revert, if need be.
After doing so, start the game. When you get to the main menu, there should be an additional button in the main menu reading "Mod Content", as well as mod loader version string in the bottom-right corner.

If you're upgrading from a previous version of the mod loader and encounter issues, the nuclear option of doing a clean reinstall of the game will solve all of them.


Uninstallation

To uninstall the mod loader, follow these steps:

    1. Go to the base game directory (the one containing the .exe)
    2. Delete lua5.1.dll, SDL2.dll, and opengl32.dll.
    3. Rename lua5.1-original.dll to lua5.1.dll, and SDL2-original.dll to SDL2.dll.
    4. Go to scripts folder, and delete scripts.lua.
    5. Rename scripts-original.lua to scripts.lua.
    6. Go to resources folder, and delete resource.dat.
    7. Rename resource.dat.bak to resource.dat.

After that, the game should be back to unmodded state. If you get any errors despite following these steps, try validating integrity of game cache (if on Steam), or reinstalling the game.


Usage

To install mods, simply unpack them into the mods folder in the game's base directory.
To access some functionalities of the mod loader, like configuration, etc, click the Mod Content button in main menu after starting the game.


Creating Mods

If you're interested in creating mods, be sure to join the Into the Breach Discord server, and hang out in the #modding-creation and #modding-discussion channels. They are a very useful place when it comes to getting help on how to do things, and accessing the general body of knowledge compiled by the community so far.

If you're looking for a place to start, this Google doc includes a few tutorials.
If you're an advanced modder, documentation of all additional features provided by the mod loader and the mod API can be found here.


Frequently Asked Questions

  1. Do I need to download AUTOMATIC's DLL Extender, or Cyber's mod loader?
    No. This version of the mod loader includes everything you need. Downloading AUTO's DLLs will actually cause problems.
    .
  2. Does the mod loader work on systems other than Windows? (once ITB is released on other platforms)
    The lua part of the mod loader does, but the additional features in the form of DLLs most likely won't. Unfortunately, I do not have enough C++ expertise to do anything about this.
    .
  3. Some parts of the modded UI are obviously misplaced or incorrectly sized, why is that?
    You're likely playing with Stretch Scaling enabled. The mod loader's GUI code does not account for it. I'm trying to work out a solution, but it's going very slowly. For now, to fix this issue on your end, you have to disable this option.
Last edited by kartoFlane on Sat Sep 22, 2018 11:55 am, edited 6 times in total.
Superluminal2 - a ship editor for FTL
User avatar
kartoFlane
Posts: 1454
Joined: Mon Jan 14, 2013 10:20 pm

Re: [Tool] ITB Mod Loader - v2.2.3

Postby kartoFlane » Wed Jun 13, 2018 9:12 pm

Updated to version 2.2.3. For changelog and download go back to the first post, or click here.
Superluminal2 - a ship editor for FTL
User avatar
kartoFlane
Posts: 1454
Joined: Mon Jan 14, 2013 10:20 pm

Re: [Tool] ITB Mod Loader - v2.2.3

Postby kartoFlane » Thu Jun 14, 2018 12:24 pm

Original 2.2.3 release had a bug that caused a crash when selecting islands. If you've downloaded the 2.2.3 release before now, then just download it again to get the fixed version.
Superluminal2 - a ship editor for FTL
raguay
Posts: 2
Joined: Wed Jul 04, 2018 2:00 pm

Re: [Tool] ITB Mod Loader - v2.2.4

Postby raguay » Mon Aug 13, 2018 7:12 am

Is a macOS version coming out?
User avatar
kartoFlane
Posts: 1454
Joined: Mon Jan 14, 2013 10:20 pm

Re: [Tool] ITB Mod Loader - v2.2.4

Postby kartoFlane » Mon Aug 13, 2018 4:39 pm

If it doesn't work on Mac as-is then, as stated in the FAQ section at the bottom of the first post, no. Not from me, at least, unless someone recompiles the DLLs to work on other platforms, or the game's developer includes the required functionalities in the base game (which would be very nice, seeing as some features I'd need are already available).
Superluminal2 - a ship editor for FTL
User avatar
kartoFlane
Posts: 1454
Joined: Mon Jan 14, 2013 10:20 pm

Re: [Tool] ITB Mod Loader - v2.2.5

Postby kartoFlane » Wed Aug 22, 2018 11:22 pm

Updated to version 2.2.5 with a few minor fixes and features: support for mod descriptions, and minimum mod loader version, among other things. See full release page for details.
Superluminal2 - a ship editor for FTL
User avatar
kartoFlane
Posts: 1454
Joined: Mon Jan 14, 2013 10:20 pm

Re: [Tool] ITB Mod Loader - v2.3.0

Postby kartoFlane » Sat Sep 22, 2018 12:01 pm

Updated to version 2.3.0. This release contains a bunch of fixes and some new features, like profile-specific configuration. See the release page for details.
Superluminal2 - a ship editor for FTL

Who is online

Users browsing this forum: No registered users and 4 guests