Tries to arrange a bit the PSP binary package to make it more usual for users.

This commit is contained in:
xawotihs
2013-12-14 11:55:12 +01:00
parent 9e21751e12
commit b12e15e4ff
+18 -13
View File
@@ -11,6 +11,14 @@ cd projects/mtg/
ant update > error.txt ant update > error.txt
cd ../.. cd ../..
# we create resource package
cd projects/mtg/bin/Res
python createResourceZip.py
# if we let the zip here, Wagic will use it in the testsuite
# and we'll get 51 failed test cases
mv core_*.zip ../../../../core.zip
cd ../../../..
# we're building a PSP binary here # we're building a PSP binary here
cd JGE cd JGE
make -j 8 make -j 8
@@ -18,11 +26,16 @@ cd ..
cd projects/mtg cd projects/mtg
mkdir objs mkdir objs
make -j 8 make -j 8
mkdir psprelease mkdir WTH
mv EBOOT.PBP psprelease/ mv EBOOT.PBP WTH/
mv wagic.elf psprelease/ mv ../../../JGE/exceptionHandler/prx/exception.prx WTH/
mv wagic.prx psprelease/ mv ../../../core.zip WTH/
zip psprelease.zip -r psprelease/ cd WTH
unzip core.zip
mv core Res
rm core.zip
cd ..
zip psprelease.zip -r WTH/
cd ../.. cd ../..
# we're building an Android binary here # we're building an Android binary here
@@ -63,14 +76,6 @@ cd ..
zip win-cross.zip -r release/ zip win-cross.zip -r release/
cd ../.. cd ../..
# we create resource package
cd projects/mtg/bin/Res
python createResourceZip.py
# if we let the zip here, Wagic will use it in the testsuite
# and we'll get 51 failed test cases
mv core_*.zip ../../../../core.zip
cd ../../../..
# Now we run the testsuite (Res needs to be in the working directory) # Now we run the testsuite (Res needs to be in the working directory)
cd projects/mtg cd projects/mtg
../../wagic ../../wagic