Making premade gamelist.xml with xtra media collections
-
@used2berx said in Making premade gamelist.xml with xtra media collections:
@meleu So... my problem now with FDS synopsis is that the
Platform:
field for all of them saysNintendo Entertainment System
instead ofFamicom Disk System
.I remember I had to do that because otherwise the script would separate these games into an entirely different folder (I believe it was
fds
...)Yes, it is
fds
, as this system is named in RetroPie.You shouldn't rename Platform on your synopsis, man, but asked me to make
Famicom Disk System
synopsis content to be added to the same gamelist as theNintendo Entertainment System
.@used2berx said in Making premade gamelist.xml with xtra media collections:
Is there a way we could have the NES look for the FDS games instead of separating them?
This would be a workaround in your system, not in the script.
Do you want me to make the script spit metadata from synopsis where
Platform: Famicom Disk System
ANDNintendo Entertainment System
be the same? I can change 1 or 3 lines of code for that... -
@meleu said in Making premade gamelist.xml with xtra media collections:
@used2berx said in Making premade gamelist.xml with xtra media collections:
@meleu So... my problem now with FDS synopsis is that the
Platform:
field for all of them saysNintendo Entertainment System
instead ofFamicom Disk System
.I remember I had to do that because otherwise the script would separate these games into an entirely different folder (I believe it was
fds
...)Yes, it is
fds
, as this system is named in RetroPie.You shouldn't rename Platform on your synopsis, man, but asked me to make
Famicom Disk System
synopsis content to be added to the same gamelist as theNintendo Entertainment System
.Yeah. I know. It was a stupid thing to do. Didn't you say there was a command that you could run that could easily change that line in all of the FDS synopsis files in Linux? I mean, changing
Platform: Nintendo Entertainment System
back toPlatform: Famicom Disk System
?There are only about 100 entries, but it still took quite a while to change every one by hand. I seem to remember you saying something that there is a single command I could run that would change all of them in a few seconds. :)
@used2berx said in Making premade gamelist.xml with xtra media collections:
Is there a way we could have the NES look for the FDS games instead of separating them?
This would be a workaround in your system, not in the script.
Do you want me to make the script spit metadata from synopsis where
Platform: Famicom Disk System
ANDNintendo Entertainment System
be the same? I can change 1 or 3 lines of code for that...I'm not exactly sure what you're asking, but what I would like to see is any synopsis with either
Platform: Famicom Disk System
ORPlatform: Nintendo Entertainment System
that is found in theMedia/nes/Synopsis/
folder would only look in the/nes/
directories for the roms and media instead of/fds/
.Now that I think about it, that would probably be the best way to go. Somebody else might actually like splitting the two systems up and if they had synopsis files for the Famicom Disk System in
Media/fds/Synopsis/
then it would still make a separate gamelist for the FDS.Did I explain that good enough? I hope.... :)
-
@meleu BTW man... I sent you a message at the other place. Firefox keeps messing up my gmail account so I can't send any mail unless I uninstall and re-install it and I don't have time for that right now.
-
So I found this image:
It was 1000x1080 pixels, but didn't need all that blank space around the border so I minimized that wasted space while also keeping the removed background transparent.
Here's an example of the "labels" that I manged to snag. Not all of them include part of the cart like this... it was a really mixed bag:
Here's what the transparent label looks like when the background junk is removed:
And finally... we have our finished image. An actual FDS Disk image with the proper label for the game. :)
Can't even tell, can ya? ;)
959x1154 pixels pretty much ensures that this should still look good on a 4k TV down the road. Currently, according to one of my friends, a Pi 3 on a 1080 TV doesn't even handle images that are larger than 700 pixels on the large dimension, and these are essentially a square, so they'll probably even need to be shrunk down smaller than that to prevent lag on the Pi 3.
-
I decided I didn't like the original color of the image and that it didn't reflect the actual color of the FDS disks. I also noticed that some of the edges were rough, so I cleaned them up a bit and re-made the image for the first game restoration.
Here's the final look of the template, and what all the FDS disk images will look like in the collection.
-
@used2berx said in Making premade gamelist.xml with xtra media collections:
Didn't you say there was a command that you could run that could easily change that line in all of the FDS synopsis files in Linux? I mean, changing Platform: Nintendo Entertainment System back to Platform: Famicom Disk System?
I think you're talking abou this:
cd /path/to/FDS/synopsis/ sed -i 's/Platform: Nintendo Entertainment System/Platform: Famicom Disk System/' *.txt
Please, make a backup before running this command! I think it's perfectly OK, this warning is just to make you not blame me if something goes wrong. :-)
-
@used2berx With Carbon theme (most commonly used) @1080p the expected scrape image width is around 500 pixels (bigger images are automatically resized).
Therefore your images will look and fit nicely. -
Out of curiosity: would it make sense to simply convert the HyperSpin XML files (where matching rom sets exist), and combine those with the matching art sets from HyperSpin and EmuMovies? That would save a lot of scraping, and provide you with complete sets of high quality art.
-
@meleu Yes. I believe that's the command. No worries.... I'll back it up first. :)
@UDb23, thanks for the info. I only use SD since I'm rocking the Pi Zero and I don't have an HDTV, so it's good to hear from somebody who knows. I'm trying to build all of this with the highest quality and future expansion in mind.
@phulshof Nah, that won't work for me. No offense to HS and EM, but their "high quality" art is hit or miss, as is everbody else's. I've grabbed the highest quality NES artwork from multiple sources, as well as google image search and at this point I've touched up 500-600 images, I've made a few hundred myself and I've easily done some minor cropping to another 1,000 images to get rid of rough edges.
In total right now, including the FDS games, there is nearly 1,950 games in this collection, and the Box and Cart artwork in JPG format is 2.79GB. There is a box and a cart for every game in the collection.
Nobody has an NES artwork set that looks anything close to this good. ;)
-
@used2berx said in Making premade gamelist.xml with xtra media collections:
@phulshof Nah, that won't work for me. No offense to HS and EM, but their "high quality" art is hit or miss, as is everbody else's. I've grabbed the highest quality NES artwork from multiple sources, as well as google image search and at this point I've touched up 500-600 images, I've made a few hundred myself and I've easily done some minor cropping to another 1,000 images to get rid of rough edges.
In total right now, including the FDS games, there is nearly 1,950 games in this collection, and the Box and Cart artwork in JPG format is 2.79GB. There is a box and a cart for every game in the collection.
Nobody has an NES artwork set that looks anything close to this good. ;)
Fair enough. :) Might it be a good idea to hook up with the truRIP group then? They're currently working on creating complete sets (with planned PD distribution), and have access to high quality scans (since they own (almost) all of the games). They could provide good source material, while they could use the help in sorting out material.
-
@phulshof Yeah. I keep meaning to do that. Sorry I haven't gone over there yet. Would like to peek at their NES art just to see what they've got.
Going to be away from this for a few weeks now, but I'll join up after that.
-
@meleu Hey bud.
Going to be away from this work for a little while. Just wanted to update the script "wishlist" in case you get around to tinkering with it while I'm away.
-
Create the backup folder if it doesn't exist, and backup any gamelist.xml file before creating a new one if one of the append options isn't used on an exisiting gamelist.
-
Make option to change which artwork tag is set as
<image>
so you can switch between Box Front, Cart, Titles, Action and 3D Boxarts types after the gamelists are already made. -
Platform: Nintendo Entertainment System
andPlatform: Famicom Disk System
entries in the synopsis.txt files located in/Media/nes/Synopsis/
folder will treat these entries as if they were NES and not FDS games and look for roms and all media in the/nes/
folders instead. -
Add
<marquee>
tag to both regular and FULL operations, looking for the media in/Media/[System]/Marquee/
folders. (Search for both .JPG and .PNG).
I believe that was it at this point.
Thanks again man. This script is awesome.
-
-
@used2berx OK bro, will do it when I have a chance.
-
@used2berx said in Making premade gamelist.xml with xtra media collections:
Platform: Nintendo Entertainment System
andPlatform: Famicom Disk System
entries in the synopsis.txt files located in/Media/nes/Synopsis/
folder will treat these entries as if they were NES and not FDS games and look for roms and all media in the/nes/
folders instead.
Done! Please test it.
- Add
<marquee>
tag to both regular and FULL operations, looking for the media in/Media/[System]/Marquee/
folders. (Search for both .JPG and .PNG).
Do you really mean that dir? I'm asking because looking at the directory structure of the Xtras files I have, I would bet in a folder like
Media/[SYSTEM]/Artwork/Marquee
.EDIT: I've made the script look for marquees in
Media/[SYSTEM]/Artwork/Marquee
, tell me if it needs to change.EDIT 2:
@used2berx said in Making premade gamelist.xml with xtra media collections:- Create the backup folder if it doesn't exist, and backup any gamelist.xml file before creating a new one if one of the append options isn't used on an exisiting gamelist.
I've just added the backup feature. But currently it doesn't work as you requested, the script creates backup at the start of every execution. The backups will be placed at
used2betxt-backups/
folder. The file will be gzipped and the name will be the same as the original with a trailing time stamp. Example:megadrive_gamelist_2017-08-04_100510.xml.gz
. -
@meleu Hey bud,
Thanks for the update. I'm literally walking out the door right now so I probably won't be able to test this stuff for another 10 days to 2 weeks. :(
You were right about the
Marquee
folder. Thanks for catching that mistake.I'm sure the backup feature the way you made it is just fine. I'll let you know if I have any suggestions on it when I get back and test it out.
All that is left at this point I believe is the ability to change what artwork is displayed on the fly. I was thinking that maybe the option to turn any of the folders into a
<marquee>
tag at some point might be beneficial as well since those are now two separate image types supported for any skins that allow for two.Just because the tag says
<marquee>
, that doesn't mean that you have to use Marquee images. You could, for instance, have/Artwork/Box Front/
set as<image>
and/Artwork/Cart/
set for Marquee, and then a skin that uses both images would actually display the Box Front and the Cart image for every game while you scrolled through the list.Just an idea for the future!
Anyways.... I'll talk to you when I get back and let you know how the script tests out. Thanks again for all of your help meleu.
Stay out of trouble. ;)
-
@meleu said in Making premade gamelist.xml with xtra media collections:
@used2berx said in Making premade gamelist.xml with xtra media collections:
Platform: Nintendo Entertainment System
andPlatform: Famicom Disk System
entries in the synopsis.txt files located in/Media/nes/Synopsis/
folder will treat these entries as if they were NES and not FDS games and look for roms and all media in the/nes/
folders instead.
Done! Please test it.
I'm back, but in limited capacity for a while. :)
I basically re-wrote all of the synopsis files, and one of the "fixes" was to change all of these back to have the Famicom Disk System instead of the NES. I will update your script and re-run everything and let you know how it goes in the next few days hopefully.
- Add
<marquee>
tag to both regular and FULL operations, looking for the media in/Media/[System]/Marquee/
folders. (Search for both .JPG and .PNG).
Do you really mean that dir? I'm asking because looking at the directory structure of the Xtras files I have, I would bet in a folder like
Media/[SYSTEM]/Artwork/Marquee
.EDIT: I've made the script look for marquees in
Media/[SYSTEM]/Artwork/Marquee
, tell me if it needs to change.I'll throw some random images in a
Marquee
folder just to see if it's working. I don't actually have any marquee images, but like I said in the previous post, we could still actually make use of that tag in other ways, like displaying two images at the same time in skins that are being made to use that new tag.EDIT 2:
@used2berx said in Making premade gamelist.xml with xtra media collections:- Create the backup folder if it doesn't exist, and backup any gamelist.xml file before creating a new one if one of the append options isn't used on an exisiting gamelist.
I've just added the backup feature. But currently it doesn't work as you requested, the script creates backup at the start of every execution. The backups will be placed at
used2betxt-backups/
folder. The file will be gzipped and the name will be the same as the original with a trailing time stamp. Example:megadrive_gamelist_2017-08-04_100510.xml.gz
.I'll be sure to make backups on my PC of everything and just let it run and see what happens. I'll make any suggestions for tweaks after I see what it does. :)
Thanks again. I'll let you know when I've got a new gamelist.xml and tested it out.
-
@meleu Hey man. Sorry I haven't gotten back to you with a re-test yet. Things have been really busy for a while in RL. I've had a little time this week to get some major things done and I'm doing a lot of updates to the synopsis files for the NES.
I was wondering if I could ask for another request before I get around to a re-test. I was hoping that we could add an option to leave out the website information in the gamelist.xml entries. You probably know that every synopsis entry contains the link where the info came from. (Even better would probably be to leave the website out by default and only add it if you use an option to add them).
I don't believe that there is any way that this information could be beneficial for the end user. Maybe if there was some sort of brower functionality added to EmulationStation one day it would be cool to be able to open the links, but until then I think it would be a better presentation to leave this information out.
I like having the info in all of the files, so I was hoping that we could add some code that would eliminate the links. Maybe the best way to do it would be to finish copying the body of each file once a link has been encountered?
Thanks again man. I can't wait to try this out again once I get all of these files up to date and resize the artwork and give it a shot.
-
@used2berx can you provide an example?
-
@meleu Sure thing. :)
Murder on the Mississippi.txt
Murder on the Mississippi Original Title: Mississippi Satsujin Jiken Platform: Nintendo Entertainment System Region: Translated (Japan) Media: Cartridge Controller: NES Gamepad Genre: Text Adventure Gametype: Translated Release Year: 2017 Translated By: GAFF Translations Version: 1.00 Players: 1 _________________________ The famous detective Sir Charles Foxworth is taking a holiday on the Mississippi with his servant Regis on the Delta Princess. He's just taking a stroll around the upper deck of the ship when he discovers an open cabin door. Behind it: a dead man. As it turns out, the body of Raleigh Cartwright III. Sir Charles has three days to find the murderer, because then, the ship will reach New Orleans, giving the culprit a safe chance to escape. The joystick controls the player's sprite to move into the respective direction, and pressing the button opens a menu with appropriate commands for the current situation. Walk around, Inspect an item, or examine evidence. You will meet some characters who also happen to be suspects. Use these encounters as a fact-finding session. Take notes on what he or she has said. Share these notes with other passengers and crew members. But your first job is to find the body. Until you do, any information you gather will be of little value. Once you find the body, the other passengers will prove to be much more talkative. Collect as many notes and evidence as you can to solve the mystery. Once you think that you have it solved, make an accusation by going to the character that you want to accuse and by using the joystick, point to Talk to [character's name], and press the joystick button. Then point to Accuse [character's name] and press the joystick button. Depending on the amount of evidence collected, you will know if your hunch was right or wrong. Murder on the Mississippi has four possible endings with many variations on each one. Don't let the Delta Princess arrive to New Orleans before you solve the mystery, or the murderer will get away. http://www.romhacking.net/translations/3133/ http://www.mobygames.com/game/nes/murder-on-the-mississippi
-
@used2berx removing any line with only an URL is OK for you?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.