Commit Graph

2054 Commits

Author SHA1 Message Date
Adrian
f6323beb20 [XGI] Restrict XSessionCreate to offline sessions
Fixed Peggle from crashing after completing a level.
2025-06-22 20:04:09 +02:00
The-Little-Wolf
20d3ac4ca9 [XAM/USER] - Implement Multiple Functions
- Implement XamUserGetCachedUserFlags, XamIsChildAccountSignedIn, XamUserGetOnlineLanguageFromXUID and XamUserGetOnlineCountryFromXUID
- add IsParentalControlled()
2025-06-22 18:15:41 +02:00
Adrian
fd1abfe6aa [Lint/CI] Use LLVM v19 for Linux & Lint 2025-06-21 00:25:27 +02:00
The-Little-Wolf
f91be22742 [KERNEL/KERNEL_STATE] - Startup kXNotifyLive
- Notify game user is not connect to live
2025-06-20 23:40:35 +02:00
The-Little-Wolf
f65f044ee5 [XAM/UI] - XamShowMarketplaceUI Improvements
- Replacing magic numbers
- Replacing unknown parameters
- Adding more xnotification ids
2025-06-13 22:10:06 +02:00
NicknineTheEagle
422517c673 [XAM] Only show license_mask instructions for XBLA game unlock offer ids 2025-06-06 19:25:49 +02:00
Gliniak
b864149575 [Misc] Cleanup in Kernel 2025-05-31 12:00:47 +02:00
Gliniak
50492a951e [Misc] Moved pe_image to base from 3pp and cut unnecessary parts 2025-05-31 10:05:00 +02:00
Gliniak
31ce3e0c71 [XAM] Added overlap to XamUserReadProfileSettings
- Removed delay on CompleteOverlappedDeferredEx
2025-05-30 23:39:17 +02:00
Gliniak
96c2fb13f7 [Kernel] NtReadFile: Add APC call only for successful executions 2025-05-30 20:08:26 +02:00
Gliniak
97be6ebf51 [Kernel] XFile: Override file position if offset is provided 2025-05-30 19:12:39 +02:00
Gliniak
6173cedde7 [XAM] Changed behaviour of XamUserReadProfileSettings for invalid settings 2025-05-30 18:56:46 +02:00
Gliniak
e601b5ab87 [UI] Added modify profile UI
- Changed default icons size from 75x75 to 64x64 to match console icons size
- Added png_utils
- Removed all dialogs from xam_ui.cc into separate entities under xam/ui
- Added option to return INT32 and WSTRING type settings to host
- Added multiple enums related to user settings
- Added code to handle changing user pfp
- Fixed bug with system app being added to GPD played list
- Changed logic in: XamUserGetUserFlagsFromXUID
- Implemented: XamUserIsOnlineEnabled
- Implemented: XamUserGetMembershipTier
- Implemented: XamUserGetMembershipTierFromXUID
- Implemented: XamUserGetUserTenure
- Partially Implemented: XamUserGetSubscriptionType
2025-05-29 09:00:14 +02:00
Gliniak
bb20633c52 [Kernel] Fixed bug in IsOriginalXboxTitle and IsAppTitle function
- Added static assertions to functions: IsXblaTitle, IsSystemTitle, IsOriginalXboxTitle
2025-05-27 09:12:13 +02:00
The-Little-Wolf
9308a35624 [XAM/VOICE] - Stub XamVoiceGetMicArrayStatus
- Stub XamVoiceGetMicArrayStatus
2025-05-25 22:02:03 +02:00
Gliniak
f4b854e484 [Kernel] Added option to load provided XAM for resource usage
- Added XEX1 key
- Removed annoying assertion from xeXamEnumerate
- Added returning hmodule_ptr for resource locator
2025-05-20 23:14:22 +02:00
Gliniak
97a45315e3 [XConfig] Added enum for all config settings 2025-05-20 22:41:27 +02:00
Gliniak
a79c00f67a [XConfig] Changed raw category values into enum 2025-05-20 22:13:53 +02:00
Gliniak
b43cb2ed8e [XAM] Added stub for: XamDoesOmniNeedConfiguration
- XamFirstRunExperienceShouldRun
2025-05-18 23:14:47 +02:00
Gliniak
d211130c6c [Kernel] Fixed incorrect behaviour of IsSystemTitle util
- Added missing symlinks
2025-05-17 22:28:22 +02:00
Radosław Gliński
5e9019309e [Misc] Removed dead link 2025-05-17 17:52:07 +02:00
imaginebeingatcomputers
fb3c12d362 [Kernel] Toggle DmIsDebuggerPresent when debug = true 2025-05-15 21:17:59 +02:00
Gliniak
fe739208b6 [VFS] Rewrote STFS to use memory mapping
- Replaced old-style buffer, buffer_length with std::span
- Added STFS and SVOD specific Entry and File classes
- Other smaller improvements
2025-05-14 21:38:02 +02:00
Gliniak
e85c2392ba [Kernel] Implemented: KeSetPriorityThread 2025-05-12 21:10:35 +02:00
Gliniak
de3b49e356 [XAM] Added overlap to XamReadTile 2025-05-07 20:41:34 +02:00
Gliniak
f6d9e76fca [XAM] Fixed assertion related to incorrect casting
This should fix crash in 12xxx dashboard while browsing achievements

- Fixed issue with invalid time being presented for some achievements
- Added stub for: XampWebInstrumentationSetProfileCounts
2025-05-07 20:05:29 +02:00
Gliniak
dd112ed462 [XAM] Multiple Profile/Dashboard related changes.
- Replaced multiple unknown parameters with proper named ones
- Added code to support creation of profile from dashboard initial run
- Added flag to remove ODD from being enumerated in devices (probably valid but not sure)
2025-05-06 23:10:18 +02:00
Gliniak
d18f80457d [XAM] Implemented: XamReadTile(Ex)
- Added missing param to XamContentAggregateCreateEnumerator
2025-05-05 23:47:11 +02:00
Gliniak
c15dde52d6 [Kernel/Video] Removed unknown fields from X_VIDEO_MODE structure
- Additionally changed some messages level to more reasonable one
2025-05-05 21:30:40 +02:00
Gliniak
9434cc89c9 [XAM] Fixed specific edge-case when DLCs or Installed Data wouldn't be visible
This was caused by including flag "exclude common" for enumerations without xuid

- Added enum XContentFlag
2025-05-05 19:53:36 +02:00
Adrian
6b055f1f74 [XAM] Assert struct sizes and misc struct adjustments 2025-05-05 19:26:34 +02:00
The-Little-Wolf
8cf15a8d54 [XAM/INFO] - Implement XamSetActiveDashAppInfo and XamGetActiveDashAppInfo
- Implement XamGetActiveDashAppInfo and XamSetActiveDashAppInfo
2025-05-05 12:12:20 +02:00
Gliniak
bc6bce780a [XAM/XMP] Added missing nullptr check in: XMPGetStatus 2025-05-03 21:29:37 +02:00
Adrian
900a02efff [XAM] Added property deserialization 2025-04-27 23:39:46 +02:00
Gliniak
be715f76fa [Linux] Resolved issue with huge executable file under linux
- Fixed compilation issues
2025-04-27 18:42:41 +02:00
Gliniak
03571ac4c1 [XAM] Added space reporting from "content" storage drive.
Fixed warning related to uninitialized license
2025-04-27 16:34:13 +02:00
Gliniak
b8296a9bc9 [XAM] Partial implementation of: XamContentResolve and Listing of ODD content packages
It's not perfect as it doesn't take internal package name or data, but it should be good enough for most titles
2025-04-26 17:49:22 +02:00
Adrian
418de9b7f2 [XAM] Increase free space on HDD device
Defiance requires at least 5 GB of free space to install.
2025-04-26 15:45:14 +02:00
The-Little-Wolf
be44b9ba33 [XAM/INFO] - Implement multiple functions
- Implement XamIsSystemExperienceTitleId, XamIsSystemTitleId, XamIsXbox1TitleId
- Replaced is_title_system_type
- Changed XamIsCurrentTitleDash
- Reduced magic numbers
2025-04-25 11:06:06 +02:00
Adrian
2941b672d6 [Kernel] Implemented NtFreeEncryptedMemory 2025-04-23 07:56:28 +02:00
Gliniak
56703e52e2 [UI] Redesigned "Install Content" window
- Added ID for each ImGui window
- Added filesystem::CreateFolder function
2025-04-18 21:55:58 +02:00
Adrian
bde7d5579a [Kernel] Fixed xex2_version 2025-04-15 20:37:20 +02:00
Gliniak
7298536d46 [HID] Added support for Xbox 360 Skylanders Portal
- This requires Zadig for installation of WinUSB driver for portal
2025-04-14 21:44:49 +02:00
The-Little-Wolf
d2b265e251 [XAM/NUI] - Implement More Functions
- Implement XamNuiIsDeviceReady, XamNuiIdentityGetSessionId, XamNuiHudGetInitializeFlags, XamIsNuiUIActive, XamUserNuiGetUserIndexForSignin and XamNuiHudGetVersions
- Stub XamIsNuiAutomationEnabled/XamIsNatalPlaybackEnabled, XamUserNuiGetUserIndex, XamUserNuiEnableBiometric, XamNuiGetDepthCalibration, XamNuiSkeletonGetBestSkeletonIndex, XamNuiIsChatMicEnabled, XamNuiPlayerEngagementUpdate, XamNuiCameraTiltGetStatus, XamNuiCameraElevationGetAngle, XamNuiCameraGetTiltControllerType, XamNuiCameraSetFlags,  XamShowNuiGuideUI, XamNuiHudIsEnabled, XamNuiIdentityEnrollForSignIn , XamNuiIdentityAbort and XamNuiHudSetEngagedTrackingID
- According to Xam XamIsNuiAutomationEnabled, and XamIsNatalPlaybackEnabled are the same function.
- Left Notes for future reference
2025-04-14 09:17:52 +02:00
Adrian
02c95bee06 [XAM] Implemented XamShowCreateProfileUI 2025-04-13 21:52:11 +02:00
Michael Oliver
1a356f7344 [Kernel] Add option to ignore incompatible title updates with mismatched signatures 2025-04-12 22:16:41 +02:00
Xphalnos
47f327e848 [Misc] Replaced const with constexpr where possible 2025-04-08 19:32:17 +02:00
Michael Oliver
c4f1bf27ef [UI] Add paste functionality to keyboard input dialog 2025-04-06 18:08:06 +02:00
The-Little-Wolf
0771938db6 [Kernel] - Implemented SystemManagementController Class
- Added handling (partial or dummy) for SMC actions:
 - QUERY_TEMP_SENSOR, QUERY_TRAY, QUERY_AV_PACK, QUERY_SMC_VERSION, QUERY_IR_ADDRESS, QUERY_TILT_SENSOR
 - SET_FAN_SPEED_CPU, SET_FAN_SPEED_GPU, SET_DVD_TRAY, SET_IR_ADDRESS, SET_POWER_LED, SET_LEDS

- Stub HalOpenCloseODDTray, XamLoaderGetMediaInfo, XamLoaderGetMediaInfoEx
- Partially Implement HalSendSMCMessage
- Implement XamLoaderGetDvdTrayState
- HalOpenCloseODDTray is used by dash and HalSendSMCMessage can be used by custom dashboards
2025-04-06 17:30:56 +02:00
The-Little-Wolf
4b24f128f6 [XBOXKRNL & XAM] - Video, Hal, And XConfig
- Properly implement HalGetCurrentAVPack, and XGetAudioFlags.
- Return proper flags for AV Component, AV Composite, and VGA from xconfig.
- Set to HD to proper value.
- Correct wrong widescreen flag.
2025-04-01 07:59:22 +02:00