Skip to content
This repository has been archived by the owner on Oct 18, 2019. It is now read-only.

Commit

Permalink
"Hotfix" 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo40Git committed Apr 27, 2018
1 parent 2148b7f commit 4ea5f51
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
1.0.3
1.0.4
"Hotfix" 1.0.4
- Add guide
Hotfix 1.0.3
- Disallow empty ORG names
- Fix "Save EXE As..." not working
Expand Down
16 changes: 16 additions & 0 deletions guide.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Okay listen up it's pretty simple
1. Load your EXE with OrgAdder
2. Click on ORG+ to add a new entry
3. Type in a name. Remember this name, you're gonna need it
4. Press "OK", and save your EXE
5. Now, open your EXE with Resource Hacker
6. Open the "Action" menu and click on "Add Single Binary or Image Resource ..."
7. Click on "Select File ..." and select your ORG file
8. In the "Resource Type" field, type in "ORG"
9. In the "Resource Name" field, type in the name you entered in OrgAdder
10. In the "Resource Language" field, type in 1041 (Japanese, Default)
10b. If the "Resource Language" field is disabled, skip this step and follow step 11b
11. Click on "Add Resource". You should see your new ORG appear in the resource explorer!
11b. Right click on the ORG, and click on "Change Language for this Resource ...". Type 1041 into the "Lang. ID" field
12. Finally, save your EXE within Resource Hacker
Your ORG is now ready to be used in-game!
21 changes: 20 additions & 1 deletion src/main/java/com/leo/orgadder/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class Main {

public static final Logger LOGGER = LogManager.getLogger("OrgAdder");

public static final Version VERSION = new Version("1.0.3");
public static final Version VERSION = new Version("1.0.4");
public static final String UPDATE_CHECK_SITE = "https://raw.githubusercontent.com/Leo40Git/OrgAdder/master/.version";
public static final String DOWNLOAD_SITE = "https://github.com/Leo40Git/OrgAdder/releases/latest/";
public static final String ISSUES_SITE = "https://github.com/Leo40Git/OrgAdder/issues";
Expand All @@ -68,6 +68,20 @@ public void windowClosing(WindowEvent e) {

}

public static final String GUIDE_STR = "Okay listen up it's pretty simple\n" + "1. Load your EXE with OrgAdder\n"
+ "2. Click on ORG+ to add a new entry\n" + "3. Type in a name. Remember this name, you're gonna need it\n"
+ "4. Press \"OK\", and save your EXE\n" + "5. Now, open your EXE with Resource Hacker\n"
+ "6. Open the \"Action\" menu and click on \"Add Single Binary or Image Resource ...\"\n"
+ "7. Click on \"Select File ...\" and select your ORG file\n"
+ "8. In the \"Resource Type\" field, type in \"ORG\"\n"
+ "9. In the \"Resource Name\" field, type in the name you entered in OrgAdder\n"
+ "10. In the \"Resource Language\" field, type in 1041 (Japanese, Default)\n"
+ "10b. If the \"Resource Language\" field is disabled, skip this step and follow step 11b\n"
+ "11. Click on \"Add Resource\". You should see your new ORG appear in the resource explorer!\n"
+ "11b. Right click on the ORG, and click on \"Change Language for this Resource ...\". Type 1041 into the \"Lang. ID\" field\n"
+ "12. Finally, save your EXE within Resource Hacker\n" + "Your ORG is now ready to be used in-game!";

public static final String AC_GUIDE = "guide";
public static final String AC_ABOUT = "about";
public static final String AC_UPDATE = "update";

Expand All @@ -76,6 +90,9 @@ static class HelpActionListener implements ActionListener {
@Override
public void actionPerformed(ActionEvent e) {
switch (e.getActionCommand()) {
case AC_GUIDE:
JOptionPane.showMessageDialog(window, GUIDE_STR, "Guide", JOptionPane.PLAIN_MESSAGE);
break;
case AC_ABOUT:
if (aboutIcon == null)
aboutIcon = new ImageIcon(appIcons.get(APPICON_32), "About");
Expand Down Expand Up @@ -224,6 +241,8 @@ private static JMenuBar makeMenuBar() {
mb.add(m);
HelpActionListener helpAS = new HelpActionListener();
m = new JMenu("Help");
m.add(makeMenuItem("Guide", helpAS, AC_GUIDE));
m.addSeparator();
m.add(makeMenuItem("About OrgAdder", helpAS, AC_ABOUT));
m.add(makeMenuItem("Check for Updates", helpAS, AC_UPDATE));
mb.add(m);
Expand Down

0 comments on commit 4ea5f51

Please sign in to comment.