RetroFE forums

General Category => General Discussion & Help => Topic started by: StoningtonQB on March 28, 2017, 04:05:38 AM

Title: Using menu.txt
Post by: StoningtonQB on March 28, 2017, 04:05:38 AM
I'm just getting started with RetroFE but for the life of me I cannot figure out how to use menu.txt to point to my games. My ROM folder has the typical suffixes at the the of each ROM (for example, (U) [!]) and turning off these features in settings.conf doesn't seem to eliminate them. So every ROM has the designations at the end. What would be a one-line example for a ROM in menu.txt that would point to my files:

For example:
688 Attack Sub (UE) [!] I would want displayed as:
688 Attack Sub
with as much additional information as possible. Can someone help?

I had this:
    <game name="688 Attack Sub (UE) [!]" index="true" image="6">
      <description>688 Attack Sub</description>
      <cloneof/>
      <crc>F2C58BF7</crc>
      <manufacturer>Sega</manufacturer>
      <year>1991</year>
      <genre>Simulation</genre>
      <rating>HSRS - GA (General Audience)</rating>
      <enabled>Yes</enabled>
   </game>
but that does not work.
Title: Re: Using menu.txt
Post by: Agent47 on March 28, 2017, 04:46:35 AM
The menu.txt file is where you list subcollections, not anything related to roms. You need to set the list.path in the system's settings.conf to your rom path and set the extensions to the extensions of your rom files in order for RetroFE to generate the game list for that system.
Title: Re: Using menu.txt
Post by: Pieter Hulshoff on March 28, 2017, 09:00:08 AM
Agent47 is correct. menu.txt is intended to create a list of collections, not a list of games. In order to create a list of games you require the following:
1. The correct path (can be the default path) and extension settings in the settings.conf of your collection.
2. A corresponding XML file in the meta/hyperlist directory for the extra information like year, manufacturer, etc. (if you want that information shown by RetroFE)
3. The roms in the path you specified (can be the default roms path).

For more options, please read the manual.
Title: Re: Using menu.txt
Post by: StoningtonQB on March 29, 2017, 02:40:39 AM
Yes, I have read the manual. I'm not having a problem linking to the games, it's just that they all have the unwanted suffixes at the end. Do I have to rename all of my ROMs? I tried setting the parenthesis and brackets to false (or no) in the settings.conf but it didn't change the way they show up in the collection.
Title: Re: Using menu.txt
Post by: Pieter Hulshoff on March 29, 2017, 06:30:18 AM
You can remove those suffixes by setting the following parameters in your RetroFE settings.conf file:
showParenthesis = no
showSquareBrackets = no
Title: Re: Using menu.txt
Post by: StoningtonQB on March 30, 2017, 02:18:02 AM
Yes, I have already done that. They still appear in the list.
Title: Re: Using menu.txt
Post by: Pieter Hulshoff on March 30, 2017, 06:38:15 AM
Yes, I have already done that. They still appear in the list.
Are you still using menu.txt to list your games? If so: don't. 😀

Please upload your log.txt so I can take a look.

Sent from my SM-G920F using Tapatalk

Title: Re: Using menu.txt
Post by: StoningtonQB on March 30, 2017, 10:44:50 PM
I deleted menu.txt
log.txt is attached
Funny thing is, Arcade ROMs list great. Proper names, year, Manufacturer
But Genesis ROMs have the annoying suffixes
Title: Re: Using menu.txt
Post by: ryuuji on March 30, 2017, 10:56:36 PM
You are using a old version  0.6.169 ...
get the latest version 0.7.21b1 from here http://retrofe.nl/SMF/index.php?topic=88.15
Title: Re: Using menu.txt
Post by: StoningtonQB on March 30, 2017, 11:30:59 PM
My virus scanner goes nuts over this file. Is this common?
Title: Re: Using menu.txt
Post by: ryuuji on March 30, 2017, 11:33:19 PM
probably just a false positive kind of thing  :-\
Title: Re: Using menu.txt
Post by: StoningtonQB on March 30, 2017, 11:38:30 PM
Seems to be worse now. I'm going to download the full release and retest.
Title: Re: Using menu.txt
Post by: StoningtonQB on March 31, 2017, 01:22:35 AM
OK after wrestling with my Anti-Virus for a while, I finally got my configurations set up and I'm still having the same problem. I can play the games, but they still have the suffixes at the end. Arcade ROMs not a problem. This is only happening with Genesis. I have not tried setting up any other consoles yet. This is upon a fresh install of a full release.
Title: Re: Using menu.txt
Post by: StoningtonQB on March 31, 2017, 02:17:14 AM
Is there an xml file I can create with the information from my first post?
Title: Re: Using menu.txt
Post by: Agent47 on March 31, 2017, 04:23:53 AM
The meta data is pulled from the xml files in the RetroFE/meta/hyperlist directory. The Sega Genesis.xml inside that directory is what you would modify to change any info for your Genesis games if that's what you're asking.
Title: Re: Using menu.txt
Post by: Pieter Hulshoff on March 31, 2017, 06:57:28 AM
Please ignore my previous reply (deleted); I wasn't entirely awake yet. :)

The problem appears two-fold:
1. Your rom name does not match the name in the XML file, so RetroFE cannot pull in the correct information.
2. RetroFE appears to ignore the bracket settings when it cannot pull in the correct information.

That last one is for me to look into. With regards to the first one: either change the meta XML, rename the ROM, or download a matching rom set (Hyperspin 1.0 set). That last one's probably the quickest way to get a matching set.

Edit: I just checked 1, and the replacement code is indeed only in the meta database info pull; there's a todo comment left there by Emb indicating that it should be placed in other places as well for exactly the above problem. Guess I'll fix that soon. :)
Still, it's wise to get a matching rom set so you can also use all the other information available in the meta XML file.

Edit: I have a local fix for 2; I'll release it after some more testing.
Title: Re: Using menu.txt
Post by: StoningtonQB on April 05, 2017, 03:26:12 PM
Ther location of the XML file was the key for me. Also to save time renaming all files in the XML I downloaded Hyperspin collections as suggested.

Since then I have put together quite a few collections, mostly converted from Hyperspin collections, but with 3D box art added whenever possible as well as changes to the XML.

I would like to upload these collections someplace because they are RetroFE and not Hyperspin, for others to use and test. For example, in my Super Nintendo collection, surely there must be a video or two that does not play when you hover over that particular game. So it would be nice to get some feedback regarding what works and what doesn't. So far I have put together:

Mame
Atari 2600
Atari 5200
Atari 7800
Nintendo
Famicom Disk System
Super Nintendo
ColecoVision
Intellivision
PC Engine
TurboGrafx-16
Sega SG-1000
Sega Master System
Sega Genesis

These include full ROM sets, videos, logos, box art (mostly 3D), emulators, cartridge art (on some), device pictures, and story and info.txt for Aeon Nox.

All I need is a place to host. Would be OK for this?
Title: Re: Using menu.txt
Post by: Pieter Hulshoff on April 05, 2017, 03:53:26 PM
While I appreciate the offer, I cannot allow this here. Distributing the roms is illegal under copyright law in most countries, and unless you created the art you'll probably land yourself into trouble with the people that created it (possibly HyperSpin and EmuMovies, in which case they'll probably end your membership and access to their FTP sites).

The story files would certainly be welcome; I can host them from the RetroFE server along with some other sets I've got complete. For the art you should consider distributing the sets via the groups that created them. As an example, I have complete art sets (including story files) for multiple systems available via the EmuMovies FTP site, since that's where most of the files originated from. You could even upload them there for me to take a look at; I have scripts available to test if system art is complete or not.
Title: Re: Using menu.txt
Post by: StoningtonQB on April 05, 2017, 04:21:19 PM
How about I strip the ROMs out of the collections? Or possibly a text file of the ROM collections? As far as the art goes I would give full credit?
Also I need to clarify, story.txt only for the main menu. I have stories for the games but those I just got from your zip file so I am sure you would not be interested in that.
Title: Re: Using menu.txt
Post by: StoningtonQB on April 05, 2017, 04:25:09 PM
Hmm I should probably mention that I have never connected to this FTP site. Everything I have cobbled together have been from random corners of the Internet without creating any accounts. Also I do not want any money or recognition for this. This is mainly to get my own house in order, and if it helps others then great.
Title: Re: Using menu.txt
Post by: Pieter Hulshoff on April 05, 2017, 05:34:01 PM
You can certainly put the material on a Google Drive or MEGA account. I'd advise against uploading the roms though. 😀

My MAME set is also available on a MEGA account, and that works quite well.

Sent from my SM-G920F using Tapatalk