New Tool (3.2): Export To Unreal

renoise-unreal-tn
Export To Unreal

This might only be of use to me since I’ve been learning UE4 for a few years, but the new version of its audio engine has allowed me to experiment with using imported waveforms to control different aspects of a 3D object (or anything in the engine, really). I’ve started to incorporate Renoise song data as well and working on this tool will allow for even more control.

Description

Exports song data as a .json file to be imported into Unreal Engine 4 as a Data Table. Importing into UE4 requires a customised set of Structs to interpret the file contents into the Data Table format.

Unreal doesn’t allow the importing of .xml files, so songs can’t be loaded into it directly from an .xrns file. This tool extracts only the data that will be useful, though exactly what that is will change over time as this tool is developed.

9 Likes

I don’t have any use for this tool but I think it’s an awesome idea, good work!

2 Likes

I’ve been using renoise to control parameters in Unity for a while so I get where you’re coming from. Exporting renoise data in json could be useful for all sorts of things, great tool idea, thanks!

0.1

• Exports Note and Master FX column data from all standard tracks across all patterns.
• BPM, LPB and track names are stored in the base array.
• Current pattern length is stored in Patterns array.
• When data is found on a pattern line, the line number is stored in Lines array.
• The Note column number is stored in the Note Data array. Not essential for Master FX columns.

0.2

• Exports graphical automation.
• Exports Group, Send and Master tracks.
• Allowed blank patterns.
• Lines with data can have blank Note/MasterFX arrays.
• Nesting ‘Note Columns > Note Data’ was redundant. Moved old Note Data into old Note Columns array.

2 Likes

0.3

• Support for Pattern Sequencer and cloned patterns.
• Exports pattern names and section headers.
• Exports from each track: type, colour, delay and Note column names.
• Support for Pattern Matrix track muting.
• Added column number for Master FX since 00 repeat of effect command value is column specific.

1 Like

0.4

• Added graphical user interface.
• User can set folder and filename for export.
• Improved code efficiency.
• Colours now exported as a string compatible with UE4’s Linear Color Struct.

I know the First unreal Games. The Soundtracks are all made with tracker with the fileend „umx“
I can hear to the Tracks inside the unreal Editor 1/2
I don’t know exactly but it is possible to Open the Soundtracks in Renoise.
I have done it a few years ago with fasttracker und Renoise too.
You can See all namens and Infos.

Oh man, it’s been an age since mucking around in Unreal but this makes me want to pick it back up. Fantastic tool/idea. Great sounds too! Thanks Achenar!

Created with version 0.4.

1 Like

0.5

• Now exports all blank Pattern Editor data, optimising real-time data retrieval.
• Removed Track, Line and Column numbers.
• Greatly improved code efficiency, decreasing export time.
• Support for automation scaling.
• Disabled buttons during export.

1 Like

0.6

• Chosen directory is saved to a preferences file and recalled on launch.
• Detects if directory cannot be exported to.
• Fixed: Directory and its text were removed if browser dialog was cancelled.
• Fixed: Could open multiple copies of the GUI.

Thanks for this, Achenar - very nice!

I came across a bug where only the last Note column and the last Master FX column of each track are written to the JSON, if there are more than one Note/FX columns, and I’ve fixed it by appending the json strings on lines 307/309 and 325/327 instead of assigning (overwriting) them. I only spotted it because I wanted to parse multiple columns of effects in Unreal - hope that’s of some use!

1 Like

Thanks, this was happening for automation as well and I’ve sorted it out.

0.61

  • Fixed: Multiple columns/automations/points were being overwritten instead of appended.

I created this tool to export Renoise song data into Unreal Engine 4, but I also documented a couple of other ways of connecting them along the way.

5 Likes