Description
By doing anything to load any file (either FileSystem or AudioEngine) from another drive (say, the program is in E: drive and I want stuff from C: drive), or even the same drive (with full path, not relative to main.wren)
Result
A Runtime error as thus:
Runtime error: Could not find file: <filename>
Expected behavior
The File/Music/Image to load
Minimal Reproducible Example
import "io" for FileSystem
import "audio" for AudioEngine
class main {
construct new() {}
init() {
// with FileSystem
FileSystem.load("C:/files/from_0_to_ONE.txt") // Fails
FileSystem.load("/C/files/from_0_to_ONE.txt") // Fails
// with AudioEngine
AudioEngine.load("C:/audio/all_falls_down.mp3") // Fails
AudioEngine.load("/C/audio/all_falls_down.mp3") // Fails
// what works is only relative paths
FileSystem.load("./../../file_on_same_drive.txt") // Works
}
update() {}
draw() {}
}
var Game = main.new()
Specs:
Dome Version: v1.8.0.1 - ffc441e
OS: Windows (bear it) 7 Basic
Hardware: Lenovo (bear it, again) G460 (2 months older than me)
Description
By doing anything to load any file (either FileSystem or AudioEngine) from another drive (say, the program is in E: drive and I want stuff from C: drive), or even the same drive (with full path, not relative to
main.wren)Result
A
Runtime erroras thus:Runtime error: Could not find file: <filename>Expected behavior
The File/Music/Image to load
Minimal Reproducible Example
Specs:
Dome Version: v1.8.0.1 - ffc441e
OS: Windows (bear it) 7 Basic
Hardware: Lenovo (bear it, again) G460 (2 months older than me)