-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
version: 1.0.{build} | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
skip_tags: true | ||
skip_commits: | ||
files: | ||
- README.md | ||
|
||
max_jobs: 1 | ||
|
||
image: Visual Studio 2015 | ||
|
||
clone_folder: c:\projects\demonssoulsdebug | ||
|
||
install: | ||
- git submodule update --init --recursive | ||
|
||
configuration: | ||
- Debug | ||
|
||
build: | ||
project: tools\Tools.sln | ||
parallel: true | ||
verbosity: minimal | ||
|
||
before_build: | ||
- clang.exe -target ppc64-unknown-unknown -m64 -mllvm --x86-asm-syntax=intel -c debug_patch.S -o bin\debug_patch.o | ||
- ld.lld.exe -v --section-start .text=0x10200 bin\debug_patch.o -o bin\debug_patch.elf | ||
|
||
after_build: | ||
- set TZ=GMT | ||
- git log . > git-log.txt | ||
- 7z a -r -tzip -mx=9 -x!*/LICENSE.txt DemonsSoulsDebug-%APPVEYOR_BUILD_VERSION%.zip bin/debug_patch.elf tools/bin/*.exe tools/bin/*.dll ./deploy/build.bat ./LICENSE.txt ./deploy/README.txt ./git-log.txt | ||
artifacts: | ||
- path: '*-*.zip' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
@echo off | ||
if not exist "tools\bin\PatchElf.exe" ( | ||
goto missing_files | ||
) | ||
if not exist "bin\debug_patch.elf" ( | ||
goto missing_files | ||
) | ||
if not exist "bin\boot.elf" ( | ||
goto no_boot | ||
) | ||
tools\bin\PatchElf.exe bin\boot.elf bin\debug_patch.elf bin\debug.elf -v 83681f6110d33442329073b72b8dc88a2f677172 -a --dca=0x01842d48 --dcs=53944 --ocs=0x1832d48 | ||
exit 0 | ||
|
||
:missing_files | ||
echo There are missing files. | ||
echo Please ensure you extracted the ZIP correctly. | ||
pause | ||
exit 1 | ||
|
||
:no_boot | ||
echo Could not find bin\boot.elf. | ||
echo Please copy the decrypted EBOOT to bin\boot.elf. | ||
pause | ||
exit 1 |