Commit Graph

205 Commits

Author SHA1 Message Date
dexy
a8dc98f87c Save startup position and time of day options, Reset settings button 2024-08-05 20:24:59 +10:00
dexyfex
07756e4344
Merge pull request #262 from alexguirre/fix-dec3n-to-rgba8-snorm
Replace Dec3N vertex format with RGBA8 SNorm
2024-08-05 16:12:43 +10:00
dexy
2ced29ab82 Fix updating entity position/rotation from project window 2024-08-05 16:04:56 +10:00
alexguirre
43c3567803 Replace Dec3N vertex format with RGBA8 SNorm
The game uses DXGI_FORMAT_R8G8B8A8_SNORM when building the D3D11
input-layout for what CW called Dec3N.

Updated XML import/export to correctly read these values.
2024-08-03 15:07:41 +02:00
dexy
3d22e9b2a4 Fix up/down arrow select in project window, Fix selecting project audio placements 2024-07-27 13:40:12 +10:00
dexy
05bd42f3a6 Audio Ambient Rule Panel clean-up 2024-07-24 16:29:58 +10:00
dexy
d0cdb1bd76 Updated Dec3N XML conversion. Ported BoundGeometry.VerticesShrunk code from rageAm. Added Track2AnimUV shader param name 2024-07-24 13:31:04 +10:00
dexy
e316115b41 Improved EditYmapEntityPanel layout 2024-07-18 14:51:35 +10:00
dexy
d049e3ad1c PR #235 also enable light culling plane by flag 2024-07-18 14:05:49 +10:00
dexy
29530a05f6 Fix anchoring on edit audio panels, fix line endings on RelFile.cs 2024-07-18 06:13:45 +10:00
dexy
f5a637588f PR #230 and #248 with extra audio editing improvements 2024-07-17 18:00:55 +10:00
dexy
124180c4e1 Add TimeArchetype flag name and adjust edit entity and archetype panels to better fit hash labels 2024-07-16 08:55:24 +10:00
dexy
c67adfdd9c Adjust ScenarioChainEdge combo boxes and ScenarioCluster checkbox to fit updated items 2024-07-16 08:16:51 +10:00
dexyfex
c7a943886a
Merge pull request #254 from ook3D/merge-8
update scenario chain NavSpeed, Cluster point unknowns
2024-07-16 08:06:31 +10:00
dexy
58ef636c1b Adjust TrainNodeTypeComboBox width to fit updated items 2024-07-16 07:59:23 +10:00
dexyfex
a92ce59337
Merge pull request #253 from ook3D/merge-6
Update ymap entity flags
2024-07-16 07:43:24 +10:00
dexyfex
5e3dfffce2
Merge pull request #250 from ook3D/merge-3
Update train node types
2024-07-16 07:42:34 +10:00
dexy
f01644a8cc PR #249 but only for Release build 2024-07-12 14:55:53 +10:00
dexy
d83135d284 PR #236 but with minor improvements 2024-07-12 13:48:43 +10:00
dexy
6d24603bf0 PR #241 but maybe slightly optimized 2024-07-12 12:36:32 +10:00
dexy
e5dc63f429 PR #51 but updated, also PR #252 2024-07-12 11:39:52 +10:00
dexy
6cf72c4b74 PR #221 changes 2024-07-12 09:43:53 +10:00
dexy
252435208a PR #85 but ported ColourPicker from CodeX instead 2024-07-12 09:14:56 +10:00
dexy
bad84d7bdc PR #219 but neater and allowing debugging in VS 2024-07-11 10:51:17 +10:00
ook3d
71671940eb Update Scenario Point Cluster Unknowns 2024-07-02 21:18:10 -04:00
ook3d
21242cffff update scenario chain NavSpeed 2024-05-20 16:29:57 -04:00
ook3d
58cf06ec2d Update ymap entity flags 2024-05-19 17:45:23 -04:00
ook3d
3462cc3e17 Update train node types
correct names and add missing 6th train node type
2024-05-19 17:28:11 -04:00
dexyfex
332b751576
Merge pull request #226 from ook3D/master
Update Unknown Values And Flags
2023-12-13 09:24:00 +11:00
dexy
d04d11c151 Expressions research from alexguirre 2023-12-13 09:19:28 +11:00
ook3d
370de41da6 Update Unknown Flags and Values 2023-11-25 22:53:37 -05:00
dexy
b55458b113 Ynd research V2 by fish-cfx
Some refactoring and adjustments by dexy
2023-09-04 20:48:50 +10:00
rollschuh2282
4cd57db350 fix too long text 2023-09-03 18:41:19 +02:00
rollschuh2282
7d294e6c57 update Portal flag names 2023-09-03 18:39:14 +02:00
Kirill
7bc3630ef9
Update Ytyp Archetype Flags and Fix for Generate Capsule LODLight and Fix for Capsule HDLight (#205)
* Update EditYtypArchetypePanel.Designer.cs

64 - Unk07 archetype flag: disable sorting for shaders with alpha. Used for glass objects, has a bug of drawing through objects in a mirror and a white glare strip in specular shaders
524288 - Unk20 archetype flag: plays YCD animation on Dynamic objects. Works on objects with 131072 - Dynamic

* Fix for Generate Capsule LODLight

* Fix for Generate Capsule LODLight

* Fix for Capsule HDLight
2023-08-24 09:06:11 +10:00
gg781
595bb9a375
Add Support for D3DFMT_X8R8G8B8 (#214)
This would "fix" the exported xml from having "22" in the embedded texture's format block.
In before this 22 prevents the xml file from importing into blender via Sollumz, caused the common error "KeyError:22" when some people editing weird-making mods.
2023-08-23 13:26:48 +10:00
Monkeypolice188
023cc1eb47
Audio.rel.xml updates (#183)
* Audio.rel.xml updates

* Update RelFile.cs

* Audioconfig.dat4 changes + fix for config game crash

Credits to alexguirre for type & fieldname changes to ERSettings (prev UnkER) and Vector3 (prev Orientation)
2023-08-21 15:27:13 +10:00
dexy
5760d56134 Fixed Edit Archetype BSRadius regional number formatting issue 2023-08-21 15:10:52 +10:00
dexy
f7cc8cd317 Fix compile error, Lucas missed a ")" 2023-08-21 14:45:57 +10:00
dexyfex
ae9498f7d5
Merge pull request #211 from alexguirre/rpf
Fix crashes due to malicious RPFs
2023-08-21 14:41:54 +10:00
dexyfex
e39ac3afd8
Merge pull request #209 from Lucas7yoshi/master
Order clips in ycd files alphabetically to improve readability
2023-08-21 14:39:32 +10:00
dexyfex
bbcbc90582
Merge pull request #201 from alexguirre/frame-filters
Support YFD XML import/export
2023-08-21 14:27:20 +10:00
alexguirre
118305e481 Fix crashes due to malicious RPFs
RpfFile:
- Limit RPF entry names to 256 characters because long names can cause the RPFExplorer to freeze when opening its directory.
- Skip RPFs with paths longer that 5000 characters, which are probably an attempt to make CW run out-of-memory.

ExploreForm:
- Use `Path.GetExtension` directly instead of `FileInfo` to prevent `PathTooLongException`s.
- Check for invalid characters in file names to prevent `ArgumentException`s.
2023-08-12 10:03:28 +02:00
Lucas7yoshi
8a30134c52 Order clips in ycd files alphabetically to improve readability for synched scene style dicts and general consistency 2023-08-08 19:08:39 -04:00
alexguirre
071251e429 Support YFD XML import/export 2023-06-16 16:50:22 +02:00
Disquse
4bc8561a6d
Fix renderable transform multiply 2023-04-08 22:35:54 +03:00
dexyfex
6f5f0fde39
Merge pull request #162 from Rytrak/master
Fixed issue on light editor form
2022-09-08 10:28:35 +10:00
dexyfex
26d5fe1d82
Merge pull request #171 from ZerXGIT/master
Drag and drop feature for Project Explorer
2022-09-08 10:26:01 +10:00
alexguirre
ddf689ae81 MRF/XML conversion 2022-08-24 12:39:23 +02:00
ZerX
7917453b19 Drag and drop feature for Project Explorer 2022-08-19 13:13:29 +02:00