Skip to content

Commit

Permalink
Update 2.8.5
Browse files Browse the repository at this point in the history
swap cover/screenshot
  • Loading branch information
bodyXY authored Oct 6, 2018
1 parent 5cc9a89 commit 17e913d
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 16 deletions.
18 changes: 9 additions & 9 deletions NES Online Game Injector/Main Form.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 9 additions & 4 deletions NES Online Game Injector/Main Form.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
using MaterialSkin.Controls;
using System.Diagnostics;
using System.Linq;
using System.Drawing;
using System.Drawing.Imaging;

namespace NES_Online_Game_Injector
{
Expand Down Expand Up @@ -410,6 +412,9 @@ private void InjectButton_Click(object sender, EventArgs e)
Directory.Delete(@"temp");
}




if (JPCheckbox.Checked == false)
{
Directory.CreateDirectory("NES_ONLINE_Mod");
Expand Down Expand Up @@ -443,12 +448,12 @@ private void InjectButton_Click(object sender, EventArgs e)
Nconvert.RunCommand($"-i screenshot.tga -o screenshot.xtx --mip-filter box --minmip 5 -f rgba8");

Zconvert.RunCommand($"cover.xtx");
File.Copy(@"cover.xtx.zlib", "NES_ONLINE_Mod/titles/0100D870045B6000/romfs/titles/HLV-C-" + GamecodeTextbox.Text + "\\" + "HLV-C-" + GamecodeTextbox.Text + ".xtx.z");
File.Copy(@"cover.xtx.zlib", "NES_ONLINE_Mod/titles/0100D870045B6000/romfs/titles/HLV-C-" + GamecodeTextbox.Text + "\\" + "HLV-C-" + GamecodeTextbox.Text + "00.xtx.z");
File.Delete(@"cover.xtx");
File.Delete(@"cover.xtx.zlib");

Zconvert.RunCommand($"screenshot.xtx");
File.Copy(@"screenshot.xtx.zlib", "NES_ONLINE_Mod/titles/0100D870045B6000/romfs/titles/HLV-C-" + GamecodeTextbox.Text + "\\" + "HLV-C-" + GamecodeTextbox.Text + "00.xtx.z");
File.Copy(@"screenshot.xtx.zlib", "NES_ONLINE_Mod/titles/0100D870045B6000/romfs/titles/HLV-C-" + GamecodeTextbox.Text + "\\" + "HLV-C-" + GamecodeTextbox.Text + ".xtx.z");
File.Delete(@"screenshot.xtx");
File.Delete(@"screenshot.xtx.zlib");

Expand Down Expand Up @@ -534,12 +539,12 @@ private void InjectButton_Click(object sender, EventArgs e)
Nconvert.RunCommand($"-i screenshot.tga -o screenshot.xtx --mip-filter box --minmip 5 -f rgba8");

Zconvert.RunCommand($"cover.xtx");
File.Copy(@"cover.xtx.zlib", "NES_ONLINE_Mod/titles/0100B4E00444C000/romfs/titles/CLV-G-" + GamecodeTextbox.Text + "\\" + "CLV-G-" + GamecodeTextbox.Text + ".xtx.z");
File.Copy(@"cover.xtx.zlib", "NES_ONLINE_Mod/titles/0100B4E00444C000/romfs/titles/CLV-G-" + GamecodeTextbox.Text + "\\" + "CLV-G-" + GamecodeTextbox.Text + "00.xtx.z");
File.Delete(@"cover.xtx");
File.Delete(@"cover.xtx.zlib");

Zconvert.RunCommand($"screenshot.xtx");
File.Copy(@"screenshot.xtx.zlib", "NES_ONLINE_Mod/titles/0100B4E00444C000/romfs/titles/CLV-G-" + GamecodeTextbox.Text + "\\" + "CLV-G-" + GamecodeTextbox.Text + "00.xtx.z");
File.Copy(@"screenshot.xtx.zlib", "NES_ONLINE_Mod/titles/0100B4E00444C000/romfs/titles/CLV-G-" + GamecodeTextbox.Text + "\\" + "CLV-G-" + GamecodeTextbox.Text + ".xtx.z");
File.Delete(@"screenshot.xtx");
File.Delete(@"screenshot.xtx.zlib");

Expand Down
3 changes: 3 additions & 0 deletions NES Online Game Injector/Main Form.resx
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,9 @@
<metadata name="toolTipVolume.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>1098, 19</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>60</value>
</metadata>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAMDAAAAEAIACoJQAAFgAAACgAAAAwAAAAYAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Expand Down
2 changes: 1 addition & 1 deletion NES Online Game Injector/NES Online Game Injector.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<ProductName>NES ONLINE Game Autoinjector</ProductName>
<PublisherName>bodyXY</PublisherName>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>2.8.0.%2a</ApplicationVersion>
<ApplicationVersion>2.8.5.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions NES Online Game Injector/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.8.0.0")]
[assembly: AssemblyFileVersion("2.8.0.0")]
[assembly: AssemblyVersion("2.8.5.0")]
[assembly: AssemblyFileVersion("2.8.5.0")]

0 comments on commit 17e913d

Please sign in to comment.