If you want a simple region export to file / import from file, check the CSV regions import/export scripts shared on my free repo. They have less issue than native way of doing it, especially with non UTF-8 characters and quotes.
Introduction
The following script has been developed to import items and regions from a CSV file.
Here is a sample of the tabulation delimited CSV. Check the data formatting. (Headers can be changed).
Position | Position Relative | Length (Secs) | Name |
---|---|---|---|
00:00,0 | 0 | 5 | cue1 |
00:05,0 | 0 | 3 | cue2 |
00:18,0 | 10 | 8 | cue3 |
00:46,0 | 20 | 4 | cue4 |
01:00,0 | 10 | 2 | cue5 |
01:17,0 | 15 | 5 | cue6 |
01:42,0 | 20 | 5 | cue7 |
02:02,0 | 15 | 1 | cue8 |
This time format can be moded.
Pack Content
- X-Raym_Import items and regions from CSV.lua
Screenshot

Tricks
- Put your CSV in the same folder as your desired items
- Actual limitations: doesn’t work with 1:0:0,0 time of format for more than 1 hour marker.
Customization
You can pass your own values to the script using a preset file script.