Commit Graph

523 Commits

Author SHA1 Message Date
Matt Nadareski
208de0282b Fix SpamSum hashing 2020-09-17 23:37:42 -07:00
Matt Nadareski
1e4afb3046 Decouple stream hashing from special file info 2020-09-17 23:07:49 -07:00
Matt Nadareski
044d70da6e Consolidate some of the throws 2020-09-15 17:09:35 -07:00
Matt Nadareski
74a0c47102 Fix a few stragglers 2020-09-15 14:46:39 -07:00
Matt Nadareski
fc580c7d35 Make logging more intuitive 2020-09-15 14:38:37 -07:00
Matt Nadareski
f506915a04 Make less things use global throw state 2020-09-15 14:23:40 -07:00
Matt Nadareski
91f659dca2 Add and use ThrowOnError global (temp) 2020-09-15 12:12:13 -07:00
Matt Nadareski
f0afe33dd7 Combine some tags 2020-09-08 10:12:41 -07:00
Matt Nadareski
e34f50c464 Better shorthand, change internal naming 2020-09-07 22:57:44 -07:00
Matt Nadareski
412759a2d7 New name please 2020-09-07 22:40:27 -07:00
Matt Nadareski
d2ab6fdc05 SabreDAT now JSON-equivalent 2020-09-07 22:21:02 -07:00
Matt Nadareski
d70415b989 Add some XML serialization attributes 2020-09-07 14:47:27 -07:00
Matt Nadareski
9b6e54aeed Fix a couple AttractMode things 2020-09-07 12:58:55 -07:00
Matt Nadareski
1494e0693f Mandatory is technically numeric 2020-09-07 12:34:18 -07:00
Matt Nadareski
712f98fa32 Add and use DeviceType 2020-09-07 00:39:59 -07:00
Matt Nadareski
4538bc3932 Location number is numeric 2020-09-06 23:08:50 -07:00
Matt Nadareski
5d5520dbdd Add ControlType, fix a bunch of numerics 2020-09-06 23:00:13 -07:00
Matt Nadareski
3257908b23 Typos and such 2020-09-05 23:15:48 -07:00
Matt Nadareski
9fd8a48874 Convert Rom size field to long? 2020-09-04 23:03:27 -07:00
Matt Nadareski
5b8519bbc3 Simplification for filter 2020-09-04 21:17:06 -07:00
Matt Nadareski
4146972afe Add per-machine filtering to Batch 2020-09-04 20:57:30 -07:00
Matt Nadareski
79538095a3 Fixed extension regression for Media 2020-09-04 15:04:35 -07:00
Matt Nadareski
5f749d07a4 Add and use SpamSum for Media and Rom types
SpamSum implementation courtesy of https://github.com/aaru-dps/Aaru
2020-09-04 15:02:15 -07:00
Matt Nadareski
40ca4e39a5 Promote DataArea, DiskArea, and Part 2020-09-04 14:10:35 -07:00
Matt Nadareski
a416064bc0 Control types to long?
Interesting note that I left in the code as well, but `regbuttons` doesn't appear to be used AT ALL in the latest ListXML output. I'm not sure what its original use was or anything, so I'm leaving it as `string` for now. Note that the `ways*` values are all string with no TODO. This is because there is the possibility of "vertical*" being a valid input which would be nuked if I went to long? only.
2020-09-04 11:46:17 -07:00
Matt Nadareski
f98ffe94b1 Chip clock to long? 2020-09-04 11:20:54 -07:00
Matt Nadareski
ef414dd48b Display referesh to double? 2020-09-04 11:04:58 -07:00
Matt Nadareski
762f8dda27 All display blanking fields to long? 2020-09-04 10:57:30 -07:00
Matt Nadareski
319913a288 Display pixclock to long? 2020-09-04 10:50:08 -07:00
Matt Nadareski
de656f003a Display width and height to long? 2020-09-04 10:39:37 -07:00
Matt Nadareski
120dcd6c4a DataArea width to long? 2020-09-04 10:32:43 -07:00
Matt Nadareski
7f8766b0a4 Change display rotation to long? 2020-09-04 10:28:25 -07:00
Matt Nadareski
9c38fd82aa Sound.Channels as a number 2020-09-03 22:35:09 -07:00
Matt Nadareski
d204f8eb1f Input players and coins to numbers 2020-09-03 22:28:48 -07:00
Matt Nadareski
33908e4e72 Add and use Relation enum 2020-09-03 21:59:53 -07:00
Matt Nadareski
ad0e5a7f0f Add and use Endianness enum 2020-09-03 21:39:16 -07:00
Matt Nadareski
c7f0fbbb65 Create and use DisplayType, LoadFlag enums 2020-09-03 21:32:00 -07:00
Matt Nadareski
180dcb13d6 Fix AddRomsFromDevices 2020-09-03 20:58:10 -07:00
Matt Nadareski
5d01d4ab51 Cleanup usings, promote PartFeature 2020-09-03 13:20:56 -07:00
Matt Nadareski
40384a0dd6 All OpenMSX fields are Rom-only
This is one of the single largest reductions in boilerplate items because of the nature of the change. Unfortunately, a lot of cases won't see *too* much improvement since most DatFiles use Rom heavily.
2020-09-03 12:17:36 -07:00
Matt Nadareski
6f72416947 Value is only part of certain items
This is yet another boilerplate reduction AS WELL AS a reduction for unnecessary field names (mostly due to my misunderstanding of my own implementation)
2020-09-03 11:48:30 -07:00
Matt Nadareski
47c2c1d227 Part is only part of DipSwitch, Disk, and Rom 2020-09-03 11:19:06 -07:00
Matt Nadareski
d727385fb8 Create and use DiskArea/DataArea
This has the added benefit of clearing out a lot of boilerplate for new DatItem types, since DiskArea only pertains to the Disk type and DataArea only pertains to the Rom type
2020-09-03 11:02:06 -07:00
Matt Nadareski
9185a8cb19 Correct description 2020-09-03 10:03:04 -07:00
Matt Nadareski
e3bfec93d4 Rename a class and add a note 2020-09-03 09:57:16 -07:00
Matt Nadareski
8a2e840a83 Promote SharedFeature 2020-09-03 00:48:07 -07:00
Matt Nadareski
995871174d Promote Info 2020-09-02 23:31:35 -07:00
Matt Nadareski
dfa56a240b Promote Control 2020-09-02 23:02:06 -07:00
Matt Nadareski
54e7e4b276 Promote SlotOption 2020-09-02 22:44:54 -07:00
Matt Nadareski
f9c072e78b Handle Configuration; promote Location, Setting 2020-09-02 22:38:00 -07:00