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

Core path in arc files #45

Open
eubrunosilva opened this issue Mar 1, 2020 · 13 comments
Open

Core path in arc files #45

eubrunosilva opened this issue Mar 1, 2020 · 13 comments

Comments

@eubrunosilva
Copy link

Hi

i already know that we cannot insert full path for rbf in arc files.

but its possible to firmware to check in current folder and also in root folder. Example:

for mcr3mono I have:
Arcade/*.arc and .rom
Arcade/Alternatives/Rampage/
.arc and .rom
Arcade/Alternatives/Sarge/
.arc and *.rom

if I must have rbf in arc folder i must have a copy of rbf in each folder
but if I could have the rbf in root folder, I only need one rbf in root folder (this way is easy to maintain)

Thanks

@gyurco
Copy link
Contributor

gyurco commented Mar 4, 2020

Fallback to the root is possible, but don't know if it wouldn't be confusing.

@eubrunosilva
Copy link
Author

ok. think about it.

me for and other would improve organization (i know its against what i was asking not to have cores in root but i prefer to have cores in root and only have one rbf than several :) )

thanks

@gyurco
Copy link
Contributor

gyurco commented Mar 4, 2020

And why is it good to separate the mods from the main ROMs? If you create a Ramapage folder, then you can put all the ROMs and ARCs there, including the official and the modified ones, too.

@eubrunosilva
Copy link
Author

yes but the goal (at least mine) is to have all "oficial/parent" games in one folder, and the hacks/versions of the games in others

@gyurco
Copy link
Contributor

gyurco commented Mar 5, 2020

That's ok, everyone have his/her own view. Including me, which says I'm not sure it should be done this way :)

@jotego
Copy link

jotego commented May 24, 2021

Could you give this a second thought, Gyurco? A common folder for ROM files is certainly useful for development. It lets you have different RBF files in different folders, each folder can have a copy of the same ARC file. But the heavy .ROM files are all kept in a common place, say /ROM.

The default can be to check in the current folder, and if that fails, look in /ROM.

The use case is this:

-You have a new bug, introduced by some change in the code
-You can build the core at different commits, and store each one in its own folder
-You can start each core from its own subfolder, the large ROM files are kept in a single location. You can find the commit that broke the code this way

Of course, some users would just like this because it's easier to have all ROMs together and then they can have different folders that organize ARC files in different ways

-Alphabetical
-Genre
-Year
-Etc.

@gyurco
Copy link
Contributor

gyurco commented May 24, 2021

The default can be to check in the current folder, and if that fails, look in /ROM.

As I wrote on the forum, this is already in place (/ROM is the root here).

@jotego
Copy link

jotego commented May 24, 2021

I have verified that behaviour just now. It falls back to the root folder. That's good enough for development.

@jotego
Copy link

jotego commented Nov 2, 2023

Maybe this one can be closed...

@jotego
Copy link

jotego commented Apr 13, 2024

Checking on this again, the ROM file gets loaded from the root folder but the RBF file is only checked in the folder where the ARC was called from. Could we have the firmware check the root folder for the RBF too?

I'd like to be able to replicate the MiSTer core display of main sets and then alternative versions in an alternatives/game-name/many ARC. Having the ROM and the RBF at root is no problem because you can always hide them using the file attribute. But having to duplicate the RBF is not great.

Could you consider supporting RBF load from root when the ARC is not at root?

@gyurco
Copy link
Contributor

gyurco commented Apr 13, 2024

It's possible to add root as a fallback option. Or a preconfigured directory...but then another config option to remember. Maybe root is enough.

@jotego
Copy link

jotego commented Apr 13, 2024

Yes, root should be enough.

@gyurco
Copy link
Contributor

gyurco commented Apr 13, 2024

Here's a firmware for SiDi128 to try.
firmware-sidi128.zip

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