NSMBUtility Released

Discussion in 'Wii U - Hacking & Backup Loaders' started by Minotaurus, Feb 5, 2016.

?

Are you going to use this program?

  1. Yes, I will

    57.1%
  2. No, I prefer doing things myself

    14.3%
  3. Maybe, I will see

    28.6%
  1. Minotaurus
    OP

    Minotaurus Member

    Newcomer
    13
    16
    Dec 23, 2015
    Netherlands
    I recently finished working on a simple python program, so I present to you:



    NSMBUtility - V1.2 not likely to contain any bugs




    What kind of program is this?


    It's a small program written in Python 3. It helps you starting with NSMBU and NSLU hacking. It has some basic features, such as making an environment. But it has also some options that would save you some time, like the .sarc to .szs converter. This is basically a program that helps you with loading your custom levels in these games. As I said, this is version V1.2, one of the first releases, so it isn't really advanced yet. As long as I have enough time to keep this up, I'll release updates, with some new features. :)


    What features does it already have?

    Currently, it has the following features:

    • Creating an environment where you can put all your Wii U hacking stuff. This is done automatically when you open it for the first time
    • Creating the folder structure for NSMBU / NSLU / NSMBU + NSLU (2 in 1 disc) for Cafiine
    • Download the latest version of Reggie Next! with NSMBU and NSLU support
    • Download the latest spritedata for Reggie Next!
    • Automatically convert .sarc file to .szs (using Wiimms SZS Tools)
    • An option to open the url if you encounter any problems
    • And luckily, an exit option :)
    • More features might be added in future releases
    Where can I download it?

    You can download it from here! (Github) (This is the latest version, a pull request created by AboodXD)

    Or from here! (GitHub) (Original v1.1)

    Or, last option, click here to download NSMBUtility_V1.1.zip (Mediafire)


    What do I need to run this?

    If you want to run this program, you'll need:

    • NSMBUtility (Yes, you need it. ;))
    • A PC running Windows
    • Python 3 (preferably the latest version) get it from here
    • Wiimms SZS Toolset (if you want to use the converter) which can be downloaded from here.
    • A C:\ partition (a folder will be created in here, this might be editable in future releases)
    • An internet connection (when you download files)
    Running the program

    After downloading it, unzip it and store the folder on your desktop. Read the README.txt carefully.
    Run NSMBUtility.py using the following command in CMD:


    Code:
    cd {path}
    python NSMBUtility.py


    Where {path} is the path to your file.

    For futher instructions, take a look at the included README document.

    FaQ

    Q: Help! NSMBUtility crashes / gives a couple of errors after downloading Reggie Next or the latest Spritedata!
    A: You probably haven't moved the program to the proper folder. Read the paragraph above.

    Q: Is NSLU supported?
    A: Yes, it is! Everything should work with NSLU. Since release V1.1, you have the option, in option one, to change the game the structure is generated for. As from now, these games are fully supported: NSMBU, NSLU and NSMBU + NSLU (2 in 1 disc).


    Screenshots

    Some screenshots from V1.1. Note: Take a look above for the current features.

    Warning: Spoilers inside!


    Changelog

    V1.0 The Release
    • Release

    V1.1 The NSLU Update!
    • NSLU should now be fully supported. A feature for NSMBU + NSLU (2 in 1 disc) is also implented in option 2.
    • A few things are improved, this results in a better layout.
    V1.2 The AboodXD Update! (Thanks to you, AboodXD!)
    • Creating environment(option 1) is now removed, because folders will be automatically created(if not there) when you use option 1(cafiine), option 2(reggie), or option 4(convert .sarc to .szs)!
    • NSMBUtility will now run as admin (only if it needs to!)
    • Added an option to download AboodXD's version of Reggie Next for fast rendering!
    • You won't need to update NSMBUtility every time a new version of Reggie Next comes out!
    • More accurate directory for Reggie Next
    • Option 3 will not download the spritedata if Reggie Next isn't installed, because it would be useless than.
    • Added an option to view the NSMBU Hacking guide here on GBATemp!
    • In V1.1, you needed to put NSMBUtility in C:\Wii U to work correctly, now you don't have to!
    • A little minor changes.
    Credits

    Reggie Next! with NSMBU & NSLU support:
    • RoadRunnerWMC, MrRean, Grop, Kinnay, Meorge and others

    Spritedatabase:
    • RoadRunnerWMC, MrRean, Grop, Kinnay, Minotaurus and others

    Wiimms SZS Toolset:
    • The Wiimms SZS Toolset Team

    NSMBUtility:
    • Minotaurus & AboodXD


    If you have any problems, errors or suggestions, you can share them here.
    Enjoy, and have fun.

    Minotaurus
     
    Last edited by Minotaurus, Feb 26, 2016
  2. Minotaurus
    OP

    Minotaurus Member

    Newcomer
    13
    16
    Dec 23, 2015
    Netherlands
    V1.1 is out!
    As from now, you can also choose the games NSLU and NSMBU + NSLU for option 2. This means that you can generate a folder structure for these games too! Besides that, some small improvements were made in the layout, for optimal use. :)
     
    ant888 and GalladeGuy like this.
  3. TR_mahmutpek

    TR_mahmutpek GBAtemp Advanced Fan

    Member
    630
    134
    Jul 28, 2015
    Nice work :)
     
  4. AboodXD

    AboodXD I hack NSMB games, and other shiz.

    Member
    2,686
    1,407
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    Looks good, will you upload this to github? I want to make a pull request.
     
  5. Minotaurus
    OP

    Minotaurus Member

    Newcomer
    13
    16
    Dec 23, 2015
    Netherlands
    I uploaded it to GitHub as you asked, the link is in the OP under "Where can I download it?". Feel free to make that pull request. ;)
     
    Last edited by Minotaurus, Feb 22, 2016
  6. AboodXD

    AboodXD I hack NSMB games, and other shiz.

    Member
    2,686
    1,407
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    OK, made a pull request!

    NSMBUtility V1.2

    Big update, because either it took a lot of work or I'm too lazy to notice that it didn't.

    Changelog:

    V1.0 The Release:
    • Release

    V1.1 The NSLU Update !:
    • NSLU should now be fully supported. A feature for NSMBU + NSLU (2 in 1 disc) is also implented in option 2.
    • A few things are improved, this results in a better layout.

    V1.2 AboodXD Update !:
    • Creating environment(option 1) is now removed, because folders will be automatically created(if not there) when you use option 1(cafiine), option 2(reggie), or option 4(convert .sarc to .szs)!
    • NSMBUtility will now run as admin IF IT NEEDS TO!
    • Added an option to download my version of Reggie Next for fast rendering!
    • You won't need to update NSMBUtility every time a new version of Reggie Next comes out!
    • Plus more accurate directory for Reggie Next...
    • Option 3 will not download the spritedata if Reggie Next isn't installed, because I don't want the program to throw an error when an idiot tries to download the latest spritedata without having Reggie downloaded.
    • Added an option to view the NSMBU Hacking guide on GBATemp!
    • In v1.1, you needed to put NSMBUtility in C:\Wii U to work correctly, now you don't have to!
    • A little minor changes.
     
    Last edited by AboodXD, Feb 26, 2016
    lonemoonHD and Minotaurus like this.
  7. yahoo

    yahoo G͝B͢A͜t͞em҉p̡ R̨e͢g̷ul̨aŗ

    Member
    341
    237
    Aug 4, 2014
    United States
    Lol. I like how you removed potential support for OSX and Linux with your admin stuff that is actually never called, since you removed the call to "create_environment()" from the main loop.
     
  8. AboodXD

    AboodXD I hack NSMB games, and other shiz.

    Member
    2,686
    1,407
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    Lol, I like how you don't know that Mac won't work anyway, nor Linux.

    It's not like you can't remove the admin thing anyway.

    And bruh, I don't think that NSMBUtility would need to be admin, it's just that if it fails, it'll run itself as admin to fix the problem.
    As you can see, I used a "try" catch:
    Code:
    try:
        if not os.path.exists("C:\Wii U"):
            print("  ")
            print("  ")
            print("Creating environment...")
            os.makedirs("C:\Wii U", exist_ok = True)
            print("Done! Environment succesfully created")
            print("  ")
    except:
        if not admin.isUserAdmin():
            admin.runAsAdmin()
        print("  ")
        print("  ")
        print("Creating environment...")
        os.makedirs("C:\Wii U", exist_ok = True)
        print("Done! Environment succesfully created")
        print("  ")
    Stop following me everywhere, jeez.
     
    Last edited by AboodXD, Feb 26, 2016
  9. AboodXD

    AboodXD I hack NSMB games, and other shiz.

    Member
    2,686
    1,407
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    Fixed it, happy?

    @Minotaurus V1.1 won't work with MAC, nor Linux.
    Also, don't forget to update your thread on RHCafe. :)
     
    Last edited by AboodXD, Feb 26, 2016
  10. Minotaurus
    OP

    Minotaurus Member

    Newcomer
    13
    16
    Dec 23, 2015
    Netherlands
    Fixed! Removed from OP

    I'll update it as soon as I can. ;)
     
    AboodXD likes this.
  11. Relys

    Relys Master of Computer Science

    Member
    863
    788
    Jan 5, 2007
    United States
    Excellent work! :)
     
    AboodXD likes this.
  12. yahoo

    yahoo G͝B͢A͜t͞em҉p̡ R̨e͢g̷ul̨aŗ

    Member
    341
    237
    Aug 4, 2014
    United States
    I hope that you are happy and not just making the change to make someone else happy. The code wasn't doing what it was supposed to before and relied on the folder structure already being present. I haven't checked your change, but hopefully you have tested that it works now and creates the necessary folder structure if it's not present. :)
     
  13. AboodXD

    AboodXD I hack NSMB games, and other shiz.

    Member
    2,686
    1,407
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    When I say I fixed, I really mean I fixed it.

    Also, please stop shitposting everywhere I go, your bug reports just kill me, they're misrespectful, and they always aim for making fun of someone.

    Please be more respectful, regardless of who you're talking to.

    And no, I made the change to shut your mouth, I wasn't going to do it anyway, because if that function didn't work, other functions will create the directory.