Hacking How to use ShinyQuagsire's Splatoon 2 Post Printer

Tigrokai

Active Member
Newcomer
Joined
Mar 16, 2016
Messages
31
Trophies
0
Age
24
XP
111
Country
United States
Oh weird, which DLL did you replace with what?
i just replaced the msys-1.0.dll with one that wasnt corrupted
also, not directed towards you, but how should i go about uploading the hex file i built to a leonardo r3?
 

dj505

Inexperienced Romhacker
OP
Member
Joined
Oct 4, 2014
Messages
556
Trophies
0
Location
Most likely at the arcade
Website
www.youtube.com
XP
844
Country
Canada
i just replaced the msys-1.0.dll with one that wasnt corrupted
also, not directed towards you, but how should i go about uploading the hex file i built to a leonardo r3?
Ah ok, cool.

For the Arduino part, I'd recommend avrdude. It can flash hex files whereas the Arduino IDE cannot.
 

Tigrokai

Active Member
Newcomer
Joined
Mar 16, 2016
Messages
31
Trophies
0
Age
24
XP
111
Country
United States
Ah ok, cool.

For the Arduino part, I'd recommend avrdude. It can flash hex files whereas the Arduino IDE cannot.
yeah, im using avrdude, but which command specifically would i use for a leonardo r3? i cant find much documentation on it and im inexperienced
 

dj505

Inexperienced Romhacker
OP
Member
Joined
Oct 4, 2014
Messages
556
Trophies
0
Location
Most likely at the arcade
Website
www.youtube.com
XP
844
Country
Canada
yeah, im using avrdude, but which command specifically would i use for a leonardo r3? i cant find much documentation on it and im inexperienced
So apparently the Leonardo works a bit differently than other boards, in which a reset is required to actually upload to the baord. avrdude can't trigger this reset on its own, but someone made a wrapper that could help:

https://github.com/p1ne/arduino-leonardo-uploader
 

Tigrokai

Active Member
Newcomer
Joined
Mar 16, 2016
Messages
31
Trophies
0
Age
24
XP
111
Country
United States
So apparently the Leonardo works a bit differently than other boards, in which a reset is required to actually upload to the baord. avrdude can't trigger this reset on its own, but someone made a wrapper that could help:

https://github.com/p1ne/arduino-leonardo-uploader
this kinda confuses me even more, so to flash joystick.hex to my r3, i want to rename it to firmware.hex, same folder as the .bat, and run that, but then what? reset the board using the button? sorry for all the questions >_>
 

dj505

Inexperienced Romhacker
OP
Member
Joined
Oct 4, 2014
Messages
556
Trophies
0
Location
Most likely at the arcade
Website
www.youtube.com
XP
844
Country
Canada
this kinda confuses me even more, so to flash joystick.hex to my r3, i want to rename it to firmware.hex, same folder as the .bat, and run that, but then what? reset the board using the button? sorry for all the questions >_>
The .bat should do it on its own I think. I don't have a Leonardo to test with but I can take a look at the code.

Ok, you'll want to open the Windows device manager and find your device. Open the .bat file in a text editor and look for the text "SparkFun Pro Micro" and replace that with what your Arduino shows up as in the device manager. Then run the .bat
 
Last edited by dj505,

Tigrokai

Active Member
Newcomer
Joined
Mar 16, 2016
Messages
31
Trophies
0
Age
24
XP
111
Country
United States
The .bat should do it on its own I think. I don't have a Leonardo to test with but I can take a look at the code.

Ok, you'll want to open the Windows device manager and find your device. Open the .bat file in a text editor and look for the text "SparkFun Pro Micro" and replace that with what your Arduino shows up as in the device manager. Then run the .bat
that's what i did, but whenever i run it, the window says find: arduino leonardo: no such file or directory, and the same thing for the bootloader right below it, i thought i was doing this right, heres two screenshots for reference: https://i.snag.gy/P4cMlj.jpg https://i.snag.gy/Ms9z65.jpg
 

dj505

Inexperienced Romhacker
OP
Member
Joined
Oct 4, 2014
Messages
556
Trophies
0
Location
Most likely at the arcade
Website
www.youtube.com
XP
844
Country
Canada
that's what i did, but whenever i run it, the window says find: arduino leonardo: no such file or directory, and the same thing for the bootloader right below it, i thought i was doing this right, heres two screenshots for reference: https://i.snag.gy/P4cMlj.jpg https://i.snag.gy/Ms9z65.jpg
That looks right tho... Maybe try using the regular avrdude command and hitting the reset button manually? Might take a few tries to get the timing right
 

Tigrokai

Active Member
Newcomer
Joined
Mar 16, 2016
Messages
31
Trophies
0
Age
24
XP
111
Country
United States
That looks right tho... Maybe try using the regular avrdude command and hitting the reset button manually? Might take a few tries to get the timing right
i finally got it to flash after forcing bootloader mode (pressing the button 3 times seems to be the combo for that) but now after plugging it into my switch (handheld mode) the light turns on, but nothing has happened for like 5 min, did i do something wrong?
 

dj505

Inexperienced Romhacker
OP
Member
Joined
Oct 4, 2014
Messages
556
Trophies
0
Location
Most likely at the arcade
Website
www.youtube.com
XP
844
Country
Canada
i finally got it to flash after forcing bootloader mode (pressing the button 3 times seems to be the combo for that) but now after plugging it into my switch (handheld mode) the light turns on, but nothing has happened for like 5 min, did i do something wrong?
Might have to hit the reset button once more once it's plugged in. if not, I'd try remaking your image.c file and running the "make all" command again then re-flashing
 
Last edited by dj505,

Tigrokai

Active Member
Newcomer
Joined
Mar 16, 2016
Messages
31
Trophies
0
Age
24
XP
111
Country
United States
Might have to hit the reset button once more once it's plugged in. if not, I'd try remaking your image.c file and running the "make all" command again then re-flashing
still nothing after reflashing/trying the button/trying the default image, is this how the flashing should look? otherwise, im not really sure what else to try
 

dj505

Inexperienced Romhacker
OP
Member
Joined
Oct 4, 2014
Messages
556
Trophies
0
Location
Most likely at the arcade
Website
www.youtube.com
XP
844
Country
Canada

Tigrokai

Active Member
Newcomer
Joined
Mar 16, 2016
Messages
31
Trophies
0
Age
24
XP
111
Country
United States
Hmmm... Are you using a USB C to A adapter in handheld mode or the dock's USB ports?
usb c to usb a, which is plugged into the usb a to microusb cable for the board, and i put it directly into the switch, maybe i need to remove the joycons or something?
 

dj505

Inexperienced Romhacker
OP
Member
Joined
Oct 4, 2014
Messages
556
Trophies
0
Location
Most likely at the arcade
Website
www.youtube.com
XP
844
Country
Canada

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • The Real Jdbye @ The Real Jdbye:
    before or after a hit
    +1
  • Veho @ Veho:
    Nah, a hit gives them mad meth powers, but makes them more difficult to control.
    +1
  • Veho @ Veho:
    Before a hit they're like zombies, persistent but slow.
    +1
  • Veho @ Veho:
    It's a tradeoff.
    +1
  • The Real Jdbye @ The Real Jdbye:
    no i mean, before a hit is after the previous hit
    +1
  • The Real Jdbye @ The Real Jdbye:
    if you keep them well enough fed, it's the same thing
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    By the power of Florida Man, I have the power!!! *Lifts up meth pipe* Meth Man!!! lol
  • BakerMan @ BakerMan:
    Guys, I just learned my little brother is in the hospital because he had a seizure last night.
  • cearp @ cearp:
    Sorry to hear that BakerMan
    +2
  • BakerMan @ BakerMan:
    Just found out he's doing alright, doing a lot of complaining too, rightfully so. Who wouldn't complain after having a seizure and being hospitalized?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Glad he is OK and complaining is cool :)
    +1
  • K3Nv2 @ K3Nv2:
    Yeah been there had that no fun
    +1
  • K3Nv2 @ K3Nv2:
    They'll give him sleep studies eegs and possibly one week hospital stay
    +1
  • BakerMan @ BakerMan:
    I hope it's not a week.
  • K3Nv2 @ K3Nv2:
    It's standard so doctors can get a idea about what's going on
  • BakerMan @ BakerMan:
    understood
  • BakerMan @ BakerMan:
    well, i'm glad he seems to be doing fine, and ig i'm going to start spewing goofy shit again
  • BakerMan @ BakerMan:
    Update: Turns out he's epileptic
  • K3Nv2 @ K3Nv2:
    Get a 2nd opinion run mris etc they told me that also
  • Psionic Roshambo @ Psionic Roshambo:
    Also a food allergy study would be a good idea
  • K3Nv2 @ K3Nv2:
    Turns out you can't sprinkle methamphetamine on McDonald's French fries
  • ZeroT21 @ ZeroT21:
    they wouldn't be called french fries at that point
  • ZeroT21 @ ZeroT21:
    Probably just meth fries
    ZeroT21 @ ZeroT21: Probably just meth fries