Homebrew How do I convert 3DNES.3DS to CIA?

ChrisCross

Member
OP
Newcomer
Joined
Jul 1, 2019
Messages
5
Trophies
0
Age
21
XP
119
Country
Germany
Hey Guys,
I really need your help, I´m very desperate.
I´d like to compile a .3dsx-app also as a .cia with a 3D banner (I followed that guide: tutorial-creating-3d-banners-from-3d-models-for-cias) but everything i tried to include into the makefile didn´t work.
I generated the files and could finally export the .cgfx file but from then on, I had no idea how to tell the makerom.exe, what to do.

Code:
../Resources/hblauncher_loader.icn    :    $(APP_ICON)
    tools/bannertool.exe makesmdh -i "$(APP_ICON)" -o "$@" -s "$(APP_TITLE)" -l "$(APP_TITLE)" -p "$(APP_AUTHOR)" $(ICON_FLAGS)

../Resources/hblauncher_loader.bnr    :    ../banner.cgfx
    tools/bannertool.exe makebanner -i "$<" -ca ../Resources/hblauncher_loader.cwav -o "$@"

$(OUTPUT).cia    :    $(OUTPUT).elf  $(_3DSXDEPS)
    #tools/makerom.exe -f cia -o "$@" -elf $(OUTPUT).elf -rsf /hblauncher_loader.rsf -icon /hblauncher_loader.icn -banner /hblauncher_loader.bnr -exefslogo -ver 1072
    tools/makerom.exe -f cia -o "$@" -elf $(OUTPUT).elf -icon icon.png -banner banner.cgfx -exefslogo -ver 1072
    @echo "built ... hblauncher_loader.cia"
 

Ryccardo

Penguin accelerator
Member
Joined
Feb 13, 2015
Messages
7,696
Trophies
1
Age
28
Location
Imola
XP
6,921
Country
Italy
tools/makerom.exe -f cia -o "$@" -elf $(OUTPUT).elf -icon icon.png -banner banner.cgfx -exefslogo -ver 1072
Looks like you're missing the rsf file which sets all the metadata (titleid, product code, permissions, ...) - get one from the source of another homebrew that builds as cia and edit as appropriate, then of course add it to the command line like in the example in the line above!
(if you find the format of rsf files stupid, it is - but it was invented by nintendo, it's what the official makerom32 uses, and the open source makerom wants to be 100% compatible)
 

ChrisCross

Member
OP
Newcomer
Joined
Jul 1, 2019
Messages
5
Trophies
0
Age
21
XP
119
Country
Germany
Looks like you're missing the rsf file which sets all the metadata (titleid, product code, permissions, ...) - get one from the source of another homebrew that builds as cia and edit as appropriate, then of course add it to the command line like in the example in the line above!
(if you find the format of rsf files stupid, it is - but it was invented by nintendo, it's what the official makerom32 uses, and the open source makerom wants to be 100% compatible)

Hey, thanks for answering.
Well... I don´t know, what´s wrong, but maybe I forgot to change something (https://pastebin.pl/view/2663e622)
The cia_workaround.rsf-File is in the same directory
Otherwise the command has a mistake:
Code:
tools/makerom.exe -f cia -o "$@" -elf $(OUTPUT).elf -rsf cia_workaround.rsf -icon icon.png -banner banner.cgfx -exefslogo -ver 1072
 
Last edited by ChrisCross,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Materia_tofu @ Materia_tofu:
    im not a very bright individual, but we live and we learn
  • SylverReZ @ SylverReZ:
    @Materia_tofu, We do learn a lot from plenty of talented individuals.
  • Materia_tofu @ Materia_tofu:
    this is true! i learned how to make soundfont remixes from a friend back in 2021
    +1
  • BakerMan @ BakerMan:
    Update on my brother: He's home now, tired and hungry, obviously, but other than that, seems to be doing fine.
    +2
  • Veho @ Veho:
    That's a relief to hear. Do you know what happened?
  • SylverReZ @ SylverReZ:
    @BakerMan, Any idea what happened? I hope that your brother's doing good.
  • BakerMan @ BakerMan:
    Well, from what I've heard from my parents, he had a seizure last night, perhaps an epileptic episode, fucking died, had a near death experience, my dad called the paramedics, they showed up, took him to the hospital, and he woke up covered in tubes, and started complaining.
  • BakerMan @ BakerMan:
    He couldn't eat until after his MRI, when he had a bomb pop.
  • BakerMan @ BakerMan:
    What matters now is that he's doing alright.
  • Veho @ Veho:
    But you still don't know what it was?
  • Veho @ Veho:
    Has he had seizures before?
  • The Real Jdbye @ The Real Jdbye:
    apparently stress can cause seizures, my brother had one during a test once
  • The Real Jdbye @ The Real Jdbye:
    never had one before that, and never had one since
  • Redleviboy123 @ Redleviboy123:
    Question about game texture chanching Do i need an own game id?
  • The Real Jdbye @ The Real Jdbye:
    @Veho for those that want to
    experience being sonic the hedgehog
  • Veho @ Veho:
    Ah, you mean
    furries.
  • The Real Jdbye @ The Real Jdbye:
    well, sonic fans are a whole separate thing from furries
  • The Real Jdbye @ The Real Jdbye:
    like bronys
  • The Real Jdbye @ The Real Jdbye:
    sonic porn is too weird even for me
  • Dumpflam @ Dumpflam:
    bruh
  • Dumpflam @ Dumpflam:
    guys how do i delete a post
  • The Real Jdbye @ The Real Jdbye:
    you don't
  • The Real Jdbye @ The Real Jdbye:
    you can report it and request deletion
    The Real Jdbye @ The Real Jdbye: you can report it and request deletion