OCDM - Mario Maker 3DS course manager

OCDM stands for Online Course Database Manager

Features*:
  • import and export courses, both** 3DS and WiiU
  • cryptofix saves (if the game marked your save as "corrupted")
    • Note: this will overwrite the LockoutID in your courses, not in the save file, so please be fair and don't reupload others' courses :)
  • make/apply save snapshots (exports all files which are used in the save)
    • Note: please format your save data before restoring your save otherwise the game could mark your save as "corrupted", and this one is not cryptofixable
  • browse SMMDB
    • download courses
    • discontinued

*: these features are in the latest build at the time of editing this post, so functionality in the public build could differ
**: due to differences in the 3DS and the WiiU version, importing a converted course file on a foreign platform could crash the game on loading the course


bf9dd7f81f.jpg

dfa53dcd86.jpg

82f4e899ed.jpg

2d84f7a0f6.jpg

9f7d574fee.png

fd529e16c1.png

3e10674a00.png

fd5ea7441e.png

d593f2b5ff.png

f4b4b4fcf4.jpg



[Download] (not supported anymore)​
 
Last edited by Sono,

Pakhitew-Island

Well-Known Member
Member
Joined
Apr 16, 2017
Messages
177
Trophies
0
Age
30
XP
291
Country
Jamaica
XzGvgpv.png


Ok so long overdue, screenshots of me using OCDM related to my issue last page. Hopefully these are actually helpful

Seems when I upload the saved course to SMMDB and then redownload it, it works, but just saving the course from recommended courses and trying to add it back after the fact ends up in a corrupted course that deletes itself.
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,825
Trophies
2
Location
home
XP
9,376
Country
Hungary
XzGvgpv.png


Ok so long overdue, screenshots of me using OCDM related to my issue last page. Hopefully these are actually helpful

Seems when I upload the saved course to SMMDB and then redownload it, it works, but just saving the course from recommended courses and trying to add it back after the fact ends up in a corrupted course that deletes itself.

This has been a known bug in SMMDB. If you look closely, you can see that on the working screenshot the checksum it byteswapped. I hope I have contacted @Tarnadas about this, but I think this is a long-standing bug.

The problem is that some old levels were saved in the "old" format, before I have reverse engineered most of the fields' size, so they are guaranteed to be slightly corrupted.
I think that slightly newer levels are saved raw, so it only converts to 3DS when needed, or no conversion is needed.

I recommend using the SMMDB client to download stuff, so it can auto-select the right download.

Though now I just noticed that the Magic0 is off by one... very suspicious.
 

Pakhitew-Island

Well-Known Member
Member
Joined
Apr 16, 2017
Messages
177
Trophies
0
Age
30
XP
291
Country
Jamaica
I mean, the bug is making the stages playable so I dont mind. Though the situation in which the stages dont work is so specific that there's no wonder nobody came across it until so long after.

Also I dont actually use the OCDM app to download courses, I just use the site from my PC. The recommended courses are stuff I get from the actual nintendo list from Course World on the 3DS, I downloaded a few and wanted to transfer it to another save before realising it didnt work, but putting them through SMMDB seems to fix the issue, with the downside being the creator and clear check going away
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,825
Trophies
2
Location
home
XP
9,376
Country
Hungary
The recommended courses are stuff I get from the actual nintendo list from Course World on the 3DS, I downloaded a few and wanted to transfer it to another save before realising it didnt work, but putting them through SMMDB seems to fix the issue, with the downside being the creator and clear check going away

That sounds like a very very long-lasting bug in OCDM then. Remember that the crypto code was BRUTEFORCED based on observations, and on your screenshots it's CLEARLY visible that the Magic0 counter (which is what I had to bruteforce in a timespan of more than a whole year) is off by one.

If you could send a few of those files INTACT (as in, the original files themselves, no uploading to SMMDB or exporting a re-imported level, I can only work with a pure "Export 3DS" file which has never been touched by non-SMM code) then that would be very helpful, and if I can figure out the cause of the anomaly then I could come out with a bugfix.
 

Pakhitew-Island

Well-Known Member
Member
Joined
Apr 16, 2017
Messages
177
Trophies
0
Age
30
XP
291
Country
Jamaica
If you could send a few of those files INTACT (as in, the original files themselves, no uploading to SMMDB or exporting a re-imported level, I can only work with a pure "Export 3DS" file which has never been touched by non-SMM code) then that would be very helpful, and if I can figure out the cause of the anomaly then I could come out with a bugfix.

So basically save some stuff off the official Recommended Courses list on Course World, Export them with OCDM and send them to you? I can do that.
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,825
Trophies
2
Location
home
XP
9,376
Country
Hungary
So basically save some stuff off the official Recommended Courses list on Course World, Export them with OCDM and send them to you? I can do that.

Oh, these are official Nintendo Recommended Courses? Sure, that would be great, considering that *cough* I have the USA version of the game */cough*, so I can't use any of the online services offered by the game.
 
  • Like
Reactions: Pakhitew-Island

Reynardine

Fuchsly
Member
Joined
Aug 14, 2018
Messages
520
Trophies
1
Location
Negativland
XP
1,296
Country
Germany
I apologize for bothering you folks with my problems but I've had some bad luck today and figured that this might be the best place to ask for help.

The SD card that I was using in my 3DS has died.
I could salvage all files except for the Nintendo 3DS folder with the games and savedata (of course)...

Mario Maker was tied to that SD card and I had all 120 course slots filled with courses I had downloaded.
I did backup my save data and my courses with JKSV before the card died, but I'm using a new SD card now and I can't figure out how to restore the courses.

Restoring them via JKSV gives me an "SD card has changed error" and asks to delete all extra data for the game.
I've tried importing the courses via JKSV and then using OCDM to restore them but it doesn't recognize the courses and shows all slots as empty.

I've also tried creating new extra data, saving that with JKSV and replacing all course files except course220.
It doesn't give the sd card changed error, but when I open the coursebot it says "the level has errors and has to be deleted" for each slot that was overwritten.

I admit that I did not read through all of this thread, so I might've missed something important...

Is there anything I can do to rescue my courses?
I've uploaded my course data, if it helps.

Nintendo's decision to tie Mario Maker to one specific SD card is just horrible...

EDIT:
Wait a moment...
I came across this thread: https://gbatemp.net/threads/post-mario-maker-3ds-levels-here-for-cfw-users.452786/

I'm going to try that method and see if it works.
If it does I'll have to create 120 dummy courses and manually replace each one with my old levels which is going to be painful.
I'll update my post when/if this works.
 

Attachments

  • Mario Maker EUR Extra.zip
    6.3 MB · Views: 110
Last edited by Reynardine,

Reynardine

Fuchsly
Member
Joined
Aug 14, 2018
Messages
520
Trophies
1
Location
Negativland
XP
1,296
Country
Germany
Any chance I could just "unbrick" the savedata by reimporting it with JKSV after OCDM restored my course data?
If so it might be worth reenabling that button.

I know you have your hands full with other things to do, but could you build a version of OCDM that brings back the restore button?

It would be nice if I could avoid the hassle of hex editing all 120 course files and pasting them over 120 dummy courses.
Only if you find the time and interest, if it's too much effort for such a specific problem let me know and I'll readd the courses by hand.

Edit:
Ah it's ok, I actually went through and did the first 40 courses. I should be able to restore them all within the next few days! ;)
 
Last edited by Reynardine,

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,825
Trophies
2
Location
home
XP
9,376
Country
Hungary
Any chance I could just "unbrick" the savedata by reimporting it with JKSV after OCDM restored my course data?
If so it might be worth reenabling that button.

I know you have your hands full with other things to do, but could you build a version of OCDM that brings back the restore button?

It would be nice if I could avoid the hassle of hex editing all 120 course files and pasting them over 120 dummy courses.
Only if you find the time and interest, if it's too much effort for such a specific problem let me know and I'll readd the courses by hand.

Edit:
Ah it's ok, I actually went through and did the first 40 courses. I should be able to restore them all within the next few days! ;)

I *would* make a savefile restore, but it would take time to figure out what caused the savefile to brick in the first place.

I don't know yet how to repair the savefile itself, but you can reimport courses on a new savefile while losing your progress.
 
  • Like
Reactions: Reynardine

Pakhitew-Island

Well-Known Member
Member
Joined
Apr 16, 2017
Messages
177
Trophies
0
Age
30
XP
291
Country
Jamaica
EDIT:
Wait a moment...
I came across this thread: https://gbatemp.net/threads/post-mario-maker-3ds-levels-here-for-cfw-users.452786/

I'm going to try that method and see if it works.
If it does I'll have to create 120 dummy courses and manually replace each one with my old levels which is going to be painful.
I'll update my post when/if this works.

Im trying to understand what that thread is saying (though Im really not getting it) because I get the feeling I may have to learn how to do this someday.
 

Reynardine

Fuchsly
Member
Joined
Aug 14, 2018
Messages
520
Trophies
1
Location
Negativland
XP
1,296
Country
Germany
It did work, by the way.
All I had to do was create one new course on my new empty Mario Maker 3DS savefile, export that course via JKSM, open the coursefile in a hex editor, copy the "ID" or whatever it is (the bytes from 0x10 to 0x17) from that coursefile and paste it to all of my old courses.

Then I reimported my old courses via JKSM, together with the "course220" file from my new empty savefile and that's it.
I have all my courses back now, along with my 100% save. ^_^
 
Last edited by Reynardine,
  • Like
Reactions: Pakhitew-Island

Pakhitew-Island

Well-Known Member
Member
Joined
Apr 16, 2017
Messages
177
Trophies
0
Age
30
XP
291
Country
Jamaica
It did work, by the way.
All I had to do was create one new course on my new empty Mario Maker 3DS savefile, export that course via JKSM, open the coursefile in a hex editor, copy the "ID" or whatever it is (the bytes from 0x10 to 0x17) from that coursefile and paste it to all of my old courses.

Then I reimported my old courses via JKSM, together with the "course220" file from my new empty savefile and that's it.
I have all my courses back now, along with my 100% save. ^_^
So you recovered all your courses by only creating one new course?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    AncientBoi @ AncientBoi: :tpi::rofl2: +1