summaryrefslogtreecommitdiff
path: root/convert.bat
blob: 39fb389ac352a8c65d1d38c82ce437b2d5e59f9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
@echo off
echo """""""""""""""""""""""""""""""""""""""""""""""""
echo " Made with love by:                            "
echo "                                               "
echo "     ____  ___    _________        ____  ____  "
echo "    / __ \/   |  / ____/   |      / __ \/ __ \ "
echo "   / /_/ / /| | / /_  / /| |     / /_/ / /_/ / "
echo "  / _, _/ ___ |/ __/ / ___ |     \__, /\__, /  "
echo " /_/ |_/_/  |_/_/   /_/  |_|____/____//____/   "
echo "                          /_____/              "
echo "                                               "
echo """""""""""""""""""""""""""""""""""""""""""""""""

move input\act.dat tools\4\input\act_dat
move input\idps.hex tools\4\input\idps_hex
rmdir /Q/S input\PS3_GAME\LICDIR
tools\1\PS3_Generate_LIC.DAT.exe input\PS3_GAME
move input\PS3_GAME tools\2\
tools\2\CFW2OFW_Helper
echo %cd% >tmp
set /p origdir= < tmp
del tmp
cd "tools\2\*(*"
for %%I in (.) do echo %%~nxI >tmp
set /p gamedir= < tmp
del tmp
cd %origdir%
robocopy "tools\2\%gamedir%" tools\3\ /E /MOVE
rmdir /S /Q tools\2\patch tools\2\PS3_GAME
cd tools\3\
call do.bat
cd %origdir%
move tools\3\*.pkg tools\4\input\pkgs
cd tools\4
call resign_windows.bat
cd %origdir%
del /S/Q/F tools\4\input\pkgs\*.pkg tools\4\input\raps\*.rap
move tools\4\output\pkgs\*.pkg output
msg %USERNAME% "Your package files are available in the output folder"