SGEdit is a tool written by DarkLuna that can modify the data in save files from games made with RPG Maker VX and XP.
You can download SGEdit here.

Since the Legend of Queen Opala series is made with RPG Maker XP, it is compatible with SGEdit. You simply need to load the correct ini file. Below are ini files for the three LoQO games that exist so far.

WARNING: Modifying your save files can break them!
It is always recommended to backup your save files before attempting any changes.
Please don't contact the developer or flood the discussion boards with problems created by the use/misuse of these files.

How to install and setup SGEdit

  1. Download SGEdit from the link above.
  2. Download the ini file for the game you are using, and put it in the same folder as SGEdit.exe
    • Take care to load the right file. Each time you start SGEdit you must load the file again. Different LoQO games use different files! While the wrong ini file won't break the save, it will make editing very difficult!
  3. Now open SGEdit, click File>Open, then locate your save file.
    • LoQO can only handle 3 save files at once (Save 1, Save 2, and Save 3), however, if you name one of these something else, it won't show up in game but can still be edited and saved. When you want to use it again, rename it to Save 1, Save 2, or Save 3.
  4. Now click Settings>Load, then locate the relevant ini file.

How to use SGEdit

Note that each game has some individual quirks, sometimes it will require an item and a switch to have some behavior activate, and sometimes switches that might not seem connected actually are, since the story would've activated them both. Take care, and don't expect miracles! Save backups are a must.

There are 3 'flags' and a 'Reset' button inside the 'Game System' menu. The 'Reset Saves' button does nothing within LoQO, while the 3 'flags' do indeed prevent saving, menu access, or encounters respectively. They should be used sparingly, as often the story may required one of these to continue.

You will now see three tabs in the program, 'Party', 'Player', and 'Switch'. Lets look at each of these individually.
This tab lets you set your player gold, which can be set to between 0 and 9,999,999. Enter a value and click 'Set Gold' to change this.
This tab also lets you give items and set their quantities. The number between 'Set Gold' and the drop-down menu is the current number of items your save file has. If you had 'Armors' selected on the drop-down, and the number read 23, that means you have 23 different types of armor in your inventory currently.
In order to add a new item, select the appropriate drop-down from 'Armors', 'Weapons', and 'Items', then use the two boxes near the bottom to alter these lists.
On the left, you can add a new item by quantity. Use the drop-down here to find an object from the list (This list is specific to the Armor/Weapon/Item drop-down), then set it's quantity you want to add, or click 'Min/Max' to switch between 99 and 1. Then click 'Add Item'.
If you want to alter an item that's already there, you must use the menu on the right. If you select one of the objects from the current inventory you can then alter it's quantity the same way as on the left, and click 'Set Item' to update the data.

This tab lets you modify the current PC's (Player Character) data.Unfortunately, you cannot currently alter the data of non-PCs, like party members. This means while you can alter your PC's level, you cannot alter, for example, Opala's.
On the left you can see the current equipment you are wearing. You can select any item, even those not currently in your inventory, for each respective slot.
Below this you can see the skills menu, you can select a skill from the drop-down and click 'Add Skill' for your character to instantly learn that skill.
Finally on the right you can see the Combat Statistics menu. Here you can alter the PC's statistics. All statistics can be altered apart from 'Level', which can be modified by increasing 'Experience'. These changes must be stored by clicking 'Change', or can be discarded by clicking 'Discard'.

This tab lets you view and modify the states of all of the switches within the game. Each switch has either a 'True' (T), 'False' (F), or 'None' (), state. None is the state that all switches start in before they are set. The game is likely to be damaged if you remove a set switch (T>None, or F>None). Some switches will work fine despite this, but others (Especially those regarding the game state, like Beastman or Japanese) could cause damage.
This is perhaps the most likely to cause damage such as unusable save files, lost progress or other unintended consequences, and should only be attempted if you know what you are doing.
Along the top, you can do the following:
Enter a switch ID and then click 'Go to...' to jump to it.
Clicking 'S' allows you to create a snapshot of the switches as they are, then compare that to the switch settings in another save file. This is used to find out how switches are related and how they change.
You can use the text box to search the list to find a switch with the specified text in the name. Clicking 'Find' will then search, while clicking 'Next' will step through the search results.
Finally, buy clicking on the box to the left of a switch ID you can step through the three states, or by right clicking the switch you can choose which state to set it to.

Finally, you'll need to save your changes by clicking File>Save.