Migration guide
Scenarios written for other engines can be converted to .lim and imported. Labels, choices, conditional branches and variables are converted to the Liminalia way of writing them. Anything that can't be converted is kept as a comment line and listed in a report.
What you can import
| Original engine | Files read | Studio | Command |
|---|---|---|---|
| TyranoScript, TyranoBuilder | The .ks files in the project's data/scenario | Set the import source in the project settings, then Import again | lim import |
| Ren'Py | .rpy | Import text | lim import-renpy |
| Ink | .ink | Import text | lim import-ink |
| Yarn Spinner | .yarn | Import text | lim import-yarn |
| Twine | Twee 3 .twee and .tw | Import text | lim import-twine |
Import in Studio
To bring in a single file, Import text in Studio is the easiest way.
- On the Script screen, select the line just before where you want to insert it.
- Click the heading above the scenario (the file name) and choose Import text from the menu.
- Paste the scenario into the left pane, or choose a file with Choose a file… at the top right. You can also drop a file onto the pane. The format is detected automatically; if it can't be detected, choose it under Format at the top.
- The converted result and the number of parts that couldn't be converted appear on the right. Press Insert after the cursor line, or enter a file name and press Make a new file.
Steps with screenshots are in Import text you've written all at once.
Import with commands
To bring in a whole folder or many files at once, use the lim commands. Create the project to import into first, and run the commands in its folder.
lim new my-game --blank
cd my-game
lim import-renpy game/ # every .rpy in the Ren'Py folder
lim import-ink story.ink # also reads the files it INCLUDEs
lim import-yarn dialogue/ # every .yarn in the folder
lim import-twine story.twee- The converted
.limfiles are written to the project'sscenariofolder under their original file names. - Speakers are added to
cast.json, and the initial values of variables tovariablesinliminalia.json. Initial values of variables that already exist aren't changed. - If a
.limwith the same name already exists, it's overwritten only if the same command made it before. Other files aren't overwritten, and you're told about them (--forceoverwrites them). - The results are written to a report in the project, such as
renpy-import-report.md(the report is in Japanese).
What to check after importing
- Read the report. Anything that couldn't be converted stays in the
.limas a//comment line, and the report lists how many there are and why. Replace them one by one with the Liminalia way of writing them. - On the Check screen in Studio, or with
lim check, look for missing assets, speakers that aren't registered and parameters of the wrong type. - Put the backgrounds, sprites, BGM and other assets into the folders for each kind under
assetsin the project. Set up sprite variants and positions on the Characters screen. - Check which file New Game starts from. The starting point is set by
entryinliminalia.json. - Run the all-routes test to check for scenes that can't be reached and places where the game gets stuck (Find gaps with the all-routes test).
- Test play it. Effect timings and where the game waits for a click can differ from the original engine.