Code Monkey home page Code Monkey logo

gdclone's People

Contributors

opstic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

adyagmd dntuan92

gdclone's Issues

Panic on X11 due to icon size

On Linux X11, starting the game fails due to the icon size (assets/branding/icon.png)

2023-07-20T04:30:42.813272Z  INFO bevy_winit::system: Creating new window "GDClone" (0v0)
2023-07-20T04:30:42.813407Z  INFO winit::platform_impl::platform::x11::window: Guessed window scale factor: 1
2023-07-20T04:30:42.842178Z  INFO gdclone::discord: Initializing Discord integration...
2023-07-20T04:30:42.842337Z  INFO gdclone::discord: Waiting for Discord handshake...
2023-07-20T04:30:42.890577Z  INFO bevy_render::renderer: AdapterInfo { name: "AMD Radeon RX 560 Series", vendor: 4098, device: 26607, device_type: DiscreteGpu, driver: "AMD open-source driver", driver_info: "2023.Q2.3 (LLPC)", backend: Vulkan }
2023-07-20T04:30:42.952812Z ERROR winit::platform_impl::platform: X11 error: XError {
    description: "BadLength (poly request too large or internal Xlib length error)",
    error_code: 16,
    request_code: 18,
    minor_code: 0,
}
thread 'main' panicked at 'Failed to set icons: XError { description: "BadLength (poly request too large or internal Xlib length error)", error_code: 16, request_code: 18, minor_code: 0 }', /home/oatmealine/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.28.6/src/platform_impl/linux/x11/window.rs:1008:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `gdclone::setup`!
Encountered a panic in system `bevy_app::main_schedule::Main::run_main`!

Resizing the image to 128x128 and retrying seems to avoid this:

2023-07-20T04:32:06.890984Z  INFO bevy_winit::system: Creating new window "GDClone" (0v0)
2023-07-20T04:32:06.906202Z  INFO winit::platform_impl::platform::x11::window: Guessed window scale factor: 1
2023-07-20T04:32:07.117290Z  INFO gdclone::discord: Initializing Discord integration...
2023-07-20T04:32:07.117422Z  INFO gdclone::discord: Waiting for Discord handshake...
2023-07-20T04:32:07.243918Z  INFO bevy_render::renderer: AdapterInfo { name: "AMD Radeon RX 560 Series", vendor: 4098, device: 26607, device_type: DiscreteGpu, driver: "AMD open-source driver", driver_info: "2023.Q2.3 (LLPC)", backend: Vulkan }
2023-07-20T04:32:07.320909Z  INFO gdclone::loader::gdlevel: Loading save
2023-07-20T04:32:07.764659Z  INFO gdclone::discord: Successfully connected to Discord

...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.