-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/autogenerate_profile'
- Loading branch information
Showing
9 changed files
with
255 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: CMake on a single platform | ||
|
||
on: | ||
push: | ||
branches: ["master"] | ||
tags: | ||
- 'v[0-9]+.[0-9]+.[0-9]+' | ||
pull_request: | ||
branches: ["master"] | ||
|
||
permissions: | ||
contents: write | ||
|
||
env: | ||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | ||
BUILD_TYPE: Release | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
# UEVR UESDK submodule uses ssh, rewrite to https with access token | ||
- name: Set github url and credentials | ||
run: | | ||
git config --global url."https://${{ secrets.REPO_ACCESS_TOKEN }}@github.com/.insteadOf" [email protected]: | ||
- name: Configure CMake | ||
run: cmake -S ${{github.workspace}} -B ${{github.workspace}}/build -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} | ||
|
||
- name: Build | ||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target pacific_drive_plugin | ||
|
||
- name: Package | ||
working-directory: ${{github.workspace}} | ||
run: Invoke-Item package.cmd | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: PenDriverPro-Win64-Shipping | ||
path: ${{github.workspace}}/build/Release/profile/* | ||
if-no-files-found: error | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: PenDriverPro-Win64-Shipping.zip | ||
body_path: ${{github.workspace}}/release-template.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,5 @@ build*/ | |
cmake-build*/ | ||
CMakerLists.txt | ||
CMakeLists.txt.user | ||
|
||
*.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
@echo off | ||
|
||
REM change path to script direcotry | ||
%~d0 | ||
cd %~dp0 | ||
|
||
rmdir /S /Q build | ||
|
||
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\Tools\VsDevCmd.bat" -arch=x64 -host_arch=x64 & cmake -S . -B build ./build -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Release & cmake --build ./build --clean-first --config Release --target pacific_drive_plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@echo off | ||
|
||
REM change path to script direcotry | ||
%~d0 | ||
cd %~dp0 | ||
|
||
REM mkdir is mkdir -p equivalent with extensions | ||
setlocal enableextensions | ||
|
||
mkdir build\Release\profile\plugins | ||
copy profile_template\* build\Release\profile | ||
copy build\Release\pacific_drive_plugin.dll build\Release\profile\plugins | ||
|
||
del /q PenDriverPro-Win64-Shipping.zip | ||
|
||
7z a PenDriverPro-Win64-Shipping.zip .\build\Release\profile\* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
camera_forward_offset0=0.000000 | ||
camera_forward_offset1=0.000000 | ||
camera_forward_offset2=0.000000 | ||
camera_right_offset0=0.000000 | ||
camera_right_offset1=0.000000 | ||
camera_right_offset2=0.000000 | ||
camera_up_offset0=0.000000 | ||
camera_up_offset1=0.000000 | ||
camera_up_offset2=0.000000 | ||
decoupled_pitch0=false | ||
decoupled_pitch1=false | ||
decoupled_pitch2=false | ||
decoupled_pitch_ui_adjust0=true | ||
decoupled_pitch_ui_adjust1=true | ||
decoupled_pitch_ui_adjust2=true | ||
world_scale0=1.000000 | ||
world_scale1=1.000000 | ||
world_scale2=1.000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
FrameworkConfig_AdvancedMode=true | ||
FrameworkConfig_AlwaysShowCursor=false | ||
FrameworkConfig_EnableL3R3Toggle=true | ||
FrameworkConfig_FontSize=16 | ||
FrameworkConfig_ImGuiTheme=0 | ||
FrameworkConfig_L3R3LongPress=false | ||
FrameworkConfig_LogLevel=2 | ||
FrameworkConfig_MenuKey=45 | ||
FrameworkConfig_MenuOpen=false | ||
FrameworkConfig_RememberMenuState=false | ||
FrameworkConfig_ShowCursorKey=36 | ||
Frontend_RequestedRuntime=openxr_loader.dll | ||
UI_Cylinder_Angle=90.000000 | ||
UI_Distance=2.000000 | ||
UI_FollowView=false | ||
UI_Framework_Distance=1.750000 | ||
UI_Framework_FollowView=false | ||
UI_Framework_MouseEmulation=true | ||
UI_Framework_Size=2.000000 | ||
UI_Framework_WristUI=false | ||
UI_OverlayType=0 | ||
UI_Size=2.000000 | ||
UI_X_Offset=0.000000 | ||
UI_Y_Offset=0.000000 | ||
UObjectHook_AttachLerpEnabled=true | ||
UObjectHook_AttachLerpSpeed=15.000000 | ||
UObjectHook_EnabledAtStartup=true | ||
UObjectHook_ToggleUObjectHookKey=-1 | ||
VR_2DScreenMode=false | ||
VR_AimInterp=false | ||
VR_AimMPSupport=false | ||
VR_AimMethod=2 | ||
VR_AimModifyPlayerControlRotation=false | ||
VR_AimSpeed=15.000000 | ||
VR_AimUsePawnControlRotation=false | ||
VR_AsynchronousScan=true | ||
VR_CameraForwardOffset=0.000000 | ||
VR_CameraRightOffset=0.000000 | ||
VR_CameraUpOffset=0.000000 | ||
VR_Compatibility_AHUD=false | ||
VR_Compatibility_SceneView=false | ||
VR_Compatibility_SkipPostInitProperties=false | ||
VR_Compatibility_SkipUObjectArrayInit=false | ||
VR_Compatibility_SplitScreen=false | ||
VR_ControllerPitchOffset=0.000000 | ||
VR_ControllersAllowed=true | ||
VR_CustomZNear=0.010000 | ||
VR_DPadShifting=true | ||
VR_DPadShiftingMethod=0 | ||
VR_DecoupledPitch=true | ||
VR_DecoupledPitchUIAdjust=true | ||
VR_DepthScale=1.000000 | ||
VR_DesktopRecordingFix_V2=true | ||
VR_DisableHDRCompositing=true | ||
VR_DisableHZBOcclusion=true | ||
VR_DisableInstanceCulling=true | ||
VR_DisableVRKey=-1 | ||
VR_EnableCustomZNear=false | ||
VR_EnableDepth=false | ||
VR_EnableGUI=true | ||
VR_ExtremeCompatibilityMode=false | ||
VR_FrameDelayCompensation=0 | ||
VR_GhostingFix=false | ||
VR_JoystickDeadzone=0.200000 | ||
VR_LoadBlueprintCode=true | ||
VR_LoadCamera0Key=-1 | ||
VR_LoadCamera1Key=-1 | ||
VR_LoadCamera2Key=-1 | ||
VR_MotionControlsInactivityTimer=30.000000 | ||
VR_MovementOrientation=0 | ||
VR_RecenterHorizonKey=-1 | ||
VR_RecenterViewKey=-1 | ||
VR_RecreateTexturesOnReset=true | ||
VR_RenderingMethod=0 | ||
VR_ResetStandingOriginKey=-1 | ||
VR_RoomscaleMovement=false | ||
VR_ShowFPSOverlay=true | ||
VR_ShowStatsOverlay=false | ||
VR_SnapTurn=false | ||
VR_SnapturnJoystickDeadzone=0.200000 | ||
VR_SnapturnTurnAngle=19 | ||
VR_SplitscreenViewIndex=0 | ||
VR_SwapControllerInputs=false | ||
VR_SyncedSequentialMethod=1 | ||
VR_Toggle2DScreenKey=-1 | ||
VR_ToggleSlateGUIKey=-1 | ||
VR_UncapFramerate=true | ||
VR_WorldScale=1.000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
[Window][Debug##Default] | ||
Pos=60,60 | ||
Size=400,400 | ||
Collapsed=0 | ||
|
||
[Window][UEVR [rev. b0778a64][06.02.2024 08:40]] | ||
Pos=674,226 | ||
Size=700,700 | ||
Collapsed=0 | ||
|
||
[Window][UEVR [rev. 74bb1aa6][16.02.2024 13:20]] | ||
Pos=289,10 | ||
Size=700,700 | ||
Collapsed=0 | ||
|
||
[Window][UEVR [rev. 14b01b5b][18.02.2024 09:21]] | ||
Pos=289,9 | ||
Size=700,700 | ||
Collapsed=0 | ||
|
||
[Window][UEVR [rev. 96f14d3f][18.02.2024 23:04]] | ||
Pos=289,10 | ||
Size=700,700 | ||
Collapsed=0 | ||
|
||
[Window][UEVR [rev. 61aa2386][19.02.2024 07:13]] | ||
Pos=289,10 | ||
Size=700,700 | ||
Collapsed=0 | ||
|
||
[Window][UEVR [rev. 9349066b][19.02.2024 14:56]] | ||
Pos=674,226 | ||
Size=700,700 | ||
Collapsed=0 | ||
|
||
[Window][UEVR [rev. 6402d7e9][20.02.2024 09:54]] | ||
Pos=541,81 | ||
Size=1089,903 | ||
Collapsed=0 | ||
|
||
[Window][UEVR [rev. d4a25d8c][20.02.2024 10:44]] | ||
Pos=563,64 | ||
Size=988,943 | ||
Collapsed=0 | ||
|
||
[Window][UEVR [rev. 028ed513][20.02.2024 18:09]] | ||
Pos=608,186 | ||
Size=700,700 | ||
Collapsed=0 | ||
|
||
[Window][UEVR [rev. 79f7a6fa][21.02.2024 05:31]] | ||
Pos=930,370 | ||
Size=700,700 | ||
Collapsed=0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Window][Debug##Default] | ||
Pos=60,60 | ||
Size=400,400 | ||
Collapsed=0 | ||
|
||
[Window][Pacific Drive Plugin] | ||
Pos=60,60 | ||
Size=485,245 | ||
Collapsed=0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
### Pacific Drive UEVR profile | ||
|
||
Import this profile to UEVR using dedicated function | ||
|
||
**You need UEVR nightly from this link**: https://github.com/praydog/UEVR-nightly/releases/tag/nightly-796-c25695a8c0ec35b556229046cc7011e27f4d42ee | ||
|
||
Uses **right motion controller** for camera and held items | ||
|
||
* If you want to play with gamepad or mouse, don't use this | ||
* If you want to use left controller switch it in UEVR 'Input' tab |