Skip to content

Expand information on sdmc example (3DS) #44

@magusti

Description

@magusti

Thanks in advance for your work.
I would like to contribute a bit with the result of my exploration of the sdmc example from 3ds_examples. This example shows a raw image that must be present in the memory card.
Could you expand the explanation of the process of creating that image included in the source code with a little bit more information?

In main.c
//this example shows you how to load a binary image file from the SD card and display it on the lower screen
//for this to work you should copy test.bin to same folder as your .3dsx
//this file was generated with GIMP by saving a 240x320 image to raw RGB

e. g., with
//this example shows you how to load a binary image file from the SD card and display it on the lower screen
//for this to work you should copy test.bin to the same folder as your .3dsx
//this file was generated with GIMP by saving a 240x320 image to raw RGB
// or using convert (ImageMagick)
// convert -rotate 90 -resize 240x320! your_image.png bgr:test.bin
// Change "convert" by "magick" if you are in windows platform and using a ImageMagick versión >= 7

I suggest including the, probably, original bitmap test.png in the files of this example. I attach the one I get with the reverse command.

test

Also, if you are using Citra as an emulator for executing 3DS Homebrew, the raw image that must be present in the virtualized memory card mapped on a local directory, that in Linux it is done with the command
$ cp test.bin $HOME/.local/share/citra-emu/sdmc/test.bin;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions