Asset: Added the upgraded UE4.26 to UE5.1 project files

This commit is contained in:
parvan 2025-12-21 13:00:04 -06:00
parent 5a16829092
commit abca2aa92c
7952 changed files with 187142 additions and 0 deletions

View file

@ -0,0 +1,40 @@
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "Cardinal Fall - Saved Files Remover"
#define MyAppVersion "1.0"
#define MyAppPublisher "Metahusk"
#define MyAppURL "metahusk.com"
[Setup]
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{D1B52821-F0B8-4F0E-A526-234C7E855F1D}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={localappdata}\Cardinal
DisableDirPage=yes
DefaultGroupName={#MyAppName}
DisableProgramGroupPage=yes
; Remove the following line to run in administrative install mode (install for all users).
PrivilegesRequired=lowest
PrivilegesRequiredOverridesAllowed=commandline
OutputDir=C:\Unreal\Projects\cardinal-fall
OutputBaseFilename=Epic_CardinalInstaller
SolidCompression=yes
WizardStyle=modern
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[UninstallDelete]
Type: filesandordirs; Name: "{localappdata}\Cardinal\Saved"
; To test, run in cmd: C:\Unreal\Projects\cardinal-fall\Epic_CardinalInstaller.exe /verysilent
; And then run: %localappdata%\Cardinal\unins000.exe /verysilent

View file

@ -0,0 +1,44 @@
Differences between Steam and Epic:
Multiplayer is disabled on Epic by having this file present: \Cardinal\Binaries\Win64\disable-multiplayer
The uninstaller is renamed and placed in the local directory because Epic cannot access the appdata folder.
The DLC is the same.
To push an update:
1. Build a "Shipping" copy of the game. Make sure the target folder is empty and BP_DebugGameSettings has all the variables unchecked.
2. Copy that "Shipping" build of the game into an Epic BuildPatch Tool folder named CardinalReleaseUpload.
> For Example: C:\Unreal\Projects\BuildPatchTool_1.7.3.1\CardinalReleaseUpload
2. And paste a copy of the Credits.txt file into the root of CardinalReleaseUpload.
3. Also, paste a copy of the "Cardinal" folder from the ExtraFiles folder in the CardinalReleaseUpload folder. (This adds the "disable-multiplayer" file into the same directory as the binary.)
4. Then copy Epic_CardinalInstaller.exe, Epic_CardinalUninstaller.exe, and Epic_CardinalUninstaller.dat into the root of the CardinalReleaseUpload directory.
5. After that, create a CloudDir directory in the root of the Epic BuildPatch Tool directory. For Example: C:\Unreal\Projects\BuildPatchTool_1.7.3.1\CloudDir
6. (Untested without but maybe not needed?) Then after that, copy the file FileAttributeList.txt from the project's EpicGamesStore folder into the root of Epic's BuildPatch Tool directory. (Do not copy it into your upload directory)
> For Example: copy C:\Unreal\Projects\cardinal-fall\EpicGamesStore\FileAttributeList.txt into C:\Unreal\Projects\BuildPatchTool_1.7.3.1
In a command prompt, paste this and manually add the SECRET (ClientSecretEnvVar):
set EpicSecret=<YourClientSecret>
After that, paste this into a cmd prompt:
Important! To push an update for the game, change the BuildVersion. (It will say The artifact "ArtifactID" already has a binary registereed with version "BuildVersion".)
C:\Unreal\Projects\BuildPatchTool_1.7.3.1\Engine\Binaries\Win64\BuildPatchTool.exe -OrganizationId="o-av2at78fnjrda5k4xzj8duluewkzk8" -ProductId="4c095655c4144ced8f03b770c18dd906" -ArtifactId="8b788ebc4e1e462c8ce9bfbc6ffbef59" -ClientId="xyza7891KpEHJU5XXWJP4oFx5wbKfeva" -ClientSecretEnvVar="EpicSecret" -mode=UploadBinary -BuildRoot="C:\Unreal\Projects\BuildPatchTool_1.7.3.1\CardinalReleaseUpload" -CloudDir="C:\Unreal\Projects\BuildPatchTool_1.7.3.1\CloudDir" -BuildVersion="Release4.3" -AppLaunch="Cardinal.exe" -AppArgs="" -PrereqPath="Epic_CardinalInstaller.exe" -PrereqArgs="/verysilent" -UninstallActionPath="Epic_CardinalUninstaller.exe" -UninstallActionArgs="/verysilent" -FileAttributeList="C:\Unreal\Projects\cardinal-fall\EpicGamesStore\FileAttributeList.txt"
For the DLC, from the Steam directory paste the dlc-bronze, dlc-silver, dlc-gold folders into the BuildPatch Tool root, and then run these in a cmd prompt:
Bronze:
C:\Unreal\Projects\BuildPatchTool_1.7.3.1\Engine\Binaries\Win64\BuildPatchTool.exe -OrganizationId="o-av2at78fnjrda5k4xzj8duluewkzk8" -ProductId="4c095655c4144ced8f03b770c18dd906" -ArtifactId="96d41f84bb054b6c8fcc628991b9071e" -ClientId="xyza7891KpEHJU5XXWJP4oFx5wbKfeva" -ClientSecretEnvVar="EpicSecret" -mode=UploadBinary -BuildRoot="C:\Unreal\Projects\BuildPatchTool_1.7.3.1\dlc-bronze" -CloudDir="C:\Unreal\Projects\BuildPatchTool_1.7.3.1\CloudDir" -BuildVersion="Release2" -AppLaunch="" -AppArgs=""
Silver:
C:\Unreal\Projects\BuildPatchTool_1.7.3.1\Engine\Binaries\Win64\BuildPatchTool.exe -OrganizationId="o-av2at78fnjrda5k4xzj8duluewkzk8" -ProductId="4c095655c4144ced8f03b770c18dd906" -ArtifactId="18ba9f3c816d4d238861af71169bba43" -ClientId="xyza7891KpEHJU5XXWJP4oFx5wbKfeva" -ClientSecretEnvVar="EpicSecret" -mode=UploadBinary -BuildRoot="C:\Unreal\Projects\BuildPatchTool_1.7.3.1\dlc-silver" -CloudDir="C:\Unreal\Projects\BuildPatchTool_1.7.3.1\CloudDir" -BuildVersion="Release2" -AppLaunch="" -AppArgs=""
Gold:
C:\Unreal\Projects\BuildPatchTool_1.7.3.1\Engine\Binaries\Win64\BuildPatchTool.exe -OrganizationId="o-av2at78fnjrda5k4xzj8duluewkzk8" -ProductId="4c095655c4144ced8f03b770c18dd906" -ArtifactId="56a328ff349b46f0bab68741ab258022" -ClientId="xyza7891KpEHJU5XXWJP4oFx5wbKfeva" -ClientSecretEnvVar="EpicSecret" -mode=UploadBinary -BuildRoot="C:\Unreal\Projects\BuildPatchTool_1.7.3.1\dlc-gold" -CloudDir="C:\Unreal\Projects\BuildPatchTool_1.7.3.1\CloudDir" -BuildVersion="Release2" -AppLaunch="" -AppArgs=""
Double Check:
1. Make sure it was a SHIPPING build with all the flags in BP_DebugGameSettings set to false / unchecked.
2. Make sure the ExtraFiles copied the file "disable-multiplayer" in the same directory as the binary.
3. Make sure the current Credits.txt files is copied into the root of the folder.
4. Make sure the installer and uninstaller files are present in the root directory.
5. It's unknown if the FileAttributeList.txt file is neccessary. It hasn't been tested without.
Testing:
Bug: The game asks for network priviledges. Epic doesn't have an easy way to fix this. It might require using a script?

View file

@ -0,0 +1,2 @@
"Epic_CardinalInstaller.exe" executable
"Epic_CardinalUninstaller.exe" executable

View file

@ -0,0 +1,18 @@
"DepotBuild"
{
// Set your assigned depot ID here
"DepotID" "4094750"
// include all files recursivley
"FileMapping"
{
// This can be a full path, or a path relative to ContentRoot
"LocalPath" "..\dlc-bronze\*"
// This is a path relative to the install folder of your game
"DepotPath" "."
// If LocalPath contains wildcards, setting this means that all
// matching files within subdirectories of LocalPath will also
// be included.
"Recursive" "1"
}
}

View file

@ -0,0 +1,18 @@
"DepotBuild"
{
// Set your assigned depot ID here
"DepotID" "4094770"
// include all files recursivley
"FileMapping"
{
// This can be a full path, or a path relative to ContentRoot
"LocalPath" "..\dlc-gold\*"
// This is a path relative to the install folder of your game
"DepotPath" "."
// If LocalPath contains wildcards, setting this means that all
// matching files within subdirectories of LocalPath will also
// be included.
"Recursive" "1"
}
}

View file

@ -0,0 +1,18 @@
"DepotBuild"
{
// Set your assigned depot ID here
"DepotID" "4094760"
// include all files recursivley
"FileMapping"
{
// This can be a full path, or a path relative to ContentRoot
"LocalPath" "..\dlc-silver\*"
// This is a path relative to the install folder of your game
"DepotPath" "."
// If LocalPath contains wildcards, setting this means that all
// matching files within subdirectories of LocalPath will also
// be included.
"Recursive" "1"
}
}

View file

@ -0,0 +1,19 @@
"AppBuild"
{
"AppID" "4020030" // Your AppID
"Desc" "Your build description here" // internal description for this build
// "Preview" "1" // make this a preview build only, nothing is uploaded
// "Local" "..\..\ContentServer\htdocs" // put content on local content server instead of uploading to Steam
// "SetLive" "AlphaTest" // set this build live on beta branch AlphaTest
"ContentRoot" "..\content\" // content root folder relative to this script file
// "BuildOutput" "D:\build_output\" // put build cache and log files on different drive for better performance
"verbose" "0" // spew more build details in console
"Depots"
{
// file mapping instructions for each depot are in separate script files
"4020031" "Steam_DepotBuild4020031.vdf"
"4094750" "SteamDLC_DepotBuild_Bronze.vdf"
"4094760" "SteamDLC_DepotBuild_Silver.vdf"
"4094770" "SteamDLC_DepotBuild_Gold.vdf"
}
}

View file

@ -0,0 +1,30 @@
"DepotBuild"
{
// Set your assigned depot ID here
"DepotID" "4020031"
// include all files recursivley
"FileMapping"
{
// This can be a full path, or a path relative to ContentRoot
"LocalPath" "*"
// This is a path relative to the install folder of your game
"DepotPath" "."
// If LocalPath contains wildcards, setting this means that all
// matching files within subdirectories of LocalPath will also
// be included.
"Recursive" "1"
}
"FileMapping"
{
// copy the install script into the depot root folder
"LocalPath" "Steam_InstallScript.vdf"
"DepotPath" "."
}
"InstallScript" "Steam_InstallScript.vdf"
"FileMapping"
{
// copy the installer into the depot root folder
"LocalPath" "Steam_CardinalInstaller.exe"
"DepotPath" "."
}
}

View file

@ -0,0 +1,40 @@
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "Cardinal Fall - Saved Files Remover"
#define MyAppVersion "1.0"
#define MyAppPublisher "Metahusk"
#define MyAppURL "metahusk.com"
[Setup]
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{D1B52821-F0B8-4F0E-A526-234C7E855F1D}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={localappdata}\Cardinal
DisableDirPage=yes
DefaultGroupName={#MyAppName}
DisableProgramGroupPage=yes
; Remove the following line to run in administrative install mode (install for all users).
PrivilegesRequired=lowest
PrivilegesRequiredOverridesAllowed=commandline
OutputDir=C:\Unreal\Projects\cardinal-fall
OutputBaseFilename=Steam_CardinalInstaller
SolidCompression=yes
WizardStyle=modern
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[UninstallDelete]
Type: filesandordirs; Name: "{localappdata}\Cardinal\Saved"
; To test, run in cmd: C:\Unreal\Projects\cardinal-fall\Steam_CardinalInstaller.exe /verysilent
; And then run: %localappdata%\Cardinal\unins000.exe /verysilent

View file

@ -0,0 +1,23 @@
"InstallScript"
{
"Firewall"
{
"Cardinal Fall" "%INSTALLDIR%\\Cardinal.exe"
}
"Run Process"
{
"Steam_CardinalInstaller"
{
"Process 1" "%INSTALLDIR%\\Steam_CardinalInstaller.exe"
"Command 1" "/verysilent"
}
}
"Run Process On Uninstall"
{
"Steam_CardinalUninstaller"
{
"Process 1" "%LOCALAPPDATA%\\Cardinal\\unins000.exe"
"Command 1" "/verysilent"
}
}
}

View file

@ -0,0 +1,43 @@
To release on Steam:
Build a shipping copy of the game. Make sure the target folder is empty and BP_DebugGameSettings has all the variables unchecked.
Copy a "Shipping" build of the game into the Steam sdk that has BP_DebugGameSettings IsGameDebug? and all other flags set to false.
And paste a copy of the Credits.txt file into the same directory.
> For Example: C:\Unreal\Projects\sdk_162\tools\ContentBuilder\content
CopySteam_AppBuild4020030.vdf into into the Steam sdk's scripts directory.
> For example: C:\Unreal\Projects\sdk_162\tools\ContentBuilder\scripts
Copy all the "depots" (e.g. Steam_DepotBuild4020031.vdf, SteamDLC_DepotBuild_Bronze.vdf, and etc) into into the Steam sdk's scripts directory.
> For example: C:\Unreal\Projects\sdk_162\tools\ContentBuilder\scripts
Copy all the dlc directories into the tools\ContentBuilder folder of the sdk.
> For example: dlc-bronze, dlc-silver, and dlc-gold directories in the Steamworks folder
Copy Steam_Installscript.vdf from the Steamworks folder in the project directory into the Steam sdk content directory.
> For example: C:\Unreal\Projects\sdk_162\tools\ContentBuilder\content
Copy Steam_CardinalInstaller.exe from the Steamworks folder in the project directory into the Steam sdk content directory.
> For example: C:\Unreal\Projects\sdk_162\tools\ContentBuilder\content
Then open Steam command.
> For Example: C:\Unreal\Projects\sdk_162\tools\ContentBuilder\builder\steamcmd.exe
And login.
> For example: login <account_name> <password>
Then build the depot (which uploads the project files in the content folder) For example: run_app_build ..\scripts\Steam_AppBuild4020030.vdf
Then quit.
>For example: quit
After that, you will need to publish the changes on Steam by going to https://partner.steamgames.com/apps/builds/4020030 then selecting the "default" branch, preview change, entering a comment, then Set Build Live
To push an update on Steam if SteamCMD is already set up:
Build a shipping copy of the game. Make sure the target folder is empty and BP_DebugGameSettings has all the variables unchecked.
Copy a "Shipping" build of the game into the Steam sdk that has BP_DebugGameSettings IsGameDebug? and all other flags set to false.
> Keep the Steam_InstallScript.vdf and Steam_CardinalInstaller.exe files in the same directory.
And paste a copy of the Credits.txt file into the same directory.
> For Example: C:\Unreal\Projects\sdk_162\tools\ContentBuilder\content
Then open Steam command.
> For Example: C:\Unreal\Projects\sdk_162\tools\ContentBuilder\builder\steamcmd.exe
And login.
> For example: login <account_name> <password>
Then build the depot (which uploads the project files in the content folder) For example: run_app_build ..\scripts\Steam_AppBuild4020030.vdf
Then quit.
> For example: quit
After that, you will need to publish the changes on Steam by going to https://partner.steamgames.com/apps/builds/4020030 then selecting the "default" branch, preview change, entering a comment, then Set Build Live
Double Check:
1. Make sure it was a SHIPPING build with all the flags in BP_DebugGameSettings set to false / unchecked.
2. Make sure the current Credits.txt files is copied into the root of the folder.

View file

@ -0,0 +1 @@
Thank you for donating to Metahusk!

View file

@ -0,0 +1 @@
Thank you for donating to Metahusk!

View file

@ -0,0 +1 @@
Thank you for donating to Metahusk!