game id

Post bug reports and suggestions for the website, forums and DOM here.
Post Reply
User avatar
xuom2
High Council
Posts: 922
Joined: 22 May 2008 18:45

game id

Post by xuom2 » 07 Jul 2018 09:04

Adding "game id" data...

I'm thinking it was not a bad idea (suggested by Connie?) to put a GameID generic string to the "archive" table and export it to datfile as <gameid></gameid>. It may be useful for people that want to have more data in xml datfiles.

"archive" table can go directly to xml datfile. The result will be something like:

<game name="abc">
<description>abc</description>
<gameid>APCE</gameid>
<rom name="abc" size=... serial="APCE"/>
</game>

In most cases, like NDS, the file serial will be identical to archive's gameid, and duplicated in datfile. When romfiles contain no serial, gameid will be useful.

Any other additional information can go to "media" table. At the moment it's not possible to copy "media" data to standard datfile.

@SonGoku: no problem in bulk submitting archive data (<gameid>APCE</gameid>). It's more complicated to bulk submit file serial (<rom name="abc" size=... serial="APCE"/>).

hking0036
Datter
Posts: 114
Joined: 01 Oct 2016 18:33

Re: game id

Post by hking0036 » 08 Jul 2018 06:50

Jimmsu was asking for Title ID, and I think we could use this for multiple purposes.
Can we have more than one gameID field? For example, we can put in the four-letter game ID/Serial information, but also the Title ID for nintendo games which is typically 16 hex digits

Code: Select all

01004b800af5a000
for example?

Hiccup
Datter
Posts: 412
Joined: 09 Oct 2015 11:29

Re: game id

Post by Hiccup » 08 Jul 2018 08:39

I thought for CDN dats the title ID was stored in the folder structure of the archive.

norkmetnoil577
Datter
Posts: 19
Joined: 20 Aug 2016 21:30

Re: game id

Post by norkmetnoil577 » 21 Jul 2018 12:19

for PSN dats at least there are both "TitleID" and "ContentID" fields in the "Media" section of DoM, along with fields like Version and AppVersion (for updates for example) and things like Publisher, Developer, Genre

However, I think these things are kind of hidden as is and having them write directly to the datfile (if this doesn't happen already) is a great idea.

For example 007 Legends (Europe) (v1.01) (BLES01614) (Disc) (Update)
Filename EP0002-BLES01614_00-007LEGENDSPATCH1-A0101-V0100-PE.pkg
TitleID BLES01614
ContentID 007LEGENDSPATCH1
Version 1.01
AppVersion 1.00

Unfortunately for the big imports these fields were not filled for PSN but it may be possible to retroactively fill these data fields using some sort of .xml that xuom2 would process or a smart recognition based on file names. I think it's not a bad idea to keep this kind of metadata in DoM accurately.

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

Re: game id

Post by xuom2 » 23 Jul 2018 14:35

There are good news.
The upcoming update of DOM will be able to export MEDIA to Standard XML:

Image

I hope during this week to finish the tests and upload it.

Post Reply