pedropicapiedra Posted September 5, 2021 Posted September 5, 2021 Hi I was using a programa to build a xml database from a dat file, not sure if it was because of the amount of roms but the xml had some mistakes like the end tag. what do you recommend for this task?
pedropicapiedra Posted September 6, 2021 Author Posted September 6, 2021 I think it's solved. I downloaded .dat file from no-intro for Nintendo Entertainment System, then I made some changes. I added this header to the file clrmamepro ( name "Nintendo - Nintendo Entertainment System" description "Nintendo - Nintendo Entertainment System" header "No-Intro_NES.xml" version XXXXXXXX comment "no-intro | www.no-intro.org" ) Then with notepad++ I replaced this RegEx string: ^.*<game name=(.*)>\r\n.*<description>(.*)</description>\r\n.*<rom name=(.*) size="(.*)" crc="(.*)" md5="(.*)" sha1="([^"]*)".*/>\r\n.*</game> by this one: \r\ngame \(\r\n\tname \1\r\n\tdescription "\2"\r\n\trom \( name \3 size \4 crc \5 md5 \6 sha1 \7 \)\r\n\) Making look this: Into this: I had to delete the first and last tag <datafile> but I think that's pretty obvious. Now the .dat file can be used by Dons HyperSpin ROM Renamer.exe and probably other programs.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.