547 Commits

Author SHA1 Message Date
Kawe Mazidjatari
fd01962aa0 Change default console title 2022-03-26 01:23:06 +01:00
Kawe Mazidjatari
66ec11079e Optimizations 2022-03-26 01:19:02 +01:00
Kawe Mazidjatari
c3ad5f08fb Forgot this one.. 2022-03-26 01:18:48 +01:00
Kawe Mazidjatari
a5a8f85764 Rename materialsystem to cmaterialsystem
Naming it the same as Valve did
2022-03-26 01:04:20 +01:00
Kawe Mazidjatari
72ca651003 Cleanup DetourNavMesh.h 2022-03-26 00:44:42 +01:00
Kawe Mazidjatari
ba379f4712 Small optimizations 2022-03-26 00:44:23 +01:00
Kawe Mazidjatari
2faf92ee17 Fix small oversight 2022-03-26 00:42:09 +01:00
Kawe Mazidjatari
1038ba786e CBaseClient overhaul and partial class rebuild
Also added initial CBaseServer rebuild
TODO: INetChannel rebuild..
2022-03-26 00:24:13 +01:00
Kawe Mazidjatari
687446eade Cleanup CConsole 2022-03-25 13:31:31 +01:00
Kawe Mazidjatari
96bf41655a Use CBuf_AddText() and Cbuf_Execute() instead
Small improvement
2022-03-25 13:17:57 +01:00
Kawe Mazidjatari
699b1c33a6 Use timer instead for banlist and pylon checks 2022-03-25 02:30:36 +01:00
Kawe Mazidjatari
eccddb3883 Reorder FastTimer class 2022-03-25 02:25:50 +01:00
Kawe Mazidjatari
9b511edbb2 Properly shutdown dedicated again
Small oversight during file refactor
2022-03-25 01:19:27 +01:00
Amos
378df25d4c Fix struct padding for AIN
Small fixes
2022-03-24 16:31:53 +01:00
Kawe Mazidjatari
05b37bf111 Fix 2 crash cases during AIN build 2022-03-24 02:08:27 +01:00
Kawe Mazidjatari
5a2cbaf40a Increase max tiles (hack)
Hack, but it does work properly, even on tiles which are using ID's larger pre-commit (non-generated area's).
2022-03-24 02:07:56 +01:00
PixieCore
f62c4c1284 Merge branch 'indev' of https://github.com/Mauler125/r5sdk into indev 2022-03-24 00:07:51 +01:00
PixieCore
a1cd5cf9f3 Reminder for myself to pattern scan, pak_listpaks vars. 2022-03-24 00:07:44 +01:00
Kawe Mazidjatari
a672a1711b Merge branch 'indev' of https://github.com/Mauler125/r5sdk into indev 2022-03-24 00:05:25 +01:00
Kawe Mazidjatari
7628ae6ff9 Rename pak asyncload and decompress commands 2022-03-24 00:05:19 +01:00
PixieCore
5747e8d201 Patch entitlement check from S2C_CONNECT routine. 2022-03-24 00:04:33 +01:00
Kawe Mazidjatari
1bd9d6f97d Fix compile order for ClientSDK 2022-03-23 23:54:13 +01:00
PixieCore
ef5abb16ea Added the ability to disable rUI drawing. By @r-ex. 2022-03-23 23:28:12 +01:00
Kawe Mazidjatari
bc3d42d0be Add client build only to SDK (client.dll)
For future S4 debugging
2022-03-23 23:05:43 +01:00
PixieCore
7d9b125d93 Formating. 2022-03-23 20:33:24 +01:00
PixieCore
7b5676210b Added new ConCommand to list all loaded rpaks. By @r-ex 2022-03-23 20:31:29 +01:00
PixieCore
70b6bb038c CMaterialGlue: Replaced padding at the end with unknown members.
They all have proper sizes.
2022-03-23 19:29:23 +01:00
Kawe Mazidjatari
328fc61b27 Fix MSVC compiler errors 2022-03-23 19:23:53 +01:00
Kawe Mazidjatari
bd990ef0f9 Fix crash cases during buildAINFile 2022-03-22 17:18:29 +01:00
Kawe Mazidjatari
3110bbfb78 Calculate CRC for AIN (for later)
Add CRC calculated from large NavMesh (used to build AIN..)  for later.
The future check will compare AIN CRC and NavMesh CRC and warn if they don't match (recommend a update, and auto run update if cvar set).

Also added better profiling to SaveNetworkGraph code
2022-03-22 01:59:02 +01:00
Kawe Mazidjatari
4bb3be2a8e Implement CPU utils and FastTimer
CPU system utilities and FastTimer (inline)
2022-03-21 23:13:03 +01:00
Kawe Mazidjatari
a49a5bb781 AIN build and saving now fully works
AI is pretty much completed.
All that has to be done currently is making a simplified mesh of a map to cast a NavMesh on.
2022-03-21 13:48:34 +01:00
Kawe Mazidjatari
b99f310198 Parsing Titanfall 2 AIN's now fully works
The AIN structure, including the in-memory structures seem identical to Titanfall 2. I mapped quite a few 'CAI_Network' related functions out and everything seems to line up. But I haven't figured the script nodes out (yet), but looking at this, it seems like they got completely stripped? TODO..

I also found where it creates nodes/links from input NavMesh, the poly structure also seems identical to Titanfall 2, but still haven't found where this extra field gets used.
2022-03-21 00:28:14 +01:00
Kawe Mazidjatari
92edf22b07 The beginning of SaveAINFile 2022-03-20 17:03:46 +01:00
Kawe Mazidjatari
9b33e1b94e Fix more debugdraw 2022-03-19 12:56:22 +01:00
PixieCore
4330b8064b Fixed "mat_crosshair" callback.
Not registering a new command anymore. Instead we fix mat_crosshair.
2022-03-18 22:45:12 +01:00
PixieCore
9476897018 Forgot to add namespace on datatype. 2022-03-18 21:39:55 +01:00
PixieCore
8a672f4dfc CMaterialGlue changes.
Discovered new potential names for class vars.
2022-03-18 21:38:57 +01:00
PixieCore
96ee0a834d Added DXTexture fields to CMaterialGlue 2022-03-18 20:13:28 +01:00
PixieCore
0c9e184e3f GetMaterialAtCrossHair changes, CMaterialGlue changes.
CShaderGlue still needs to be reverse engineered.
CMaterialGlue still needs verification for S0-S2 to see if the struct matches.

Patterscanning GetMaterialAtCrossHair now.
2022-03-18 18:34:27 +01:00
PixieCore
627b25c120 Initial implementation of CMaterialGlue.
Some GUID's are still unknown.

Class members need verification like the material resolution member.

Added a ConCommand for getting the material we are currently looking it and printing it to the console.

Porting to other seasons still need to be done.
2022-03-18 13:47:22 +01:00
Kawe Mazidjatari
35ad8554a5 Somewhat correct working navmesh
The reachability table needs to be figured out still. The issue should be very small, but at the moment I do not have time for it.

The pointer to the table, and table pointers to data is correct, however, not a single poly is ever getting marked as 'reachable' (0xffffffff). This could be either within recast itself (see build_link_table() and set_reachable() functions), or the way the engine parses the data. The function that determines whether poly is reachable is located at '0x140F448E0'
2022-03-18 03:14:07 +01:00
Amos
9f24bc01b0 Update sv_rcon.cpp 2022-03-16 02:04:45 +01:00
Amos
8f7a3ef336 Small improvements 2022-03-16 02:03:06 +01:00
Amos
8202c8fc6c Small improvement 2022-03-16 01:38:00 +01:00
Amos
1cc71342e8 Fix compile for clang-cl
Uncomment when this needs to be debugged again
2022-03-16 01:37:45 +01:00
Amos
7e24c31e94 Forgot this one 2022-03-16 01:36:57 +01:00
Amos
c7b4c939b3 Fix warning when trying to delete old binary post build for copy 2022-03-16 01:36:28 +01:00
Amos
2fb7aef885 Update Pch.h 2022-03-16 01:35:42 +01:00
Amos
7596f44655 Fix alignment 2022-03-16 01:35:29 +01:00