Homebrew What kind of photos is the DSi's camera capable of reading ?

thom_tl

Well-Known Member
Member
Joined
Aug 18, 2017
Messages
180
Trophies
0
Location
Behind my desk.
XP
220
Country
Netherlands
They're jpegs that are signed by the system. If you're looking to add photos to the DSi, someone made this tool but I have not figured out how to use it.

In fact, if someone could tell me how to, it'd be great
Clone the git repo, and rum make on a linux system in the directory(Ubuntu subsystem for windows works fine) and then execute the file with ./sign
Edit: here is the executable compiled with windows linux subsystem
https://mega.nz/#!xSwhwaYa!FxknkkSSsIvfFF0K6JkF--Co1L3NWAXD4u3B0NuexJk
 
Last edited by thom_tl,

ThisIsDaAccount

Well-Known Member
Member
Joined
Apr 8, 2016
Messages
1,158
Trophies
0
XP
954
Country
United States
Clone the git repo, and rum make on a linux system in the directory(Ubuntu subsystem for windows works fine) and then execute the file with ./sign
Edit: here is the executable compiled with windows linux subsystem
https://mega.nz/#!xSwhwaYa!FxknkkSSsIvfFF0K6JkF--Co1L3NWAXD4u3B0NuexJk
I did manage to compile it, I'm just not sure what the proper parameters are. Whenever I run the program, it says that the parameters should be this:

"Usage: dsi_sign_jpeg <in.jpg> <out.jpg> <key.bin> [iv.bin]"

I assumed in.jpeg and out.jpeg are the filenames the program will open and save to, and that key.bin is the dsi common key, but I have no idea what IV.bin is.
 

thom_tl

Well-Known Member
Member
Joined
Aug 18, 2017
Messages
180
Trophies
0
Location
Behind my desk.
XP
220
Country
Netherlands
I did manage to compile it, I'm just not sure what the proper parameters are. Whenever I run the program, it says that the parameters should be this:

"Usage: dsi_sign_jpeg <in.jpg> <out.jpg> <key.bin> [iv.bin]"

I assumed in.jpeg and out.jpeg are the filenames the program will open and save to, and that key.bin is the dsi common key, but I have no idea what IV.bin is.
It worked fine without iv.bin for me. The files that it outputs are weird but that another thing.
 

ThisIsDaAccount

Well-Known Member
Member
Joined
Apr 8, 2016
Messages
1,158
Trophies
0
XP
954
Country
United States
It worked fine without iv.bin for me. The files that it outputs are weird but that another thing.
Yeah when I ran it the jpegs came out all black, so I assumed that the iv.bin is important. I'll give it another go later with the version you compiled, but Im assuming that the iv.bin file is important for some reason
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,531
Trophies
3
Age
37
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
7,077
Country
United States
FYI, I had to use Photoshop to save my JPG to get the correct JPG header format (most other software use a version of JPG that isn't compatible on DSI). Then used a program (jhead I think) to copy an EXIF meta data section from a donar JPG that was generated on a DSI. Then signed that resulting JPG. As a result the "thumbnail" of the JPG will inherit the donar JPG's thumbnail, but the full image will be what was intended. (and not a big deal either if you plan to use your custom JPG as the top screen graphic)

DSi expects 640x480 resolution JPGs. Will not display anything larger. You can use smaller JPGs, but there will be bugs in how it attempts to display that image. :P

Also when adding new JPGs, note the file names generated by the camera app. You need to use the same naming scheme and when adding new images you have to force the camera app to regenerate the photo database file as it caches what photos you have to a bin file.

You can find it on your SD card at this folder location:

SD://private/ds/app/484E494/pit.bin

That's the location for USA. Note that 484E494 folder name will be different if you are using a different region firmware. Usually there's only one folder in that folder tree anyways unless you also use Flipnote studio. The one that contains pit.bin will be what you need to delete. Delete the pit.bin file and add your new JPG files to the DCIM folder where the camera app expects to find them. It will then regenerate the photo management file and your new photos should show up assuming you signed them correctly.

If you want to use a JPG as your Launcher's top screen photo, you will need to copy your JPG to nand storage and apply the star stamp. Launcher will not show it if it's not starred or if it's not on NAND. Launcher will cycle through your photos randomly on each boot if you have more then one on nand with the star stamp applied. ;)
 
Last edited by Apache Thunder,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • NinStar @ NinStar:
    in that case, there is no such thing as homebrew launcher for aroma
  • NinStar @ NinStar:
    you have to launch your homebrews directly from the wii u menu
  • NinStar @ NinStar:
    there is a plugin that display them on the wii u menu, pretty sure it is enabled by default
  • crafthp434 @ crafthp434:
    so like it doesnt exist
  • crafthp434 @ crafthp434:
    yeah
    ?
  • NinStar @ NinStar:
    it doesn't exist, at least not for aroma
  • crafthp434 @ crafthp434:
    ohhhhh
  • NinStar @ NinStar:
    on tiramisu you can access it by opening mii maker
  • crafthp434 @ crafthp434:
    okay
  • NinStar @ NinStar:
    I don't have a wii u anymore to test it myself, but if homebrews are not visible on the wii u menu I think you can press L + R + minus to open the plugin menu, there should be an option called "homebrews on wii u menu" or something similar
  • crafthp434 @ crafthp434:
    nope
  • crafthp434 @ crafthp434:
    it is L+dpad down+ select
  • crafthp434 @ crafthp434:
    but homebrew is appearing in the home menu btw
  • NinStar @ NinStar:
    yes, now I remember it
  • NinStar @ NinStar:
    then it is working, I also don't like that they did this but it is the only option you have if you are using aroma
  • crafthp434 @ crafthp434:
    i just didint know the homebrew launcher didint exist in aroma
  • crafthp434 @ crafthp434:
    thanks btw
  • Xdqwerty @ Xdqwerty:
    Im downloading fallout 3 goty edition
    +1
  • BigOnYa @ BigOnYa:
    I'm downloading more ram for my hamster pc
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    New hamster PC, with anal operation and BT connectivity!
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, How do I make enemies respawn on gdevelop after
    the player dies?
  • Psionic Roshambo @ Psionic Roshambo:
    Carrying a PC or phone is so old school!
  • Psionic Roshambo @ Psionic Roshambo:
    Squeeze your cheeks twice to answer calls!
  • BigOnYa @ BigOnYa:
    @Xdqwerty you can use a "spawner" function on any object.
    BigOnYa @ BigOnYa: @Xdqwerty you can use a "spawner" function on any object.