SGEdit

From LOQO Wiki
Jump to navigation Jump to search

SGEdit is a tool written by DarkLuna for modifying the data in save files from games made with RPG Maker VX and XP.

Legend of Queen Opala is compatible with SGEdit, provided you load the correct .ini file. Below are .ini files for the 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.

Be aware that the .ini files are generated only for official full releases of the games. The files may or may not work with beta releases of the games.

Installation

  1. Download SGEdit here.
  2. Save and unpack "SGEdit.zip".
  3. Download LoQO .ini files here.
  4. Save and unpack "LoQO_ini_files.zip" to the same directory as SGEdit.
  5. Start the program by opening "sgedit.exe", then click "Settings" and "Load" (Or CTRL + L). Load the .ini file relevant to the game that created the save file you are editing. Warning: Using an incorrect .ini file may result in corrupted saves!
  6. Finally, click "File", then "Open" (Or CTRL + O). Load the .rxdata file of the save you are attempting to modify.

Using SGEdit

Note that each game has some individual quirks, specific mechanics may require more than one item or switch to work correctly, and not all switches or items are named correctly. Take care, and don't expect miracles! Save backups are a must.

File Menu

The file menu is the set of tabs near the top of the window including "File", "Settings", "Game System" (When a file is loaded), and "Help".

Within "Settings", the "Allow Event Items" setting does nothing within LoQO currently, as that feature is not used. "Hide Unnamed Items" will hide items that exist inside the player's save file, but are undefined in the .ini file. This should make no difference for full releases as every item should be defined. During beta releases this may help to prevent accidental save damage.

Within 'Game System', 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, if at all, as often the story may require these to progress.

Party

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.

Player

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'.

Switch

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 save 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 change to cause damage such as unusable save files, lost progress or other unintended consequences. Please make backups before changing switches.

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, by 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.

 

When any changes have been made to any of the tabs, you will need to save your changes by clicking "File", then "Save" (Or CTRL + S).

Frequently Asked Questions

  • I'm seeing strange items or items have ??? for names?
    • You're likely using an incorrect .ini file, or have loaded a save from a beta LoQO release that has additional items the .ini file doesn't include.
  • I can't add more of an item I have 1 of? / I can't change the amount of an item I haven't got any of?
    • Save files for these games are kept small by only writing items, and how many you have, when you first get that item. You will need to add an item using the "Add Item" button/menu, and once it appears in the list you may modify with "Set Item" button/menu.
  • I can't drag my player's level slider up?
    • Instead of dragging this, you should select "Experience" and drag that up, which will adjust the level accordingly.
  • When I change things in the "Player" tab they don't save?
    • You may have forgotten to click "Change" below the slider as well as saving the file.
  • The program doesn't look anything like you described?
    • You may have started "sgedititlf.exe" instead of "sgedit.exe". Please start the correct program.
  • Can I make a .ini file for a beta release?
    • Sure thing! It takes a couple of hours to get right, and you will need a valid copy of RPG Maker VX to export the item name lists, as well as a RPG Maker VX decompiler to turn the game into a readable format. Please credit previous authors if you work from one of the existing .ini files.
  • I changed "EXAMPLE" switch(s) but that feature doesn't work within the game?
    • Please note that not all mechanics are clearly marked. Some things may require several switches to function, and not all of those will be relevantly named.
  • I used SGEdit and my save is corrupted! What can I do?
    • If you've got a very good memory, try and undo whatever changes you made. Otherwise, you will need to start a new save. Please note the warnings above and take a backup first next time!
  • I used SGEdit and found a bug! What should I do?
    • Unfortunately, nothing - unless you can replicate that bug from an unmodified save. Swegabe will not fix bugs that occur from modified save files, as they may not occur within the base game.
  • LoQO isn't reading my save file! What can I do?
    • LoQO will only read 3 save files, titled "Save1.rxdata", "Save2.rxdata", and "Save3.rxdata". LoQO2 and LoQO:O will read 4, with a similar naming structure. If you use any other name, including "Save5.rxdata", you file will simply be ignored by LoQO.