Skip to content

Commit b1d446c

Browse files
authored
Merge branch 'hedge-dev:main' into ControllerHotplugImprovements
2 parents de94e90 + b282cbc commit b1d446c

File tree

205 files changed

+1207
-5171
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

205 files changed

+1207
-5171
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 48 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
name: Bug Report
2+
description: Report a bug, crash, or other type of error in Unleashed Recompiled
3+
type: Bug
4+
body:
5+
- id: validation
6+
type: checkboxes
7+
attributes:
8+
label: Validation
9+
options:
10+
- label: I have checked the [Issues](https://github.com/hedge-dev/UnleashedRecomp/issues) page to see if my problem has already been reported
11+
required: true
12+
- label: I have confirmed that this bug does not occur in the original game running on original Xbox 360 hardware
13+
required: false
14+
- id: dlc-installed
15+
type: checkboxes
16+
attributes:
17+
label: If you have DLC installed, please specify which ones you have.
18+
options:
19+
- label: Apotos & Shamar Adventure Pack
20+
required: false
21+
- label: Chun-nan Adventure Pack
22+
required: false
23+
- label: Empire City & Adabat Adventure Pack
24+
required: false
25+
- label: Holoska Adventure Pack
26+
required: false
27+
- label: Mazuri Adventure Pack
28+
required: false
29+
- label: Spagonia Adventure Pack
30+
required: false
31+
- id: mods-used
32+
type: textarea
33+
validations:
34+
required: false
35+
attributes:
36+
label: If you have mods enabled, please specify which ones you have.
37+
description: Provide a list of your enabled mods in Hedge Mod Manager here. You will not receive support for issues *caused* by mods.
38+
- id: codes-used
39+
type: textarea
40+
validations:
41+
required: false
42+
attributes:
43+
label: If you have codes enabled, please specify which ones you have.
44+
description: Provide a list of your enabled codes in Hedge Mod Manager here.
45+
- id: describe-bug
46+
type: textarea
47+
validations:
48+
required: true
49+
attributes:
50+
label: Describe the Bug
51+
description: A clear and concise description of what the bug is.
52+
- id: repro-steps
53+
type: textarea
54+
validations:
55+
required: true
56+
attributes:
57+
label: Steps to Reproduce
58+
description: Step-by-step instructions on how to reproduce the bug.
59+
placeholder: |
60+
1. Go to '...'
61+
2. etc.
62+
- id: expected-behavior
63+
type: textarea
64+
validations:
65+
required: true
66+
attributes:
67+
label: Expected Behavior
68+
description: A clear and concise description of what you expected to happen.
69+
- id: footage
70+
type: textarea
71+
validations:
72+
required: true
73+
attributes:
74+
label: Footage
75+
description: Attach a screenshot or video of the bug. If possible, please also provide footage of the expected behaviour on original Xbox 360 hardware.
76+
- id: system-specifications
77+
type: textarea
78+
validations:
79+
required: true
80+
attributes:
81+
label: System Specifications
82+
description: Fill out the following details.
83+
placeholder: |
84+
- CPU: (e.g. Intel Core [...], AMD Ryzen [...], etc.)
85+
- GPU: (e.g. NVIDIA GeForce [...], Radeon HD [...], Intel HD [...], etc.)
86+
- GPU Driver: (e.g NVIDIA driver 545.XX, AMD driver 24.X.X, etc.)
87+
- OS: (e.g. Windows 10, Windows 11, Linux distro)
88+
- Version: (e.g. 1.0.0)
89+
- id: additional-context
90+
type: textarea
91+
validations:
92+
required: false
93+
attributes:
94+
label: Additional Context
95+
description: Provide any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: true

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,3 +397,13 @@ FodyWeavers.xsd
397397

398398
# JetBrains Rider
399399
*.sln.iml
400+
401+
# IntelliJ IDEs
402+
.idea/
403+
404+
# macOS metadata
405+
*.DS_Store
406+
407+
# CMake Files
408+
**/cmake-build-debug
409+
**/CMakeCache.txt

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,6 @@
5858
[submodule "thirdparty/json"]
5959
path = thirdparty/json
6060
url = https://github.com/nlohmann/json
61+
[submodule "UnleashedRecomp/api"]
62+
path = UnleashedRecomp/api
63+
url = https://github.com/hedge-dev/SWA.git

UnleashedRecomp/CMakeLists.txt

Lines changed: 9 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ set(UNLEASHED_RECOMP_USER_CXX_SOURCES
183183
"user/config.cpp"
184184
"user/registry.cpp"
185185
"user/paths.cpp"
186+
"user/persistent_data.cpp"
187+
"user/persistent_storage_manager.cpp"
186188
)
187189

188190
set(UNLEASHED_RECOMP_MOD_CXX_SOURCES
@@ -229,7 +231,8 @@ set(UNLEASHED_RECOMP_CXX_SOURCES
229231
"app.cpp"
230232
"exports.cpp"
231233
"main.cpp"
232-
"misc_impl.cpp"
234+
"misc_impl.cpp"
235+
"preload_executable.cpp"
233236
"sdl_listener.cpp"
234237
"stdafx.cpp"
235238
"version.cpp"
@@ -310,7 +313,11 @@ endif()
310313
if (UNLEASHED_RECOMP_D3D12)
311314
find_package(directx-headers CONFIG REQUIRED)
312315
find_package(directx12-agility CONFIG REQUIRED)
313-
target_compile_definitions(UnleashedRecomp PRIVATE UNLEASHED_RECOMP_D3D12)
316+
target_compile_definitions(UnleashedRecomp PRIVATE
317+
UNLEASHED_RECOMP_D3D12
318+
D3D12MA_USING_DIRECTX_HEADERS
319+
D3D12MA_OPTIONS16_SUPPORTED
320+
)
314321
endif()
315322

316323
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
@@ -434,35 +441,6 @@ compile_pixel_shader(resolve_msaa_depth_2x)
434441
compile_pixel_shader(resolve_msaa_depth_4x)
435442
compile_pixel_shader(resolve_msaa_depth_8x)
436443

437-
function(generate_aggregate_header INPUT_DIRECTORY OUTPUT_FILE)
438-
get_filename_component(ABS_OUTPUT_FILE "${OUTPUT_FILE}" ABSOLUTE)
439-
file(GLOB_RECURSE HEADER_FILES "${INPUT_DIRECTORY}/*.h")
440-
set(HEADER_CONTENT "#pragma once\n\n")
441-
442-
foreach(HEADER_FILE IN LISTS HEADER_FILES)
443-
get_filename_component(ABS_HEADER_FILE "${HEADER_FILE}" ABSOLUTE)
444-
if (ABS_HEADER_FILE STREQUAL ABS_OUTPUT_FILE)
445-
continue()
446-
endif()
447-
file(RELATIVE_PATH RELATIVE_HEADER_FILE "${INPUT_DIRECTORY}" "${HEADER_FILE}")
448-
string(APPEND HEADER_CONTENT "#include \"${RELATIVE_HEADER_FILE}\"\n")
449-
endforeach()
450-
451-
if (EXISTS "${OUTPUT_FILE}")
452-
file(READ "${OUTPUT_FILE}" EXISTING_CONTENT)
453-
if (EXISTING_CONTENT STREQUAL HEADER_CONTENT)
454-
return()
455-
endif()
456-
endif()
457-
458-
file(WRITE "${OUTPUT_FILE}" "${HEADER_CONTENT}")
459-
endfunction()
460-
461-
generate_aggregate_header(
462-
"${CMAKE_CURRENT_SOURCE_DIR}/api"
463-
"${CMAKE_CURRENT_SOURCE_DIR}/api/SWA.h"
464-
)
465-
466444
set(RESOURCES_SOURCE_PATH "${PROJECT_SOURCE_DIR}/../UnleashedRecompResources")
467445
set(RESOURCES_OUTPUT_PATH "${PROJECT_SOURCE_DIR}/res")
468446

UnleashedRecomp/api

Submodule api added at f299dd8

UnleashedRecomp/api/CSD/Manager/csdmBase.h

Lines changed: 0 additions & 6 deletions
This file was deleted.

UnleashedRecomp/api/CSD/Manager/csdmMotionPattern.h

Lines changed: 0 additions & 8 deletions
This file was deleted.

UnleashedRecomp/api/CSD/Manager/csdmNode.h

Lines changed: 0 additions & 34 deletions
This file was deleted.

UnleashedRecomp/api/CSD/Manager/csdmNode.inl

Lines changed: 0 additions & 49 deletions
This file was deleted.

UnleashedRecomp/api/CSD/Manager/csdmNodeObserver.h

Lines changed: 0 additions & 10 deletions
This file was deleted.

UnleashedRecomp/api/CSD/Manager/csdmObserverBase.h

Lines changed: 0 additions & 23 deletions
This file was deleted.

UnleashedRecomp/api/CSD/Manager/csdmObserverBase.inl

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)