diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e522540 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ + +*.ark +*.hdr +*.gp4 diff --git a/README.md b/README.md index 9a47834..8ab2724 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,55 @@ # Rock-Band-4-Deluxe -not happening anytime soon but it'll happen eventually +![Header Image](dependencies/header.png) + +## Introduction + +This Repo contains almost everything you need to build an ark for Rock Band 4 Deluxe for PS4. + +This mod is very early along, so there is a lot that either doesn't work or isn't complete. + +## Prerequisites + +You will need + +- a Hackable PS4 (sytem software 9.00 or lower) +- a copy of Rock Band 4 (1.0/Launch, 1.08, or latest/Rivals) that you can extract onto your PC. + +Currently the only version of Rock Band 4 set up for easy building is 1.08 (shows up as 1.3.0 inside the game) + +## Install + +NOTE: You WILL need a modded/hacked console to play this mod on console. I hope this is clear + +Setting up the Rock Band 4 Deluxe repo for the first time is meant to be as easy as possible. +As well, it is designed to allow you to automatically receive updates as the repo is updated. + +Simply go to the Releases of this repo and grab both files. (one .exe, one .bat) + +The exe is a dependency, [Git for Windows](https://gitforwindows.org/). +Git is required for you to take advantage of auto updating via github pulls. +You can setup git with all default options. + +Once the dependency is installed, run "_init_repo.bat" in an **empty folder**. git will pull the repo and make sure you are completely up to date. + +After Running "_init_repo.bat", extract your Rock Band 4 ark files to the correct build folder (1.0/Launch in _build/launch, 1.08 in _build/1.08, latest/Rivals in _build/rivals) + +From then on simply run "_build_launch.bat", "_build_1.08.bat", or "_build_rivals.bat" depending on the version you are building for. This script will pull the repo again for updates, and build the ARK for you and spit it out in _build/launch, _build/1.08, or _build/rivals + +After the build bat is done open gengp4.exe in dependencies/ps4-pkg-tools (-app for launch/1.08, -patch for latest/Rivals), select CUSAXXXXX folder in the correct build folder, and generate a gp4 file. + +After the gp4 is generated, open orbis-pub-gen.exe in dependencies/ps4-pkg-tools, open the gp4 and click build, select an output folder and build with the default settings. If you want a slight speedup, build with skip digest calculation checked. + +Run the build script again to pull any new updates committed to the repo and rebuild a new ark. + +## Included Dependencies + +[Git for Windows](https://gitforwindows.org/) - CLI application to allow auto updating rb4dx repo files + +[LibForge](https://github.com/mtolly/LibForge) - ForgeTool for modifying Rock Band 4 Textures + +[HDiffPatch](https://github.com/sisong/HDiffPatch) - To patch existing Rock Band 4 Arks with the Deluxe updates + +[DtxCS](https://github.com/InvoxiPlayGames/DtxCS) - For serializing Rock Band dtb files + +[PS4 Fake PKG Tools 3.87](https://github.com/CyB1K/PS4-Fake-PKG-Tools-3.87) - for creating a Rock Band 4 PKG for PS4 \ No newline at end of file diff --git a/_build_1.08.bat b/_build_1.08.bat new file mode 100644 index 0000000..ff29fed --- /dev/null +++ b/_build_1.08.bat @@ -0,0 +1,35 @@ +git pull https://github.com/LlysiX/rock-band-4-deluxe main +del "%~dp0_build\1.08\CUSA03284-app\main_ps4_0.ark" +del "%~dp0_build\1.08\CUSA03284-app\main_ps4_7.ark" +del "%~dp0_build\1.08\CUSA03284-app\main_ps4_16.ark" +"%~dp0dependencies\hdiffpatch\hpatchz" "%~dp0_build\1.08\main_ps4_0.ark" "%~dp0dependencies\rb41.08ark0.patch" "%~dp0_build\1.08\CUSA03284-app\main_ps4_0.ark" +"%~dp0dependencies\hdiffpatch\hpatchz" "%~dp0_build\1.08\main_ps4_7.ark" "%~dp0dependencies\rb41.08ark7.patch" "%~dp0_build\1.08\CUSA03284-app\main_ps4_7.ark" +"%~dp0dependencies\hdiffpatch\hpatchz" "%~dp0_build\1.08\main_ps4_16.ark" "%~dp0dependencies\rb41.08ark16.patch" "%~dp0_build\1.08\CUSA03284-app\main_ps4_16.ark" +move "%~dp0_build\1.08\main_ps4.hdr" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_1.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_2.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_3.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_4.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_5.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_6.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_8.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_9.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_10.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_11.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_12.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_13.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_14.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_15.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_17.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_18.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_19.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_20.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_21.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_22.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_23.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_24.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_25.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_26.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_27.ark" "%~dp0_build\1.08\CUSA03284-app\" +move "%~dp0_build\1.08\main_ps4_28.ark" "%~dp0_build\1.08\CUSA03284-app\" +pause \ No newline at end of file diff --git a/eboot.bin b/dependencies/Git-2.35.3-64-bit.exe similarity index 52% rename from eboot.bin rename to dependencies/Git-2.35.3-64-bit.exe index a44f7ca..8809cb5 100644 Binary files a/eboot.bin and b/dependencies/Git-2.35.3-64-bit.exe differ diff --git a/dependencies/hdiffpatch/hdiffz.exe b/dependencies/hdiffpatch/hdiffz.exe new file mode 100644 index 0000000..b7bf431 Binary files /dev/null and b/dependencies/hdiffpatch/hdiffz.exe differ diff --git a/dependencies/hdiffpatch/hpatchz.exe b/dependencies/hdiffpatch/hpatchz.exe new file mode 100644 index 0000000..dbeff1c Binary files /dev/null and b/dependencies/hdiffpatch/hpatchz.exe differ diff --git a/dependencies/header.png b/dependencies/header.png new file mode 100644 index 0000000..83d2322 Binary files /dev/null and b/dependencies/header.png differ diff --git a/dependencies/ps4-pkg-tools/CyB1K.txt b/dependencies/ps4-pkg-tools/CyB1K.txt new file mode 100644 index 0000000..ff81525 --- /dev/null +++ b/dependencies/ps4-pkg-tools/CyB1K.txt @@ -0,0 +1,6 @@ +_________ __________ ____ ____ __ +\_ ___ \___ __ \______ \/_ | |/ _| +/ \ \< | | | | _/ | | < +\ \___\___ | | | \ | | | \ + \______ / ____| |______ / |___|____|__ \ + \/\/ \/ \/ \ No newline at end of file diff --git a/dependencies/ps4-pkg-tools/PSX-PS2-FPKG/ext/di.exe b/dependencies/ps4-pkg-tools/PSX-PS2-FPKG/ext/di.exe new file mode 100644 index 0000000..4fd8035 Binary files /dev/null and b/dependencies/ps4-pkg-tools/PSX-PS2-FPKG/ext/di.exe differ diff --git a/dependencies/ps4-pkg-tools/PSX-PS2-FPKG/ext/libatrac9.dll b/dependencies/ps4-pkg-tools/PSX-PS2-FPKG/ext/libatrac9.dll new file mode 100644 index 0000000..cca0446 Binary files /dev/null and b/dependencies/ps4-pkg-tools/PSX-PS2-FPKG/ext/libatrac9.dll differ diff --git a/dependencies/ps4-pkg-tools/PSX-PS2-FPKG/ext/sc.exe b/dependencies/ps4-pkg-tools/PSX-PS2-FPKG/ext/sc.exe new file mode 100644 index 0000000..45b953a Binary files /dev/null and b/dependencies/ps4-pkg-tools/PSX-PS2-FPKG/ext/sc.exe differ diff --git a/dependencies/ps4-pkg-tools/PSX-PS2-FPKG/ext/trp_compare_default.css b/dependencies/ps4-pkg-tools/PSX-PS2-FPKG/ext/trp_compare_default.css new file mode 100644 index 0000000..61b9252 --- /dev/null +++ b/dependencies/ps4-pkg-tools/PSX-PS2-FPKG/ext/trp_compare_default.css @@ -0,0 +1,259 @@ +/* body タグ設定 */ +body { + background-color: rgb(0, 77, 149); /* 背景色 */ + color: rgb(15, 15, 15); /* 文字色 */ + font-family: verdana,arial,helvetica,sans-serif; /* フォント */ + font-size: 12px; /* 文字サイズ */ + line-height: 18px; /* 行の高さ */ + -ms-scrollbar-base-color: transparent; /* スクロールバーの基本色(IE向け) */ + -ms-scrollbar-face-color: rgb(214, 214, 214); /* スクロールバーのバーの色(IE向け) */ + -ms-scrollbar-arrow-color: rgb(214, 214, 214); /* スクロールバーの矢印の色(IE向け) */ + -ms-scrollbar-track-color: transparent; /* スクロールバーのレールの色(IE向け) */ +} +/* h1 タグ文字設定 */ +h1 { + font-size: 1.5em; /* 文字サイズ */ + font-weight: 600; /* 文字太さ */ + line-height: 24px; /* 行の高さ */ +} +/* h2 タグ文字設定 */ +h2 { + font-size: 1.25em; /* 文字サイズ */ + font-weight: 600; /* 文字太さ */ + line-height: 24px; /* 行の高さ */ +} +/* p タグ文字設定 */ +p { + /* non setting */ +} + +/* header タグ設定 */ +header { + background-color: rgb(214, 249, 159); /* 背景色 */ + border-radius: 2px 2px 0px 0px; /* 角の丸み */ + box-shadow: inset 0px -1px 0px rgb(195, 234, 133); /* 影設定 */ + color: rgb(61, 96, 6); /* 文字色 */ +} +/* id="content" タグ設定 */ +div#content { + background-color: rgb(255, 255, 255); /* 背景色 */ + border-radius: 0px 0px 2px 2px; /* 角の丸み */ +} +/* footer タグ設定 */ +footer { + color: rgb(201, 229, 255); /* 文字色 */ +} +/* header タグ, id="content" タグ, footer タグ設定 */ +header, div#content, footer { + margin: 0 auto; /* 領域間のスペース幅 */ + padding: 8px; /* 領域内のスペース幅 */ +} + +/* class="toggle_icon" 設定 (img タグ内) */ +img.toggle_icon { + padding-right: 0.5em; /* 右側スペース幅 (0,5文字) */ +} + +/* class="hide_onload" 設定 */ +.hide_onload { + display: none; /* 要素の表示無し*/ +} + +/* class="toggle" 設定 (リンク文字設定) */ +.toggle a { + text-decoration: none; /* 下線無し */ +} +.toggle a:link { + color:rgb(0, 90, 175); /* リンク文字色 */ +} +.toggle a:visited { + color:rgb(0, 90, 175); /* 既に見たリンク文字色 */ +} +.toggle a:active { + color:rgb(0, 90, 175); /* クリック時のリンク文字色 */ +} +.toggle a:hover { + color:rgb(0, 90, 175); /* カーソルが上にある時のリンク文字色 */ +} + +/* class="active" 設定 (id="Summary" 内リンク文字設定) */ +#summary .active a:link { + color: rgb(0, 90, 175); /* リンク文字色 */ +} + +/* class="grayout" 設定 (id="Summary" 内リンク文字設定) */ +#summary .grayout a:link { + color: rgb(169, 169, 169); /* リンク文字色 */ +} +#summary .grayout a:visited { + color: rgb(169, 169, 169); /* 既に見たリンク文字色 */ +} +#summary .grayout a:active { + color: rgb(169, 169, 169); /* クリック時のリンク文字色 */ +} +#summary .grayout a:hover { + color: rgb(169, 169, 169); /* カーソルが上にある時のリンク文字色 */ +} + + +/* class="rbox" 設定 */ +.rbox { + border-collapse: collapse; /* 表の隣接する枠線の重なり */ + border-color: rgb(214, 214, 214); /* 表枠線の色 */ + border-style: solid; /* 表枠線のスタイル */ + border-width: 1px; /* 表枠線の幅 */ + margin-bottom: 0.5em; /* 表の下側スペース幅 */ + margin-top: 0.5em; /* 表の上側スペース幅 */ +} + +/* class="rbox" th タグ設定 */ +.rbox th { + background-color: rgb(238, 238, 238); /* 表枠内の背景色 */ + border-color: rgb(214, 214, 214); /* 表枠線の色 */ + border-style: solid; /* 表枠線のスタイル */ + border-width: 1px; /* 表枠線の幅 */ + padding: 0px 5px; /* 領域内スペース幅 */ + text-align: center; /* 水平方向の表示位置 */ + vertical-align: middle; /* 縦方向の表示位置 */ + white-space: pre-wrap; /* 文字折り返し設定 */ +} +/* class="vertical_item" 設定 (class="rbox" th タグ内) */ +.rbox th.vertical_item { + font-weight: bold; /* 文字太さ */ +} +/* class="horizontal_item" 設定 (class="rbox" th タグ内) */ +.rbox th.horizontal_item { + font-weight: bold; /* 文字太さ */ + word-break: break-all; /* 文字折り返し設定 */ +} +/* class="banner" 設定 (class="rbox" th タグ内) */ +.rbox th.banner { + background-color: rgb(110, 110, 110); /* 表枠内の背景色 */ + color: rgb(238, 238, 238); /* 文字色 */ + font-weight: bold; /* 文字太さ */ + padding: 0px 15px; /* 領域内スペース幅 */ + text-align: left; /* 水平方向の表示位置 */ +} +/* id="return_top" タグ設定 (class="rbox" th タグ内) */ +.rbox th div#return_top { + text-align: right; /* 水平方向の表示位置 */ + margin-top: -18px; /* 表の上スペース幅 (body から継承している1行分上に) */ +} +/* リンク文字色設定 (class="rbox" th タグ内) */ +.rbox th a:link { + color:rgb(214, 249, 159); /* リンク文字色 */ +} +.rbox th a:visited { + color:rgb(214, 249, 159); /* 既に見たリンク文字色 */ +} +.rbox th a:active { + color:rgb(214, 249, 159); /* クリック時のリンク文字色 */ +} +.rbox th a:hover { + color:rgb(214, 249, 159); /* カーソルが上にある時のリンク文字色 */ +} + +/* class="rbox" td タグ設定 */ +.rbox td { + border-color: rgb(214, 214, 214); /* 表枠線の色 */ + border-style: dotted; /* 表枠線のスタイル */ + border-width: 1px; /* 表枠線の幅 */ + text-align: left; /* 水平方向の表示位置 */ + vertical-align: middle; /* 縦方向の表示位置 */ + table-layout: fixed; /* セルの幅均一設定 */ + width: 500px; /* セル幅 */ +} +/* class="input" td タグ設定 (class="rbox" td タグ内)(Input table) */ +.rbox td.input { + width: auto; /* セル幅 (Input table は自動調整) */ + padding: 2px 6px; /* 領域内スペース幅 */ + white-space: pre-wrap; /* 文字折り返し設定 */ + word-break: break-all; /* 文字折り返し設定 */ +} +/* class="result_equal" 設定 (class="rbox" td タグ内) */ +.rbox td.result_equal { + width: 70px; /* Result セルの幅設定 (固定) */ + padding: 2px 6px; /* 領域内スペース幅 */ +} +/* class="result_diff" 設定 (class="rbox" td タグ内) */ +.rbox td.result_diff { + width: 70px; /* Result セルの幅設定 (固定) */ + background-color: rgb(255, 224, 224); /* 表枠内の背景色 */ + color: rgb(160, 0, 0); /* 文字色 */ + font-weight: bold; /* 文字太さ */ + padding: 2px 6px; /* 領域内スペース幅 */ +} +/* class="info_equal" 設定 (class="rbox" td タグ内) */ +.rbox td.info_equal { + table-layout: inherit; /* セルの幅均一設定 (.rbox td から継承) */ + padding: 2px 6px; /* 領域内スペース幅 */ + word-break: break-all; /* 文字折り返し設定 */ +} +/* class="info_diff" 設定 (class="rbox" td タグ内) */ +.rbox td.info_diff { + table-layout: inherit; /* セルの幅均一設定 (.rbox td から継承) */ + background-color: rgb(255, 224, 224); /* 表枠内の背景色 */ + color: rgb(160, 0, 0); /* 文字色 */ + font-weight: bold; /* 文字太さ */ + padding: 2px 6px; /* 領域内スペース幅 */ + word-break: break-all; /* 文字折り返し設定 */ +} +/* class="info_sicon_equal" 設定 (class="rbox" td タグ内) */ +.rbox td.info_sicon_equal { + table-layout: inherit; /* セルの幅均一設定 (.rbox td から継承) */ + text-align: center; /* 水平方向の表示位置 */ +} +/* class="info_sicon_diff" 設定 (class="rbox" td タグ内) */ +.rbox td.info_sicon_diff { + table-layout: inherit; /* セルの幅均一設定 (.rbox td から継承) */ + text-align: center; /* 水平方向の表示位置 */ + background-color: rgb(255, 224, 224); /* 表枠内の背景色 */ +} +/* class="info_ticon_equal" 設定 (class="rbox" td タグ内) */ +.rbox td.info_ticon_equal { + table-layout: inherit; /* セルの幅均一設定 (.rbox td から継承) */ + text-align: center; /* 水平方向の表示位置 */ +} +/* class="info_ticon_diff" 設定 (class="rbox" td タグ内) */ +.rbox td.info_ticon_diff { + table-layout: inherit; /* セルの幅均一設定 (.rbox td から継承) */ + text-align: center; /* 水平方向の表示位置 */ + background-color: rgb(255, 224, 224); /* 表枠内の背景色 */ + color: rgb(160, 0, 0); /* 文字色 */ +} + +/* class="rtl" 設定 (class="rbox" td タグ内) */ +.rbox td.rtl { + direction: rtl; /* 文字表記方向 (right to left) */ + text-align: right; /* 右寄せ */ +} + +/* class="sicon_ratio" 設定 (img タグ内) */ +.rbox td img.sicon_ratio { + width: 30%; /* image サイズを % で指定 */ + height: auto; /* 固定 */ +} +/* class="ticon_ratio" 設定 (img タグ内) */ +.rbox td img.ticon_ratio { + width: 30%; /* image サイズを % で指定 */ + height: auto; /* 固定 */ +} + +/* window 幅が 1165px 以下の場合の設定 */ +@media all and (max-width:1165px) { + header, div#content, footer { + width: 852px; /* 幅 */ + } +} +/* window 幅が 1166px 以上(1566px 未満)の場合の設定 */ +@media all and (min-width:1166px) { + header, div#content, footer { + width: 1120px; /* 幅 */ + } +} +/* window 幅が 1566px 以上の場合の設定 */ +@media all and (min-width:1566px) { + header, div#content, footer { + width: 1520px; /* 幅 */ + } +} diff --git a/dependencies/ps4-pkg-tools/PSX-PS2-FPKG/pkg.exe b/dependencies/ps4-pkg-tools/PSX-PS2-FPKG/pkg.exe new file mode 100644 index 0000000..3b13884 Binary files /dev/null and b/dependencies/ps4-pkg-tools/PSX-PS2-FPKG/pkg.exe differ diff --git a/dependencies/ps4-pkg-tools/Temp-Folder-Patcher.bat b/dependencies/ps4-pkg-tools/Temp-Folder-Patcher.bat new file mode 100644 index 0000000..5a152eb --- /dev/null +++ b/dependencies/ps4-pkg-tools/Temp-Folder-Patcher.bat @@ -0,0 +1,54 @@ +@echo off +Type "CyB1K.txt" +echo. +echo Orbis-Pub-Gen Temp Folder Patcher +echo. +echo Please Choose Your Temp Folder Location +ECHO. +ECHO 1.C:\Games +ECHO 2.D:\Games +ECHO 3.Custom Location +ECHO. +ECHO Choose one option (Press 1~3) +CHOICE /C 123 /M "Choose your option:" >nul + +IF ERRORLEVEL 3 GOTO Input +IF ERRORLEVEL 2 GOTO D +IF ERRORLEVEL 1 GOTO C + +:C +echo 1 +SET "TEMP=C:\Games" +SET "TMP=C:\Games" +echo Temp Set to C:\Games +echo. +GOTO Start + +:D +echo 2 +SET "TEMP=D:\Games" +SET "TMP=D:\Games" +echo Temp Set to D:\Games +echo. +GOTO Start + +:Input +echo 3 +echo. +echo Please Enter Your Temp Folder Location +set /p temp= +SET "TEMP=%temp%" +SET "TMP=%temp%" +echo. +echo Temp Set to %temp% +echo. +GOTO Start + +:Start +echo Starting Orbis-Pub-Gen... +Start "" "orbis-pub-gen.exe" +timeout /t 5 >nul +GOTO Exit + +:Exit +Exit \ No newline at end of file diff --git a/dependencies/ps4-pkg-tools/Thumbs.db b/dependencies/ps4-pkg-tools/Thumbs.db new file mode 100644 index 0000000..59fea07 Binary files /dev/null and b/dependencies/ps4-pkg-tools/Thumbs.db differ diff --git a/dependencies/ps4-pkg-tools/ext/di.exe b/dependencies/ps4-pkg-tools/ext/di.exe new file mode 100644 index 0000000..4fd8035 Binary files /dev/null and b/dependencies/ps4-pkg-tools/ext/di.exe differ diff --git a/dependencies/ps4-pkg-tools/ext/libatrac9.dll b/dependencies/ps4-pkg-tools/ext/libatrac9.dll new file mode 100644 index 0000000..cca0446 Binary files /dev/null and b/dependencies/ps4-pkg-tools/ext/libatrac9.dll differ diff --git a/dependencies/ps4-pkg-tools/ext/sc.exe b/dependencies/ps4-pkg-tools/ext/sc.exe new file mode 100644 index 0000000..45b953a Binary files /dev/null and b/dependencies/ps4-pkg-tools/ext/sc.exe differ diff --git a/dependencies/ps4-pkg-tools/ext/trp_compare_default.css b/dependencies/ps4-pkg-tools/ext/trp_compare_default.css new file mode 100644 index 0000000..61b9252 --- /dev/null +++ b/dependencies/ps4-pkg-tools/ext/trp_compare_default.css @@ -0,0 +1,259 @@ +/* body タグ設定 */ +body { + background-color: rgb(0, 77, 149); /* 背景色 */ + color: rgb(15, 15, 15); /* 文字色 */ + font-family: verdana,arial,helvetica,sans-serif; /* フォント */ + font-size: 12px; /* 文字サイズ */ + line-height: 18px; /* 行の高さ */ + -ms-scrollbar-base-color: transparent; /* スクロールバーの基本色(IE向け) */ + -ms-scrollbar-face-color: rgb(214, 214, 214); /* スクロールバーのバーの色(IE向け) */ + -ms-scrollbar-arrow-color: rgb(214, 214, 214); /* スクロールバーの矢印の色(IE向け) */ + -ms-scrollbar-track-color: transparent; /* スクロールバーのレールの色(IE向け) */ +} +/* h1 タグ文字設定 */ +h1 { + font-size: 1.5em; /* 文字サイズ */ + font-weight: 600; /* 文字太さ */ + line-height: 24px; /* 行の高さ */ +} +/* h2 タグ文字設定 */ +h2 { + font-size: 1.25em; /* 文字サイズ */ + font-weight: 600; /* 文字太さ */ + line-height: 24px; /* 行の高さ */ +} +/* p タグ文字設定 */ +p { + /* non setting */ +} + +/* header タグ設定 */ +header { + background-color: rgb(214, 249, 159); /* 背景色 */ + border-radius: 2px 2px 0px 0px; /* 角の丸み */ + box-shadow: inset 0px -1px 0px rgb(195, 234, 133); /* 影設定 */ + color: rgb(61, 96, 6); /* 文字色 */ +} +/* id="content" タグ設定 */ +div#content { + background-color: rgb(255, 255, 255); /* 背景色 */ + border-radius: 0px 0px 2px 2px; /* 角の丸み */ +} +/* footer タグ設定 */ +footer { + color: rgb(201, 229, 255); /* 文字色 */ +} +/* header タグ, id="content" タグ, footer タグ設定 */ +header, div#content, footer { + margin: 0 auto; /* 領域間のスペース幅 */ + padding: 8px; /* 領域内のスペース幅 */ +} + +/* class="toggle_icon" 設定 (img タグ内) */ +img.toggle_icon { + padding-right: 0.5em; /* 右側スペース幅 (0,5文字) */ +} + +/* class="hide_onload" 設定 */ +.hide_onload { + display: none; /* 要素の表示無し*/ +} + +/* class="toggle" 設定 (リンク文字設定) */ +.toggle a { + text-decoration: none; /* 下線無し */ +} +.toggle a:link { + color:rgb(0, 90, 175); /* リンク文字色 */ +} +.toggle a:visited { + color:rgb(0, 90, 175); /* 既に見たリンク文字色 */ +} +.toggle a:active { + color:rgb(0, 90, 175); /* クリック時のリンク文字色 */ +} +.toggle a:hover { + color:rgb(0, 90, 175); /* カーソルが上にある時のリンク文字色 */ +} + +/* class="active" 設定 (id="Summary" 内リンク文字設定) */ +#summary .active a:link { + color: rgb(0, 90, 175); /* リンク文字色 */ +} + +/* class="grayout" 設定 (id="Summary" 内リンク文字設定) */ +#summary .grayout a:link { + color: rgb(169, 169, 169); /* リンク文字色 */ +} +#summary .grayout a:visited { + color: rgb(169, 169, 169); /* 既に見たリンク文字色 */ +} +#summary .grayout a:active { + color: rgb(169, 169, 169); /* クリック時のリンク文字色 */ +} +#summary .grayout a:hover { + color: rgb(169, 169, 169); /* カーソルが上にある時のリンク文字色 */ +} + + +/* class="rbox" 設定 */ +.rbox { + border-collapse: collapse; /* 表の隣接する枠線の重なり */ + border-color: rgb(214, 214, 214); /* 表枠線の色 */ + border-style: solid; /* 表枠線のスタイル */ + border-width: 1px; /* 表枠線の幅 */ + margin-bottom: 0.5em; /* 表の下側スペース幅 */ + margin-top: 0.5em; /* 表の上側スペース幅 */ +} + +/* class="rbox" th タグ設定 */ +.rbox th { + background-color: rgb(238, 238, 238); /* 表枠内の背景色 */ + border-color: rgb(214, 214, 214); /* 表枠線の色 */ + border-style: solid; /* 表枠線のスタイル */ + border-width: 1px; /* 表枠線の幅 */ + padding: 0px 5px; /* 領域内スペース幅 */ + text-align: center; /* 水平方向の表示位置 */ + vertical-align: middle; /* 縦方向の表示位置 */ + white-space: pre-wrap; /* 文字折り返し設定 */ +} +/* class="vertical_item" 設定 (class="rbox" th タグ内) */ +.rbox th.vertical_item { + font-weight: bold; /* 文字太さ */ +} +/* class="horizontal_item" 設定 (class="rbox" th タグ内) */ +.rbox th.horizontal_item { + font-weight: bold; /* 文字太さ */ + word-break: break-all; /* 文字折り返し設定 */ +} +/* class="banner" 設定 (class="rbox" th タグ内) */ +.rbox th.banner { + background-color: rgb(110, 110, 110); /* 表枠内の背景色 */ + color: rgb(238, 238, 238); /* 文字色 */ + font-weight: bold; /* 文字太さ */ + padding: 0px 15px; /* 領域内スペース幅 */ + text-align: left; /* 水平方向の表示位置 */ +} +/* id="return_top" タグ設定 (class="rbox" th タグ内) */ +.rbox th div#return_top { + text-align: right; /* 水平方向の表示位置 */ + margin-top: -18px; /* 表の上スペース幅 (body から継承している1行分上に) */ +} +/* リンク文字色設定 (class="rbox" th タグ内) */ +.rbox th a:link { + color:rgb(214, 249, 159); /* リンク文字色 */ +} +.rbox th a:visited { + color:rgb(214, 249, 159); /* 既に見たリンク文字色 */ +} +.rbox th a:active { + color:rgb(214, 249, 159); /* クリック時のリンク文字色 */ +} +.rbox th a:hover { + color:rgb(214, 249, 159); /* カーソルが上にある時のリンク文字色 */ +} + +/* class="rbox" td タグ設定 */ +.rbox td { + border-color: rgb(214, 214, 214); /* 表枠線の色 */ + border-style: dotted; /* 表枠線のスタイル */ + border-width: 1px; /* 表枠線の幅 */ + text-align: left; /* 水平方向の表示位置 */ + vertical-align: middle; /* 縦方向の表示位置 */ + table-layout: fixed; /* セルの幅均一設定 */ + width: 500px; /* セル幅 */ +} +/* class="input" td タグ設定 (class="rbox" td タグ内)(Input table) */ +.rbox td.input { + width: auto; /* セル幅 (Input table は自動調整) */ + padding: 2px 6px; /* 領域内スペース幅 */ + white-space: pre-wrap; /* 文字折り返し設定 */ + word-break: break-all; /* 文字折り返し設定 */ +} +/* class="result_equal" 設定 (class="rbox" td タグ内) */ +.rbox td.result_equal { + width: 70px; /* Result セルの幅設定 (固定) */ + padding: 2px 6px; /* 領域内スペース幅 */ +} +/* class="result_diff" 設定 (class="rbox" td タグ内) */ +.rbox td.result_diff { + width: 70px; /* Result セルの幅設定 (固定) */ + background-color: rgb(255, 224, 224); /* 表枠内の背景色 */ + color: rgb(160, 0, 0); /* 文字色 */ + font-weight: bold; /* 文字太さ */ + padding: 2px 6px; /* 領域内スペース幅 */ +} +/* class="info_equal" 設定 (class="rbox" td タグ内) */ +.rbox td.info_equal { + table-layout: inherit; /* セルの幅均一設定 (.rbox td から継承) */ + padding: 2px 6px; /* 領域内スペース幅 */ + word-break: break-all; /* 文字折り返し設定 */ +} +/* class="info_diff" 設定 (class="rbox" td タグ内) */ +.rbox td.info_diff { + table-layout: inherit; /* セルの幅均一設定 (.rbox td から継承) */ + background-color: rgb(255, 224, 224); /* 表枠内の背景色 */ + color: rgb(160, 0, 0); /* 文字色 */ + font-weight: bold; /* 文字太さ */ + padding: 2px 6px; /* 領域内スペース幅 */ + word-break: break-all; /* 文字折り返し設定 */ +} +/* class="info_sicon_equal" 設定 (class="rbox" td タグ内) */ +.rbox td.info_sicon_equal { + table-layout: inherit; /* セルの幅均一設定 (.rbox td から継承) */ + text-align: center; /* 水平方向の表示位置 */ +} +/* class="info_sicon_diff" 設定 (class="rbox" td タグ内) */ +.rbox td.info_sicon_diff { + table-layout: inherit; /* セルの幅均一設定 (.rbox td から継承) */ + text-align: center; /* 水平方向の表示位置 */ + background-color: rgb(255, 224, 224); /* 表枠内の背景色 */ +} +/* class="info_ticon_equal" 設定 (class="rbox" td タグ内) */ +.rbox td.info_ticon_equal { + table-layout: inherit; /* セルの幅均一設定 (.rbox td から継承) */ + text-align: center; /* 水平方向の表示位置 */ +} +/* class="info_ticon_diff" 設定 (class="rbox" td タグ内) */ +.rbox td.info_ticon_diff { + table-layout: inherit; /* セルの幅均一設定 (.rbox td から継承) */ + text-align: center; /* 水平方向の表示位置 */ + background-color: rgb(255, 224, 224); /* 表枠内の背景色 */ + color: rgb(160, 0, 0); /* 文字色 */ +} + +/* class="rtl" 設定 (class="rbox" td タグ内) */ +.rbox td.rtl { + direction: rtl; /* 文字表記方向 (right to left) */ + text-align: right; /* 右寄せ */ +} + +/* class="sicon_ratio" 設定 (img タグ内) */ +.rbox td img.sicon_ratio { + width: 30%; /* image サイズを % で指定 */ + height: auto; /* 固定 */ +} +/* class="ticon_ratio" 設定 (img タグ内) */ +.rbox td img.ticon_ratio { + width: 30%; /* image サイズを % で指定 */ + height: auto; /* 固定 */ +} + +/* window 幅が 1165px 以下の場合の設定 */ +@media all and (max-width:1165px) { + header, div#content, footer { + width: 852px; /* 幅 */ + } +} +/* window 幅が 1166px 以上(1566px 未満)の場合の設定 */ +@media all and (min-width:1166px) { + header, div#content, footer { + width: 1120px; /* 幅 */ + } +} +/* window 幅が 1566px 以上の場合の設定 */ +@media all and (min-width:1566px) { + header, div#content, footer { + width: 1520px; /* 幅 */ + } +} diff --git a/dependencies/ps4-pkg-tools/gengp4_app.exe b/dependencies/ps4-pkg-tools/gengp4_app.exe new file mode 100644 index 0000000..e8e8dd0 Binary files /dev/null and b/dependencies/ps4-pkg-tools/gengp4_app.exe differ diff --git a/dependencies/ps4-pkg-tools/gengp4_patch.exe b/dependencies/ps4-pkg-tools/gengp4_patch.exe new file mode 100644 index 0000000..ffdfa65 Binary files /dev/null and b/dependencies/ps4-pkg-tools/gengp4_patch.exe differ diff --git a/dependencies/ps4-pkg-tools/orbis-pub-chk.exe b/dependencies/ps4-pkg-tools/orbis-pub-chk.exe new file mode 100644 index 0000000..b9cd6fa Binary files /dev/null and b/dependencies/ps4-pkg-tools/orbis-pub-chk.exe differ diff --git a/dependencies/ps4-pkg-tools/orbis-pub-cmd.exe b/dependencies/ps4-pkg-tools/orbis-pub-cmd.exe new file mode 100644 index 0000000..e11756e Binary files /dev/null and b/dependencies/ps4-pkg-tools/orbis-pub-cmd.exe differ diff --git a/dependencies/ps4-pkg-tools/orbis-pub-gen.exe b/dependencies/ps4-pkg-tools/orbis-pub-gen.exe new file mode 100644 index 0000000..65a5d7a Binary files /dev/null and b/dependencies/ps4-pkg-tools/orbis-pub-gen.exe differ diff --git a/dependencies/ps4-pkg-tools/orbis-pub-prx.dll b/dependencies/ps4-pkg-tools/orbis-pub-prx.dll new file mode 100644 index 0000000..05bf56d Binary files /dev/null and b/dependencies/ps4-pkg-tools/orbis-pub-prx.dll differ diff --git a/dependencies/ps4-pkg-tools/orbis-pub-sfo.exe b/dependencies/ps4-pkg-tools/orbis-pub-sfo.exe new file mode 100644 index 0000000..3342535 Binary files /dev/null and b/dependencies/ps4-pkg-tools/orbis-pub-sfo.exe differ diff --git a/dependencies/ps4-pkg-tools/orbis-pub-trp.exe b/dependencies/ps4-pkg-tools/orbis-pub-trp.exe new file mode 100644 index 0000000..6c252e9 Binary files /dev/null and b/dependencies/ps4-pkg-tools/orbis-pub-trp.exe differ diff --git a/dependencies/ps4-pkg-tools/readme.txt b/dependencies/ps4-pkg-tools/readme.txt new file mode 100644 index 0000000..2509dec --- /dev/null +++ b/dependencies/ps4-pkg-tools/readme.txt @@ -0,0 +1,66 @@ +_________ __________ ____ ____ __ +\_ ___ \___ __ \______ \/_ | |/ _| +/ \ \< | | | | _/ | | < +\ \___\___ | | | \ | | | \ + \______ / ____| |______ / |___|____|__ \ + \/\/ \/ \/ + +PS4 Fake PKG tools 3.87 (Patched) + +V5 Removed PKG Limit: + +Thanks Illusion0002 for this patch on cmd, ported it to pub-gen too. Illusion tested it with red dead redemption 2 and it was working normally with a 120gb PKG. I dont know if this might cause any mounting issues so build PKGs bigger than 100gb at your own risk! + +V4 (All working now... maybeeee? ^-^"): + +Patched sc.exe which wasnt patched and so games wouldnt work, big thanks to Radziu and my partner Arczi for the help! + +Other fixes applied here and there, thanks to my friend Opoisso for the help! Thanks to Arczi for testing it all with me! + +Let me know if you find anything else broken and ill fix (Forgive me for i am a mess with focusing on loads of files with same names) xD + +Added a version of 3.87 to be used with PSX-FPKG and PS2-FPKG To PS4 PKG builders if you want. I didn't do much testing to that, tested obscure with jak2 emulator and it was working. + +You need to always make sure your app/base files has a keystone on "sce_sys\keystone" before building a base pkg as it will build it without a keystone inside otherwise, which would cause the game to not work or save! + +Use the gengp4's accordingly to make sure apps/bases are built with a keystone and avoid accidentally building patches/updates with keystones, which can happen if for example you move files from base's sce_sys into a patch sce_sys folder. + +DONT use the old versions, as they wont work! Sorry! + +---------------------------------------------------------- + +Instructions to build pkgs properly + +Extracted Game (For repacks, ignore this one if its a dump): +1. Extract all files from base or update. +2. After extracting rename the folder from Image0 to CUSAXXXXX-app or CUSAXXXXX-patch, accordingly. +3. Move the files from the folder "Sc0" to "CUSAXXXXX-app\sce_sys\" or "CUSAXXXXX-patch\sce_sys" and delete the "Sc0" folder after. +4. Continue the instructions the same as a dump. + +Dumped Base Game: +1. Generate gp4 project file with geng4_app.exe from CUSAXXXXX-app of your dump and save it. +2. Open in orbis-pub-gen.exe that saved *.gp4 file and build pkg. + +Dumped Update Game: +1. Generate gp4 project file with geng4_patch.exe from CUSAXXXXX-patch of your dump and save it. +2. Open in orbis-pub-gen.exe that saved *.gp4 file. +3. Make sure that you have selected base game pkg in Command > Project Settings > Patch Tab > "Application Package" field. +4. Build pkg. + +Always make a copy of "param.sfo" from "sce_sys\" to somewhere else before generating a gp4 as it can change and corrupt the param if the folders are not properly named. + +XXXXX - Stands for the CUSA of the game you are packing. + +---------------------------------------------------------- + +Credits to flat_z, cfwprophet, SocraticBliss, TheRadziu and everyone else who worked on earlier tools patches! + +Credits to LMAN for his legendary loader and patched gengp4 :) + +Credits to TheRadziu and Arczi and Opoisso for the help! + +---------------------------------------------------------- + +Enjoy + +By CyB1K \ No newline at end of file diff --git a/dependencies/rb41.08ark0.patch b/dependencies/rb41.08ark0.patch new file mode 100644 index 0000000..d8854c6 Binary files /dev/null and b/dependencies/rb41.08ark0.patch differ diff --git a/dependencies/rb41.08ark16.patch b/dependencies/rb41.08ark16.patch new file mode 100644 index 0000000..acc6216 Binary files /dev/null and b/dependencies/rb41.08ark16.patch differ diff --git a/dependencies/rb41.08ark7.patch b/dependencies/rb41.08ark7.patch new file mode 100644 index 0000000..6bf08a8 Binary files /dev/null and b/dependencies/rb41.08ark7.patch differ diff --git a/_dta2b.bat b/dev_scripts/_dta2b.bat similarity index 64% rename from _dta2b.bat rename to dev_scripts/_dta2b.bat index 68465e0..8a1131f 100644 --- a/_dta2b.bat +++ b/dev_scripts/_dta2b.bat @@ -1 +1,2 @@ -FOR /F "tokens=*" %%G IN ('dir /b *.dta') DO dtxtool\dtxtool dta2b "%%G" "%%~nG.dta_dta_ps4" 3 \ No newline at end of file +FOR /F "tokens=*" %%G IN ('dir /b *.dta') DO dtxtool\dtxtool dta2b "%%G" "%%~nG.dta_dta_ps4" 3 +pause \ No newline at end of file diff --git a/_dtb2a.bat b/dev_scripts/_dtb2a.bat similarity index 100% rename from _dtb2a.bat rename to dev_scripts/_dtb2a.bat diff --git a/_png2tex.bat b/dev_scripts/_png2tex.bat similarity index 100% rename from _png2tex.bat rename to dev_scripts/_png2tex.bat diff --git a/_script_dtb2a.bat b/dev_scripts/_script_dtb2a.bat similarity index 100% rename from _script_dtb2a.bat rename to dev_scripts/_script_dtb2a.bat diff --git a/_tex2png.bat b/dev_scripts/_tex2png.bat similarity index 100% rename from _tex2png.bat rename to dev_scripts/_tex2png.bat