Hacking [Release] FunkyCIA2 - build CIAs from your eShop content. Super easy and fast! (**2.1 FIX!**)

ubergeek77

Post editing world champ.
Member
Joined
Dec 6, 2014
Messages
584
Trophies
0
XP
597
Country
United States
I seem to be having an issue here. I used FunkyCIA2 to create a CIA for my purchased eShop copy of Smash, and I used rxTools on a 9.6 emuNAND to get the ticket for the v1.0.5 update to Smash. I can use that ticket to download the update just fine, but no matter what I do, either FunkyCIA2 downloads the wrong version, or the update just won't apply. I bought Smash on an NTSC O3DS, and I'm currently migrating to a PAL N3DS - could the region change be the issue? The Smash CIA installed properly and runs, so I don't know why the update patch would be any different. I should note that I'm getting that Caution, Ticket and TMD Title Versions do not match warning, but I don't know if that's even relevant to the issue.

TL;DR I'm trying to get Smash v1.0.5 but all I end up with is v1.0.1
 

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,577
Country
Tuvalu
I seem to be having an issue here. I used FunkyCIA2 to create a CIA for my purchased eShop copy of Smash, and I used rxTools on a 9.6 emuNAND to get the ticket for the v1.0.5 update to Smash. I can use that ticket to download the update just fine, but no matter what I do, either FunkyCIA2 downloads the wrong version, or the update just won't apply. I bought Smash on an NTSC O3DS, and I'm currently migrating to a PAL N3DS - could the region change be the issue? The Smash CIA installed properly and runs, so I don't know why the update patch would be any different. I should note that I'm getting that Caution, Ticket and TMD Title Versions do not match warning, but I don't know if that's even relevant to the issue.

TL;DR I'm trying to get Smash v1.0.5 but all I end up with is v1.0.1

I make FunkyCIA only get the latest version, so it would get 1.0.5.
does rxTools support region free? well, it does not support signature check patching, so when you install the update cia it will not load up.

i have many times countless times that 'Caution, Ticket and TMD Title Versions do not match ' is no problem for anything :)


- ok, so you are not using rxTools to play this game, you just used it to download the ticket? ok.
what are you running the game with?
 

ubergeek77

Post editing world champ.
Member
Joined
Dec 6, 2014
Messages
584
Trophies
0
XP
597
Country
United States
I make FunkyCIA only get the latest version, so it would get 1.0.5.
does rxTools support region free? well, it does not support signature check patching, so when you install the update cia it will not load up.

i have many times countless times that 'Caution, Ticket and TMD Title Versions do not match ' is no problem for anything :)


- ok, so you are not using rxTools to play this game, you just used it to download the ticket? ok.
what are you running the game with?
I'm running the game on my New3DS with Gateway, emuNAND v9.0.0-20E. It's installed as an eShop title, and the cia for the game itself was generated with a ticket from my old 3DS when I bought the game back when 9.2 was the latest. Yes, as you said, I only used rxTools to get a ticket for the latest update, because I assumed FunkyCIA2 was downloading the wrong one after it didn't work for me the first time.

I'm not sure what would cause the game to not recognize the update. It's rejecting it as though I'm playing the game on classic mode with an illegitimate update .cia, even though I'm in Gateway mode.

Also, even though the md5's don't match (understandable because you blank the IDs) between the update patch I made with FunkyCIA and the update patch acquirable from other sources, the latter doesn't work either. Does this have anything to do with me being on a PAL system? I thought Gateway was 100% region free, and yet I can't seem to come up with another explanation.

EDIT: Just a quick update - I tried updating one of my other purchased games (AS:Gunvolt) and the update actually succeeded. That game is also USA, so I can at least say this issue is isolated to Smash and has nothing to do with region locks or anything like that. Perhaps something is missing in the CIA of Smash that FunkyCIA2 generated?
 

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,577
Country
Tuvalu
I'm running the game on my New3DS with Gateway, emuNAND v9.0.0-20E. It's installed as an eShop title, and the cia for the game itself was generated with a ticket from my old 3DS when I bought the game back when 9.2 was the latest. Yes, as you said, I only used rxTools to get a ticket for the latest update, because I assumed FunkyCIA2 was downloading the wrong one after it didn't work for me the first time.

I'm not sure what would cause the game to not recognize the update. It's rejecting it as though I'm playing the game on classic mode with an illegitimate update .cia, even though I'm in Gateway mode.

Also, even though the md5's don't match (understandable because you blank the IDs) between the update patch I made with FunkyCIA and the update patch acquirable from other sources, the latter doesn't work either. Does this have anything to do with me being on a PAL system? I thought Gateway was 100% region free, and yet I can't seem to come up with another explanation.

EDIT: Just a quick update - I tried updating one of my other purchased games (AS:Gunvolt) and the update actually succeeded. That game is also USA, so I can at least say this issue is isolated to Smash and has nothing to do with region locks or anything like that. Perhaps something is missing in the CIA of Smash that FunkyCIA2 generated?

the problem is not FunkyCIA :)

the hash of the cia would not match for a variety of reasons, even if i did not blank the id in FunkyCIA :)
every person's eshop tickets are unique, for store content, so there is no real point in comparing hashes.
the game and the update should be the same region. is your old 3ds european?
 

HEX1GON

YEEEEEERRRRRRSSSSS
Member
Joined
Nov 20, 2014
Messages
390
Trophies
0
Location
Victoria
XP
203
Country
This seems overly complex to me, instructions not so good either.

Is there an actual guide, as in steps? Python is a real maze..
 

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,577
Country
Tuvalu
This seems overly complex to me, instructions not so good either.

Is there an actual guide, as in steps? Python is a real maze..
well, it would have been overly complex for me to make a gui.
a guide is difficult when there different ways to use it :)
although i did attempt one here. - gbatemp.net/threads/funkycia-guide-how-to-make-cias-from-your-eshop-stuff.377015/#post-5228804

if python is a maze, then sure, this might be a bit complex for you. but if you really want to get the functionality out of it, you will progress i am sure, it is not so relatively hard :)
 

HEX1GON

YEEEEEERRRRRRSSSSS
Member
Joined
Nov 20, 2014
Messages
390
Trophies
0
Location
Victoria
XP
203
Country
well, it would have been overly complex for me to make a gui.
a guide is difficult when there different ways to use it :)
although i did attempt one here. - gbatemp.net/threads/funkycia-guide-how-to-make-cias-from-your-eshop-stuff.377015/#post-5228804

if python is a maze, then sure, this might be a bit complex for you. but if you really want to get the functionality out of it, you will progress i am sure, it is not so relatively hard :)

GUI isn't required usually.

I have a bit of background using shells but, Python is really a weird one to use. I really do have trouble with this though, as in information seems broken.

All I wanted to do was to extract the OR 1.3 Update... Hopefully something easier in the future is developed.
 

urherenow

Well-Known Member
Member
Joined
Mar 8, 2009
Messages
4,810
Trophies
2
Age
48
Location
Japan
XP
3,717
Country
United States
Ok... on page 6, I'm tired of reading. What I want to know is, does the -personal make it keep console specific info or just NNID type stuff? I system transferred to N3DS (which failed, but I was able to download everything anyway) but as of this moment, I don't know of a way to dump the ticket.db from N3DS emunand so that I can inject it into sysnand. I really just need to get the games to show up on sysnand so I can play my DSiWare stuff.

So... do I use the -personal flag or not? If I do not use the -personal flag, will it run from sysnand? Of course I can find out myself shortly but I thought asking here would save me some time. This thing has been downloading for almost an hour (without the personal flag) and I'd hate to fine out it doesn't work for what I need.

and for DjoeN (in case you haven't figured this out yet) if you have a (emu)nand backup from before the system transfer, just put it back on your SD and dump the tickets.db from it. rxtools will dump from both sysnand AND emunand.
 

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,577
Country
Tuvalu
GUI isn't required usually.

I have a bit of background using shells but, Python is really a weird one to use. I really do have trouble with this though, as in information seems broken.

All I wanted to do was to extract the OR 1.3 Update... Hopefully something easier in the future is developed.

what do you think is difficult about it?
what are you having trouble with, how far have you got?
what information do you think is broken (incorrect?)
you want to extract(decrypted) the oras 1.3 update? or do you simply want to make a cia? it is online i'm sure if you just want to download it to install...

urherenow - the -personal flag (should) makes 1:1 backups from your own eshop content for use with your same 3ds console, but at the moment, as i have said before, they do not install. i think this is a fw limitation, i think something extra in gw mode (etc), needs to be patched
i'm certain it would work but i cannot test because the cias do not install, but i am certain the probrlem is not FunkyCIA. at least, no one has said differently! ha
 

urherenow

Well-Known Member
Member
Joined
Mar 8, 2009
Messages
4,810
Trophies
2
Age
48
Location
Japan
XP
3,717
Country
United States
So, my connection was "forcibly closed". If I run the command again, will it continue or start from the beginning?

Edit: darn... it starts from the beginning :(
Edit2: even though the raw data was never deleted. Can a check be added to fix this?
 

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
So, my connection was "forcibly closed". If I run the command again, will it continue or start from the beginning?

Edit: darn... it starts from the beginning :(
What is it your downloading? If your main priority is the dsi ware, just use their titleID and download specific titles rather than just everything on your system, would be much quicker.......plus iirc the -personal option doesn't seem to work right now, technically it should be a completely legit ciao for your system, but I'm pretty sure some sort of limitation in dev menu or the functions required to install titles means they are not installable or something.....tbh I'm not certain give it a try, but just try a single small title before you waste your time downloading everything

If you have a retail copy of CN (or a sky3ds) you should be able to just inject your ticket.db from emunand into sysnand
 

urherenow

Well-Known Member
Member
Joined
Mar 8, 2009
Messages
4,810
Trophies
2
Age
48
Location
Japan
XP
3,717
Country
United States
What is it your downloading? If your main priority is the dsi ware, just use their titleID and download specific titles rather than just everything on your system, would be much quicker.......plus iirc the -personal option doesn't seem to work right now, technically it should be a completely legit ciao for your system, but I'm pretty sure some sort of limitation in dev menu or the functions required to install titles means they are not installable or something.....tbh I'm not certain give it a try, but just try a single small title before you waste your time downloading everything

If you have a retail copy of CN (or a sky3ds) you should be able to just inject your ticket.db from emunand into sysnand
I'd love to, but how to I get my hands on my ticket_emu.db from an N3DS? rxtools won't work on N3DS and I'm not sure what else does it...
 

ubergeek77

Post editing world champ.
Member
Joined
Dec 6, 2014
Messages
584
Trophies
0
XP
597
Country
United States
the problem is not FunkyCIA :)

the hash of the cia would not match for a variety of reasons, even if i did not blank the id in FunkyCIA :)
every person's eshop tickets are unique, for store content, so there is no real point in comparing hashes.
the game and the update should be the same region. is your old 3ds european?
EDIT: Nevermind. I seem to have things sorted out.
 

VerseHell

Well-Known Member
Member
Joined
Jun 29, 2014
Messages
3,074
Trophies
1
Age
30
XP
1,677
Country
France
I tried to dump the JP themes, and I dot a 'Unterminated quoted string' error with makecdn cia (same with cdnto3ds, cmd line too long with makerom). Any options? :unsure:
 

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,577
Country
Tuvalu
I tried to dump the JP themes, and I dot a 'Unterminated quoted string' error with makecdn cia (same with cdnto3ds, cmd line too long with makerom). Any options? :unsure:
if you want nice cias don't use cdnto3ds - did you try the latest version of make_cdn_cia?
 

Myria

Well-Known Member
Member
Joined
Jul 24, 2014
Messages
464
Trophies
0
Age
42
XP
852
Country
United States
cearp, could you change the -h option to put the input filename at the beginning of the list of options? Due to the way that nargs='+' works, I ran into the below problem, and had to spend some time debugging to figure it out:

Code:
D:\3DS\FunkyCIA2>FunkyCIA2.py -nopatchdlc -nopatchdemo -outputdir Japanese3DS -title 0004000e00c0ffee Japanese3DS\ticket.db
usage: FunkyCIA2.py [-h]
    [-type {gameapp,update,dlc,demo,dsiware,system,ALL} [{gameapp,update,dlc,demo,dsiware,system,ALL} ...]
    | -title SPECIFIC_TITLES [SPECIFIC_TITLES ...]]
    [-ignoretitles IGNORE_TITLES [IGNORE_TITLES ...]]
    [-outputdir OUTPUT_DIR] [-nosort] [-nodownload] [-nobuild]
    [-noignore] [-nopatchdlc] [-nopatchdemo] [-personal]
    [-preinstalled] [-retry {0,1,2,3,4,5,6,7,8,9}]
    inputfile
FunkyCIA2.py: error: too few arguments

By the way, is there a way to make a .cia entirely from data on the 3DS itself without going to the CDN?
 

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
By the way, is there a way to make a .cia entirely from data on the 3DS itself without going to the CDN?
Decrypt both .app (ncch) files on your sd card and then run:
makerom -f cia -o output.cia -target t -i 00000000.app:0:0 -i 00000001.app:1:1
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://youtu.be/ALcfGYLXcjQ?si=ePdtM6b0p5sWaxof