Missing closing slash in rc xml

Post bug reports and suggestions for the website, forums and DOM here.
Post Reply
gamecaptor
Posts: 210
Joined: 16 Jul 2010 06:27

Problem with recent DATs

Post by gamecaptor » 12 Feb 2017 17:25

I was just updating all of my DATs (I haven't in about 6 months) and when I load them up in ROMCENTER (I am choosing the RC DATs) it says:

-------------------------------------------------------------------------------
Warning Summary
-------------------------------------------------------------------------------

ClrMamePro warnings:

Missing forcenodump

-------------------------------------------------------------------------------
Fix Summary
-------------------------------------------------------------------------------

ROM information that was changed:

Status

-------------------------------------------------------------------------------
Fix Details
-------------------------------------------------------------------------------

And it is showing all of my dumps as green with an x on them?

Bent
Posts: 45
Joined: 27 May 2008 13:33

Re: Problem with recent DATs

Post by Bent » 13 Feb 2017 00:00

I've been having an issue too, when I try to update a RomCenter database, RomCenter throws this error:

**Error :arithmetic exception, numeric overflow, or string truncation
string right truncation
Arithmetic overflow or division by zero has occurred.
GDS Code: 335544321 - SQL Code: -802 - Error Code: 1

This happened to me on the 3DS dat. Do you get this error as well?

I tried the DS one just a second ago and it worked as it should. Were you getting this on the 3DS dat as well?

I should note, I an using the ClrMamePro dat, since RomCenter can read them. I will have to try the RomCenter one, I usually just download the CM dats since they are default.

gamecaptor
Posts: 210
Joined: 16 Jul 2010 06:27

Re: Problem with recent DATs

Post by gamecaptor » 13 Feb 2017 01:44

I just tested the DS DAT and I did get the same message but I don't have the problems with the files showing an x across them. Strange.

User avatar
xuom2
High Council
Posts: 1077
Joined: 22 May 2008 18:45

Re: Problem with recent DATs

Post by xuom2 » 14 Feb 2017 06:26

thanks! will be fixed this weekend!

User avatar
xuom2
High Council
Posts: 1077
Joined: 22 May 2008 18:45

Re: Problem with recent DATs

Post by xuom2 » 14 Feb 2017 21:51

it helps me if you mail (shippa4@hotmail.com) working dats: i will use them to see where mine are wrong.
thanks

Bent
Posts: 45
Joined: 27 May 2008 13:33

Re: Problem with recent DATs

Post by Bent » 15 Feb 2017 05:25

xuom2,
I emailed you two dats, one of them is from 1-22 and works, the other is from 2-8 and doesn't. I am not sure exactly what point they stopped working, but it is somewhere between the two.

Using RomCenter 3.7.1, I create a brand new database for each dat file. The output for each is below.

Nintendo - Nintendo 3DS (20170122-153357_CM).dat:

Code: Select all

=============================================
Welcome to RomCenter 3.7.1
Database Engine WI-V6.3.1.26351 Firebird 2.5
Template database version = 3.7002
Checking new romcenter version...
Ready
No updates found.
Copy Database template
Open new db
Loading database C:\Users\Public\Documents\romcenter\Datas\DB\Nintendo - Nintendo 3DS (20170122-153357_CM).rdt
Nintendo - Nintendo 3DS (20170122-153357_CM) database version = 3.7002
Rom mode : split
Bios mode : split
Sample mode : merged
Plugin : arcade.dll
  Import datas from [C:\Users\Public\Documents\romcenter\Datas\Nintendo - Nintendo 3DS (20170122-153357_CM).dat] to [C:\Users\Public\Documents\romcenter\Datas\DB\Nintendo - Nintendo 3DS (20170122-153357_CM).rdt]
Rom mode : split
Bios mode : split
Sample mode : merged
Import datas
Done. 1701 roms added.
6804 lines loaded
Rom mode : split
Bios mode : split
Sample mode : merged
Reindexing.
pass  1/5
Execution time: 0h 0m 0s
pass  2/5
Execution time: 0h 0m 0s
pass  3/5
Execution time: 0h 0m 0s
pass  4/5
Execution time: 0h 0m 0s
pass  5/5
Execution time: 0h 0m 0s
Rebuilding and reordering database. Please wait...
Execution time: 0h 0m 5s
Close C:\Users\Public\Documents\romcenter\Datas\DB\Nintendo - Nintendo 3DS (20170122-153357_CM).rdt
Open C:\Users\Public\Documents\romcenter\Datas\DB\Nintendo - Nintendo 3DS (20170122-153357_CM).rdt
Loading database C:\Users\Public\Documents\romcenter\Datas\DB\Nintendo - Nintendo 3DS (20170122-153357_CM).rdt
Nintendo - Nintendo 3DS (20170122-153357_CM) database version = 3.7002
Rom mode : split
Bios mode : split
Sample mode : merged
Plugin : arcade.dll
Loading gameslist
1701 games loaded.
Updating games status
Status updated for 1701 items.
Green games : 0, yellow games : 0, red games : 1701
Updating fileslist
  Query Paths list
Ready
Nintendo - Nintendo 3DS (20170208-072807_CM).dat:

Code: Select all

=============================================
Welcome to RomCenter 3.7.1
Database Engine WI-V6.3.1.26351 Firebird 2.5
Template database version = 3.7002
Checking new romcenter version...
Ready
No updates found.
Copy Database template
Open new db
Loading database C:\Users\Public\Documents\romcenter\Datas\DB\Nintendo - Nintendo 3DS (20170208-072807_CM).rdt
Nintendo - Nintendo 3DS (20170208-072807_CM) database version = 3.7002
Rom mode : split
Bios mode : split
Sample mode : merged
Plugin : arcade.dll
  Import datas from [C:\Users\Public\Documents\romcenter\Datas\Nintendo - Nintendo 3DS (20170208-072807_CM).dat] to [C:\Users\Public\Documents\romcenter\Datas\DB\Nintendo - Nintendo 3DS (20170208-072807_CM).rdt]
Rom mode : split
Bios mode : split
Sample mode : merged
Database closed
  **Error :arithmetic exception, numeric overflow, or string truncation
string right truncation
Arithmetic overflow or division by zero has occurred.
GDS Code: 335544321 - SQL Code: -802 - Error Code: 1
Ready
I have mostly been working with the 3DS dats lately. I tried updating some of the other dats too, to see if they would work. Seemed to be hit or miss.

Working:

Code: Select all

FDS
Gameboy Advance
Nintendo64
Not Working:

Code: Select all

Gameboy
Gameboy Color
I can't tell if this is the issue that gamecaptor is having or not, it doesn't seem to be, but I wondered if it was when I first saw his issue.

gamecaptor
Posts: 210
Joined: 16 Jul 2010 06:27

Re: Problem with recent DATs

Post by gamecaptor » 16 Feb 2017 00:30

Just updated two DATS, Nintendo - Nintendo 3DS (20170214-005316_RC) & Nintendo - Game Boy Advance (20170213-182849_RC), both kicked out the message below (in RomCenter). The 3DS ROMs show the green x across them, the GBA look normal.

-------------------------------------------------------------------------------
Warning Summary
-------------------------------------------------------------------------------

ClrMamePro warnings:

Missing forcenodump

-------------------------------------------------------------------------------
Fix Summary
-------------------------------------------------------------------------------

ROM information that was changed:

Status

-------------------------------------------------------------------------------
Fix Details
-------------------------------------------------------------------------------

User avatar
xuom2
High Council
Posts: 1077
Joined: 22 May 2008 18:45

Re: Problem with recent DATs

Post by xuom2 » 16 Feb 2017 07:08

RC datfiles got RC2 header to better credit datters. The upcoming version of RC will support this old format.
In the meanwhile, I am experimenting the RC3 XML format and I am still missing something. That forcenodump warning is easy to fix, it is like CM.
I will compare the working datfiles and fix mine, will let you know here.

gamecaptor
Posts: 210
Joined: 16 Jul 2010 06:27

Re: Problem with recent DATs

Post by gamecaptor » 17 Feb 2017 06:42

xuom2 wrote:RC datfiles got RC2 header to better credit datters. The upcoming version of RC will support this old format.
In the meanwhile, I am experimenting the RC3 XML format and I am still missing something. That forcenodump warning is easy to fix, it is like CM.
I will compare the working datfiles and fix mine, will let you know here.
Thank you xuom2!

User avatar
xuom2
High Council
Posts: 1077
Joined: 22 May 2008 18:45

Re: Problem with recent DATs

Post by xuom2 » 17 Feb 2017 11:34

It seems that I use a deprecated format for CM too lol.
Need recent working datfiles (outside nointro) to find my pbugs

gamecaptor
Posts: 210
Joined: 16 Jul 2010 06:27

Re: Problem with recent DATs

Post by gamecaptor » 01 Mar 2017 07:14

Just a check-in. I tried the most recent 3DS DAT, Nintendo - Nintendo 3DS (20170223-183731_RC), and the problem still exists.

User avatar
xuom2
High Council
Posts: 1077
Joined: 22 May 2008 18:45

Re: Problem with recent DATs

Post by xuom2 » 02 Mar 2017 21:58

I had no time to check :shock: but it seems I can drop the deprecated old CM and RC formats and simply adopt the XML format used in P/C section. :? :?

User avatar
romcenter
Posts: 42
Joined: 27 Jun 2008 12:00

Missing closing slash in rc xml

Post by romcenter » 05 Mar 2017 08:05

Hi

Someone reported that on the romcenter forum: the rom tag is missing the trailing slash. According to xml rules, we must have <rom name="...EF5B43" />
Is it a bug in datomatic ?
Can it be fixed ?

<game name="[BIOS] Atari 7800 (USA)">
<description>[BIOS] Atari 7800 (USA)</description>
<rom name="[BIOS] Atari 7800 (USA).a78" size="4096" crc32="5D13730C" md5="0763F1FFB006DDBE32E52D497EE848AE" sha1="D9D134BB6B36907C615A594CC7688F7BFCEF5B43">
</game>

Thanks
--
Eric

User avatar
xuom2
High Council
Posts: 1077
Joined: 22 May 2008 18:45

Re: Problem with recent DATs

Post by xuom2 » 06 Mar 2017 21:59

please try now :? :?

User avatar
xuom2
High Council
Posts: 1077
Joined: 22 May 2008 18:45

Re: Missing closing slash in rc xml

Post by xuom2 » 07 Mar 2017 07:10

I will drop both deprecated CM and RC formats, and will adopt the generic XML.
The recent output should be better (now I've checked it with datutil output). Still have to check nodump flag.

Post Reply