Giter VIP home page Giter VIP logo

Comments (4)

trzy avatar trzy commented on August 20, 2024

You need to find out what Supermodel's current working directory is. I don't know how EmuStation launches apps. It is entirely possible that they place the .exe in one directory but then launch it with the current working directory somewhere else. If you can find Supermodel.log afterwards and inspect it, it may give you a clue as to where the app was started from. The Config folder would need to be placed there. Currently, you can point Supermodel at a different location for Games.xml but not Supermodel.ini itself.

from supermodel.

mdeguzis avatar mdeguzis commented on August 20, 2024

Use the CLI, it should end up trying to use ~/.config/supermode/Config or something. I copied the Config files from this repo after making the dir and it seemed to list the available game compatibility fine.

from supermodel.

mdeguzis avatar mdeguzis commented on August 20, 2024

Yes, the flatpak needs to include these files, but you can fix this on your own for now:

$ flatpak run com.supermodel3.Supermodel -print-games
Supermodel: A Sega Model 3 Arcade Emulator (Version 0.3a-WIP)
Copyright 2003-2023 by The Supermodel Team
Error: Unable to open '/home/deck/.config/supermodel/Config/Supermodel.ini'. Configuration will not be loaded.
Error: Failed to parse /home/deck/.config/supermodel/Config/Games.xml (XML_ERROR_FILE_NOT_FOUND).
mkdir ~/src
git clone https://github.com/trzy/Supermodel/ ~/src/supermodel
mkdir -p ~/.config/supermodel/Config

$ cp -v ~/src/supermodel/Config/* ~/.config/supermodel/Config/
'/home/deck/src/supermodel/Config/Games.xml' -> '/home/deck/.config/supermodel/Config/Games.xml'
'/home/deck/src/supermodel/Config/Supermodel.ini' -> '/home/deck/.config/supermodel/Config/Supermodel.ini'

Now this should work fine:

flatpak run com.supermodel3.Supermodel -print-games

from supermodel.

mdeguzis avatar mdeguzis commented on August 20, 2024

I lied, I did need to set the starting directory when using the flatpak, but this was true of when I built the Linux binary as well.

from supermodel.

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.