Jump to content
(Public Beta) HyperSpin 2 is now available for everyone ×

HyperROM2XML EX Plus Alpha


Recommended Posts

Posted

Thanks for this software! I have only one question:is there a way to add the year & manufacturer to the xml?

  • Replies 67
  • Created
  • Last Reply
  • 4 weeks later...
  • 2 weeks later...
Posted
Solved!!!!!!!!!!

After much digging and staring at xml files I was thinking there is something odd going on, so I took my naomi game list and pasted into the N64 list and it worked! So I though there had to be some hidden control codes and I finally found it! I dunno how it happened but in the Naomi list had CR (Carriage Return) ONLY after each line. The N64 had CRLF (Carriage Return+Line Feed) after each line.

I used Notepad++ to view | Show Symbols | Show All Characters

Basically the .XML needs to only have CRLF after each line not just CR.

now the program reads the file fine. I'm sure this is a bug but now I know how to work around it and I wanted to pass it along to you all.

Thanks for that DR9, well done mate. I'll fix it up in the source and recompile and have 1.5 uploaded today sometime.

Of all the things I've lost,

I miss my mind the least...

Posted

**EDIT** Nevermind, this is a problem with HyperLaunch not including the space, when used as an Executable launch the space is included from the XML file.

One thing I ran into, which is somewhat my fault, but needs to be pointed out. I added a completely new wheel to open pdf files, unfortunately they were poorly labeled and I had to batch edit the file names. Some of the file names wound up ending with a space at the end, for example "filename .pdf" When running the HyperROM2XML script it would truncate that space on the end of the file name causing HyperLaunch to not be able to find the file to open, as it looks for "filename.pdf" Once the space was deleted, everything worked fine.

  • 1 month later...
Posted

I have my psx roms in the following format each is a directory that each contain a bin and cue. The bin is the same name as the folder. So, HyperLaunch will open them correctly. My problem is now i need to create the database xml file. I have used this Rom2Xml for other games in past and it works great. Problem here is each is a directory so when I point it to the folder with all the directories it just finds nothing. I know I can zip everything up than point it to the file and run then delete the zip files. Just wanted to see if better alternative. Zipping everything would take few hours.

Posted

found a nifty one:

XML Files are written with the wrong entity for the character "&".

The entity for "&" in XML 1.0 is "&"

this is troublesome for those who use 3rd party HS tools like "Hyperspin XML Bidoilleur" or "Hyperspin Checker" e.g.

likely to have this one fixed?

thanks in advance

Alex

  • 2 months later...
Posted

I am now running in to the same issue that Tweed mentions above. Any ideas on how to use any tool to do what he mentions above?

"I have my psx roms in the following format each is a directory that each contain a bin and cue. The bin is the same name as the folder. So, HyperLaunch will open them correctly. My problem is now i need to create the database xml file. I have used this Rom2Xml for other games in past and it works great. Problem here is each is a directory so when I point it to the folder with all the directories it just finds nothing. I know I can zip everything up than point it to the file and run then delete the zip files. Just wanted to see if better alternative. Zipping everything would take few hours.:

Posted

Hi Aphexdash, just wanted to say I used this for the first time the other day and it worked great. I also have a small request, is it possible for you to add another tab that allows roms to themes capability, that is copy roms across that match what themes I have in my theme directory. This would be really handy feature for people setting up Hyperspin on small hard drives or USB flash drives.

Anyway great tool.

  • 4 months later...
Posted
** Updated to 1.5 [26NOV2011]**

1.5 New Features [26NOV2011];

* Fixed the CR/CRLF Problems found by DR9

HyperROM2XML should now accept either Carriage Return and/or Line Feed XML's.

* New commandline mode, suggested by bravo911

HyperROM2XML can now be run as a commandline program. Here's a the output from "HyperROM2XML.exe -help" when run from the commandline;

1.4 New Features [19FEB2011];

* Fixed the Tab/Indent problem

HyperROM2XML should now correctly accept an XML even with Indentation or Tabs.

1.3 New Features [03APR2010];

* Convert a Directory of Roms into a HyperSpin XML (Now with Added MAME Support!)

ROM2XML.png

The "Is MAME" option reads a MAME.EXE file and grabs the Description for each ROM. So instead of using the Rom Name for the Description and Name, it uses the Description MAME.EXE gives, ie./

Is MAME Checked (Remove Tags Checked)

_______________________________________________

rom name = sfa2

description = Street Fighter Alpha 2

_______________________________________________

Is MAME Checked (Remove Tags Unchecked)

_______________________________________________

rom name = sfa2

description = Street Fighter Alpha 2 (Euro XXXXXX)

_______________________________________________

Is MAME Unchecked (Remove Tags Checked)

_______________________________________________

rom name = Super Mario Kart (USA)

description = Super Mario Kart

_______________________________________________

Is MAME Unchecked (Remove Tags Unchecked)

_______________________________________________

rom name = Super Mario Kart (USA)

description = Super Mario Kart (USA)

_______________________________________________

Take a HyperSpin XML + a Directory of Roms and Copy the HyperSpin Compatible Roms to a new Directory.

(It will list how many were successful and create a MISSING.LOG to tell you which files it couldn't find)

XML2ROM.png

* Will also save your current settings to registry, saving you time when you reload the program. [Thanks shimoda]

* Added MAME Support using external MAME Executable.

* XML2ROM Will also work for Themes, Boxart and others based on a HyperSpin XML. [Thanks shimoda]

Downloads: (Requires .NET 2.0)

Binary (1.5)

Source Code (1.5)

Hi all,

First contribution and post to the forums! :)

Must say i'm loving HyperSpin and thought i could help everyone out here aswell. I was looking for a rom2xml utility to xml up my pinball tables etc. Well looked like there was none that supported searching sub directories... However Aphexdash did include the source code to his application HyperROM2XML which i only expanded on that to include sub dir support. Thanks. Check out the attachements for the latest version (1.6) with sub dir support. Included is the source also as well as the app. Command line sub dir support and also the win application (just check the check box - Incl SubDirs).

Just finished my first cab and it's coming along nicely, just glass and marquee to go. :)

Cheers,

Shane

HyperROM2XML_1.6_bin.zip

HyperROM2XML_1.6_src.zip

  • 3 weeks later...
  • 5 weeks later...
Posted

I have a weird problem. I use HyperROM2XML a lot, it always works fine.

However, today I tried to rebuild my MAME database, only to get a 1kb xml file, that only contains the following:

<?xml version="1.0"?>
<menu>
</menu>

Earlier this morning, I built a Sega Master System database with no problem, and yesterday I built the MAME database just fine. I have no changed the executable nor the roms, just wanted to make a new xml for analysis.

UPDATE

I've been experimenting with this, and the problem seems to be the MAME rom folder. With every other rom collection, it works fine. It even works fine with THE SAME ROM LIST but merged, which I've set apart for torrenting.

What gives?

FINAL UPDATE

I gave up, deleted my problematic roms folder and redirected mame to my working merged rom folder. I guess we'll never know.

Posted

This is killing me , i have all the artwork and all the files i need to create my whole hyperspin front end, along with movies etc etc, however the roms dont have any tags like usa or jap or whatever , and ive tried everything i can to sort this out, simply because in order for the xml files to recognise the game so i can play them and also because the movies must also have the same name and tag or extension.

another words i would have to rename litteraly thousands of roms by hand.

im totaly lost and dont know what to do from here on, can anybody help me at all please

  • 3 weeks later...
Posted

Ability to sort the output XML would be nice

Ignore that. Looks like HS does it

HyperPin Manager | HyperSpin Manager | HyperSpin Checker | HyperSpin Renamer

ASRock Z77 Extreme4 MB | Core i5 3570K | Coolermaster Hyper212 EVO CPU cooler | 16GB RAM | OCZ Vertex 4 128Gb SSD (Windows 8) | OCZ Vertex 4 256Gb SSD (HS and all emulators and media) | Gigabyte GTX670 2Gb video card | 27" ASUS LED monitor | 650W Corsair PSU

  • 1 year later...
  • 7 months later...
Posted

It's probably mentioned somewhere in the previous six pages, but this program puts in plain ampersands (&) from your file names into the database, which causes an error in HyperLaunch. You have to do a find/replace in a text editor for & to be replaced by &

If other characters are causing you errors, look up their HTML codes and replace them as well.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...