i have gotten fmod to work nicely with my app but problem is when i package it in a jar i can't seem to get the file to load, below is my load code
public static void load(String ref) {
System.out.println("Loading : " + ref);
File file = new File(ref);
if (!file.exists()) {
System.out.println("No such file: " + ref);
System.exit(0);
}
// using ref (path)
module = FMusic.FMUSIC_LoadSong(ref);
}
the problem comes since FMusic.FMUSIC_LoadSong(String ref) only supports a string and i can't seem to figure out how you would change it to get it to load the resource out of a jar, since URL isn't supported, any help on this would be appreciated!