how did i forget mod descriptions...?

This commit is contained in:
Downforce Agent 2024-05-06 23:36:41 -05:00
parent cb24d94355
commit 0b6e6fd276
3 changed files with 7 additions and 2 deletions

View File

@ -316,7 +316,7 @@ public class Kermit implements ActionListener {
} }
if(checksum.equals("4ef707b2dba6944a726d46950aaddfd2")) {changePage(Pages.WHAT_OS);} else { if(checksum.equals("4ef707b2dba6944a726d46950aaddfd2")) {changePage(Pages.WHAT_OS);} else {
System.out.println("Failed to download PSARC tool because the connection stalled."); System.out.println("ERROR: Failed to download PSARC tool. Check connection and ensure the file is not corrupt or infected.");
dialogText.setText("Firestar tried to download important files needed for operation, but they were either corrupted or did not finish.\n" + "\n\nYou will need to manually install psp2psarc.exe into your Firestar config folder after setup is complete! Or, you can retry the download later."); dialogText.setText("Firestar tried to download important files needed for operation, but they were either corrupted or did not finish.\n" + "\n\nYou will need to manually install psp2psarc.exe into your Firestar config folder after setup is complete! Or, you can retry the download later.");
//frame.setDefaultCloseOperation(DISPOSE_ON_CLOSE); //frame.setDefaultCloseOperation(DISPOSE_ON_CLOSE);

View File

@ -45,6 +45,7 @@ public class Main {
//public int gameversion; //TODO detect a game version and compatibility? // no //public int gameversion; //TODO detect a game version and compatibility? // no
public int priority = 0; //unused public int priority = 0; //unused
public String friendlyName; public String friendlyName;
public String description;
public String game; //TODO for multi game support public String game; //TODO for multi game support
public int loaderversion = 0; //minimum required vint or feature level from Firestar public int loaderversion = 0; //minimum required vint or feature level from Firestar
public String author; // if null, "Author is unknown." public String author; // if null, "Author is unknown."

View File

@ -62,6 +62,7 @@ public class MissPiggy implements ActionListener {
/// DEBUG /// /// DEBUG ///
Main.Mod testModEntry = new Main().new Mod(); //this is retarded? we're making a new object of a certain type, why the fuck do you care where it comes from? static or regardless?? Main.Mod testModEntry = new Main().new Mod(); //this is retarded? we're making a new object of a certain type, why the fuck do you care where it comes from? static or regardless??
testModEntry.friendlyName = "Example Mod 1"; testModEntry.friendlyName = "Example Mod 1";
testModEntry.description = "Example Mod 1";
testModEntry.game = "2048"; testModEntry.game = "2048";
testModEntry.path = "/home/bonkyboo/madarao_sneaky2_square.png"; //used to test file sizes testModEntry.path = "/home/bonkyboo/madarao_sneaky2_square.png"; //used to test file sizes
testModEntry.version = 1; testModEntry.version = 1;
@ -69,6 +70,7 @@ public class MissPiggy implements ActionListener {
Main.Mods.add(testModEntry); Main.Mods.add(testModEntry);
Main.Mod testModEntry2 = new Main().new Mod(); Main.Mod testModEntry2 = new Main().new Mod();
testModEntry2.friendlyName = "Example Mod 2"; testModEntry2.friendlyName = "Example Mod 2";
testModEntry2.description = "Example Mod 2";
testModEntry2.author = "Daniel Chang"; testModEntry2.author = "Daniel Chang";
testModEntry2.game = "2048"; testModEntry2.game = "2048";
testModEntry2.path = "/home/bonkyboo/chengou.mp4"; testModEntry2.path = "/home/bonkyboo/chengou.mp4";
@ -77,6 +79,7 @@ public class MissPiggy implements ActionListener {
Main.Mods.add(testModEntry2); Main.Mods.add(testModEntry2);
Main.Mod testModEntry3 = new Main().new Mod(); Main.Mod testModEntry3 = new Main().new Mod();
testModEntry3.friendlyName = "Example Mod 3"; testModEntry3.friendlyName = "Example Mod 3";
testModEntry3.description = "Example Mod 3";
testModEntry3.author = "John Dekka"; testModEntry3.author = "John Dekka";
testModEntry3.game = "2048"; testModEntry3.game = "2048";
testModEntry3.path = "/home/bonkyboo/round2.mp4"; testModEntry3.path = "/home/bonkyboo/round2.mp4";
@ -152,7 +155,8 @@ public class MissPiggy implements ActionListener {
"\"" + Main.Mods.get(modList.getSelectedIndex()).friendlyName + "\"\n" + "\"" + Main.Mods.get(modList.getSelectedIndex()).friendlyName + "\"\n" +
"by " + authorDisplay + "\n\n" + "by " + authorDisplay + "\n\n" +
"Version " + Main.Mods.get(modList.getSelectedIndex()).version + "\n" + "Version " + Main.Mods.get(modList.getSelectedIndex()).version + "\n" +
modFileSizeStr + " " + modFileSizeUnits + " in size" modFileSizeStr + " " + modFileSizeUnits + " in size" +
"\n\n" + Main.Mods.get(modList.getSelectedIndex()).description
);}); );});
// display window // display window