Commit graph

7874 commits

Author SHA1 Message Date
Gliniak 674870d881 [D3D12] Fixed stability issues (Graphics lost) on AMD GPUs
- This includes infamous 6000 series crashes and crashes on newer drivers for 7000 and 9000 series

Issue was caused by returning invalid (negative) address from MaxAs opcode.

Currently it is unknown if this behaviour is correct and should be checked on console, so slight graphical issues might be present
2025-04-28 23:34:17 +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
Gliniak 7797adf5f2 [UI] Fixed issue with freezing/crashing (BSOD) UI caused by incorrect fence 2025-04-26 11:17:27 +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
Gliniak afe74e3d72 [UI] Fixed issue with multiple ImGui windows having the same ID 2025-04-24 22:24:54 +02:00
Gliniak 8f647c548d [D3D12] Removed GBV warning related to incorrect blend setup in specific conditions 2025-04-24 19:30:57 +02:00
Adrian 2941b672d6 [Kernel] Implemented NtFreeEncryptedMemory 2025-04-23 07:56:28 +02:00
Gliniak 7566871220 [D3D12] Changed default resource state based on GPU Validation
- This prevents GBV from spamming warnings
2025-04-22 19:31:31 +02:00
Adrian 179591c8bc [UI] Include null terminator in MessageBoxDialog 2025-04-20 22:53:40 +02:00
Gliniak 8197881803 [UI] Added detailed installation state to "Install Content" option 2025-04-19 21:13:46 +02:00
Gliniak 5ba6c2b840 [VFS] Improved initial loading time during "Install Content" 2025-04-19 16:54:25 +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
Xphalnos 5d5eb03127 [GPU] Adding Registers from Xenon 2025-04-17 13:18:52 +02:00
Marco Rodolfi 066391fb59 [main ui] Properly handle XDG format specifications for Linux systems.
The issue was stemming from the fact that by default Xenia is running in portable mode, as in use the same root directory as the executable for its datafiles.

This default is an issue when using this software from a POSIX platform, since a lot of the times the location where the binary resides is not writable by default.

Therefore, force portable mode to be disabled on non Windows platforms.
2025-04-17 07:41:30 +02:00
Adrian bde7d5579a [Kernel] Fixed xex2_version 2025-04-15 20:37:20 +02:00
Gliniak 31d715d100 [Premake] Removed unused/unnecessary subprojects.
- Testing currently doesn't work
- VFS Dump is unused. You can use internal function for it
- Demos are only for fun
- Trace Dump & Trace Viewer (unsure, but ok)

You can re-enable them by changing values: enableTests and enableMiscSubprojects in main premake file.

In the future there should be xb command support to overwrite them
2025-04-15 09:04:16 +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
Gliniak 7667958556 [3PP] Added Libusb 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
Gliniak 86a25791d0 [Base] Fixed possible compilation failure 2025-04-01 00:00:03 +02:00
Gliniak 30dcc09714 [3PP] Uplifted Premake to 5.0-beta6 and cleaned up premake file 2025-04-01 00:00:03 +02:00
Gliniak a0d199cd35 [XAM/UI] Fixed crashing on Titles & Achievements menu 2025-03-31 21:32:41 +02:00
Gliniak 7a2f53bf20 [XAM] Added default value for controller vibration.
- Added notification broadcast while changing controller vibration state
2025-03-30 21:36:47 +02:00
Xphalnos 7479ccc292 [Misc] Fix Some Warnings on Clang Build with Windows + Adding constexpr 2025-03-27 17:52:18 +01:00
Xphalnos 5f918ef28d [Misc] Replaced const with constexpr where possible 2025-03-25 19:50:37 +01:00
Margen67 d20620eb5e [CI] Linux: Add bat+ps1 2025-03-23 14:22:16 -07:00
Margen67 0ee39400fe [xb] Use WINDIR env var 2025-03-23 12:20:48 -07:00
Gliniak a45a9d8704 [UI] Resolved issues caused by ImGui uplift.
- Fixed size of default font size
- Added logic to not load nullptr texture to prevent unexpected issues
- Commited out some trace viewer UI logic for now. It should be redesigned with tables in mind
2025-03-19 22:51:04 +01:00
Gliniak f61d52dc46 [3PP] Uplifted ImGui 2025-03-19 22:47:20 +01:00
Gliniak 40bd0080f1 [Kernel] Fixed TU loading on Linux 2025-03-18 22:37:34 +01:00
Gliniak b7066c7a15 [VFS] Fixed "Install Content" option on Linux 2025-03-18 22:37:34 +01:00
Adrian 1e2f903a4a [XAM] Improved XContentQueryVolumeDeviceType 2025-03-16 20:55:39 +01:00
Gliniak 6ae45effd0 [XAM] Fixed issue with profile creation introduced in previous version 2025-03-16 20:05:12 +01:00
Gliniak 8926bdcdd6 [XAM] Fixed issue with achievements saving in Forza series.
Remove this ducktape asap and remove hardcodes
2025-03-15 23:59:34 +01:00
Gliniak 9132035a51 [UI] Fixed issue with games list UI crashing on close on Vulkan 2025-03-15 23:11:36 +01:00
Gliniak ae1c1e017d [UI] Fixed issue with font not being loaded in certain conditions 2025-03-15 23:10:46 +01:00
Gliniak d801e047dc [Kernel] Adjusted threshold of delay triggering for threads from all with Normal priority to Below Normal.
This should resolve slowdowns introduced in one of the latests build
2025-03-15 18:48:28 +01:00
Gliniak 23d1f7a308 [XAM] Added overlap to XamUserWriteProfileSettings
This fixes saving in Earthworm Jim

Additionally fixed issue with not setting xuid to -1 when not provided
2025-03-13 22:54:02 +01:00
Gliniak c4867250e4 [XAM] Fixed issue with invalid settings in UE games 2025-03-12 22:53:27 +01:00
Adrian 25b3540480 [XAM] Added XEnableGuestSignin 2025-03-12 15:10:35 +01:00