Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI for 51X branch #462

Merged
merged 15 commits into from
Dec 24, 2022
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ updates:
schedule:
interval: weekly
open-pull-requests-limit: 10
target-branch: "506v2"
target-branch: "51X"
ignore:
- dependency-name: "System.Runtime.CompilerServices.Unsafe"
18 changes: 14 additions & 4 deletions .github/workflows/buildDependants.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Build dependants
on:
push:
branches:
- '506v2'
- '51X'
pull_request:
branches:
- '506v2'
- '51X'

jobs:
Bizhawk:
Expand All @@ -31,11 +31,11 @@ jobs:
- name: Restore packages in current build target
run: msbuild /t:restore '.\RTCV\RTCV.sln'
- name: Restore packages in Bizhawk
run: msbuild /t:restore '.\Bizhawk-Vanguard\Real-Time Corruptor\BizHawk_RTC\BizHawk.sln'
run: msbuild /t:restore '.\Bizhawk-Vanguard\BizHawk.sln'

# Build Bizhawk
- name: Build Bizhawk-Vanguard
run: msbuild '.\Bizhawk-Vanguard\Real-Time Corruptor\BizHawk_RTC\BizHawk.sln'
run: msbuild '.\Bizhawk-Vanguard\BizHawk.sln'

FileStub:
runs-on: windows-2019
Expand Down Expand Up @@ -132,6 +132,10 @@ jobs:
msbuild melonDS.sln

dolphin:
# dolphin has build errors with VS2019 _and_ VS2022
# error C2855: command-line option '/std:c++' inconsistent with precompiled header
# See https://github.com/scowalt/dolphin-vanguard/actions/runs/3773017863/jobs/6414258994
if: ${{ false }}
runs-on: windows-2019
steps:
- name: Checkout dolphin
Expand All @@ -156,6 +160,10 @@ jobs:

pcsx2:
runs-on: windows-2019
# pcsx2 builds aren't working. I suspect that submodules got messed up
# the last time `pcsx2-Vanguard` merged from upstream, but there
# could be additional issues as well.
if: ${{ false }}
steps:
- name: Checkout pcsx2
uses: actions/checkout@v2
Expand All @@ -178,6 +186,8 @@ jobs:
run: msbuild '.\pcsx2-Vanguard\PCSX2_suite.sln' /property:Configuration=Debug /property:Platform=Win32

citra:
# Our citra fork can't yet build on Visual Studio 2022
# It requires QtCore prebuilt binaries, which are not available in our current fork
runs-on: windows-2019
steps:
# RTCV
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ Output/*
StyleCop.Cache
.vscode

# Folder generated by Visual Studio when running tests
TestResults

# Coverage output
**/lcov.info
coverage.json
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@

# RTCV - Real-Time Corruptor Vanguard

> Real-Time Corruptor, Vanguard, CorruptCore, NetCore2, RTC Launcher
> Real-Time Corruptor, Vanguard, CorruptCore, NetCore2, RTC Launcher

Real-Time Corruptor Vanguard is a Dynamic Corruptor for games. It is a set of libraries that can be rigged up to any program that can load the CLR and works by corrupting data in memory to force glitches. RTCV currently comes with implementations for [Bizhawk](https://github.com/ircluzar/Bizhawk-Vanguard), [Dolphin](https://github.com/NarryG/dolphin-vanguard/), [PCSX2](https://github.com/NarryG/pcsx2-Vanguard), [melonDS](https://github.com/narryg/melonds-vanguard), and [Windows Processes](https://github.com/narryg/processstub-vanguard).

Icon graciously provided by [ShyGuyXXL](https://twitter.com/shyguyxxl)

## Features

- Corrupts in real-time
- Supports various emulators via a generic API. Currently comes with Bizhawk, Dolphin, PCSX2, melonDS, and Windows real-time implementations.
- Supports corrupting files on-disk via the FileStub implementation, as well as including specialized support for certain kinds of files (WiiU games via CemuStub).
Expand All @@ -43,8 +44,10 @@ Icon graciously provided by [ShyGuyXXL](https://twitter.com/shyguyxxl)
- The Custom Engine allows you to create your own engine using the various corruption parameters.

## Development

### Recommended: Visual Studio 2019
[Visual Studio 2019: Community Edition](https://visualstudio.microsoft.com/vs/community/) is a free IDE for open-source projects, and is recommended for RTCV.

[Visual Studio 2019: Community Edition](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=community&rel=16&utm_medium=microsoft&utm_content=vs2019ga+button) is a free IDE for open-source projects, and is recommended for RTCV.

### Without Visual Studio

Expand Down
4 changes: 3 additions & 1 deletion Source/Libraries/NetCore/NetCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
https://github.com/redscientistlabs/RTCV/pull/239#discussion_r491094052
-->
<EmbeddedResourceUseDependentUponConvention>true</EmbeddedResourceUseDependentUponConvention>
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
<DocumentationFile>$(OutputPath)$(AssemblyName).xml</DocumentationFile>
<NoWarn>$(NoWarn),1573,1591,1712</NoWarn>
<GenerateDocumentationFile>False</GenerateDocumentationFile>
Expand Down Expand Up @@ -46,6 +47,7 @@
<PackageReference Include="System.Runtime.CompilerServices.Unsafe">
<Version>6.0.0</Version>
</PackageReference>
<PackageReference Include="System.Resources.Extensions" Version="4.7.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Common\Common.csproj" />
Expand All @@ -54,4 +56,4 @@
<ItemGroup>
<PackageReference Update="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0" />
</ItemGroup>
</Project>
</Project>