[PR #81] [MERGED] Modules generation tool #1273

Closed
opened 2026-02-27 21:11:53 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/81
Author: @georgemoralis
Created: 2/22/2024
Status: Merged
Merged: 2/24/2024
Merged by: @georgemoralis

Base: mainHead: gentool


📝 Commits (10+)

  • 8636023 Modules generation tool
  • c7693f7 apply clang format to generator
  • 3a6dec3 @whereismyfoodat suggestions
  • 0df6dfb Merge branch 'main' into gentool
  • d137abe Merge branch 'main' into gentool
  • a3d88a3 added reuse headers
  • 8447f3e reuse part2
  • 4ebd164 reuse part3
  • 97ccf98 reuse part3
  • 5303d20 replace with hex_id the unknown functions to avoid compile errors with unknown characters from encode_id

📊 Changes

24 files changed (+46845 additions, -2 deletions)

View changed files

📝 .gitmodules (+4 -0)
📝 CMakeLists.txt (+6 -0)
externals/ps4libdoc (+1 -0)
📝 src/core/hle/libraries/libs.h (+5 -2)
src/core/libraries/error_codes.h (+8 -0)
src/core/libraries/library_common.h (+6 -0)
src/core/libraries/libscegnmdriver.cpp (+1738 -0)
src/core/libraries/libscegnmdriver.h (+263 -0)
tools/ModuleGenerator/.clang-format (+91 -0)
tools/ModuleGenerator/CMakeLists.txt (+23 -0)
tools/ModuleGenerator/json.hpp (+24596 -0)
tools/ModuleGenerator/libraries/libkernel.cpp (+7646 -0)
tools/ModuleGenerator/libraries/libkernel.h (+1061 -0)
tools/ModuleGenerator/libraries/libscegnmdriver.cpp (+1774 -0)
tools/ModuleGenerator/libraries/libscegnmdriver.h (+263 -0)
tools/ModuleGenerator/libraries/libscepad.cpp (+658 -0)
tools/ModuleGenerator/libraries/libscepad.h (+104 -0)
tools/ModuleGenerator/libraries/libscesystemservice.cpp (+3304 -0)
tools/ModuleGenerator/libraries/libscesystemservice.h (+481 -0)
tools/ModuleGenerator/libraries/libsceuserservice.cpp (+2978 -0)

...and 4 more files

📄 Description

This tool is for producing dummy modules for shadps4 from ps4libdoc (we use fw 9.0 docs)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/81 **Author:** [@georgemoralis](https://github.com/georgemoralis) **Created:** 2/22/2024 **Status:** ✅ Merged **Merged:** 2/24/2024 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `gentool` --- ### 📝 Commits (10+) - [`8636023`](https://github.com/shadps4-emu/shadPS4/commit/863602305a33569ffadee1ba0aa290cc363d0524) Modules generation tool - [`c7693f7`](https://github.com/shadps4-emu/shadPS4/commit/c7693f77d48cff4d87541f071e847cf18c389d73) apply clang format to generator - [`3a6dec3`](https://github.com/shadps4-emu/shadPS4/commit/3a6dec39870068b33c5f1ec2ba1eb88524a05f3e) @whereismyfoodat suggestions - [`0df6dfb`](https://github.com/shadps4-emu/shadPS4/commit/0df6dfb8447b301dc9be8dd2c6b971fa99cfa38d) Merge branch 'main' into gentool - [`d137abe`](https://github.com/shadps4-emu/shadPS4/commit/d137abe203b2c7473a7740293d169f7b9dc086b4) Merge branch 'main' into gentool - [`a3d88a3`](https://github.com/shadps4-emu/shadPS4/commit/a3d88a3d02e24a41862b82e1d1f323d58a86d200) added reuse headers - [`8447f3e`](https://github.com/shadps4-emu/shadPS4/commit/8447f3e06d26ac8a0cda60ebf3fa852c86bbed2b) reuse part2 - [`4ebd164`](https://github.com/shadps4-emu/shadPS4/commit/4ebd1641a53ebeb3095209f8b1fab6b814453a9d) reuse part3 - [`97ccf98`](https://github.com/shadps4-emu/shadPS4/commit/97ccf989aae5e4685bac9d3bdf14985408b58e3f) reuse part3 - [`5303d20`](https://github.com/shadps4-emu/shadPS4/commit/5303d203a4b03e3dc1910f48885069f9c958d0a7) replace with hex_id the unknown functions to avoid compile errors with unknown characters from encode_id ### 📊 Changes **24 files changed** (+46845 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `.gitmodules` (+4 -0) 📝 `CMakeLists.txt` (+6 -0) ➕ `externals/ps4libdoc` (+1 -0) 📝 `src/core/hle/libraries/libs.h` (+5 -2) ➕ `src/core/libraries/error_codes.h` (+8 -0) ➕ `src/core/libraries/library_common.h` (+6 -0) ➕ `src/core/libraries/libscegnmdriver.cpp` (+1738 -0) ➕ `src/core/libraries/libscegnmdriver.h` (+263 -0) ➕ `tools/ModuleGenerator/.clang-format` (+91 -0) ➕ `tools/ModuleGenerator/CMakeLists.txt` (+23 -0) ➕ `tools/ModuleGenerator/json.hpp` (+24596 -0) ➕ `tools/ModuleGenerator/libraries/libkernel.cpp` (+7646 -0) ➕ `tools/ModuleGenerator/libraries/libkernel.h` (+1061 -0) ➕ `tools/ModuleGenerator/libraries/libscegnmdriver.cpp` (+1774 -0) ➕ `tools/ModuleGenerator/libraries/libscegnmdriver.h` (+263 -0) ➕ `tools/ModuleGenerator/libraries/libscepad.cpp` (+658 -0) ➕ `tools/ModuleGenerator/libraries/libscepad.h` (+104 -0) ➕ `tools/ModuleGenerator/libraries/libscesystemservice.cpp` (+3304 -0) ➕ `tools/ModuleGenerator/libraries/libscesystemservice.h` (+481 -0) ➕ `tools/ModuleGenerator/libraries/libsceuserservice.cpp` (+2978 -0) _...and 4 more files_ </details> ### 📄 Description This tool is for producing dummy modules for shadps4 from ps4libdoc (we use fw 9.0 docs) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:11:53 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#1273
No description provided.