Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Build & Run Issues #1

Open
hansenlabs opened this issue Oct 13, 2024 · 4 comments
Open

Multiple Build & Run Issues #1

hansenlabs opened this issue Oct 13, 2024 · 4 comments

Comments

@hansenlabs
Copy link

First thanks for starting a ruffle-core. Issues may be related to rust-libretro but you are a dev there too.

OS: U20.04 retroarch; 9.15 (from OS) / 9.19 (compiled from source) - both same behavior

  1. Build Issue:
    error: failed to run custom build command for "rust-libretro-sys v0.3.2"
    libretro.h:27:10: fatal error: 'stddef.h' file not found
    --> solved by sudo apt install clang
    Option to improve by checking deps prior compile.

Registering Core works, loading core panics in
/src/core/core.rs
at line 93:
if let Err(e) = ctx.enable_vfs_interface(3) {
panic!("RETRO_ENVIRONMENT_GET_VFS_INTERFACE failed: {e}");

Retroarch crashes with:
thread '' panicked at src/core/core.rs:93:17:
RETRO_ENVIRONMENT_GET_VFS_INTERFACE failed: vfs_interface_info.interface is a null pointer

changing panic to warning in code, Core loads, but association with file extension swf does not work. It always asks me to search for suitable core for file. Tried with rust-libretro/rust-libretro-example-core by adding valid_extensions: CString::new("swf").unwrap() to SystemInfo also had no effect, not even tried to load file.

Minimal Readme including HostOS, Retroarch Version and info about working Flash example (e.g. allyourbase.swf) would be really great.

@JesseTG
Copy link
Owner

JesseTG commented Oct 22, 2024

Thanks for reporting this. ruffle_libretro was a proof of concept and isn't something I'm actively working on right now; that said, I'd like to return to it at some point when melonDS DS slows down. If I do, I will address this issue.

@metallic77
Copy link

This core would be really cool indeed if it worked.

@JesseTG
Copy link
Owner

JesseTG commented Oct 30, 2024

One of these days.

@metallic77
Copy link

metallic77 commented Nov 9, 2024

Some really cool games in flash like binding of isaac, dangerous dungeons, insidia, portal, moonkeeper etc. Really worth it with some retroarch input mapping to keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants