Results 1 to 10 of 10

Thread:
Simple Byteswapper for N64 saves.

  1. #1
    Developer PabloACZ's Avatar
    Join Date
    Sep 2011
    Location
    Cabimas, Zulia, Venezuela.
    Posts
    159
    Thanked: 92
    Mentioned
    0 Post(s)

    Simple Byteswapper for N64 saves.

    This is a small tool I did like two weeks ago in my free time, while doing the BlueDump MOD. Unlike Wii64SaveSwap, it can convert Project64 saves (and any other type of save generated under a Little-Endian machine, I assume) to the Virtual Console format. It is not based in any way on its source code (Molokai never released it, as far as I know).

    I also corrected EEP and MPK support, since Wii64 always assumes that every EEPROM save is the 4x type (2KB), and the Controller Pak saves are always cut down on size from 256 KB to 128 KB.

    Feel free to test and/or modify it in any way you want.
    Attached Files Attached Files
    Last edited by PabloACZ; 02-19-2014 at 06:46 PM.

  2. The Following 4 Users Say Thank You to PabloACZ For This Useful Post:


  3. #2
    Administrator
    News Hack
    stomp_442's Avatar
    Join Date
    Mar 2011
    Location
    Southeast Michigan
    Posts
    5,869
    Thanked: 1458
    Blog Entries
    3
    Mentioned
    7 Post(s)
    I only just installed Project64 and tested it out a few weeks ago, haven't had time to create any game saves with it yet. This tool ought to come in handy for somebody.

  4. The Following User Says Thank You to stomp_442 For This Useful Post:


  5. #3
    Developer PabloACZ's Avatar
    Join Date
    Sep 2011
    Location
    Cabimas, Zulia, Venezuela.
    Posts
    159
    Thanked: 92
    Mentioned
    0 Post(s)
    Yup, I actually wanted to do it because it was a pain in the ass to convert all my N64 saves to the Virtual Console format; there was no way to do a batch conversion, just byteswapping using Hex Workshop or any other hex editor with such capabilities and the manually padding with 0xAA.

    If you know how to create a batch file, this tool is gonna make your life easier, rest assured.

  6. #4
    Supreme Overlord
    Administrator
    JoostinOnline's Avatar
    Join Date
    Mar 2011
    Location
    Behind you!
    Posts
    7,894
    Thanked: 1535
    Blog Entries
    10
    Mentioned
    14 Post(s)
    Yay for batch files and CLI!
    "Macs are the Perfect Computers," said the Perfect Idiot.

    (\__/)
    (='.'=)This is Bunny. Copy and paste Bunny into your
    (")_(")signature to help him gain world domination.

  7. The Following User Says Thank You to JoostinOnline For This Useful Post:


  8. #5
    Developer PabloACZ's Avatar
    Join Date
    Sep 2011
    Location
    Cabimas, Zulia, Venezuela.
    Posts
    159
    Thanked: 92
    Mentioned
    0 Post(s)
    Here's a very small update that adds support with Sixtyforce (N64 emulator for MacOS) saves, as requested by Morshu9001: http://www77.zippyshare.com/v/647172/file.html.

    Currently, it only supports conversion of every Sixtyforce save type but Controller Paks; I still have to look into that. Also, the output file is only compatible with PC emulators; you can get the Wii-compatible one by running the program a second time (I'll probably correct that tomorrow... Just me being lazy).

    I'll be protesting today with my friends at the University Avenue; hopefully, we'll solve our political situation once and for all.
    Last edited by PabloACZ; 02-18-2014 at 08:38 AM.

  9. The Following 2 Users Say Thank You to PabloACZ For This Useful Post:


  10. #6
    Supreme Overlord
    Administrator
    JoostinOnline's Avatar
    Join Date
    Mar 2011
    Location
    Behind you!
    Posts
    7,894
    Thanked: 1535
    Blog Entries
    10
    Mentioned
    14 Post(s)
    Thanks for the update (we always appreciate your contributions), and I hope the protest goes well.
    "Macs are the Perfect Computers," said the Perfect Idiot.

    (\__/)
    (='.'=)This is Bunny. Copy and paste Bunny into your
    (")_(")signature to help him gain world domination.

  11. The Following User Says Thank You to JoostinOnline For This Useful Post:


  12. #7
    Developer PabloACZ's Avatar
    Join Date
    Sep 2011
    Location
    Cabimas, Zulia, Venezuela.
    Posts
    159
    Thanked: 92
    Mentioned
    0 Post(s)
    I finally got around adding compatibility with Controller Pak saves from Sixtyforce; it seems they always get appended to the cartridge save on the same *.n64save file, and they have a fixed size of 0x8008 bytes (SRAM save length + 8-byte header).

    The extraction will be done automatically if the Controller Pak data is detected on the input file. The program seeks to its starting point in the save, reads the data and pads it to 128 KB. You can read the sourcecode if you want to learn more about this.

    Also, you now have to run the program twice to convert the Sixtyforce save to a PC compatible format, and not to a Wii compatible format (since that's the main target of SBN64). I also fixed some very silly bugs and optimized the code a little.

    You can find the download on the first post.

  13. #8
    New User
    Join Date
    Feb 2014
    Posts
    1
    Thanked: 1
    Mentioned
    0 Post(s)
    Nice work! There were some people on other sites asking about Sixtyforce save conversion, so I'll give them the link to this thread.

  14. The Following User Says Thank You to Morshu9001 For This Useful Post:


  15. #9
    Developer PabloACZ's Avatar
    Join Date
    Sep 2011
    Location
    Cabimas, Zulia, Venezuela.
    Posts
    159
    Thanked: 92
    Mentioned
    0 Post(s)
    Hey there, I just wanted to come by to let you guys know I updated the program again, and to say "hi" to everyone while I'm at it.

    I received an e-mail from an Argentinian user asking if I could add save conversion not from, but *to* the Sixtyforce format. And I did it, though it is still experimental. The code for this new version was practically written from scratch, so it should be easier to add support for more formats if the need arises.

    I created the Git repositories for this and the rest of the programs I developed back then, in case any of you want to check out the source, fork it or whatever.

    It's nice to hang around here again.

    @JoostinOnline I know you won't forgive me for being absent this whole time. <.<

  16. The Following 2 Users Say Thank You to PabloACZ For This Useful Post:


  17. #10
    Supreme Overlord
    Administrator
    JoostinOnline's Avatar
    Join Date
    Mar 2011
    Location
    Behind you!
    Posts
    7,894
    Thanked: 1535
    Blog Entries
    10
    Mentioned
    14 Post(s)
    Quote Originally Posted by PabloACZ View Post
    @JoostinOnline I know you won't forgive me for being absent this whole time. <.<
    I think I'll come to forgive you over time.
    "Macs are the Perfect Computers," said the Perfect Idiot.

    (\__/)
    (='.'=)This is Bunny. Copy and paste Bunny into your
    (")_(")signature to help him gain world domination.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •