Nahuel Rocchetti
4165f558f4
[WIP] Use a Mesh for neighborhood terrain geometry.
2023-04-05 16:26:36 -03:00
Nahuel Rocchetti
19ef603b90
Merge branch 'master' into terrain
2023-03-02 19:54:50 -03:00
Ammar Askar
1caece4538
Add loading of GMDC static/bone bounding meshes
...
This only loads the last 2 sections of a GMDC file, where the
bounding meshes are stored as these are the simplest to import.
This lays out the basic framework for GMDC loading and adds a
little test file in the form of the utah teapot so we have a
copyright free asset to test against.
2023-02-28 17:19:14 -05:00
Ammar Askar
9b4dd0eeb0
Add loading of terrain geometry
2023-02-15 19:27:10 -05:00
Ammar Askar
45794fbb6f
Add support for deserializing Scenegraph LIFO blocks.
...
This adds the ability for ScenegraphTextureAsset to start pulling in
data from these LIFO blocks for larger images. ScenegraphTextureAsset
calls the provided ContentProvider to resolve the LIFO asset and then
uses the loaded data.
2023-02-13 22:39:51 -05:00
Ammar Askar
dc9ad7c755
Add deserialization of Scenegraph texture blocks.
...
This adds a few CC0 textures to the TestAssets folder to help test
the one format unity can't load natively, DXT3. Aside from that,
this is the first Scenegraph-codec and doesn't handle loading the
cLevelInfo/LIFO files that contain higher resolution textures.
2023-02-11 00:02:35 -05:00
LazyDuchess
808150f2df
Fix typo (Perist -> Persist)
2023-02-04 18:18:40 -03:00
Nahuel Rocchetti
c78587ee99
Merge pull request #22 from ammaraskar/scenegraph_base
...
Implement Scenegraph parsing
2023-02-02 22:12:59 -03:00
Ammar Askar
7f3072ce19
Implement Scenegraph parsing
2023-02-02 20:05:02 -05:00
LazyDuchess
3e0abd9f48
Skip over unused fields in OBJD
2023-02-01 19:46:19 -03:00
LazyDuchess
1482af268f
Clean up field iteration in OBJCodec.
2023-02-01 15:21:14 -03:00
LazyDuchess
c105d206a9
Fix properties
2023-02-01 15:05:08 -03:00
LazyDuchess
fff60b388b
Make uint properties for GUIDs in OBJD.
2023-02-01 14:51:11 -03:00
LazyDuchess
3fc725a53e
Make ResourceKey into a struct
2023-02-01 00:22:07 -03:00
berylliumquestion
f38ea4fe1e
Removed unused using
2023-01-30 19:39:11 -05:00
berylliumquestion
e73031bccf
Changed SortedList to string[] array
2023-01-30 19:29:55 -05:00
berylliumquestion
b093833116
Added the rest of variables as per OBJD specification. Made all of the ushort to make deserialization loop cleaner.
2023-01-30 18:03:30 -05:00
LazyDuchess
d91572c204
Added OpenTS2/Resource Key/From Filename menu item to Editor, to allow browsing for Instance IDs
2023-01-30 17:15:14 -03:00
LazyDuchess
845260b3dd
Replace WavUtility with custom solution.
2023-01-27 03:34:11 -03:00
LazyDuchess
ade0f8f124
Workaround WavUtility being unable to parse EP8 splash music.
2023-01-27 01:40:02 -03:00
berylliumquestion
f7d0ff3ffc
Removed deprecated and commented out code
2023-01-25 22:49:32 -05:00
berylliumquestion
d04cd31d35
Removed underlying cs file and associated meta file for deprecated StringSetTest scene
2023-01-25 19:04:07 -05:00
berylliumquestion
bb032eac48
Deprecated test removed
2023-01-24 18:46:10 -05:00
LazyDuchess
c5531b9e6e
Implement test for saving compressed entries.
2023-01-20 18:45:55 -03:00
LazyDuchess
a0350dbe37
Refactor DBPFFile Changes system.
2023-01-20 18:00:39 -03:00
LazyDuchess
534f5153b2
Test asset editing and deletion.
2022-12-24 13:15:45 -03:00
LazyDuchess
293b1f7003
Don't clear cache for package when writing to file.
2022-12-24 12:21:22 -03:00
LazyDuchess
acacea9daa
Refactor content system.
...
ContentManager -> ContentLoading
ContentProvider is now a Singleton.
2022-12-24 03:07:38 -03:00
LazyDuchess
8ceb48b0ec
Test contentmanager.
2022-12-23 11:12:11 -03:00
LazyDuchess
e9170f9041
Remove unnecessary line of code.
2022-12-23 09:45:05 -03:00
LazyDuchess
e0bb4d61e3
Link Global TGIs to Internal TGI
2022-12-22 10:55:50 -03:00
LazyDuchess
1fd5df251c
Fix comparison in DBPFFileSaveLoadTest
2022-12-22 10:24:55 -03:00
LazyDuchess
01a0891f75
Rename DBPFFile methods for clarity.
2022-12-22 09:36:22 -03:00
LazyDuchess
9fdaab0297
Add comments to DBPFFileTest
2022-12-22 09:33:45 -03:00
LazyDuchess
c7c04c5aed
Clean up filesystem class, fix file changes in DBPFFile, Add DBPFFileTest
2022-12-22 09:16:51 -03:00
LazyDuchess
7af13d86e4
De-partialize AudioAsset.
2022-12-20 21:05:05 -03:00
LazyDuchess
51b9c14245
De-abstract Texture loading.
2022-12-20 21:02:06 -03:00
LazyDuchess
5bdf7ecb3e
De-abstract Reia playback
2022-12-20 20:40:37 -03:00
LazyDuchess
ba8766d6dc
Remove Logger and Color classes
2022-12-20 20:34:31 -03:00
LazyDuchess
0e66fbca39
Remove Playstation 2 code
2022-12-20 20:03:03 -03:00
LazyDuchess
1e7d10fce1
Remove using UnityEngine from ReiaFrame
2022-12-15 18:19:39 -03:00
LazyDuchess
a9879f8f6d
Add a localization test.
2022-12-15 05:30:07 -03:00
LazyDuchess
d4b113f3ab
ContentProvider: Comment GetEntry.
2022-12-15 04:32:31 -03:00
LazyDuchess
c359d7e7bc
ContentProvider: GetFromResourceMap -> GetEntry
2022-12-15 04:29:04 -03:00
LazyDuchess
c44b8139cf
Abstract Unity Reia frame reading.
2022-12-15 04:26:42 -03:00
LazyDuchess
5eba4383cc
Make Logger.Assert public static and conditional.
2022-12-14 03:30:13 -03:00
LazyDuchess
25e539ee0b
Abstract Debug.Assert to remove UnityEngine dependencies outside of OpenTS2.Engine.
...
OpenTS2.Engine.Core -> OpenTS2.Engine.
Small code style changes.
2022-12-14 02:59:14 -03:00
Ammar Askar
f8ea146b65
Add unit tests through unity test runner
...
As per the unity guide, this requires creating an assembly that
depends on the `nunit.framework.dll` reference. In order to
allow this testing assembly to access the code under the OpenTS2
folder, we create a `ScriptsAssembly` assembly that the `Tests`
assembly can depend on.
Unfortunately these tests can only be run through unity or the
Rider IDE but unless we want to do a clean separation of all the
Unity bits from the C# code this will likely be the easiest
option.
2022-12-07 18:20:25 -05:00
LazyDuchess
d0ded7444d
Reia: Benchmark, minor optimization, Release build error fix
2022-12-06 03:30:36 -03:00
LazyDuchess
178a91e6b4
Reia: Support non-divisible by 32x32 resolutions. Add non-streamed mode.
...
DBPF: Fix exception when making changes to a DBPFFile with raw bytes and null Codec.
2022-12-05 23:14:01 -03:00