Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
Implement bitter smile demo trimming
Browse files Browse the repository at this point in the history
  • Loading branch information
noahc3 committed Jul 3, 2018
1 parent 3dce72e commit 5ddec1d
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 7 deletions.
26 changes: 21 additions & 5 deletions auto h-encore/Form1.Designer.cs

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

15 changes: 14 additions & 1 deletion auto h-encore/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,18 @@ private void btnStart_Click(object sender, EventArgs e) {
return;
}
if (cbxTrim.Checked) {
info("Trimming excess content from bitter smile demo...");
string path = Reference.path_downloads + "app\\PCSG90096\\";
FileSystem.DeleteFile(path + "resource\\movie\\Opening.mp4");
foreach (string k in FileSystem.GetFiles(path + "resource\\sound\\bgm\\")) FileSystem.DeleteFile(k);
FileSystem.DeleteDirectory(path + "resource\\sound\\voice\\01\\", DeleteDirectoryOption.DeleteAllContents);
FileSystem.DeleteDirectory(path + "resource\\sound\\se\\", DeleteDirectoryOption.DeleteAllContents);
FileSystem.DeleteDirectory(path + "resource\\image\\bg\\", DeleteDirectoryOption.DeleteAllContents);
FileSystem.DeleteDirectory(path + "resource\\image\\tachie\\", DeleteDirectoryOption.DeleteAllContents);
info(" Done!");
}
try {
foreach (string k in FileSystem.GetFiles(Reference.path_downloads + "app\\PCSG90096\\")) {
info("Moving " + k.Split('\\').Last() + " to h-encore working directory...");
Expand Down Expand Up @@ -297,12 +309,13 @@ private void btnStart_Click(object sender, EventArgs e) {
+ "1. Right click the QCMA icon in task tray and select refresh database\r\n"
+ "2. Connect your PS Vita to your PC using USB\r\n"
+ "3. Open Content Manager on your PS Vita and select Copy Content\r\n"
+ " If it says you need to update your firmware, turn off Wifi on your Vita and restart the Vita\r\n"
+ " If it says you need to update your firmware, turn off Wifi on your Vita and restart the Vita\r\n"
+ "4. In Content Manager, choose PC -> PS Vita System\r\n"
+ "5. Select Applications\r\n"
+ "6. Select PS Vita\r\n"
+ "7. Select h-encore and hit Copy\r\n"
+ "8. Run the h-encore app from the Live Area\r\n"
+ " If it crashes the first time, try restarting your Vita and launching the bubble again\r\n\r\n"
+ "Done!")));
toggleControls(true);
Expand Down
2 changes: 1 addition & 1 deletion auto h-encore/Reference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace auto_h_encore {
public static class Reference {
public static readonly string version = "0.2.0";
public static readonly string version = "0.2.1";

public static readonly string path_hencore = Environment.CurrentDirectory + "\\data\\h-encore\\";
public static readonly string path_psvimgtools = Environment.CurrentDirectory + "\\data\\psvimgtools\\";
Expand Down

0 comments on commit 5ddec1d

Please sign in to comment.