Commit Graph

124 Commits

Author SHA1 Message Date
a2x 09413db57a Handle empty names and duplicate values in Rust generator 2024-05-24 21:09:25 +10:00
a2x 3f6c894097 Fix for latest game update 2024-05-24 11:30:54 +10:00
a2x dd7299729a Add patterns for other fields in `CNetworkGameClient` 2024-05-24 10:26:56 +10:00
a2x 23b77e0347 Game update (14009) 2024-05-24 09:12:27 +10:00
a2x bf2ebb716f Show error message if pattern wasn't found 2024-05-08 13:45:58 +10:00
cycript e76b9c8aad add pattern for ``CSoundService`` and ``EngineViewData`` 2024-05-03 19:32:47 +05:30
a2x 96b0942a47 Game update (14004) 2024-04-26 14:16:36 +10:00
a2x d0c40c50cd Reorganize schema system structures into separate files 2024-04-21 00:33:24 +10:00
a2x 13b764854e Refactor argument parsing logic 2024-04-21 00:30:00 +10:00
a2x 80334adade Add pattern for `dwWeaponC4` 2024-04-10 11:20:31 +10:00
a2x 9b8bd68308 Update memory pool size calculation 2024-04-10 10:52:56 +10:00
a2x 1059075dda Fix recursion bug when reading parent class 2024-04-10 02:15:48 +10:00
a2x 8b1ecb7afb Refactor code writer and fix minor things
Also added the ability to specify which files should be generated based on their file type.

E.g. `cs2-dumper.exe -f hpp,json`
2024-04-10 01:11:25 +10:00
a2x 05656b4f0b Rename `IsNull` trait to `PointerExt`
This allows for more pointer extension methods to be added in the future.
2024-04-09 13:10:58 +10:00
a2x 4944a3a630 Avoid generating files for empty modules 2024-04-07 18:23:52 +10:00
a2x 9f37324266 Fix for enum values that could be out of range for their datatype 2024-04-07 15:35:48 +10:00
a2x 7c9d594ca6 Fix issue causing missing schema entries 2024-04-07 03:26:07 +10:00
a2x 6d72c517ed Fix small naming inconsistencies 2024-04-06 12:47:06 +10:00
a2x ce0fb918ab Improve schema parsing 2024-04-06 03:20:54 +10:00
a2x efe4775dc0
Merge pull request #108 from Txreq/escapeuse
Add token escaping for Rust output `r#use`
2024-04-05 00:43:39 +10:00
a2x 9362b0c113 Experimental fix for latest update 2024-04-04 23:42:40 +10:00
Txreq c75480be3e Add token escaping for Rust output `r#use` 2024-04-04 07:38:06 +02:00
a2x 3a935f5d73 Refactor and move Linux code to separate branch 2024-04-03 03:13:57 +11:00
a2x 86dc0fa8f6 Refactor config file handling 2024-04-01 20:39:08 +10:00
a2x ef5ff1c5f4 Update argument name for output directory 2024-04-01 19:13:13 +10:00
a2x 4a10ad3ba6 Remove unused OS name argument 2024-04-01 19:09:44 +10:00
a2x 1a2b23b3c0 Remove temporary workaround for upstream bug 2024-03-31 12:05:25 +10:00
a2x acb0c73f00 Revert to old method of generating schema files 2024-03-30 07:10:29 +10:00
a2x 8217df5885 Remove spaces from `MNetworkVarNames` metadata type names 2024-03-30 00:27:30 +10:00
a2x 9765aff73f Fix `UtlTsHash::elements` bug causing missing schema entries 2024-03-29 23:47:35 +10:00
a2x ce25283e79 Add support for specifying memflow OS name 2024-03-29 23:11:34 +10:00
a2x 8b79c3ba8d Write enum member values in hexadecimal 2024-03-29 18:36:51 +10:00
a2x 413ae710b1 Modify JSON file generation for easier parsing 2024-03-29 18:26:44 +10:00
a2x 621ec605c6 Replace `process.read_ptr` usage with `ptr.read` 2024-03-29 16:12:37 +10:00
a2x c00ac5dbb7 Remove spaces from field type names 2024-03-29 10:56:04 +10:00
a2x 87fccce283 Revert renaming class, enum and field names 2024-03-29 01:51:20 +10:00
a2x bf890592c2 Generate info.json file with timestamp and build number 2024-03-29 00:45:04 +10:00
a2x 889ef7dcd8 Merge `dev` branch into `main` 2024-03-28 22:19:20 +10:00
a2x 1c3eacb744
Merge branch 'main' into linux 2024-03-28 18:54:33 +10:00
Albert24GG e50d781c0d Use separate structs for windows and linux 2024-03-17 00:09:13 +02:00
a2x 0866120bc4 Fix compilation issue in offset tests 2024-03-16 10:44:41 +10:00
Albert24GG 92d790091c Dump linux files in `generated_linux` 2024-03-07 12:37:56 +02:00
Albert24GG cfb038485f Remove deprecated `address.rs` 2024-03-06 10:53:42 +02:00
Albert24GG fa963c7d15 Remove duplicate `#[inline]` 2024-03-06 10:41:33 +02:00
Albert24GG e12cfcc226 Solve unused imports on windows 2024-03-06 10:40:56 +02:00
Albert24GG 7e573bdcb6 Add first offsets config for linux 2024-03-06 10:35:48 +02:00
Albert24GG 6a1600d432 Solve `unused imports` warning 2024-03-06 10:34:47 +02:00
Albert24GG c19eaf1756 Fix compilation errors on windows 2024-03-05 18:01:00 +02:00
Albert24GG 96da055d1a Move platform specific configs in config.rs 2024-03-05 13:40:07 +02:00
Albert24GG 10a908ab6f Port `schemasystems` dumper to linux 2024-03-05 01:16:32 +02:00