Hacking Question Need help with ChoiDojour PC version

Oshae93

Laying Down The Law
OP
Member
Joined
Jun 14, 2013
Messages
239
Trophies
1
XP
525
Country
United States
Hi so im attempting to manually update my switch's firmware following this guide (https://switch.homebrew.guide/usingcfw/manualchoiupgrade) and im stuck on Step 4 where it tells me "In the command prompt, type “ChoiDujour.exe --keyset=keys.txt fw” without quotes". Instead of succesfully outputting the adjusted firmware files i am presented with this

20pK38B.png


pV5xnvI.png


Can anyone help me locate what I'm doing wrong?
 

Oshae93

Laying Down The Law
OP
Member
Joined
Jun 14, 2013
Messages
239
Trophies
1
XP
525
Country
United States
Directory Pictures

upload_2019-11-16_21-26-6.png upload_2019-11-16_21-26-40.png upload_2019-11-16_21-27-5.png

--------------------- MERGED ---------------------------

I've also edited the key files txt to only have a select few keys in it (saw this suggested elsewhere here). Tried edited and full keys file and no luckupload_2019-11-16_21-30-51.png
 

Flamelz

Member
Newcomer
Joined
Nov 16, 2019
Messages
6
Trophies
0
Age
26
XP
44
Country
Italy
I have a similar problem.
my error code is :
Exception: Failed to read INI1 header!. Code: 1
[16756] Failed to execute script ChoiDujour
 

3ds player

Active Member
Newcomer
Joined
Jan 22, 2014
Messages
30
Trophies
0
Age
54
XP
129
Country
United States
<leave a space here in your key.txt>
master_key_00 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
master_key_01 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
master_key_02 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
master_key_03 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
master_key_04 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
header_key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
aes_kek_generation_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
aes_key_generation_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx8
key_area_key_application_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_ocean_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_system_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
package2_key_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
<No space>

Make sure there is a space at the first row of the text file, and all equals are aligned.

If you are updating to Fw5.0 then master key is till _04; if you are updating to Fw6.0 then master key till_05 and so on.

Hope this helps.
 
Last edited by 3ds player,

stevemiff1971

Member
Newcomer
Joined
Jul 25, 2018
Messages
10
Trophies
0
Age
52
XP
59
Country
United Kingdom
I keep getting choidujour.exe—keyset is not recognised as an internal or external command
Operable program or batch file

can somebody please help me

could somebody else do this for me if I emailed my keys.txt file(if allowed)
Thanks
 

Oshae93

Laying Down The Law
OP
Member
Joined
Jun 14, 2013
Messages
239
Trophies
1
XP
525
Country
United States
<leave a space here in your key.txt>
master_key_00 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
master_key_01 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
master_key_02 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
master_key_03 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
master_key_04 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
header_key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
aes_kek_generation_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
aes_key_generation_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx8
key_area_key_application_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_ocean_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_system_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
package2_key_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
<No space>

Make sure there is a space at the first row of the text file, and all equals are aligned.

If you are updating to Fw5.0 then master key is till _04; if you are updating to Fw6.0 then master key till_05 and so on.

Hope this helps.
Ill try this. I also made a post elsewhere about this issue and was informed that what im trying to do wont work bc im trying to use firmware 9.0.1 on the pc version and it doesnt support past 6.1. Is this true?
 

3ds player

Active Member
Newcomer
Joined
Jan 22, 2014
Messages
30
Trophies
0
Age
54
XP
129
Country
United States
Ill try this. I also made a post elsewhere about this issue and was informed that what im trying to do wont work bc im trying to use firmware 9.0.1 on the pc version and it doesnt support past 6.1. Is this true?

I maybe wrong. Don't quote me.
There seems to be no master key beyond 6 hence pc version is not going to work. You need the master key to rebuild the higher ofm boot and raw files.

I am not sure of your situation. Theoretically, you will need to go below fm 6 then update fm to 9 using the non pc version.


Ill try this. I also made a post elsewhere about this issue and was informed that what im trying to do wont work bc im trying to use firmware 9.0.1 on the pc version and it doesnt support past 6.1. Is this true?
 

Oshae93

Laying Down The Law
OP
Member
Joined
Jun 14, 2013
Messages
239
Trophies
1
XP
525
Country
United States
Bypassed this issue and fixed the bricked switch. Someone on another site was able to send me the output folder from step 4 since its not a console unique thing. From then on out the rest of the steps worked as intended until i got to the end to where it tells you to boot up the cfw. Ended up having to erase all save data but that was no where near a big issue. Was able to downgrade to 6.0 then upgrade to 8.0.1 and installed and ran a new game perfectly fine. I appreciate all of you for reaching out to help.
 

stevemiff1971

Member
Newcomer
Joined
Jul 25, 2018
Messages
10
Trophies
0
Age
52
XP
59
Country
United Kingdom
Bypassed this issue and fixed the bricked switch. Someone on another site was able to send me the output folder from step 4 since its not a console unique thing. From then on out the rest of the steps worked as intended until i got to the end to where it tells you to boot up the cfw. Ended up having to erase all save data but that was no where near a big issue. Was able to downgrade to 6.0 then upgrade to 8.0.1 and installed and ran a new game perfectly fine. I appreciate all of you for reaching out to help.
Any chance you could forward the output folder to me I’m stuck in the. Same place
 

Juss3pp3

New Member
Newbie
Joined
Dec 16, 2019
Messages
1
Trophies
0
Age
40
Location
Chile
XP
54
Country
Chile
Hi! With Hacktool i'm just getting master_key_00 and master_key_04, dont know why :(.Any idea?

--------------------- MERGED ---------------------------

Bypassed this issue and fixed the bricked switch. Someone on another site was able to send me the output folder from step 4 since its not a console unique thing. From then on out the rest of the steps worked as intended until i got to the end to where it tells you to boot up the cfw. Ended up having to erase all save data but that was no where near a big issue. Was able to downgrade to 6.0 then upgrade to 8.0.1 and installed and ran a new game perfectly fine. I appreciate all of you for reaching out to help.
Can you help meplease?I got the same error, maybe with the same output folder I can fix mine
 

Uriah

Member
Newcomer
Joined
Apr 27, 2020
Messages
18
Trophies
0
Age
24
XP
67
Country
United States
I have a similar problem.
my error code is :
Exception: Failed to read INI1 header!. Code: 1
[16756] Failed to execute script ChoiDujour
Hey did you ever find a solution. Im at the error code and I'm not sure what to do now
 

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
19,012
Trophies
2
Age
29
Location
New York City
XP
13,391
Country
United States
Hey did you ever find a solution. Im at the error code and I'm not sure what to do now
Take out any keys that do not match the following format:
Code:
master_key_00 =
master_key_01 =
master_key_02 =
master_key_03 =
master_key_04 =
master_key_05 =
master_key_06 =
header_key =
aes_kek_generation_source =
aes_key_generation_source =
key_area_key_application_source =
key_area_key_ocean_source =
key_area_key_system_source =
package2_key_source =
 

Uriah

Member
Newcomer
Joined
Apr 27, 2020
Messages
18
Trophies
0
Age
24
XP
67
Country
United States
Thank you, I have actually gotten past this step and have successfully downgraded to 6.0. I can't figure out why my homebrew menu isn't opening though. Do I need to reinstall a different version of atmosphere? I'm going to make a separate post on this, but feel free to help here.
 

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
19,012
Trophies
2
Age
29
Location
New York City
XP
13,391
Country
United States
Thank you, I have actually gotten past this step and have successfully downgraded to 6.0. I can't figure out why my homebrew menu isn't opening though. Do I need to reinstall a different version of atmosphere? I'm going to make a separate post on this, but feel free to help here.
If you are using the latest version of Atmosphere, the homebrew menu opens by default when you select the Album.
 

Scardro1

New Member
Newbie
Joined
Nov 10, 2021
Messages
3
Trophies
0
Age
33
XP
38
Country
United States
Sorry to bring it back to life but I have the same issue I got the keys txt in order I just keep getting the "Only one input firmware file/folder argument is allowed, you gave 2" error when I type in "ChoiDujour.exe \-\-keyset=keys.txt fw" in Command Prompt
 

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
19,012
Trophies
2
Age
29
Location
New York City
XP
13,391
Country
United States
Sorry to bring it back to life but I have the same issue I got the keys txt in order I just keep getting the "Only one input firmware file/folder argument is allowed, you gave 2" error when I type in "ChoiDujour.exe \-\-keyset=keys.txt fw" in Command Prompt
That's because you put 2 brackets.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
    Karma177 @ Karma177: @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really...