PixieCore
133c40940f
__FUNCTION__ usage in RTech commands.
2022-06-13 20:42:14 +02:00
Kawe Mazidjatari
27eae42b10
RCON client improvement
...
Use 3rd argument as password instead of 'rcon_password' ConVar if arg count is > 2.
2022-06-13 01:03:36 +02:00
Kawe Mazidjatari
723976d9cb
CLogSystem improvements
...
Draw the RUI console overlay and logging etc in CEngineVGui::Paint.
cl_showfps is no longer required to render the log system.
2022-06-12 17:50:12 +02:00
Kawe Mazidjatari
162e709190
General cleanup and improvements
2022-06-12 17:41:26 +02:00
Kawe Mazidjatari
6451aaba2b
Fix dedicated server compiler error
2022-06-12 13:34:07 +02:00
Kawe Mazidjatari
6c1f8da177
Launcher improvements
...
Load 'startup_launcher.cfg' when launching with the GUI launcher
2022-06-12 13:30:37 +02:00
Kawe Mazidjatari
79372aa485
Prefix internal function pointers with 'v_'
2022-06-12 13:24:30 +02:00
Kawe Mazidjatari
25e858dc27
Rename hooks
...
Prefix hooks with 'V' to fix clash with the VFTable methods.
2022-06-12 12:49:57 +02:00
Kawe Mazidjatari
cdf257ad32
Dedicated VPK switch improvements
...
Check for 'vpk\\server_mp_common.bsp.pak000_000.vpk' presence instead of 'vpk\\client_frontend.bsp.pak000_000.vpk' absence before switching to server VPK's.
2022-06-12 12:42:07 +02:00
Kawe Mazidjatari
7c0c541405
FileExist cleanup
...
Use fs::path constructor for all strings.
Renamed CPakFile::AsyncLoad to CPakFile::LoadAsync.
Renamed CPakFile::Load to CPakFile::LoadPak.
2022-06-12 12:40:26 +02:00
Kawe Mazidjatari
97ca335a21
Update VPK cfg files
2022-06-12 12:23:55 +02:00
Kawe Mazidjatari
c029d7e846
Rename VPK ConCommand's
2022-06-12 12:22:12 +02:00
Kawe Mazidjatari
4cf43e0d61
Fix invalid pointer for 'VPK_Mount_f'
...
g_pFullFileSystem is a pointer to g_pFileSystem_Stdio in the compiled module.
Inherit CBaseFileSystem for CFileSystem_Stdio (second VFTable pointer).
Additional cleanup.
2022-06-12 12:14:31 +02:00
Amos
e07f59adbe
Fix detach bug in PRX
2022-06-09 13:30:36 +02:00
Amos
ef68ef96fa
Update vgui_debugpanel.cpp
...
Cleanup and cast loop int to proper type
2022-06-09 13:30:21 +02:00
Amos
3683a9d108
Optimizations
...
Remove extraneous 'c_str()' calls
2022-06-09 11:38:31 +02:00
Kawe Mazidjatari
aaf6e46871
ImGui panel improvements
...
Slight optimizations and cleanup.
Added fade-in effect.
2022-06-09 02:22:01 +02:00
Kawe Mazidjatari
dab5133e07
Rename
2022-06-08 23:35:46 +02:00
Amos
e461412fde
Optimizations
2022-06-08 14:35:44 +02:00
Amos
d909878624
Optimizations
2022-06-08 14:03:04 +02:00
Amos
3cd38b6003
Fix format specifiers
2022-06-08 14:02:43 +02:00
Kawe Mazidjatari
9938c724a2
Cleanup
2022-06-07 13:57:29 +02:00
Kawe Mazidjatari
805cf59ad9
Update packedstore.cpp
2022-06-07 13:49:41 +02:00
Kawe Mazidjatari
326b751934
Light optimizations
2022-06-07 13:46:18 +02:00
Kawe Mazidjatari
872b39514f
Add file extension support to .vpkignore
2022-06-07 13:46:18 +02:00
Kawe Mazidjatari
719fd3b8d2
Fix small mistake
2022-06-07 13:02:21 +02:00
Kawe Mazidjatari
6317888d57
Remove redundant includes
2022-06-06 23:11:01 +02:00
Kawe Mazidjatari
b62cf7c017
Add support for .vpkignore file
...
Folders can be globally excluded using the '.vpkignore' file (placed in the workspace root).
To exclude specific files, use the manifest file.
2022-06-06 23:08:53 +02:00
Kawe Mazidjatari
aa29c3df18
Fix server browser bug
...
Fixed bug where map list would contain multiple same entries when server vpk's are installed among the client ones.
v2.0.7_rc4
2022-06-06 16:46:09 +02:00
Kawe Mazidjatari
02b3f6f6f5
Update dedi CFG files
2022-06-06 15:30:10 +02:00
Kawe Mazidjatari
461920a970
Update terminology entirely for packedstore.h/.cpp
...
VPK tooling also works on the R1 game (Titanfall 1)
2022-06-06 14:54:22 +02:00
Kawe Mazidjatari
6e6e791c10
Fix terminology
...
Log actual entry index ('j') when sharing bytes, 'i' was block.
v2.0.7_rc3
2022-06-06 01:55:42 +02:00
Kawe Mazidjatari
bfac1c25f4
Update lib name for netconsole x86 debug builds
2022-06-06 01:35:18 +02:00
Kawe Mazidjatari
bbe885689a
Add define for compiling launcher for dedicated servers
...
This sets the selected mode to server by default upon launch
2022-06-06 01:31:20 +02:00
Kawe Mazidjatari
e2bc64a65e
Overlap edge of text box with send button
2022-06-06 01:16:40 +02:00
Kawe Mazidjatari
76d8da3db2
Fix return bug
...
CPackedStore::GetManifest() did not return a value in all control paths.
Use proper size types for entry block constructor.
2022-06-06 00:21:13 +02:00
Kawe Mazidjatari
400fc3b47a
Add VPK build exec files
2022-06-06 00:12:48 +02:00
Kawe Mazidjatari
616f9b34fb
Log number of descriptors build into VPK directory file
2022-06-06 00:06:54 +02:00
Kawe Mazidjatari
c9e3ea1f08
Rename to use correct terminology
2022-06-05 22:30:29 +02:00
Kawe Mazidjatari
f446ee03dd
Correct terminology
2022-06-05 22:27:43 +02:00
Kawe Mazidjatari
0ff27bb20d
Fixed bug where logged total directory size is wrong
...
changed writer.GetPosition() to sizeof(VPKDirHeader_t) + m_vHeader.m_nDirectorySize because we seek back to the offset of m_vHeader.m_nDirectorySize.
2022-06-05 22:12:22 +02:00
Kawe Mazidjatari
13f518d773
Fixed VPK manifest bug
...
Fixed bug where VPK root character gets written to the manifest file.
Show detailed data sharing statistics.
2022-06-05 20:55:34 +02:00
Kawe Mazidjatari
d005626aa0
Fix VPK root files bug
...
Files names of files located in the root of a VPK weren't formatted properly
2022-06-05 18:01:23 +02:00
Kawe Mazidjatari
92daef5a32
VPK system improvements
...
More detailed operation statistics.
Discard VPK directory files who's header doesn't match engine requirements.
Separated manifest properly between language and context (you can now package for each language and context from a single workspace).
2022-06-05 17:28:39 +02:00
Kawe Mazidjatari
15c1908478
Additional cleanup
...
Cast to proper types.
Set the archive offset only instead of the entire block. The entry could still have its own flags. The only thing needed for saving data is sharing the same offset and size.
2022-06-05 12:28:49 +02:00
Kawe Mazidjatari
a4783a755e
Fix memory leak
...
Access checksum objects directly vs pointer reference. Structure size equals a 64 bit pointer (fits into a single register).
Allocated memory was never deallocated (my mistake).
2022-06-05 03:01:10 +02:00
Kawe Mazidjatari
fb0a3db69e
Fix spelling V2.0
2022-06-05 02:44:55 +02:00
Kawe Mazidjatari
c7e7a38b08
Set maximum compression level
2022-06-05 02:25:00 +02:00
Kawe Mazidjatari
22029abfc2
Fixed compression bug for VPK system
...
Fixed bug where the compressed buffer size equals the source buffer size getting packed into the VPK chunk. In all occurrences this resulted in corrupted data upon export.
The reason for data being corrupt upon export is because the engine checks the equality of the compressed and decompressed size fields in the directory file, if they are equal, the engine doesn't attempt to decompress the block. So we end up with a still compressed block on the disk (technically not corrupt in the context of the compression lib, but useless as-is on the disk).
If a compressed file doesn't get lower in size we are better out storing it rather than compressing it.
Added a new condition in lzham::lzham_lib_compress_memory which checks source and destination buffer size equality.
2022-06-05 02:24:44 +02:00
Kawe Mazidjatari
ad0f94e973
Implement data sharing algorithm in VPK packing
...
This reduces size of the resulting VPK (checks entry block in hash map).
mp_common compresses to 32mb instead of 37.3mb (original is 38.5mb).
2022-06-04 13:55:24 +02:00