Commit graph

13 commits

Author SHA1 Message Date
Ty Conner
e20a4a4166
Update DatFileType extended info (#4015)
* Update DatFileType extended info

Updated several properties in DatFileType to match what's in the decompiled client

* partial revert

* Update EnvCell.cs

* Update DatFile.cs

* Update DDDHandler.cs

* Update DatFileType.cs
2023-06-10 16:07:27 -04:00
Ty Conner
ab54cf9002
Add support for client DAT patching from server (#3979)
* Update DatFile.cs

* Update DatFileType.cs

Co-Authored-By: OptimShi <OptimShi@users.noreply.github.com>

* Create DDDManager.cs

Co-Authored-By: OptimShi <OptimShi@users.noreply.github.com>

* Create GameMessageDDDBeginDDD.cs

Co-Authored-By: OptimShi <OptimShi@users.noreply.github.com>

* Create GameMessageDDDDataMessage.cs

Co-Authored-By: OptimShi <OptimShi@users.noreply.github.com>

* Update DDDHandler.cs

Co-Authored-By: OptimShi <OptimShi@users.noreply.github.com>

* Update WorldManager.cs

* Update Program.cs

* committing changes provided

Co-Authored-By: OptimShi <OptimShi@users.noreply.github.com>

* more wip changes

* Update DDDManager.cs

* Update DDDManager.cs

Co-Authored-By: OptimShi <OptimShi@users.noreply.github.com>

* Update CMostlyConsecutiveIntSet.cs

Co-Authored-By: OptimShi <OptimShi@users.noreply.github.com>

* Update WorldManager.cs

* Update DDDHandler.cs

* Update Session.cs

* Update DDDManager.cs

* Update Session.cs

* Update DDDManager.cs

* Update DDDManager.cs

* Update GameMessageDDDDataMessage.cs

* Update DDDHandler.cs

* Update Session.cs

* Update CAllIterationList.cs

Co-Authored-By: OptimShi <OptimShi@users.noreply.github.com>

* Update CMostlyConsecutiveIntSet.cs

Co-Authored-By: OptimShi <OptimShi@users.noreply.github.com>

* Create PTaggedIterationList.cs

Co-Authored-By: OptimShi <OptimShi@users.noreply.github.com>

* Update Session.cs

* Update ConnectionListener.cs

* Create DDDConfiguration.cs

* Update MasterConfiguration.cs

* Update Config.js.example

* Update DDDManager.cs

* Update DDDHandler.cs

* Update Program.cs

* Update PropertyManager.cs

* Update WorldManager.cs

* Update SessionTerminationReason.cs

* Update DDDHandler.cs

* Update DDDManager.cs

* Update ConnectionListener.cs

* Update SessionTerminationReason.cs

* Update GameMessageDDDDataMessage.cs

* Update AuthenticationHandler.cs

* Update CharacterHandler.cs

* Update PacketInboundLoginRequest.cs

* Update Session.cs

* Update DatFileType.cs

---------

Co-authored-by: OptimShi <OptimShi@users.noreply.github.com>
2023-06-09 13:15:10 -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
gmriggs
7ab6311ac6
Some DatLoader updates (#1110)
* Some DatLoader updates

* commenting filetype

* Adding 0xE filetypes
2018-12-02 12:49:52 -05:00
gmriggs
811956ef55
Updating particle system (#1089)
* Updating particle system

* Updating GetRandomStartTrans

* Updating IsParentLocal

* Reset lifetime
2018-11-08 14:43:38 -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
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
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
Ty Conner
c4a3da0b10 Full reset of repo (#327)
* Full Wipe

* Restored git settings

* Restored Root folder

* Restored Source & Database
2017-05-05 10:26:35 -04:00
Mogwai-AC
9709959eee Dat reader - creating a PR so I can comment. (#235)
* Removed DungeonViewer link as the GitHub repo no longer exists

* DatReader, CharGen FileType, SetupModel FileType, and PaletteSet FileType

* Load basic player features from character creation

* Loads all correct player data from Character Creation.

* Adjusted palette/hue calculation

* Changed DatReader.buffer to Buffer, since the get is exposed publically. Also added some additional comments.
2017-04-12 20:04:37 -04:00
Mogwai-AC
b08cee50c5 testing stylecop build breakage 2017-04-04 15:25:38 -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