Hatsune Miku: Project Mirai DX Hacking Thread

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by dj505, Mar 27, 2017.

  1. dj505
    OP

    dj505 Inexperienced Romhacker

    Member
    371
    67
    Oct 4, 2014
    Canada
    Most likely at the arcade
    Update! I'm currently trying to put together a set of tools to make hacking in general easier. This will include some existing tools (like CTPKTool as well as the existing DSC editors) as well as some custom tools to make editing the game's files easier.

    Currently, there's only one custom tool (made by /u/betasequence on Reddit) which extracts the contents of the spr_ae files and separates them into the individual CTPK files for easy modification. This tool uses Python 3.X
    Note: you still have to repack the textures manually into the original file, I might make a repacker when I have more Python experience.
     
    kprovost7314 likes this.


  2. Agent Moose

    Agent Moose GBAtemp Regular

    Member
    296
    75
    Dec 6, 2014
    United States
    That's awesome. I don't know how much I would use them, but it would be cool if some of the tools you make are in python/java. I'm a mac user :P
     
  3. dj505
    OP

    dj505 Inexperienced Romhacker

    Member
    371
    67
    Oct 4, 2014
    Canada
    Most likely at the arcade
    Thanks! Most of them are gonna be Python, since my goal is to keep it all cross-platform. I don't have a Mac to test on tho, so when the tools eventually do get released there might be issues (probably not tho)
     
  4. Agent Moose

    Agent Moose GBAtemp Regular

    Member
    296
    75
    Dec 6, 2014
    United States
    Consider me a tester for it then! ...Just need to dump the game again because I deleted the files for some reason...
     
  5. dj505
    OP

    dj505 Inexperienced Romhacker

    Member
    371
    67
    Oct 4, 2014
    Canada
    Most likely at the arcade
    Ok, sure! A bit later today I'll be updating the main post with some more detailed instructions and stuff, as well as the current version of the toolkit.
     
  6. dj505
    OP

    dj505 Inexperienced Romhacker

    Member
    371
    67
    Oct 4, 2014
    Canada
    Most likely at the arcade
    Added the first version of the Mirai Toolkit (that's what I'm calling it lol). Half the things included are still Windows only, hopefully I can change that!
     
    Last edited by dj505, Jul 10, 2017
    kprovost7314 likes this.
  7. Agent Moose

    Agent Moose GBAtemp Regular

    Member
    296
    75
    Dec 6, 2014
    United States
    So CTPKTool should work correctly on mac when wine is installed. I tried to just load it and it loaded in the terminal (Mac's version of Command Prompt) just fine. I haven't had time to test it with an actual ctpk file, but I don't think it won't have problems.

    Just a heads up, there is another way to run it, which I actually prefer just because wine can be confusing at times. It's called Mono: http://www.monodevelop.com/download/

    it's simple to use, and it works with CTPKTool on mac because CTPKTool is written all in C#. There are programs that wine runs that mono will not for some odd reason.

    I know that you (@dj505) are a windows user, but that information above would be for peeps whom also have Mac's :3
     
  8. dj505
    OP

    dj505 Inexperienced Romhacker

    Member
    371
    67
    Oct 4, 2014
    Canada
    Most likely at the arcade
    Ok, I'll add that to the kit! Thanks for letting me know.
     
  9. Mirai-san

    Mirai-san Newbie

    Newcomer
    6
    1
    Jul 17, 2017
    Japan


    I made a test-like thing.
     
  10. dj505
    OP

    dj505 Inexperienced Romhacker

    Member
    371
    67
    Oct 4, 2014
    Canada
    Most likely at the arcade
    Nice! You made this chart?
     
  11. Mirai-san

    Mirai-san Newbie

    Newcomer
    6
    1
    Jul 17, 2017
    Japan
    Yes, I created it with the old DSC editor
     
  12. dj505
    OP

    dj505 Inexperienced Romhacker

    Member
    371
    67
    Oct 4, 2014
    Canada
    Most likely at the arcade
    That's awesome! How long did it take you?
     
  13. Mirai-san

    Mirai-san Newbie

    Newcomer
    6
    1
    Jul 17, 2017
    Japan
    It took about a day.
    (I'm sorry. Because I am not good at English...)
     
  14. dj505
    OP

    dj505 Inexperienced Romhacker

    Member
    371
    67
    Oct 4, 2014
    Canada
    Most likely at the arcade
    Your English is good! Great job on the chart! I think I might make my own extra hard version for one of the songs, not sure which yet.
     
  15. DoJo_Master

    DoJo_Master GBAtemp Advanced Fan

    Member
    605
    153
    May 7, 2013
    Canada
    This is an awesome project, I love this game so much but the one issue I have is it doesn't have enough tracks for me. Would love to see some more added! Also one question is that I want to try this out but I'm scared I will loose my save data
     
  16. dj505
    OP

    dj505 Inexperienced Romhacker

    Member
    371
    67
    Oct 4, 2014
    Canada
    Most likely at the arcade
    Your save data will be fine, and if in doubt you can always back it up with JKSM.

    I've heard it's possible to add DLC tracks to the game as extras, but I have no idea how to do so... Right now the only options are modifying existing charts and replacing current ones with new ones, not adding more to the list
     
  17. DoJo_Master

    DoJo_Master GBAtemp Advanced Fan

    Member
    605
    153
    May 7, 2013
    Canada
    Damn, well at least there are plenty of not so great songs (please don't kill me miku fans) that we can replace
     
  18. dj505
    OP

    dj505 Inexperienced Romhacker

    Member
    371
    67
    Oct 4, 2014
    Canada
    Most likely at the arcade
    Well, I'm working on getting the hang of the editor, and once I figure out how I'll be able to port songs from any of the Project Diva games a swell as create completely new songs from scratch.
     
  19. DoJo_Master

    DoJo_Master GBAtemp Advanced Fan

    Member
    605
    153
    May 7, 2013
    Canada
    Awesome! Would love to help in any way, not the best coder but if you need any graphics or testing Im your man
     
  20. dj505
    OP

    dj505 Inexperienced Romhacker

    Member
    371
    67
    Oct 4, 2014
    Canada
    Most likely at the arcade
    Ok, cool! There's pretty much zero coding involved, it's mainly just using existing things to modify files. Since they're all Nintendo or Sega specific formats, it's tough, but for most of them there are already programs to assist with modification. Most of it is designing new sprites/editing charts, not a lot else to do.

    The editor isn't the easiest thing to use, but it works (takes some trial and error sometimes). It requires math to use, just basic addition/subtraction to figure out the placement of notes, but that's about it. Not super intuitive but it's there