Jump to content
LaunchBox Community Forums

Pro Tips: Complete "Arcade" meta data in quick time.


jayjay
 Share

Recommended Posts

So... you have just completed your 10th platform in LB. All the meta data has been added. All video's and images are complete. Up next your "arcade" platform and OMFG... thousands of games, missing images, missing video's and missing a ****  load of meta data.

 

Here's some pro tips to complete this in double quick time.

 

Tip 1:

If it looks Chinese, delete it.

This also applies for titles you cannot pronounce.

 

Tip 2:

Ratings:

Open your arcade.xml in notepad. Launchbox\Data\Platform\Arcade.xml

rating.thumb.png.42d92f3cb08e6c4b9d646dbb377559aa.pngUse the replace all feature in notepad.

Replace = <Rating />

Replace with = <Rating>E - Everyone</Rating>

 

If kids are playing games they shouldnt, who cares. Their parents are probably passed out on the floor pissed anyway.

Ratings done.

 

Tip 3:

Region:

In notepad use replace all feature.

 

region.thumb.png.5ca7f0fae7f990e94d4779253dbbb76d.pngReplace = <Region/>

Replace with = <Region>World</Region>

Since the introduction of the world wide web, anyone can download mame. Its available world wide.

Region done.

 

Tip 4:

Genre:

If the game title includes the word mahjong or mahjong or even if its mahjong, then its safe to say its a puzzle game, otherwise...

genre.thumb.png.f34eb98d5d8273841590098e1b6b1943.pngits an action game.

Genre done.

 

Tip 5:

This one is quite simple...

date.thumb.png.57e0385b6fce159be4d4ab171f0e119f.pngReplace = <Date />

Replace with = <Date>1990-01-01</Date>

Done

 

Tip 6:

Notes:

If your missing game notes...

notes.thumb.png.aaa711f9fd1fb9058129ba268b60ccc3.pngReplace = <Notes />

Replace with = <Notes>Made for the arcade</Notes>

Notes done

 

Tip 7:

Developer and publisher:

Now im quite proud of this one:


fileselectfile, xml

dev := []
pub := []
data := []

xml2 = %xml%

fileread, xml2, arcade.xml

loop, parse, xml, `r, `n
{
	IfInString, A_LoopField, <Publisher
	{
		IfInString, a_loopfield, <Publisher />
		{
			pub.insert("<Developer />")
		}
		else
		{
		stringreplace, var, a_loopfield,%A_Space%%A_Space%%A_Space%%A_Space%<Publisher>,
		stringreplace, var2, var, </Publisher>,
		pub.insert(var2)
		}
	}
	
}

aaa = 0

loop, parse, xml, `r, `n
{
	
	IfInString, A_loopfield, </Developer>
	{
		aaa += 1
		dev.insert(a_loopfield)
	}
	IfInString, A_loopfield, <Developer />
	{
		aaa += 1
		pubvar := pub[aaa]
			ifinstring, pubvar, <Developer />
			{
				dev.insert("    <Developer>Some Dude</Developer>")
			}
			else
			{
				dev.insert("    <Developer>" pubvar "</Developer>")
			}
	}
}

bbb = 0
loop, parse, xml, `r, `n
{
	ifinstring, a_loopfield, <Developer
	{
		bbb += 1
	}
	
	ifinstring, A_LoopField, <Developer />
	{
		ccc := dev[bbb]
		data.insert(ccc)
	}
	else
	{
		data.insert(a_loopfield)
	}
}

		
		
file2 = a.txt

file := fileopen(file2, "w")
for i, value in data
{
	file.write(value "`r`n")
}

Using this script will replace all empty developer fields with the matching publisher fields. If the publisher field is empty it will enter "Some Dude" as the developer. I take no responsibility if this f**ks your stuff up, Which it will.

Done

 

Tip 8:

Missing images and video's.

Quite simply...

delete.thumb.png.2f450dec407439fc43824d123b91d6a4.pngDelete it.

Done

 

And finally...

Tip 9:

Dont forget 90% of the people you know are PS4 owning hillbillies and probably cant read anyway.

 

And there you have it. Adding your arcade collection doesn't have to take the rest of your life. It cant take 10 years instead.

And dont forget to upload you data to the Launchbox database to share with everyone else.

 

Creating these tips has taken up a considerable amount of time. I do take donations...

 

 

 

 

 

I think im losing it, lol.

  • Like 1
  • Haha 3
Link to comment
Share on other sites

lol.

Tip 11: You dont get rich by giving refunds. 

When your customers complain that their "3 day old" seagate drive has broken down. Tell them to email the complaints department, JasonCarr@Launchbox.com. Close ebay account and set up a new one.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...