-
Notifications
You must be signed in to change notification settings - Fork 1
Modding
Important
Before you begin, ensure you have SQLite Browser installed on your computer.
It is possible to change team and player names using a visual database editor such as SQLite Browser.
It allows you to customize the "root save" database, which LIGA Esports Manager uses as the foundation for generating new game saves.
The first thing to do is to create a copy of the "root save" and place it in the app's custom
folder.
Run the following in a PowerShell terminal window.
cd $env:APPDATA'\LIGA Esports Manager'
mkdir custom\databases
cp databases\save_0.db custom\databases\save_0.db
Caution
Do not move teams from their original federation.
For example, you can move a team from USA to Brazil but not from USA to Sweden, as they are in two different federations.
Please refer to the federations section below for a list of country IDs and their federation.
Launch SQLite Browser and open up the custom root save that you just created.
Once the database loads, click on the "Browse Data" tab and switch to the "Team" table by using the "Table" dropdown.
This will give you a table view of the team's tabular data.
In LIGA Esports Manager, there are 5 divisions that teams are grouped into. The higher a team's prestige, the better. So if you would like to modify just the team names in the Premier division, you would only modify the teams with a prestige level of 4
.
Division | Prestige |
---|---|
Open | 0 |
Intermediate | 1 |
Main | 2 |
Advanced | 3 |
Premier | 4 |
Clicking on the "prestige" column sorts the teams from highest to lowest prestige. You can also filter teams by a specific prestige value by entering the desired number in the textbox beneath the column header.
For example, to display only the teams in the Premier division, type in =4
in the filter textbox under the prestige column header.
To change a team's name, double click on the name field to open up the editor and change their name.
Once you're happy with the changes, click on "Apply" and then "Write Changes".
TBD
Adding custom team logos works very much the same way as modding the team names.
The first thing to do is to create a "blazonry" folder within the app's "custom" folder.
Run the following in a PowerShell terminal window.
cd $env:APPDATA'\LIGA Esports Manager'
mkdir custom\blazonry
Now place your custom logos within the custom\blazonry
folder.
Launch SQLite Browser and open up the custom root save created in the previous step.
Once the database loads, click on the "Browse Data" tab and switch to the "Team" table by using the "Table" dropdown.
To change a team's logo, double click on the blazon field to open up the editor and change the path to your custom logo:
custom://blazonry/compLexity.svg
Once you're happy with the changes, click on "Apply" and then "Write Changes".
In LIGA Esports Manager every team is part of one of two federations.
When making changes to the database, such as when changing the country of a team, it is important to keep the balance of the Federations and only re-assign a country within the same Federation.
You can run the following query directly in SQLite Browser to get the list of countries within a federation or use the table below.
SELECT
c.id AS countryId,
c.name AS countryName
FROM
Country c
JOIN
Continent co ON c.continentId = co.id
JOIN
Federation f ON co.federationId = f.id
WHERE
f.name = 'Electronic Sports Europa';
Electronic Sports Europa | Electronic Sports Americas | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|