Commit Graph

29 Commits (24e7674f574341a064d86ce2c636a285ae0208e9)

Author SHA1 Message Date
Icedream 24e7674f57 Removed exception when CRC32 hash is mismatching for the base addon, kept it for files inside the addon. Referring to #2. 2014-12-11 02:09:32 +01:00
Icedream d35c00dbac Fix offset issue with imported addon files. Closes #1. 2014-12-11 02:08:19 +01:00
Icedream 1294b5cacd Fix no arguments causing crash. 2014-10-23 04:03:20 +02:00
Icedream 5d67d3e720 Switch from Windows-1252 encoding to ISO-8859-1 encoding for mono compatibility. 2014-10-23 02:49:01 +02:00
Icedream 1f07f6b053 Rename assembly to gmadsharp. 2014-10-23 02:31:54 +02:00
Icedream ffb18b3641 Make SegmentedAddonFileInfo use cached values, (very) slight performance improvement. 2014-10-23 02:29:37 +02:00
Icedream 5ffdbcbbb3 File count technically can't exceed uint.MaxValue/2 elements... 2014-10-23 02:28:05 +02:00
Icedream 499dfb7c36 Fix dependency path. 2014-10-23 02:25:11 +02:00
Icedream a57179eb22 Restore NuGet packages automatically. 2014-10-23 02:15:47 +02:00
Icedream abe73519d6 Some more argument checking + usage info. 2014-10-22 23:17:24 +02:00
Icedream d39fe89337 Refactoring, especially namespaces just to keep it easy for myself. 2014-10-22 22:56:05 +02:00
Icedream 9917ac4f9f Fix null-terminated string writing (BinaryWriter prefixed it with a length byte which is unneeded). 2014-10-22 19:55:45 +02:00
Icedream f9b647c38d Show description when extracting (the trimmed down addon.json). 2014-10-22 19:55:20 +02:00
Icedream bd22f08ecf Adding author field to addon.json. 2014-10-22 19:51:18 +02:00
Icedream f67b95007a Some code cleanup. 2014-10-22 19:48:30 +02:00
Icedream 5582debcee Properly default Version field to 1 and ignore fields when left out intentionally. 2014-10-22 19:47:00 +02:00
Icedream c6118e7ca2 Properly exporting information from addon.json. 2014-10-22 19:42:45 +02:00
Icedream 2d92a99e35 Add version field and make CheckForErrors less accessible from outside. 2014-10-22 19:42:25 +02:00
Icedream ff9f1bd17f Enforce .gma file extension. 2014-10-22 19:34:42 +02:00
Icedream 67ec2c70d6 Fixing AddonWhitelist logic. 2014-10-22 19:20:59 +02:00
Icedream d7844f3df5 Forgot to initialize the whitelist regex cache. 2014-10-22 19:09:26 +02:00
Icedream 2ab88b8a24 Fixed to the point where addon extraction works without issues.
- Don't dispose import stream after importing.
- Added debug lines
- Fixed metadata not getting imported and therefore getting information out of sync
- Added some generic debug assertions for official-gmad-generated addons, will be removed later
- Fixed whitelist regex generation code - missing brackets
- Fixed SegmentedAddonFileInfo.GetContents caused by file seek for long filesize compatibility.
2014-10-22 19:07:03 +02:00
Icedream 919f45c9f2 Implemented some addon.json stuff. 2014-10-22 16:29:51 +02:00
Icedream 41375e121a Fix actual export file writing (position was at the end when it's not supposed to be). 2014-10-22 16:01:44 +02:00
Icedream c687de01de Fix relative uris. 2014-10-22 16:01:27 +02:00
Icedream 32d4aa96c3 Modify bin and obj paths. 2014-10-22 16:01:19 +02:00
Icedream c073fb589c Moving files into src subfolder. 2014-10-22 15:50:16 +02:00
Icedream 9ce60b396f Initial code commit. 2014-10-22 15:47:38 +02:00
Carl Kittelberger a356722e98 Initial commit 2014-10-22 15:46:03 +02:00