Electronauts

Electronauts

55 ratings
How to enable Custom Song Support
By zer0ney
How to enable and create your very own Electronauts songs!
3
2
3
   
Award
Favorite
Favorited
Unfavorite
Introduction
Custom songs seem to have been available through Electronauts for a bit of time so this guide is a way to hopefully get some more interest stirred for custom songs.

Please note that adding your own custom songs isn't as easy as dragging and dropping a file - there's a lot of steps to set up your own songs like separating the instrumentals and the vocals and getting the files to line up correctly.

For my personal custom songs I use FL Studio to make sure the samples are at the correct BPM and are at the correct length - if you don't use FL Studio or a different DAW I'd recommend finding samples that are the same BPM and using Audacity to chop them to the correct size. (There are a lot of videos/tutorials out there on how to use Audacity or your preferred DAW already.)
Enabling Mods/Custom Songs
  1. Open up your Electronauts game folder and head to Electronauts\Electronauts_Data\StreamingAssets\DefaultMods\ and 'copy' this folder.

  2. Head to your default Documents folder and into the Electronauts folder.

  3. Paste the DefautMods folder you copied into this folder and rename it to 'Mods'.

  4. Go into your new Mods folder and open the file called ModsConfig.txt

  5. Select all of the text and replace it with the following:
    m_ModsEnabled:true

  6. Head back to your Electronauts game folder (Electronauts\Electronauts_Data\) and go into the Managed folder.

  7. Download this file[drive.google.com] and copy it into the Managed folder. If a message asks you if you want to replace any files, click Yes.
    (full link here: https://drive.google.com/file/d/1F7qFKzgA4YrAQWH50OBv6ViyvZNEZoEK/view?usp=sharing )

  8. Once copied, start Electronauts. If all went well you should see a new genre called 'Mods' and some example songs!
Creating Your Own Custom Song
The song support is very in-depth - anything used in normal songs can be used in custom songs. This includes all instruments and visualisers as well.

To look at the format/layout any of the default custom songs just open up your Documents folder and head to the /Electronauts/Mods/ folder you created previously.

Loop Length
Loop and sample length depends on the instrument in use and if you set the m_numberOfBars option in the config file (more info on that later). Generally:
  • Looper: Each loop goes for 1 bar/quarter of a loop. I've yet to test the looper with anything more than 2 bars set under m_numberOfBars, so message me if this is something you've tested!

  • Stems/Backing Track: Depends on how many bars are in your song, of course make sure all samples used for the backing track are the same length/BPM.

  • Vocals: 4 loops long

Folder Structure
Custom songs are laid out as below, with short descriptions of each of the folders/files underneath:

The below is an example folder - your own custom song can potentially look different than this. Lines with the '-' at the start of the name indicate this is a file, lines with no '-' at the start are folders.

MY_SONG GROOVE_SAMPLER - GROOVE1.wav - GROOVE2.wav INSTRUMENTS HARP1 - NOTE1.wav - NOTE2.wav - NOTE3.wav - NOTE4.wav - NOTE5.wav - NOTE6.wav - NOTE7.wav ORBS1 - NOTE1.wav - NOTE2.wav - NOTE3.wav - NOTE4.wav - NOTE5.wav - NOTE6.wav - NOTE7.wav ORBS2 - NOTE1.wav - NOTE2.wav - NOTE3.wav - NOTE4.wav - NOTE5.wav - NOTE6.wav - NOTE7.wav ONESHOTS - ONESHOT1.wav - ONESHOT2.wav - ONESHOT3.wav - ONESHOT4.wav - ONESHOT5.wav STEMS 1 INTRO - InstrumentConfig.txt - Bass.wav - Clap.wav - Guitar.wav - Kick.wav - Synth.wav 2 DROP - Bass.wav - Clap.wav - Guitar.wav - Hat.wav - Kick.wav - Synth.wav 3 GROOVE - Bass.wav - Clap.wav - Guitar.wav - Hat.wav - Kick.wav - Synth.wav - Wobble.wav 4 OUTRO - Clap.wav - Hat.wav - Percussion.wav VOCALS - VERSE1.wav - VERSE2.wav - VERSE3.wav TRANSITIONS - TRANSITION1.wav - TRANSITION2.wav - TRANSITION3.wav - TRANSITION4.wav - Config.txt - Icon.png - Preview.wav - readme.txt

MY_SONG: Unique song folder name required to be in ALL CAPS.



GROOVE_SAMPLER: Two sounds used in the REMIX 1 and REMIX 2 sections of the FX Cube when the Glitch preset is pressed. Usually a drum fill. For examples of these sounds check out the same folder in the default custom songs.



INSTRUMENTS: Instruments in this folder need to be named in all capitals and with a number at the end, for example ORBS1, ORBS2 and HARP1. Multiple instruments like two orbs need to increment the number at the end, so four orbs will look like ORBS1, ORBS2, ORBS3, ORBS4.

Valid instruments:
  • ORBS
  • LOOPER
  • HARP

InstrumentConfig.txt
In any Instrument folder you can add a text file named 'InstrumentConfig.txt' which lets you set instrument-specific options:

  • m_mono: Set the instrument to mono audio (so one channel instead of two, like stereo audio). Set to 0 for no mono, 1 for mono.

  • m_ducking: 'Ducking' is when the audio signal briefly lowers, or 'ducks' while another audio signal is playing - the options for this are 'Off', 'Slow', 'Medium' or 'Fast'.

  • m_quantizerResolution: This affects the quantization (or 'snapping' of notes to the beat). Value is a float (0.0, 1.3 etc.)

  • m_overrideThemeQuantizerResolution: Overrides the theme quantizer resolution for an independent option. Same as above.

  • m_volume: Volume of the instrument independent to the default theme volume. Defaults to 1.

You often don't need to adjust any of the above options or even create the InstrumentConfig.txt file - most instruments/audio clips will work fine with the default options set through the main Config.txt file.



ONESHOTS: Oneshots are the grenades - each song has 5 grenades, so 5 files each need to be labelled from 1 to 5.



STEMS: This folder contains the files that make up the backing track of the song. Each folder in this needs to be numbered between 1 and 6 and have a unique track name that can be up to 6 letters long.

In each track name folder there can be up to 9 different 'stems' (loops). Each stem needs to be named as one of the following:
  • Bass
  • Clap
  • Guitar
  • Kick
  • Synth
  • Hat
  • Wobble
  • Percussion
  • Pad
  • Snare
  • FX
  • Tom
  • Keys

Your stems in each track can be named any of the above as long as the total stems in the track is less or equal to 9.



VOCALS: There can be up to 3 vocals on the track, named VERSE1.wav and so on.



TRANSITIONS: The transition sounds used on the Backing Track instrument. Every song requires 4.



Other files:

Config.txt: Explained in more depth in next section.
Icon.png: The song's icon used in the main menu - file needs to be 1024x1024 24-bit PNG.
Preview.wav: A preview of your song - this should be about 2 loops/8 bars long. Around 20 seconds in real time.
readme.txt: Used for any attribution, such as using sounds or images from public sites. This is optional.



Other notes:
  • HARP and ORBS instruments require 7 notes (files)
  • LOOPER instrument requires 5 loops (files)
Config File Setup
The config.txt file contains a couple of options for your song's details like title, artist and genre as well as a bunch of settings for using your own custom files for the visualiser.



Options
The options with some default values that can be used are as below:
Required options: m_name: MY_SONG m_artists: MY_ARTIST m_description: MY_ARTIST - MY_SONG m_genres: Chill m_BPM: 95 m_numberOfBars: 2 m_visualizer: 14 m_volume: 1.2 m_defaultCameraView: 6 Optional options: m_MediaFiles: My_Video.mp4 m_MediaType: Video m_MediaPlaybackType: On Load m_MediaScaleX: 20 m_MediaScaleY: 20 m_BrowserWidth: 1920 m_BrowserHeight: 1080 m_BrowserScale: 1

Required options:

m_name: The name of the song.

m_artists: The artists on the song - if there are multiple, separate them with a comma (,)

m_description: The description of the song. Shocking!

m_genres: The genre/s of the song. Separate multiple genres with a comma, can list up to 3. Valid genres are any of the below:

Ambient Bass Bass House Breakbeat Breaks Chill Dim Mak Disco House Downtempo Dubstep Electro Experimental Funk Future Bass Future Soul Glitch Hip Hop House Monstercat New Wave Pop R&B Rock Soul Synthwave Tech House Techno Trap Trip Hop Tropical House

m_BPM: The song's beats per minute. This is important to set correctly as it's used for song timing.

m_numberOfBars: Number of bars the song loop has - defaults to 2. This is also important to set correctly.

m_visualizer: Choice of visualiser. Can range from 1 to 14, with 14 being a blank visualiser. Use 14 if you're planning on using your own custom image/video/URL. Full list of visualiser options is in Additional info section at end of guide.

m_volume: Volume of the song. Typically this should be set to 1 and then tested to see if the song is too quiet/too loud and to adjust accordingly, however min = 0, max = 2. Decimal points are accepted (0.5, 1.3 etc.)

m_defaultCameraView: The default camera view as listed in the FX tool - ranges from 1 to 6 with 6 being first person.



Optional options:

m_MediaFiles: The file name (including file extension) that you are using.

m_MediaType: The type of media used. Types can be: URL, Video (.mp4), Image (.png), 360 Video (.mp4), 360 Image (.png). See example songs for some image, video, 360 and URLs used.

m_MediaPlaybackType: When the media should play. Right now On Load is the only option.

m_MediaScaleX/m_MediaScaleY: Scales the media on the X or Y axis - only applies to Image or Video types.

m_BrowserWidth/m_BrowserHeight The width/height of the browser window. Only applies to URL type of media.

m_BrowserScale The scale of the browser window. Only applies to URL type of media.
Conclusion
The modding community for this game is very quiet and very dead, and I'd love to help in any way with getting more people to play this amazing game - be it hosting websites, creating more specialised mods or by just spreading the word.
I'd love to see a huge custom song library in the future so I hope this guide motivates you to create your own songs, either using the files from your own personal songs or creating your own funky remixes from sounds and loops that are already out there.

Below is a couple of my personal favourite loop sites:

https://www.looperman.com/

https://primeloops.com/

https://sampleswap.org/

https://www.bigfishaudio.com/



If you have any ideas, questions or feedback leave a comment or shoot me a message on Steam or on Discord (zer0ney#0025)!

I've also created a Discord server for this topic since there doesn't seem to be any others - come join at https://discord.gg/y76xhCSnBM if you're interested in keeping this alive :)


Random Assorted Info
Below is some assorted info that hasn't been tested or verified as of yet to work with either the config.txt file or as a folder to use in the 'folder structure' layout.

Variables:

  • m_featuredArtists: This seems to be the same as the m_artists option except the artists here get added to the end of the song with "ft." added in front, for example "My Song ft. Artist"

  • m_remixArtists: This adds " Remix" at the end with the artist/s name in front.

  • m_previewMenuAudioFile: If this is set the .wav file specified will be used for the preview, otherwise the preview will come from /MYSONG/PREVIEW/ folder. (unsure if this affects the default Preview.wav file in the root song folder)

  • m_visualizationId: untested - may use the direct viz IDs, full list further below.

  • m_colorPaletteId: unsure and needs testing

  • m_canRecord: Seems to add recording start and recording stop buttons that outputs to a .wav file - untested

  • m_backingTracks: manually sets backing track amount, better off just using the folder structure as this is automatically set depending on the amount of folders in the STEMS folder.

  • m_vocalTracks: Amount of vocal tracks in song - this is also set automatically when using the VOCALS folder so no need to set this usually.

  • m_barLengthExponent: This can be set from 0 to 4 to set the bar length to 1, 2, 4, 8, or 16 (power of 2) - this is untested as well, once confirmed to be working will add to config.txt section.

Folders

PADSYNTH is a valid instrument name but is untested as well, same layout as the HARP instrument.

Other info

There's an 'admin panel' that can be used by pressing the O key that lets you adjust master volume, change song instantly as well as some other stuff like enabling an overlay that shows the currently playing song details and an Electronauts logo.


Syncing the tracks to the visualizer is automatically done as long as you name your files in the STEMS folder correctly (like Kick.wav and Snare.wav).

Visualization IDs and names

ID
Name
Number
5c6eb3f2-622e-45b5-94a6-de0700b4c88d
Viz_CosmicHighway
0
16208c2e-461b-4632-9695-60e470757ab7
Viz_CrystalWaters
1
5f1201ab-6a67-42e1-ae64-4d728c285a8d
Viz_Dancefloor
2
dfce3960-bf64-48f4-9146-71ef68d2e12e
Viz_DeepTunnel
3
9342cdcf-fefc-4559-9ed6-c17678e52d90
Viz_Equalizerl
4
72100857-6fa9-42bc-bbbe-3f993144af32
Viz_LightsTunnel
5
663f2f7a-173a-4c15-ba76-16986eddf860
Viz_NoZone
6
21ce8a73-fbac-4347-96b6-b081b744849d
Viz_Psychic
7
bc3210c9-9060-4c24-a642-81b2216d0525
Viz_Pyramids
8
47a928e1-2a1f-4952-bb47-246124a5afa9
Viz_Space
9
460a7bcd-5814-4451-817e-cc3a53fad374
Viz_Synthwave
10
d71b349-2fd6-490c-a1da-807ea61e1fc2
Viz_TechTrack
11
dc335b15-a8bd-43e8-b9db-4c7cbf17bdca
Viz_Ziggurats
12
06eaeb65-4320-455c-8b92-c55bb7912798
Viz_FlashTunnel
13
0fd8ada1-f968-46ca-8e8c-966eaedf4ae3
Viz_Blank
14
24 Comments
zer0ney  [author] 11 Feb @ 8:04am 
@Bensn - whoops sorry, updated the download link. didn't realise it expired :)
Bensn 31 Jan @ 11:04am 
Hello, unfortunately the download links (anonymfile.com) no longer work. Is there an alternative?
💗Melanie !!💗 5 Apr, 2023 @ 10:15am 
finally, Berried delight
zer0ney  [author] 3 Aug, 2022 @ 1:30am 
@mstger: hey! yeah, i did actually have plans to create an application for this process and got far enough as to make an alpha but real life stuff got in the way - if you'd like to give it a go please do! come past the discord and you might be able to reach more people as well! https://discord.gg/y76xhCSnBM
mstger 1 Aug, 2022 @ 3:13pm 
Hello! I am interested in making a tool/application that will make it easier to make/have custom songs! (kind of like Moonscraper for Clone Hero or that custom tool for custom songs for Beat Saber (cant think of a name of it rn)) I don't have (not including scratch lol) coding experience so don't get your hopes up, and I'm going to be at collage soon. But I want to try my best to learn to make it because I feel it would help the community and I am surprised no one did it yet. If any of you are interested or have questions just let me know!

zer0ney, is it ok if I use this (your) article as a reference for it and also direct people to your "Enabling Mods/Custom Songs" 'chapter'? Thank you so much for everything!
zer0ney  [author] 17 Dec, 2021 @ 1:56am 
@mstger: unfortunately not yet! i don't have the time to make a video either, sadly
mstger 16 Dec, 2021 @ 5:31pm 
Any one made a YouTube video on this?
maestro 16 Jul, 2021 @ 1:20pm 
@zer0ney I already thought about doing it and I tested on a 2nd pc to see if it worked and I had the same problem even by following the instructions
zer0ney  [author] 16 Jul, 2021 @ 9:59am 
you may have to try and reinstall your game (uninstall first) then try and follow the installation steps again
maestro 16 Jul, 2021 @ 9:25am 
@zer0ney yes I did it 4 times but always the same problem that's why I put the mod folder in document