Commit graph

25 commits

Author SHA1 Message Date
Ty Conner
8675955cec
Update tests (#4391)
* Update tests

Adjusted per MS recommendations

* Update AccountTests.cs

* Update SphereTests.cs

* Update SphereTests.cs
2025-10-26 14:38:30 -04:00
OptimShi
9864887263
DatReader - ActionMap (#4217)
* Added ActionMap Dat reading 0x26000000

* Removed debug code from startup
2024-08-20 19:26:08 -04:00
OptimShi
ed7af65f9a
Added Dat structures and tests for UILayout and DbProperties (#4208) 2024-08-13 14:45:30 -04:00
OptimShi
da76e6e995
Added support for parsing MasterProperty, 0x39000001 in the client_portal.dat (#3970)
* Added support for parsing MasterProperty, 0x39000001 in the client_portal.dat.

* Removed skipping of MasterProperty in DatLoader.Test
2023-04-10 05:45:09 -04:00
Mag-nus
f14f91a47c
Add DatLoader.Tests for client_local_English.dat (#3193)
* Update DB_TYPE_RENDER_MESH

from acclient.c

const unsigned int DB_TYPE_RENDER_MESH = 67u; // idb

* cosmetic

* cosmetic

* Improve Datloader.Tests

* cosmetic

* Add DatLoader.Tests for client_local_English.dat

This builds on pr #3191

all tests pass
2020-09-01 20:06:29 -05:00
Mag-nus
e24b42827b
Fix DatLoader.Tests (#3191)
* Update DB_TYPE_RENDER_MESH

from acclient.c

const unsigned int DB_TYPE_RENDER_MESH = 67u; // idb

* cosmetic

* cosmetic

* Improve Datloader.Tests

* cosmetic
2020-09-01 19:59:47 -05:00
Mag-nus
abb17b464a
Fix HighRes and Langauge dats to use base DatDatabase class. (#1113) 2018-12-02 13:46:01 -06:00
gmriggs
7ab6311ac6
Some DatLoader updates (#1110)
* Some DatLoader updates

* commenting filetype

* Adding 0xE filetypes
2018-12-02 12:49:52 -05:00
OptimShi
e6937b3e68 Added three new dat FileTypes (#1106) 2018-11-28 23:52:14 -05: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
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
fartwhif
82e8bdb2a4 added SurfaceTexture parser (#802)
* added SurfaceTexture parser
added Texture file getter

* to-do: identify the 4 extra bytes (trailing crc?)

* Update Texture.cs

corrected bug causing Format to always be D3DFMT_UNKNOWN

* accounted for the trailing DWORD
cleaned up the code a bit
2018-05-23 22:50:08 -04:00
Mag-nus
46eecb771f ACE.DatLoader TabooTable added 2018-03-19 08:10:21 -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
f5c7b44d81
ACE.DatLoader DatDirectory reading cleaned up (#624) 2018-02-06 10:18:38 -06:00
Mag-nus
4e79b48535
ACE.DatLoader work (#623)
* ACE.DatLoader LandblockInfo removed testing code

* ACE.DatLoader rename PackableExtensions to UnpackableExtensions

* ACE.DatLoader.Tests: Better testing to make sure full objects are being parsed

* ACE.DatLoader bug fixes

* ACE.DatLoader: Add missing file for build

* ACE.DatLoader Switch to native Vector3 object

* ACE.DatLoader: This changes the spell variables back to their enum types from ACE.Entity

* ACE.DatLoader improvements
2018-02-05 21:26:06 -06:00
Mag-nus
1c14e76f5f
ACE.DatLoader bug fixes (#622)
* ACE.DatLoader LandblockInfo removed testing code

* ACE.DatLoader rename PackableExtensions to UnpackableExtensions

* ACE.DatLoader.Tests: Better testing to make sure full objects are being parsed

* ACE.DatLoader bug fixes

* ACE.DatLoader: Add missing file for build

* ACE.DatLoader Switch to native Vector3 object
2018-02-05 13:34:12 -06:00
Mag-nus
a51a566199
ACE.DatLoader IUnpackable work completed (#621)
* ACE.DatLoader: SpellTable converted to IUnpackable

* ACE.DatLoader CellLandblock converted

* ACE.DatLoader IUnpackable work completed
2018-02-05 11:17:57 -06:00
Mag-nus
3783d4b4d2
ACE.DatLoader IUnpackable progress (#620)
* ACE.DatLoader: SpellTable converted to IUnpackable

* ACE.DatLoader CellLandblock converted
2018-02-05 08:48:01 -06:00
Mag-nus
a24f7cbb17
ACE.DatLoader more IUnpackable refactoring (#616)
* ACE.DatLoader.Tests fix for Animation.

Also includes some ACE.Entity.Position replacements with ACE.DatLoader.Entity.Frame

* ACE.DatLoader Scene converted

Also made all the ReadFromDat code more generic/copyable

* ACE.DatLoader Palette converted

* ACE.DatLoader: PaletteSet converted

* ACE.DatLoader: CombatManeuverTable converted

* ACE.DatLoader PhysicsScriptTable converted

* ACE.DatLoader SpellComponentTable converted

* ACE.DatLoader misc cleanups

* ACE.DatLoader Surface converted

* ACE.DatLoader much more progress

* ACE.DatLoader/Tests Added cell.dat testing framework. First done EnvCell

* ACE.DatLoader ParticileEmitter converted. PositionExtensions removed (via conversion to Position/Frame/Vector3/Quaternion)

* ACE.DatLoader: ClothingTable converted and fixed

* ACE.DatLoader GeneratorTable converted

* ACE.DatLoader: GfxObjDegradeInfo converted

* ACE.DatLoader: MotionTable converted

* Merge conflicts

* Merge Conflicts

* More merge conflicts

* More conflicts resolved
2018-02-04 11:16:30 -06:00
Mag-nus
6f446c38fc
ACE.DatLoader More IUnpackable progress (#615)
* ACE.DatLoader.Tests fix for Animation.

Also includes some ACE.Entity.Position replacements with ACE.DatLoader.Entity.Frame

* ACE.DatLoader Scene converted

Also made all the ReadFromDat code more generic/copyable

* ACE.DatLoader Palette converted

* ACE.DatLoader: PaletteSet converted

* ACE.DatLoader: CombatManeuverTable converted

* ACE.DatLoader PhysicsScriptTable converted

* ACE.DatLoader SpellComponentTable converted

* ACE.DatLoader misc cleanups

* ACE.DatLoader Surface converted

* ACE.DatLoader much more progress
2018-02-03 20:41:21 -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
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
Mogwai-AC
c4793ec44f portal.dat and cell.dat loading (issue #3) (#104)
* cell.dat loading

* portal.dat loading

* reading sector size from dat file
2017-03-04 07:59:37 -05:00