Hacking Pasta CFW - A CFW that allows unsigned CIA to be installed on Old and New 3DS! (required ninjhax)

Status
Not open for further replies.

ccfman2004

Well-Known Member
Member
Joined
Mar 5, 2008
Messages
2,865
Trophies
2
XP
3,312
Country
United States
The firm.bin file is simply the decrypted firmware.
Can I please have either the MD5 or SHA1 so I can make sure I generated the right file? I have the N3DS. Is it different?

EDIT: I just tried it and the program crashes before creating the firm.bin. It downloaded the 4 bins though.
 

nachos_18

New Member
Newbie
Joined
Sep 13, 2009
Messages
1
Trophies
0
XP
121
Country
Netherlands Antilles
Hi, I installed the last version of Pasta but I can not able to get work firmlaunch, I follow the tutorial, but when I want to play games like pokemon shuffle or the last update of smash bros nothing happens, back screen. Any solution? I'm on sysnand 9.2
 

thaikhoa

Well-Known Member
Member
Joined
Sep 16, 2008
Messages
2,236
Trophies
1
XP
2,590
Country
Australia
Pasta CFW 1.3 Beta 5.1
Changelog:
-Hold R during pasta boot to temporarly invert the firmlaunch settings (if firmlaunch is enabled by default, it will disable it, and the other way around as well.)

Download
Compiled: check first post
Source: https://github.com/capito27/Pasta-CFW

A nice update! It's better to have Y/N firmlaunch question when executing Pasta.
 

klear

Active Member
Newcomer
Joined
Mar 26, 2015
Messages
31
Trophies
0
XP
1,043
Country
Italy
I can't download the firmlaunch.bin file with the compagnon App. The app always crashes during download (Win 8.1 X64)
Have you blocked access to Nintendo updates via Firewall / personal DNS server / Router / hosts file...? If it's that, unlock them
 

Riku

Well-Known Member
Member
Joined
May 3, 2009
Messages
288
Trophies
0
XP
1,491
Country
United States
Still working on it, it's very complicated :O
I'm stuck in PART 3. I'm trying to use TinyAES to decrypt file3 with the xorred key...
Code:
            byte[] file3_dec=AES_Decrypt(file3_array, key);
Then I'll have to port this looong piece of code:
Code:
//----------------------- PART 4: EXEFS ------------------------------
  textBox3.AppendText("Getting EXEFS info");
  textBox3.AppendText(Environment.NewLine);

  byte[] EXEFS_offset_array = new byte[4];
  EXEFS_offset_array[0] = file3_dec[0x1A3];
  EXEFS_offset_array[1] = file3_dec[0x1A2];
  EXEFS_offset_array[2] = file3_dec[0x1A1];
  EXEFS_offset_array[3] = file3_dec[0x1A0];
  var EXEFS_offset = EXEFS_offset_array[0] << 8 | EXEFS_offset_array[1]; //TODO: DO THIS BETTER
  EXEFS_offset = EXEFS_offset << 8 | EXEFS_offset_array[2];
  EXEFS_offset = EXEFS_offset << 8 | EXEFS_offset_array[3];
  EXEFS_offset *= 0x200;

  byte[] EXEFS_size_array = new byte[4];
  EXEFS_size_array[0] = file3_dec[0x1A7];
  EXEFS_size_array[1] = file3_dec[0x1A6];
  EXEFS_size_array[2] = file3_dec[0x1A5];
  EXEFS_size_array[3] = file3_dec[0x1A4];
  var EXEFS_size = EXEFS_size_array[0] << 8 | EXEFS_size_array[1]; //TODO: DO THIS BETTER
  EXEFS_size = EXEFS_size << 8 | EXEFS_size_array[2];
  EXEFS_size = EXEFS_size << 8 | EXEFS_size_array[3];
  EXEFS_size *= 0x200;

  progressBar1.Value = 70;
  //-------------------------- PART 5: FIRM --------------------------
  textBox3.AppendText("Extracting EXEFS");
  textBox3.AppendText(Environment.NewLine);

  byte[] file2_array = new byte[EXEFS_size];
  FileStream file2_stream = new FileStream("file2.bin", FileMode.Open);
  file2_stream.Seek(0, SeekOrigin.Begin);
  file2_stream.Read(file2_array, 0, EXEFS_size);

  byte[] firm = new byte[EXEFS_size];
  for (int i = 0; i < EXEFS_size; i++)
  {
  firm[i] = (byte)(file2_array[i] ^ file3_dec[EXEFS_offset+i]);
  }
  progressBar1.Value = 90;

  textBox3.AppendText("Saving the FIRM.bin");
  textBox3.AppendText(Environment.NewLine);

  FileStream firm_writer = new FileStream(comboBox1.SelectedItem + "3ds/PastaCFW/firm.bin", FileMode.Create);
  for (int i = 0; i < EXEFS_size-0x200; i++)
  {
  firm_writer.WriteByte(firm[0x200 + i]);
  }
  firm_writer.Close();

  file4_stream.Close();
  file2_stream.Close();
  file1_stream.Close();

  File.Delete("file1.bin");
  File.Delete("file2.bin");
  File.Delete("file3.bin");
  File.Delete("file4.bin");
So it may take a while.


The Mac and Linux versions are based on the same code...
Can't believe you still using this nonsense. Are you really believe using xorpad generated using 3ds would be more legally-ish instead of your own? Not to mention this:
I can't download the firmlaunch.bin file with the compagnon App. The app always crashes during download (Win 8.1 X64)
Me too. I tried it in both WineSkin and CrossOver. All it does is download 4 bin files.
 
  • Like
Reactions: Arcanuskun

capito27

Well-Known Member
OP
Member
Joined
Jan 19, 2015
Messages
874
Trophies
0
XP
1,230
Country
Swaziland
Can't believe you still using this nonsense. Are you really believe using xorpad generated using 3ds would be more legally-ish instead of your own? Not to mention this:
the issue with that solution is that we have a feature being worked on that will require all this technical mumbo-jumbo to work, so yes, it would be awesome if he could port the current method
 

3xkrazy

Well-Known Member
Member
Joined
Jun 2, 2013
Messages
299
Trophies
0
XP
279
Country
United States
Pasta CFW Configurator(Windows) crashes on Win7 home:
PastaCFW 1.3beta6

error message:

"Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Could not find a part of the path "D:\Downloads\PastaCFW 1.3beta6\Pasta\PastaCFW configurator\Windows\3ds\PastaCFW\firm.bin."
 

motezazer

Well-Known Member
Member
Joined
Feb 6, 2015
Messages
1,214
Trophies
0
Age
24
XP
1,442
Country
France
Pasta CFW Configurator(Windows) crashes on Win7 home:
PastaCFW 1.3beta6

error message:

"Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Could not find a part of the path "D:\Downloads\PastaCFW 1.3beta6\Pasta\PastaCFW configurator\Windows\3ds\PastaCFW\firm.bin."
Did you select your SD card drive at the top?
 

capito27

Well-Known Member
OP
Member
Joined
Jan 19, 2015
Messages
874
Trophies
0
XP
1,230
Country
Swaziland
I don't want to remove the microSD card from the New 3DS... Firm downloading needs the SDCARD?
yes, you need to put the microSD card on your computer to be able to download the firm.bin
Edit : we are curently working in a way to download firm.bin without the sd card insterted, should be out soon
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://youtu.be/4l3lyXcUDkI?feature=shared&t=43