-
-
Notifications
You must be signed in to change notification settings - Fork 126
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
Attract Mode (overview and missing) #23
Comments
Glad you like it.
Hope that helped. |
Thanks for the quick replay , so:
"romlists" - "c64" - "1,000 Kung Fu Maniacs.cfg" - and inside the file:
So , Skyscraper is creating a "db.xml" file and inside is appending the description but not creating the "romname.cfg" file.
|
Ah, I think I understand now. You'll have to excuse me, I don't use attractmode myself, so I have little knowledge of it. No, Skyscraper currently doesn't use the descriptions when using attractmode. I will add it to the roadmap for a future version. |
So, I've implemented this on master now. But it is completely untested. Is it possible that you can test it out if I give you a description on how to compile the master branch? It's quite simple. Let me know if you are willing to help out with this. |
Yes sure , I´ll try tonight , I have a Lubuntu build. |
I´ll paste an example of a working .cfg file for an Arcade game , "3 Count Bout" The file should be named:
Text inside:
|
Perfect, that is what I've made. It will update/create the cfg files in a subfolder of the romlists folder which is called the same as the emulator file. Be aware that this requires the romlists folder to be writable by Skyscraper, but it should already be since it saves the romlists in there. To compile the master branch, enter each of the following commands: Nothing special is needed to enable the creation of the cfg files. It will create one for any game that it finds a description for. Let me know how it goes. |
I just did some quick testing myself just by creating the attract mode emulator and romlist folders manually, and it seems to work as you requested. Looking forward to hearing your results. |
Just added code that appends or changes the current "overview" key line in the cfg file. So if the file already exists, it will update the overview already in the file. If no overview line is found, it will append it. And if the file doesn't already exist, it will create it and append the overview line. |
Hi again: I have compiled the last version with your instructions:
Skyscraper v2.4.6 by Lars MuldjordSkyscraper looks for compatible game files in the input directory. It fetches media files and other relevant information for the games. It composites game art from the recipe at '~/.skyscraper/artwork.xml' and lastly builds a game list file for use with the chosen frontend. Please check the documentation at 'https://github.com/muldjord/skyscraper' for a detailed explanation of all features. Launching with this command:
`#204/266 (T4) Pass 1 ---- Game 'Alien (Argus Press Software + Mind Games) (Europe)' found! :) ---- Description: () Elapsed time: 00:10:08 It only creates a "C64" folder inside '/home/lubuntu/.skyscraper/media/c64/media' but is empty. |
With that command, it should create the folder: '/home/lubuntu/.skyscraper/media/c64/c64' (notice twice 'c64' since you added that manually to the romlists folder which is set with -g) and put the cfg files in there. EDIT: I'm curious, why are you setting the folders inside the .skyscraper folder instead of using the default attractmode folders? (.attract/romlists and .attract/emulators). Is it because of the testing? Lastly, I'm unsure if the ' you put around the options are messing things up. I would not use those unless the option has spaces which would only ever be relevant for folder and filenames. |
Tried with a more simple command: `Skyscraper -p c64 -s thegamesdb -i /home/lubuntu/Escritorio/C64T -f attractmode -e c64Running Skyscraper v2.4.6 by Lars MuldjordLooking for emulator cfg file: Platform: 'c64' Looking for optional 'priorities.xml' file in local db folder... Found! Folder '/home/lubuntu/Escritorio/C64T/media/flyer' doesn't exist, trying to create it... Success! Folder '/home/lubuntu/Escritorio/C64T/media/snap' doesn't exist, trying to create it... Success! Folder '/home/lubuntu/Escritorio/C64T/media/wheel' doesn't exist, trying to create it... Success! Folder '/home/lubuntu/Escritorio/C64T/media/marquee' doesn't exist, trying to create it... Success! Starting scraping run on 26 files using 4 threads. The reason because a set folders manually is because my attract mode build is running on a w8.1 machine. |
Did it work? |
Nop , just create the "folder" but not the .cfg files. |
EDIT: Let me just work on this a bit longer, I have a fix in mind. I'll get back to you. |
Ok, I've committed a fix. Please run the following:
Then rerun the command Let me know how it goes. |
You are the man! Awesome , is working like a charm 👍 |
Fantastic! Please let me know how it goes. If you don't run into problems, I'll call this feature "done". |
Ok tested and works perfectly , almost 2500 overview.cfg files created for Commodore 64. PD. Have you ever asked "segaretro" , to add this website , is the best sega database ever. |
Great! I'll mark the feature as "complete". Just had a quick look at sega retro, but they don't appear to have an api, so that's a no-go because of that alone. If you are aware of an api for it, let me know. |
I love this project but I´m missing a couple of things I don´t know how to do:
1 - Using the "Attract Mode" option I see the tool reading game descriptions and it´s appending all of them into the db foder but doesnt create the "romname.cfg" files to use then on the frontend.
Is there any option to do this?
2 - "Attract Mode" option too , is there any option to append all the missing scrapped roms at the end of the "emulator.txt" .
I mean it creates a "missing.txt" file but it inst well formatted to be used with attract mode.
So you need to append it manually to the "emulator.txt" , replacing rom extensions and adding tons of ";"
The text was updated successfully, but these errors were encountered: