forked from PS3Xploit/PS3HEN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmake_PS3HEN.bat
44 lines (41 loc) · 1.93 KB
/
make_PS3HEN.bat
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
40
41
42
43
44
@echo off
cls
set PS3SDK=/c/PSDK3v2
set WIN_PS3SDK=C:/PSDK3v2
set PS3DEV=%PS3SDK%/ps3dev2
set PATH=%WIN_PS3SDK%/mingw/msys/1.0/bin;%WIN_PS3SDK%/mingw/bin;%PS3DEV%/ppu/bin;
set CYGWIN=C:\PSDK3v2\MinGW\msys\1.0\bin
mv *CEX_480 *CEX_481 *CEX_482 *CEX_483 *CEX_484 *CEX_485 *CEX_486 *CEX_487 *CEX_488 *CEX_489 *CEX_490 PS3HEN_GEN
cd henplugin
%CYGWIN%\bash -i -c 'make release; rm -r objs; rm henplugin.prx; rm henplugin.sym; mv henplugin.sprx ../PS3HEN_GEN;'
cd ../stage0_file
rm -f *.o *.elf *.self *.bin *.map ../lv1/src/*.o ../debug/src/*.o ../lv2/src/*.o
make -f Makefile all
rm -f *.o *.elf *.self ../lv1/src/*.o ../debug/src/*.o ../lv2/src/*.o
cd ../payload
rm -f *.o *.elf *.self *.bin *.map ../lv1/src/*.o ../debug/src/*.o ../lv2/src/*.o
make -f Makefile release
rm -f *.o *.elf *.self ../lv1/src/*.o ../debug/src/*.o ../lv2/src/*.o
cd ..
mv *480C *481C *482C *483C *484C *485C *486C *487C *488C *489C *490C PS3HEN_GEN
cd PS3HEN_GEN
gcc main.c -o HEN_GEN
HEN_GEN PS3HEN.BIN_CEX_480 stage2.bin_480C stage0.bin_480C HENplugin.sprx
HEN_GEN PS3HEN.BIN_CEX_481 stage2.bin_481C stage0.bin_481C HENplugin.sprx
HEN_GEN PS3HEN.BIN_CEX_482 stage2.bin_482C stage0.bin_482C HENplugin.sprx
HEN_GEN PS3HEN.BIN_CEX_483 stage2.bin_483C stage0.bin_483C HENplugin.sprx
HEN_GEN PS3HEN.BIN_CEX_484 stage2.bin_484C stage0.bin_484C HENplugin.sprx
HEN_GEN PS3HEN.BIN_CEX_485 stage2.bin_485C stage0.bin_485C HENplugin.sprx
HEN_GEN PS3HEN.BIN_CEX_486 stage2.bin_486C stage0.bin_486C HENplugin.sprx
HEN_GEN PS3HEN.BIN_CEX_487 stage2.bin_487C stage0.bin_487C HENplugin.sprx
HEN_GEN PS3HEN.BIN_CEX_488 stage2.bin_488C stage0.bin_488C HENplugin.sprx
HEN_GEN PS3HEN.BIN_CEX_489 stage2.bin_489C stage0.bin_489C HENplugin.sprx
HEN_GEN PS3HEN.BIN_CEX_490 stage2.bin_490C stage0.bin_490C HENplugin.sprx
rm stage* *.sprx *.exe
mv PS3HEN* ../
:: Not used. Delete these after being created for release version
rm ../stage0.bin_482D
rm ../stage0.bin_484D
rm ../stage2.bin_482D
rm ../stage2.bin_484D
pause