Code Monkey home page Code Monkey logo

Comments (3)

sergystepanov avatar sergystepanov commented on September 22, 2024

By design, each emulator has a predefined list of ROM file extensions and these file extensions can't be used with more than one emulator. So when you are trying to open zip, it opens with MAME (FBneo) core (see the config file).
Other Libretro frontends read ROMs with the help of special ROM-list files which is quite tricky to implement.

In regard to folders, I think it won't read subfolders therefore you can store games only in one folder (assets/games), and when it reads the folder, any ROMs with the exact same filenames will be skipped.

from cloud-game.

xxxsen avatar xxxsen commented on September 22, 2024

Other Libretro frontend use a config file to definite which folder should be used for emulator to load their roms, by the way, gamelist.xml is optional, they will read roms in folder when there is no gamelist.xml in folder by scanning files too.

Additionally, reading an abnormal file will cause the server panic is not a good design.

from cloud-game.

sergystepanov avatar sergystepanov commented on September 22, 2024

Other Libretro frontend use a config file to definite which folder should be used for emulator to load their roms

That's actually an interesting approach. Maybe I'll implement it later.

Additionally, reading an abnormal file will cause the server panic is not a good design.

I agree but all the crashes are expected to be handled with Docker / k8s resilience features.

from cloud-game.

Related Issues (20)

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.