teeedubb Posted April 24, 2017 Share Posted April 24, 2017 Hi, Does anyone know why games names are being displayed twice on some platforms? It only seems to happen when I arrange by title, the handful of other view arrange by options I tried displayed single names. I thought it could be because of the version tag in the xml had the game name in it, but I removed them form the G+W xml and the names still display twice. <Game> <ApplicationPath>E:\emulation\roms\Game n Watch\Armor Battle.zip</ApplicationPath> <CommandLine /> <Completed>false</Completed> <ConfigurationCommandLine /> <ConfigurationPath /> <DateAdded>2017-04-03T10:37:55.3521623+10:00</DateAdded> <DateModified>2017-04-03T10:37:55.3521623+10:00</DateModified> <Developer /> <DosBoxConfigurationPath /> <Emulator>b32d056c-95aa-492e-b443-9eaa51b51273</Emulator> <Favorite>false</Favorite> <ID>165e5e13-5c8d-4051-8671-6f56f35fe6bf</ID> <LastPlayedDate>2017-04-21T14:04:11.9497084+10:00</LastPlayedDate> <ManualPath /> <MusicPath /> <Notes /> <Platform>Nintendo Game & Watch</Platform> <Publisher /> <Rating /> <RootFolder /> <ScummVMAspectCorrection>false</ScummVMAspectCorrection> <ScummVMFullscreen>false</ScummVMFullscreen> <ScummVMGameDataFolderPath /> <ScummVMGameType /> <SortTitle /> <Source /> <StarRating>0</StarRating> <Status>Imported ROM</Status> <WikipediaURL /> <Title>Armor Battle</Title> <UseDosBox>false</UseDosBox> <UseScummVM>false</UseScummVM> <Version /> <Series /> <PlayMode /> <Region /> <PlayCount>3</PlayCount> <Portable>false</Portable> <VideoPath /> <Hide>false</Hide> <Broken>false</Broken> <Genre /> </Game> <Game> <ApplicationPath>E:\emulation\roms\Nintendo 64DD\Doshin The Giant.zip</ApplicationPath> <CommandLine /> <Completed>false</Completed> <ConfigurationCommandLine /> <ConfigurationPath /> <DateAdded>2017-04-04T10:07:58.5050087+10:00</DateAdded> <DateModified>2017-04-04T10:07:58.5050087+10:00</DateModified> <Developer>Nintendo</Developer> <DosBoxConfigurationPath /> <Emulator>b32d056c-95aa-492e-b443-9eaa51b51273</Emulator> <Favorite>false</Favorite> <ID>8264599e-fefa-4626-a59d-6ba1eccc376c</ID> <LastPlayedDate>2017-04-21T12:14:59.710632+10:00</LastPlayedDate> <ManualPath /> <MusicPath /> <Notes>As a god game, Doshin the Giant's gameplay revolves around typical god-like abilities and tasks, such as altering the geography, managing natural disasters or answering prayers from simulated worshipers. Its designer Kazutoshi Iida has described it as "Populous meets Mario". The player controls the Doshin as he tries to help, or hinder the islands inhabitants. Doing so causes the villagers to release love or hate, which Doshin absorbs. The two feelings cancel each other out, but if he gets enough of one type, he will grow in size. Doshin is the Love Giant, a yellow, featureless giant with a happy face and a few strands of hair. He is a benevolent, helpful being who, with his good actions, earns love from his people and increases in size (only for that day; by the next day, he is back to normal size). He can pick up people trees and other such things. Doshin can transform at will into his evil alter ego Jashin, the Hate Giant. In the GameCube version, he has wings and clawed feet and inspires Hate monuments that are slightly different from the Love monuments Doshin can earn. Jashin is known to be a destructive force to the natives, the exact opposite to Doshin's nature. With his bad actions, people show him their dislike, and he increases in size. The only thing the two giants have in common is that both have an outie belly button. Although he cannot pick up things, he can send streams of fire across the land, destroying structures in their way. Doshin and Jashin can both raise and lower terrain.</Notes> <Platform>Nintendo 64DD</Platform> <Publisher>Nintendo</Publisher> <ReleaseDate>1999-12-01T19:00:00+11:00</ReleaseDate> <RootFolder /> <ScummVMAspectCorrection>false</ScummVMAspectCorrection> <ScummVMFullscreen>false</ScummVMFullscreen> <ScummVMGameDataFolderPath /> <ScummVMGameType /> <SortTitle /> <Source /> <StarRating>0</StarRating> <Status>Imported ROM</Status> <DatabaseID>107946</DatabaseID> <WikipediaURL>https://en.wikipedia.org/wiki/Doshin_the_Giant</WikipediaURL> <Title>Doshin the Giant</Title> <UseDosBox>false</UseDosBox> <UseScummVM>false</UseScummVM> <Version>Doshin The Giant</Version> <Series /> <PlayMode>Single Player</PlayMode> <Region /> <PlayCount>3</PlayCount> <Portable>false</Portable> <VideoPath /> <Hide>false</Hide> <Broken>false</Broken> <Genre>Strategy</Genre> </Game> <Game> <ApplicationPath>E:\emulation\roms\Nintendo DS\3-in-1 Uno AND Skip-Bo AND Uno Freefall.7z</ApplicationPath> <CommandLine /> <Completed>false</Completed> <ConfigurationCommandLine /> <ConfigurationPath /> <DateAdded>2017-03-27T22:13:06.8326339+11:00</DateAdded> <DateModified>2017-03-27T22:13:06.8326339+11:00</DateModified> <Developer /> <DosBoxConfigurationPath /> <Emulator>b32d056c-95aa-492e-b443-9eaa51b51273</Emulator> <Favorite>false</Favorite> <ID>26a6d3b9-e1c6-4f11-969f-1b90548ed37f</ID> <ManualPath /> <MusicPath /> <Notes /> <Platform>Nintendo DS</Platform> <Publisher /> <Rating /> <RootFolder /> <ScummVMAspectCorrection>false</ScummVMAspectCorrection> <ScummVMFullscreen>false</ScummVMFullscreen> <ScummVMGameDataFolderPath /> <ScummVMGameType /> <SortTitle /> <Source /> <StarRating>0</StarRating> <Status>Imported ROM</Status> <WikipediaURL /> <Title>3-in-1 Uno AND Skip-Bo AND Uno Freefall</Title> <UseDosBox>false</UseDosBox> <UseScummVM>false</UseScummVM> <Version>3-in-1 Uno AND Skip-Bo AND Uno Freefall</Version> <Series /> <PlayMode /> <Region /> <PlayCount>0</PlayCount> <Portable>false</Portable> <VideoPath /> <Hide>false</Hide> <Broken>false</Broken> <Genre /> </Game> Quote Link to comment Share on other sites More sharing options...
SentaiBrad Posted April 25, 2017 Share Posted April 25, 2017 That's the version field. Bulk Edit those games and remove the Version Field. You can turn it off, but it turns it off for all systems. For some reason, if a game doesn't have anything in brackets (sometimes even when it does), it just assumes it's version is the game name. Quote Link to comment Share on other sites More sharing options...
teeedubb Posted April 25, 2017 Author Share Posted April 25, 2017 (edited) I removed the version field for game + watch via LBs bulk edit tool, but the duplicate names still show after restarting LB. Edited April 25, 2017 by teeedubb Quote Link to comment Share on other sites More sharing options...
SentaiBrad Posted April 25, 2017 Share Posted April 25, 2017 Is the Version field refilled out for your games after restart? If it's not filled back in, try refreshing the cache. You can do that by highlighting everything like you did to Bulk Edit stuff, and then press F5. The names are cached too, and that could be it if the field is empty. 1 Quote Link to comment Share on other sites More sharing options...
teeedubb Posted April 25, 2017 Author Share Posted April 25, 2017 (edited) Thanks Brad, that did the trick. Do you know of an easy way to fix this for platforms that have roms that have a mix of version and no version in their names? Bitbucket issue: https://bitbucket.org/jasondavidcarr/launchbox/issues/2898/if-version-info-is-not-present-in-rom-file Edited April 26, 2017 by teeedubb Quote Link to comment Share on other sites More sharing options...
SentaiBrad Posted April 26, 2017 Share Posted April 26, 2017 Not really, that's when it gets hard. You can Ctrl Click several games, but that will take forever. 1 Quote Link to comment Share on other sites More sharing options...
teeedubb Posted April 26, 2017 Author Share Posted April 26, 2017 OK. I'm putting tpgether a python script to search for games with matching title and version and if so, remove the version from xml. Though from what Ive seen it wont get all of them (for some reason the title 'Def Jam: Fight for NY' has the version 'Def Jam- Fight for NY'. Not sure if ':' might not be allowed in the version field?) Quote Link to comment Share on other sites More sharing options...
teeedubb Posted April 26, 2017 Author Share Posted April 26, 2017 Brad, Would you say that legitimate version info always is enclosed in brackets? Im currently using fuzzy name matching but when I set the match ratio too low I get some undesirable results (eg 'OutRun Europe' is matched with '(USA, Europe'), while still getting proper matches. Quote Link to comment Share on other sites More sharing options...
SentaiBrad Posted April 26, 2017 Share Posted April 26, 2017 What are you using to match what to what exactly? In terms of LaunchBox, everything in brackets is completely ignored for scraping purposes, and the initial (import) scraper is set to be a bit more strict. Edit: Any respectable set will have region and version tags in brackets. Quote Link to comment Share on other sites More sharing options...
teeedubb Posted April 26, 2017 Author Share Posted April 26, 2017 I am parsing the xml, and if 'Title' info matches 'Version' info I am clearing the 'Version' info. In alot of instances where the 'Version' info equals the 'Title' I am seeing slight variances which throw out straight string matching (ie lower/upercase, missing/added/different punctuation, whole 'title' not used in 'version' etc). Yeah I know they shoud reigion and version tags, but the sets I'm having trouble with are generally put together myself or are sets when for newer systems that are not complete and thorough. But OTOH LB shouldnt be using the game name for version info if it doesnt exist. Quote Link to comment Share on other sites More sharing options...
SentaiBrad Posted April 26, 2017 Share Posted April 26, 2017 Oh yea, that's still certainly a bug, Quote Link to comment Share on other sites More sharing options...
teeedubb Posted April 26, 2017 Author Share Posted April 26, 2017 So would you say its safe to assume that any 'version' info enclosed in round brackets is legit? Quote Link to comment Share on other sites More sharing options...
teeedubb Posted April 26, 2017 Author Share Posted April 26, 2017 Incase anyone has the same issue, script is located here Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.