Treat music like tex in relative file path so it can be swapped when folder copied?


#1

I’ve been creating templates where I copy the folder each time, then just swap out the items in the tex folder for different ones with the same names, and it automatically replaces all the images. I’d like to do the same with the music, and I can use the same MUSIC.wav name each time like I am for the textures, but not quite sure how to get it to look only to relative filepath for that asset.

Tex folder appears to only work for textures.

Same issue for trying to read a .txt file. I would like to swap out the .txt file each time, but everything I’ve tried so far keeps referencing the absolute rather than relative filepath, so I get the old .txt file rather than the new one in the same folder where the project was launched from.