1)Expectation
After git clone https://github.com/doukutsu-rs/doukutsu-rs
and Cargo build inside /doukutsu-rs/
I get doukutsu-rs inside /doukutsu-rs/target/debug
but when I try to run doukutsu-rs with ./doukutsu-rs,
then following message reports:
zhaoqilong@zhaoqilong-virtual-machine:~/桌面/doukutsu-rs/target/debug$ ./doukutsu-rs
INFO [doukutsu_rs::game::filesystem_container] Resource directory: "/home/zhaoqilong/桌面/doukutsu-rs/target/debug/data"
INFO [doukutsu_rs::game::filesystem_container] Initializing engine...
INFO [doukutsu_rs::game::filesystem_container] Mounting built-in FS
INFO [doukutsu_rs::sound::wave_bank] Loaded sample: WavFormat { channels: 1, sample_rate: 22050, bit_depth: 8 }
INFO [doukutsu_rs::sound::wave_bank] Loaded sample: WavFormat { channels: 1, sample_rate: 22050, bit_depth: 8 }
INFO [doukutsu_rs::sound::wave_bank] Loaded sample: WavFormat { channels: 1, sample_rate: 22050, bit_depth: 8 }
INFO [doukutsu_rs::sound::wave_bank] Loaded sample: WavFormat { channels: 1, sample_rate: 22050, bit_depth: 8 }
INFO [doukutsu_rs::sound::wave_bank] Loaded sample: WavFormat { channels: 1, sample_rate: 22050, bit_depth: 8 }
INFO [doukutsu_rs::sound::wave_bank] Loaded sample: WavFormat { channels: 1, sample_rate: 22050, bit_depth: 8 }
INFO [doukutsu_rs::sound::wave_bank] Loaded sample: WavFormat { channels: 1, sample_rate: 44100, bit_depth: 16 }
INFO [doukutsu_rs::sound::wave_bank] Loaded sample: WavFormat { channels: 1, sample_rate: 44100, bit_depth: 16 }
ERROR [doukutsu_rs::sound::wave_bank] Failed to read next sample: failed to fill whole buffer
INFO [doukutsu_rs::sound] Audio format: 44100 2
INFO [doukutsu_rs::data::vanilla] Looking for vanilla game executable at "/home/zhaoqilong/桌面/doukutsu-rs/target/debug/Doukutsu.exe"
INFO [doukutsu_rs::engine_constants] Loaded locale en (English)
INFO [doukutsu_rs::engine_constants] Loaded locale jp (Japanese)
WARN [doukutsu_rs::game::shared_game_state] Failed to load font, using built-in: Resource not found: File not found, searched in paths [("/builtin/builtin_data/csfont.fnt", ResourceNotFound("/builtin/builtin_data/csfont.fnt", [("/home/zhaoqilong/桌面/doukutsu-rs/target/debug/data", IOError(Os { code: 2, kind: NotFound, message: "No such file or directory" })), ("", FilesystemError("File not found."))])), ("/csfont.fnt", ResourceNotFound("/csfont.fnt", [("/home/zhaoqilong/桌面/doukutsu-rs/target/debug/data", IOError(Os { code: 2, kind: NotFound, message: "No such file or directory" })), ("", FilesystemError("File not found."))]))]
INFO [doukutsu_rs::discord] Starting Discord RPC client...
WARN [doukutsu_rs::discord] Failed to start Discord RPC client (maybe Discord is not running?): Couldn't connect to the Discord IPC socket
INFO [doukutsu_rs::game] Starting main loop...
Initialization error: Window creation error: No available video device
1)Expectation After git clone https://github.com/doukutsu-rs/doukutsu-rs and Cargo build inside /doukutsu-rs/ I get doukutsu-rs inside /doukutsu-rs/target/debug but when I try to run doukutsu-rs with ./doukutsu-rs, then following message reports:
zhaoqilong@zhaoqilong-virtual-machine:~/桌面/doukutsu-rs/target/debug$ ./doukutsu-rs INFO [doukutsu_rs::game::filesystem_container] Resource directory: "/home/zhaoqilong/桌面/doukutsu-rs/target/debug/data" INFO [doukutsu_rs::game::filesystem_container] Initializing engine... INFO [doukutsu_rs::game::filesystem_container] Mounting built-in FS INFO [doukutsu_rs::sound::wave_bank] Loaded sample: WavFormat { channels: 1, sample_rate: 22050, bit_depth: 8 } INFO [doukutsu_rs::sound::wave_bank] Loaded sample: WavFormat { channels: 1, sample_rate: 22050, bit_depth: 8 } INFO [doukutsu_rs::sound::wave_bank] Loaded sample: WavFormat { channels: 1, sample_rate: 22050, bit_depth: 8 } INFO [doukutsu_rs::sound::wave_bank] Loaded sample: WavFormat { channels: 1, sample_rate: 22050, bit_depth: 8 } INFO [doukutsu_rs::sound::wave_bank] Loaded sample: WavFormat { channels: 1, sample_rate: 22050, bit_depth: 8 } INFO [doukutsu_rs::sound::wave_bank] Loaded sample: WavFormat { channels: 1, sample_rate: 22050, bit_depth: 8 } INFO [doukutsu_rs::sound::wave_bank] Loaded sample: WavFormat { channels: 1, sample_rate: 44100, bit_depth: 16 } INFO [doukutsu_rs::sound::wave_bank] Loaded sample: WavFormat { channels: 1, sample_rate: 44100, bit_depth: 16 } ERROR [doukutsu_rs::sound::wave_bank] Failed to read next sample: failed to fill whole buffer INFO [doukutsu_rs::sound] Audio format: 44100 2 INFO [doukutsu_rs::data::vanilla] Looking for vanilla game executable at "/home/zhaoqilong/桌面/doukutsu-rs/target/debug/Doukutsu.exe" INFO [doukutsu_rs::engine_constants] Loaded locale en (English) INFO [doukutsu_rs::engine_constants] Loaded locale jp (Japanese) WARN [doukutsu_rs::game::shared_game_state] Failed to load font, using built-in: Resource not found: File not found, searched in paths [("/builtin/builtin_data/csfont.fnt", ResourceNotFound("/builtin/builtin_data/csfont.fnt", [("/home/zhaoqilong/桌面/doukutsu-rs/target/debug/data", IOError(Os { code: 2, kind: NotFound, message: "No such file or directory" })), ("", FilesystemError("File not found."))])), ("/csfont.fnt", ResourceNotFound("/csfont.fnt", [("/home/zhaoqilong/桌面/doukutsu-rs/target/debug/data", IOError(Os { code: 2, kind: NotFound, message: "No such file or directory" })), ("", FilesystemError("File not found."))]))]
INFO [doukutsu_rs::discord] Starting Discord RPC client...
WARN [doukutsu_rs::discord] Failed to start Discord RPC client (maybe Discord is not running?): Couldn't connect to the Discord IPC socket
INFO [doukutsu_rs::game] Starting main loop...
Initialization error: Window creation error: No available video device
2)Environment OS:ubuntukylin-20.04-pro-sp1-amd64.iso download from https://www.ubuntukylin.com/downloads/osdownload-cn.html maybe current available version is more updated.
Virtual Machine:VMware@ Workstation 15 Pro version:15.5.2 build-15785246
So if anyone meet the same situation?