Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
WiiVC Injector
Commits
9be7b482
Unverified
Commit
9be7b482
authored
Oct 31, 2023
by
piratesephiroth
Committed by
GitHub
Oct 31, 2023
Browse files
Merge pull request #38 from V10lator/UWU
Use UWUVCIs image repository
parents
fea4a821
eb857708
Changes
4
Hide whitespace changes
Inline
Side-by-side
TeconMoon's WiiVC Injector/App.config
View file @
9be7b482
...
...
@@ -20,7 +20,7 @@
<
value
/>
</
setting
>
<
setting
name
=
"BannersRepository"
serializeAs
=
"String"
>
<
value
>
https
://
raw
.
githubusercontent
.
com
/
cucholix
/
wiivc
-
bis
/
master
/</
value
>
<
value
>
https
://
raw
.
githubusercontent
.
com
/
UWUVCI
-
PRIME
/
UWUVCI
-
IMAGES
/
master
/</
value
>
</
setting
>
</
TeconMoon_s_WiiVC_Injector
.
Properties
.
Settings
>
</
userSettings
>
...
...
TeconMoon's WiiVC Injector/Form1.cs
View file @
9be7b482
...
...
@@ -178,13 +178,13 @@ namespace TeconMoon_s_WiiVC_Injector
public
void
DownloadFromRepo
(
string
cucholixRepoID
)
{
var
client
=
new
WebClient
();
IconPreviewBox
.
Load
(
Properties
.
Settings
.
Default
.
BannersRepository
+
SystemType
+
"/
image/
"
+
cucholixRepoID
+
"/iconTex.png"
);
IconPreviewBox
.
Load
(
Properties
.
Settings
.
Default
.
BannersRepository
+
SystemType
+
"/"
+
cucholixRepoID
+
"/iconTex.png"
);
if
(
File
.
Exists
(
Path
.
GetTempPath
()
+
"WiiVCInjector\\SOURCETEMP\\iconTex.png"
))
{
File
.
Delete
(
Path
.
GetTempPath
()
+
"WiiVCInjector\\SOURCETEMP\\iconTex.png"
);
}
client
.
DownloadFile
(
IconPreviewBox
.
ImageLocation
,
Path
.
GetTempPath
()
+
"WiiVCInjector\\SOURCETEMP\\iconTex.png"
);
IconSourceDirectory
.
Text
=
"iconTex.png downloaded from Cucholix's Repo"
;
IconSourceDirectory
.
ForeColor
=
Color
.
Black
;
FlagIconSpecified
=
true
;
BannerPreviewBox
.
Load
(
Properties
.
Settings
.
Default
.
BannersRepository
+
SystemType
+
"/
image/
"
+
cucholixRepoID
+
"/bootTvTex.png"
);
BannerPreviewBox
.
Load
(
Properties
.
Settings
.
Default
.
BannersRepository
+
SystemType
+
"/"
+
cucholixRepoID
+
"/bootTvTex.png"
);
if
(
File
.
Exists
(
Path
.
GetTempPath
()
+
"WiiVCInjector\\SOURCETEMP\\bootTvTex.png"
))
{
File
.
Delete
(
Path
.
GetTempPath
()
+
"WiiVCInjector\\SOURCETEMP\\bootTvTex.png"
);
}
client
.
DownloadFile
(
BannerPreviewBox
.
ImageLocation
,
Path
.
GetTempPath
()
+
"WiiVCInjector\\SOURCETEMP\\bootTvTex.png"
);
BannerSourceDirectory
.
Text
=
"bootTvTex.png downloaded from Cucholix's Repo"
;
...
...
@@ -1002,7 +1002,7 @@ namespace TeconMoon_s_WiiVC_Injector
IEnumerable
<
string
>
ids
=
GameTdb
.
GetAlternativeIds
(
cucholixRepoID
);
foreach
(
var
id
in
ids
)
{
if
(
RemoteFileExists
(
Properties
.
Settings
.
Default
.
BannersRepository
+
SystemType
+
"/
image/
"
+
id
+
"/iconTex.png"
))
if
(
RemoteFileExists
(
Properties
.
Settings
.
Default
.
BannersRepository
+
SystemType
+
"/"
+
id
+
"/iconTex.png"
))
{
DownloadFromRepo
(
id
);
return
true
;
...
...
TeconMoon's WiiVC Injector/Properties/Settings.Designer.cs
View file @
9be7b482
//------------------------------------------------------------------------------
// <auto-generated>
//
This code was generated by a tool
.
//
Runtime V
ersion:4.0.30319.42000
//
Dieser Code wurde von einem Tool generiert
.
//
Laufzeitv
ersion:4.0.30319.42000
//
//
Changes to this file may cause incorrect behavior and will be lost if
//
the code is regenerate
d.
//
Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
//
der Code erneut generiert wir
d.
// </auto-generated>
//------------------------------------------------------------------------------
...
...
@@ -12,7 +12,7 @@ namespace TeconMoon_s_WiiVC_Injector.Properties {
[
global
::
System
.
Runtime
.
CompilerServices
.
CompilerGeneratedAttribute
()]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCodeAttribute
(
"Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator"
,
"17.
5
.0.0"
)]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCodeAttribute
(
"Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator"
,
"17.
7
.0.0"
)]
internal
sealed
partial
class
Settings
:
global
::
System
.
Configuration
.
ApplicationSettingsBase
{
private
static
Settings
defaultInstance
=
((
Settings
)(
global
::
System
.
Configuration
.
ApplicationSettingsBase
.
Synchronized
(
new
Settings
())));
...
...
@@ -61,7 +61,7 @@ namespace TeconMoon_s_WiiVC_Injector.Properties {
[
global
::
System
.
Configuration
.
UserScopedSettingAttribute
()]
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
[
global
::
System
.
Configuration
.
DefaultSettingValueAttribute
(
"https://raw.githubusercontent.com/
cucholix/wiivc-bis
/master/"
)]
[
global
::
System
.
Configuration
.
DefaultSettingValueAttribute
(
"https://raw.githubusercontent.com/
UWUVCI-PRIME/UWUVCI-IMAGES
/master/"
)]
public
string
BannersRepository
{
get
{
return
((
string
)(
this
[
"BannersRepository"
]));
...
...
TeconMoon's WiiVC Injector/Properties/Settings.settings
View file @
9be7b482
...
...
@@ -12,7 +12,7 @@
<Value
Profile=
"(Default)"
/>
</Setting>
<Setting
Name=
"BannersRepository"
Type=
"System.String"
Scope=
"User"
>
<Value
Profile=
"(Default)"
>
https://raw.githubusercontent.com/
cucholix/wiivc-bis
/master/
</Value>
<Value
Profile=
"(Default)"
>
https://raw.githubusercontent.com/
UWUVCI-PRIME/UWUVCI-IMAGES
/master/
</Value>
</Setting>
</Settings>
</SettingsFile>
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment