smokku / soldank

Clone of Soldat engine written in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to run

gbaranski opened this issue · comments

Hi, I've got this error when trying to run:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: VfsError("Zip error: description() is deprecated; use Display")', client/src/main.rs:131:47
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Rustup version: 1.23.1
Rustc version: 1.51.0
Commit hash: 48b447b

OS: Linux

Whoa. This triggered some really ancient code.
description() is deprecated since 1.27.0, thus the meaningless error message.

Please check whether client/resources/soldat.smod is a real file (108002180 bytes) or unresolved LFS link.

image
client/resources/soldat.smod is only few bytes in size

You will need to install https://git-lfs.github.com and

git lfs fetch
git lfs checkout

I've added LFS information to README and changed the panic message:

thread 'main' panicked at 'Failed to add `/soldat.smod` file to VFS. Make sure it is a proper ZIP file.: VfsError("Zip error: description() is deprecated; use Display")', client\src\main.rs:134:47

Nice, it works, good job.
image

BTW @gbaranski , you have a very strange window size. Did you modify it somehow?

BTW @gbaranski , you have a very strange window size. Did you modify it somehow?

Yes, I can using window manager.

The window should not be resizable.
But I guess (at the screenshot) you have some kind of tiling window manager?

Yes, it is xmonad, here is a video how it looks like

2021-04-23.19-52-17.mp4