Commit graph

18 commits

Author SHA1 Message Date
Mag-nus
abb17b464a
Fix HighRes and Langauge dats to use base DatDatabase class. (#1113) 2018-12-02 13:46:01 -06:00
gmriggs
b215a34ce7
Improving DatLoader for third-party apps (#1092)
* Improving DatLoader for third-party apps

* Adding some missing filetypes (thanks OptimShi!)

* Adding more enums, using SmartArray

* Re-adding loadCell

* Reverting to UInt32
2018-11-22 01:33:17 -05:00
Mag-nus
23100087a8
keepOpen option added to DatDatabase FileStream (#1097) 2018-11-20 07:45:09 -06:00
OptimShi
dcf9e82f10 Dat fixes (#848)
* Fixed some dat reading related errors.

* Adjusted AnimationPartChange and added second implementation of Unpack

* Small fix to highres/language dat reading to handle errors cleaner

* Updated highres/language dat loading logic, removed exceptions entirely
2018-07-05 15:09:20 -05:00
OptimShi
cad0e661d0 Dat updates (#847)
* Fix Replace Animation Hook

* SoundTable

* Numerous Dat Updates

* Added highres and language export commands
2018-07-05 07:50:42 -05:00
Mag-nus
99fb8bcc55
All this does is cleanup a bunch of style issues that Resharper complains about (#629)
* Removed unused using statements

* Removed redudnant ToString()'s

* Removed some redundant type casts

* Removed redundant bool comparisons

* remove redundant initializers

* xml summary in invalid place switched to comments

* Use string interpolation

* use format separators

* Removed redundant parenths

* remove redundant else

* direct cast when safe

* redundant string interpolation

* xml summary fixes

* removed empty ctors

* fix modifier order

* Convert to auto property

* Convert some getters to method bodies

* use format separators

* changelog

* Auto-properties that can made to get-only

* fixed some references in XML comments

* remove redundant base()

* Revert "Auto-properties that can made to get-only"

This reverts commit 32a1225ce8.

* fix starter gear json

* Use collections count property

* simplify conditional ternary expression

* remove redundant return statements

* Constructors for abstract classes changed to protected

* Moved declarations to inner scopes

* Join declaration and assignments

* inline out variables

* Use enum extension methods instead of static methods

* inline out more variables

* more unused usings

* Remove specifying enums as ints
2018-02-09 06:46:49 -06:00
Mag-nus
3502e699b9
ACE.DatLoader and ACE.DatLoader.Tests improvements (#614)
* ACE.DatLoader: XpTable updated

* ACE.DatLoader physics and environment using new unpack pattern

* ACE.DatLoader ContractTable updated to IUnpackable

* ACE.DatLoader EnvCell refactored to new IUnpackable

* Update PackableExtensions.cs

* ACE.DatLoader This removes the loc object

Before I proceed with further refactoring, I want to add some datloader tests...

* Looks like it didn't catch all my changes...

* ACE.DatLoader and ACE.DatLoader.Tests improvements
2018-02-03 17:54:07 -06:00
Mag-nus
6fe177a600
ACE.DatLoader refactoring (#594)
* Change >> 1) & 1 to & 2

Cosmetic change pointed out by Rawaho.

* Better fix of the Portal Flags in the dat code

* ACE.DatLoader refactoring

This new code format uses extention methods to re-use code. It allows decouples object unpacking from DatReader and reduces the dependancy to a simple BinaryReader.

* Forgot to remove the temp StarterAreas code from the transition

* Some files were ignored, not sure why. This should fix
2018-01-23 04:02:39 -06:00
OptimShi
eda966f4e6 Added MotionTable parsing and relevant dat classes (#489) 2017-08-10 10:33:26 -04:00
Charles
6f272fd9cd Fix CIRand admin function. (#397)
* Support multiple getlist.

* Commented too much oopisies.

* WIP

* wip

* Working on exercising inventory creation.   Have a bug that is causing client to crash.

* Fixed alignment bug at hooktype.   Added priority to aceObject and set it in debugObject.

* Fixed file location error.

* God help me - I can't type or read it seems.   I think I have this right now.

* Update 02-06-19-2017-vw_weenie_class.sql

* Made requested changes.

* Found style cop error

* Ugh - that was hard to find.   I think this got it.   When I killed cell in postion, it was still used in the view.

* Update 03-06-20-2017-vw_ace_object.sql
2017-06-20 13:17:22 -04:00
Mogwai-AC
b08cee50c5 testing stylecop build breakage 2017-04-04 15:25:38 -04:00
fantoms
c066c1b026 Dat Path Updates (#164)
* Updated example DatFileDirectory with a trailing slash at the end of the value

* Added Path.Combine to DatLoader
2017-03-22 11:15:34 -04:00
fantoms
582f36ae55 Added linux compatibility to Charts (#159)
Added linux compatibility to ConfigManager

Added linux compatibility to Dat Loading
2017-03-22 00:49:18 -04:00
Lurker McDoogle
b4640e84c9 code review feedback, changed thread model 2017-03-17 09:10:48 -04:00
Lurker McDoogle
b04510988e rebased to include Mag's changes 2017-03-17 08:37:34 -04:00
Mag-nus
7509022201 * basic landblock implementation
* reverted unintentional changes
* object factories, log4net, and various refactorings.  still getting stuck in portal space occasionally.
* rebased with latest changes, add removal of players from landblocks upon logout (i think)
2017-03-17 08:37:34 -04:00
lurker-mcdoogle
1faa88b3b6 * improved cell.dat and portal.dat exporting, created admin server commands for them as well as unit tests that can be uncommented. (#127)
* bug fix in DatFile with the FileOffset being wrong.  started detailed documentation on dat file contents.
* worked on some object parsing.  found a bunch more object types in the client - now categorizes ALL portal files.
2017-03-15 08:12:21 -04:00
kdmxp256
c7653a3c81 Add DAT loading into main process (#107)
* Add DAT loading into main process

* Hard-code DAT file names, change config option to only contain file path, without filename, and condense to one config option, and add file that was missing in first commit

* Modified .Initialise() function into a static constructor that has getters for retrieving Dat data

* Fix indent on comment in Config.json.example
2017-03-06 20:30:50 -05:00