This repository has been archived by the owner on Sep 18, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
20 changed files
with
1,422 additions
and
856 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,9 @@ | ||
|
||
# Set Working Directory | ||
Split-Path $MyInvocation.MyCommand.Path | Push-Location | ||
[Environment]::CurrentDirectory = $PWD | ||
|
||
./Publish.ps1 -ProjectPath "SonicHeroes.Utils.OneRedirector/SonicHeroes.Utils.OneRedirector.csproj" ` | ||
-PackageName "SonicHeroes.Utils.OneRedirector" ` | ||
|
||
Pop-Location |
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 |
---|---|---|
@@ -1,21 +1,20 @@ | ||
using System.ComponentModel; | ||
|
||
namespace SonicHeroes.Utils.OneRedirector.Configuration | ||
namespace SonicHeroes.Utils.OneRedirector.Configuration; | ||
|
||
public class Config : Configurable<Config> | ||
{ | ||
public class Config : Configurable<Config> | ||
{ | ||
/* | ||
User Properties: | ||
- Please put all of your configurable properties here. | ||
- Tip: Consider using the various available attributes https://stackoverflow.com/a/15051390/11106111 | ||
By default, configuration saves as "Config.json" in mod folder. | ||
Need more config files/classes? See Configuration.cs | ||
*/ | ||
/* | ||
User Properties: | ||
- Please put all of your configurable properties here. | ||
- Tip: Consider using the various available attributes https://stackoverflow.com/a/15051390/11106111 | ||
By default, configuration saves as "Config.json" in mod folder. | ||
Need more config files/classes? See Configuration.cs | ||
*/ | ||
|
||
|
||
[DisplayName("Always Build Archives")] | ||
[Description("Rebuilds the .ONE archive every time the game opens the files. This allows you to swap out files while the game is running at the expense or more time taken to load the file(s).")] | ||
public bool AlwaysBuildArchive { get; set; } = false; | ||
} | ||
} | ||
[DisplayName("Always Build Archives")] | ||
[Description("Rebuilds the .ONE archive every time the game opens the files. This allows you to swap out files while the game is running at the expense or more time taken to load the file(s).")] | ||
public bool AlwaysBuildArchive { get; set; } = false; | ||
} |
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
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
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 |
---|---|---|
@@ -1,10 +1,9 @@ | ||
namespace SonicHeroes.Utils.OneRedirector | ||
namespace SonicHeroes.Utils.OneRedirector; | ||
|
||
public static class Constants | ||
{ | ||
public static class Constants | ||
{ | ||
public const string OneExtension = ".one"; | ||
public const string PrsExtension = ".prs"; | ||
public const string DeleteExtension = ".del"; | ||
public const string RedirectorFolderName = "OneRedirector"; | ||
} | ||
} | ||
public const string OneExtension = ".one"; | ||
public const string PrsExtension = ".prs"; | ||
public const string DeleteExtension = ".del"; | ||
public const string RedirectorFolderName = "OneRedirector"; | ||
} |
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 |
---|---|---|
@@ -1,16 +1,52 @@ | ||
{ | ||
{ | ||
"ModId": "sonicheroes.utils.oneredirector", | ||
"ModName": "Generic Heroes ONE Archive Redirector", | ||
"ModAuthor": "Sewer56", | ||
"ModVersion": "1.0.0", | ||
"ModVersion": "1.0.1", | ||
"ModDescription": "Experimental Windows FileSystem level hook allowing redirection of Sonic Heroes ONE archive contents.", | ||
"ModDll": "SonicHeroes.Utils.OneRedirector.dll", | ||
"ModIcon": "Preview.png", | ||
"ModR2RManagedDll32": "x86/SonicHeroes.Utils.OneRedirector.dll", | ||
"ModR2RManagedDll64": "x64/SonicHeroes.Utils.OneRedirector.dll", | ||
"ModNativeDll32": "", | ||
"ModNativeDll64": "", | ||
"ModDependencies": [ "reloaded.sharedlib.hooks", "reloaded.sharedlib.csharp.prs" ], | ||
"OptionalDependencies": [ "reloaded.universal.redirector" ], | ||
"SupportedAppId": [ "tsonic_win.exe" ] | ||
} | ||
"IsLibrary": false, | ||
"ReleaseMetadataFileName": "Sewer56.Update.ReleaseMetadata.json", | ||
"PluginData": { | ||
"GitHubDependencies": { | ||
"IdToConfigMap": { | ||
"reloaded.sharedlib.hooks": { | ||
"Config": { | ||
"UserName": "Reloaded.SharedLib.Hooks.ReloadedII", | ||
"RepositoryName": "Sewer56", | ||
"UseReleaseTag": true, | ||
"AssetFileName": "reloaded.sharedlib.hooks.zip" | ||
} | ||
} | ||
} | ||
}, | ||
"GitHubRelease": { | ||
"UserName": "Sewer56", | ||
"RepositoryName": "Heroes.Utils.OneRedirector.ReloadedII", | ||
"UseReleaseTag": true, | ||
"AssetFileName": "Mod.zip" | ||
}, | ||
"NuGet": { | ||
"AllowUpdateFromAnyRepository": false, | ||
"DefaultRepositoryUrls": [ | ||
"http://packages.sewer56.moe:5000/v3/index.json" | ||
] | ||
} | ||
}, | ||
"IsUniversalMod": false, | ||
"ModDependencies": [ | ||
"reloaded.sharedlib.hooks", | ||
"reloaded.sharedlib.csharp.prs" | ||
], | ||
"OptionalDependencies": [ | ||
"reloaded.universal.redirector" | ||
], | ||
"SupportedAppId": [ | ||
"tsonic_win.exe" | ||
] | ||
} |
Oops, something went wrong.