Skip to content

Could not load dynamic lib: /rodir/filesystem_stdio.so. #2

@enzo-quirici

Description

@enzo-quirici

Description

When trying to run CS1.6 Browser, I get the following errors in the browser console:

Error: Could not load dynamic lib: /rodir/filesystem_stdio.so
raw.js:1 Error: /rodir/filesystem_stdio.so: file not found, and synchronous loading of external files is not available
raw.js:1 [22:26:55] Can't initialize any renderer. Check your video drivers!
raw.js:1 Uncaught (in promise) Infinity

This happens even when running on:

  • Ubuntu 24.04, Chrome and Firefox with GPU drivers
  • Windows 11, Chrome with GPU drivers

Steps to Reproduce

  1. Clone the repository modesage/cs1.6-browser.
  2. Serve the project using npx serve -p 8080.
  3. Open the browser and check the console.

Expected Behavior

The game should load in the browser and initialize the renderer correctly.


Actual Behavior

The errors above appear and the renderer fails to initialize.


Environment

  • CS1.6 Browser repository: latest commit
  • Node.js version: 20.x
  • Browser: Chrome, Firefox
  • OS: Ubuntu 24.04, Windows 11
  • GPU drivers installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions