PistonDevelopers / hematite

A simple Minecraft written in Rust with the Piston game engine
http://hematite.piston.rs/
MIT License
1.86k stars 105 forks source link

unable to run on ubuntu 18.04 x64 #299

Closed abasgames closed 9 months ago

abasgames commented 5 years ago

abas@abas-ThinkPad-R61:~/Downloads/hematite-master$ cargo run --release "./" Finished release [optimized] target(s) in 1.33s
Running target/release/hematite './<New_World>' Opening "/home/abas/.minecraft/versions/1.8.8/1.8.8.jar"... File "/home/abas/.minecraft/versions/1.8.8/1.8.8.jar" contains 5597 files. Extracted 3085 files. thread 'main' panicked at 'called Result::unwrap() on an Err value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', libcore/result.rs:1009:5 note: Run with RUST_BACKTRACE=1 for a backtrace.

Simon-Laux commented 5 years ago

Duplicate of #274 ?

rswalkden commented 5 years ago

I'm new to the project but got it working in a linux VM no problem (lubuntu 18.10). I think your problem is "<New_World>" should be replaced with the name of existing save. So far as I'm aware this project doesn't support generating new worlds.

EDIT: I left the save file in ~/.minecraft/saves/ rather than copying to the hematite director, which may have some thing to do with it.