Editing Game Database - xAranaktu/FIFA-22-Live-Editor GitHub Wiki

The Live Editor allows you to edit the game database that's stored in game memory (RAM). All changes there will be temporary unless...

Unless the table is a part of squadfile or careerfile, if yes then the edited data can be saved permanently when you save the career/squadfile.

How to know if the table can be saved permanently?

There are multpile ways:

  • Trial and error
  • Checking in the fifa_ng_db-meta.xml file if the table element got savegroup attribute equal to squads or career.
  • Opening the Career or Squad file in RDBM (all tables visible in RDBM can be permanently edited with Live Editor).

What if the table can't be edited permanently?

Well, there is still workaround. For example you can write lua script which will always alter the table when you execute it or at startup. :)

Make Backups!

Before you edit anything, you should make a backup of your save. Simply save your career on any other slot. If something will go wrong with your edits you will be able to restore your career at the point before you edited the player at any time.

Warning!

Before you start using the database editor you should have basic knowledge about how the relational databases work. Especially, what is Primary key, because duplicated primary key is the most common error that leads to broken career saves.

Also, you should always hit the reload button in bottom left corner to synchronize the Live Editor with in-game database. If you won't do that then there is much higher chance that editing the data will break something in your career save/squad file.

Open Database Editor

To open database editor:

  • Run the FIFA 22 Live Editor. (Getting Started Guide)
  • Load the game mode where you want to edit database
  • Press F11 on your keyboard to open the menu
  • Press Database Editor button to open the database editor window
  • Hit reload button in bottom left corner to synchronize the live editor with in-game database
  • Click on table name you want to edit to load it.

Ordering rows by value

You can order the rows by its value by clicking your left mouse button on the column name.

This operation doesn't affect the in-game database.

Inserting row

To insert new row:

  • right click on one of the fields
  • press Add new row button
  • Fill data for new row
  • Press Insert Row button

The row will be immediately committed to the in-game database!

Deleting Row

To delete one of the existing rows:

  • right click on one of the fields
  • press Delete this row button

The row will be immediately deleted from the in-game database!

Editing Row

To edit the data in row:

  • Click on the field you want to edit
  • Change the value
  • Hit Apply changes button to commit edited data to the in-game database