Commit graph

104 commits

Author SHA1 Message Date
georgemoralis 02ba353401 Autogen system,user,dialog modules (#98)
* some rework on system_service, user_service

* fixed clang format

* more clang fix

* more clang fix

* added error codes in system service

* some libc functions

* fixed fprintf

* small fix

* linux fix

* error handling in user service

* error codes reorganized
2024-03-14 14:18:16 +02:00
georgemoralis af1e3c02ad LLE libc + other fixes part1 (#97)
* app0 folder is absolute

* some improvements on symbols types

* clang format

* missing libs.h

* improved symbols_resolver

* moved config to config folder

* functions to dump import functions

* improved logging output

* option for debugdump and improvements

* Apply suggestions from code review

Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>

* clang format

---------

Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>
2024-03-11 13:26:33 +02:00
qurious-pixel 0645dbb610 add window icons (#92) 2024-03-02 18:39:46 +02:00
Younes c8e79b34a1 - Added Play, Pause, Stop and several other UI icons. (#91)
* - Added Play, Pause, Stop and several other UI icons.
- Added a screenshot :3

* update reuse

* reuse again

* screenshot
2024-03-01 10:47:28 +02:00
georgemoralis a967d891d6 file formats and qt (#88)
* added psf file format

* clang format fix

* crypto functions for pkg decryption

* pkg decryption

* initial add of qt gui , not yet usable

* renamed ini for qt gui settings into shadps4qt.ini

* file detection and loader support

* option to build QT qui

* clang format fix

* fixed reuse

* Update src/core/file_format/pkg.cpp

Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>

* Update src/core/file_format/pkg.cpp

Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>

* Update src/core/file_format/pkg.cpp

Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>

* Update src/core/file_format/pkg.cpp

Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>

* Update src/core/loader.h

Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>

* Update src/core/loader.cpp

Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>

* uppercase fix

* clang format fix

* small fixes

* let's try windows qt build ci

* some more fixes for ci

* Update src/core/file_format/pkg.cpp

Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>

* Update src/core/file_format/pkg.cpp

Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>

* Update src/core/file_format/pkg.cpp

Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>

* Update src/core/file_format/pkg.cpp

Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>

* Update .github/workflows/windows-qt.yml

Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>

* Update src/core/loader.cpp

Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>

* Update src/core/file_format/psf.cpp

Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>

* loader namespace

* Update src/core/loader.cpp

Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>

* constexpr magic

* linux qt ci by qurious

* fix for linux qt

* Make script executable

* ci fix?

---------

Co-authored-by: raziel1000 <ckraziel@gmail.com>
Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>
Co-authored-by: GPUCode <geoster3d@gmail.com>
2024-03-01 00:00:35 +02:00
GPUCode 367350e989 common: Rewrite logging based on cut down citra logger (#86)
* common: Rewrite logging based on cut down Citra logger

* code: Misc fixes

* core: Bring back tls handler

* linker: Cleanup

* config: Remove log level

* logging: Enable console output by default

* core: Fix windows build
2024-02-28 00:10:34 +02:00
georgemoralis c9dce45e4c submodules fixes (#87)
* update discord-rpc

* ignore gitmodules on reuse

* imgui not used atm removed
2024-02-27 20:24:47 +02:00
georgemoralis de0d824fce Modules generation tool (#81)
* Modules generation tool

* apply clang format to generator

* @whereismyfoodat suggestions

* added reuse headers

* reuse part2

* reuse part3

* reuse part3

* replace with hex_id the unknown functions to avoid compile errors with unknown characters from encode_id

* fixes in generation

* some sample module code from autogen tool

* clang format fix
2024-02-24 22:39:29 +02:00
GPUCode 7e5b7a7ffa chore: Make shadps4 REUSE compliant 2024-02-23 23:33:43 +02:00
GPUCode d9e30405ba code: Add clang-format target and CI workflow (#82)
* code: Add clang format target, rules and CI workflow

* code: Run clang format on sources
2024-02-23 22:57:57 +02:00
georgemoralis 9b47a4e72d should work without lib 2024-02-23 14:33:01 +02:00
georgemoralis 3fa14ae739 ugly workaround :D 2024-02-23 14:10:44 +02:00
GPUCode 7faf2d0ee8 common: Rework timekeeping with native RDTSC and port to linux 2024-02-23 11:30:06 +02:00
georgemoralis 8e31542122 some fs work for openorbis (WIP) 2024-01-26 18:01:27 +02:00
georgemoralis efc542bdb8 initial fs implementation (mounting /app0/) 2023-11-19 10:22:46 +02:00
georgemoralis 5c8a34609d moved thread_management to proper package 2023-11-10 17:31:56 +02:00
GPUCode 3b69d5aaaa kernel: To snake case 2023-11-06 01:19:57 +02:00
GPUCode 0150a3e9eb common: Move timer to common 2023-11-06 01:17:28 +02:00
GPUCode 477b4fb07f core: Reorganize 2023-11-06 01:11:54 +02:00
GPUCode 7cdcfb6f98 cmake: Add directory groups 2023-11-05 17:08:47 +02:00
GPUCode 0765017b4f cmake: Update CMakeLists.txt 2023-11-05 14:21:20 +02:00
GPUCode 963f665b6f cmake: Refactor library management 2023-11-05 13:22:32 +02:00
georgemoralis 34846e8b1b finished libc refactoring 2023-10-31 19:08:33 +02:00
georgemoralis 90efe48b27 libc separate stdlib functions to libc_stdlib 2023-10-31 18:12:05 +02:00
georgemoralis e07cfa1d0f libc separated string functions to libc_string 2023-10-31 17:32:56 +02:00
georgemoralis 13b8a74a43 cleanup libc (wip) and separated it to several files 2023-10-31 15:53:46 +02:00
georgemoralis 6e63d783e5 reorganized libc package 2023-10-31 15:37:24 +02:00
georgemoralis a8cd1ac26d refactoring system service 2023-10-31 14:04:35 +02:00
georgemoralis 0eef2a0fba user service refactoring 2023-10-31 13:35:52 +02:00
georgemoralis 35e632a2f0 refactored libpad to new package 2023-10-31 09:01:20 +02:00
georgemoralis 5d90022f6a refactoring Core folder to core 2023-10-31 08:47:58 +02:00
georgemoralis 5499d1c81c file_system reorganized (dummy) 2023-10-30 23:04:57 +02:00
georgemoralis eb783a1d70 implemented sceKernelGetProcessTime 2023-10-30 08:48:52 +02:00
georgemoralis 2b9fecf6d0 restored previous timer class 2023-10-29 23:46:18 +02:00
georgemoralis 1ca3d68f59 removed obsolute fs 2023-10-27 11:07:19 +03:00
GPUCode eef2973a46 core: Remove Timer in favour of std::chrono 2023-10-22 17:17:43 +03:00
GPUCode 7b6a127051 core: Switch to std threading primitives 2023-10-22 17:10:25 +03:00
georgemoralis a805718d6c moved controller to host 2023-10-20 07:25:52 +03:00
georgemoralis 22b8c3568b Merge pull request #58 from georgemoralis/fs
filesystem work
2023-10-20 07:07:59 +03:00
wheremyfoodat 271993b38c Add Result<T, E> type 2023-10-19 18:39:20 +03:00
georgemoralis bf16dbee34 draft fs design 2023-10-19 17:02:49 +03:00
georgemoralis d40728f023 initial fs work (logging mostly) 2023-10-19 12:13:09 +03:00
georgemoralis e78b470668 rewrote libc_cxa 2023-10-16 20:49:52 +03:00
georgemoralis fd2bfc869b refactoring singleton class 2023-10-15 10:03:26 +03:00
georgemoralis 661e2e13f9 Merge pull request #53 from georgemoralis/pad
pad implementation
2023-10-13 20:42:15 +03:00
georgemoralis 70487a4fed some work on pad emulation (WIP) 2023-10-13 09:40:59 +03:00
Stefanos Kornilios Mitsis Poiitidis a239ac10f3 Add auto stubs, static init
- Adds a python script to generate the tables, to avoid std::map init
- Generates stub "slots" to provide runtime information when a stub is called
- Provides fallback for unknown stubs
2023-10-11 11:50:02 +03:00
georgemoralis e748468ab1 implemented some dummy pad, system_service, user_service calls 2023-10-07 12:03:03 +03:00
georgemoralis 59ec120563 some more HLE functions 2023-10-06 21:49:53 +03:00
georgemoralis dc72fae8c6 printf implementation 2023-10-06 14:19:09 +03:00