Hello,

I have written my own tools for reading/replacing of UOP files for Ultima Online Kingdom Reborn.

https://github.com/coreuo/ultimakr

Ultima.Package.Builder

You can export UOP files, replace it and pack it again with this command line tool. For example
  1. Download the UltimaKR binaries
  2. Export them into C:\Users\[Replace with your username]\Downloads\ultimakr-x64-1.0.3
  3. Open windows Command prompt and type
    Code:
    cd "C:\Users\[Replace with your username]\Downloads\ultimakr-x64-1.0.3"
  4. Export Interface.uop into ultimakr-x64-1.0.3 folder
    Code:
    Ultima.Package.Builder export "C:\Program Files (x86)\EA Games\Ultima Online Kingdom Reborn\Interface.uop" "C:\Users\[Replace with your username]\Downloads\ultimakr-x64-1.0.3"
  5. You can now see exported data in ultimakr-x64-1.0.3 folder. Replace some of them and run:
    Code:
    Ultima.Package.Builder import "C:\Program Files (x86)\EA Games\Ultima Online Kingdom Reborn\Interface.uop" "C:\Users\[Replace with your username]\Downloads\ultimakr-x64-1.0.3" --track
  6. Now it's replaced. The --track means that next time you run import, only changed files will be imported (it is much faster).
For even easier development of interface lua scripts, you can have this task.json in Visual Studio Code for importing
JSON:
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        {
            "label": "build",
            "command": "C:\\Users\\[Replace with your username]\\Downloads\\ultimakr-x64-1.0.3\\Ultima.Package.Builder.exe",
            "args": [
                "import",
                "C:\\Program Files (x86)\\EA Games\\Ultima Online Kingdom Reborn\\Interface.uop",
                "C:\\Users\\[Replace with your username]\\Downloads\\ultimakr-x64-1.0.3",
                "--track"
            ],
            "problemMatcher": [],
            "group": {
                "kind": "build",
                "isDefault": true
            }
        }
    ]
}

You cannot delete or add new files with this tool. Only replace is supported.
 
Last edited:
Back