Jump to content

Recommended Posts

Posted
15 minutes ago, Ukasuhs said:

I don't have the exe file or the RomFS file. How do i get these from my .cia file?

Read: second-top line of first post of PK3DS.

Quote

Please do not ask (nor private message me) how to obtain/dump/decrypt/unpack/repack ROMs as that is unrelated to the functionality of this program.

I've split off your post, since it's explicitly warned against in PK3DS thread first post.


You will need to search the net on how to extract files from the games. Best I can point you to is here, here and here.
(Don't ask me about how to use them, tho, as I won't be of much help in those categories. You gotta find that out yourself. Two of those links above are guides anyway..)

  • 5 years later...
Posted

What is this crap going on about? 


 

Exception Details:
System.ArgumentException: Bad IVFC Header
   at pk3DS.Core.CTR.RomFS.GetIVFCInfoFromBytes(Byte[] headerBytes)
   at pk3DS.Core.CTR.RomFS.ExtractRomFS(String outputDirectory, RichTextBox TB_Progress, ProgressBar PB_Show)
   at pk3DS.Core.CTR.NCCH.ExtractRomFS(String NCCH_PATH, String outputDirectory, RichTextBox TB_Progress, ProgressBar PB_Show)
   at pk3DS.Core.CTR.NCSD.ExtractFilesFromNCSD(String NCSD_PATH, String outputDirectory, RichTextBox TB_Progress, ProgressBar PB_Show)
   at pk3DS.Main.<>c__DisplayClass23_0.<extractNCSD>b__0() in D:\a\1\s\pk3DS\Main.cs:line 327
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

Loaded Assemblies:
--------------------
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll

pk3DS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
C:\Users\aarons\OneDrive\Desktop\Pokestuff\pk3DS\pk3DS.exe

System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll

System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll

System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll

System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll

System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll

System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll

pk3DS.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
C:\Users\aarons\OneDrive\Desktop\Pokestuff\pk3DS\pk3DS.Core.dll

Accessibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Accessibility\v4.0_4.0.0.0__b03f5f7f11d50a3a\Accessibility.dll

--------------------
User Message:
An unhandled exception has occurred.
The program must now close.
 

Posted
41 minutes ago, Kumano said:

What is this crap going on about? 


 

Exception Details:
System.ArgumentException: Bad IVFC Header
   at pk3DS.Core.CTR.RomFS.GetIVFCInfoFromBytes(Byte[] headerBytes)
   at pk3DS.Core.CTR.RomFS.ExtractRomFS(String outputDirectory, RichTextBox TB_Progress, ProgressBar PB_Show)
   at pk3DS.Core.CTR.NCCH.ExtractRomFS(String NCCH_PATH, String outputDirectory, RichTextBox TB_Progress, ProgressBar PB_Show)
   at pk3DS.Core.CTR.NCSD.ExtractFilesFromNCSD(String NCSD_PATH, String outputDirectory, RichTextBox TB_Progress, ProgressBar PB_Show)
   at pk3DS.Main.<>c__DisplayClass23_0.<extractNCSD>b__0() in D:\a\1\s\pk3DS\Main.cs:line 327
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

Loaded Assemblies:
--------------------
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll

pk3DS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
C:\Users\aarons\OneDrive\Desktop\Pokestuff\pk3DS\pk3DS.exe

System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll

System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll

System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll

System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll

System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll

System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll

pk3DS.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
C:\Users\aarons\OneDrive\Desktop\Pokestuff\pk3DS\pk3DS.Core.dll

Accessibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Accessibility\v4.0_4.0.0.0__b03f5f7f11d50a3a\Accessibility.dll

--------------------
User Message:
An unhandled exception has occurred.
The program must now close.
 

You could always google it.

"Bad IVFC Header"

RomFS - 3dbrew

> The RomFS is wrapped inside a IVFC hash-tree container, and the actual data is structured like a node-based tree

Since you're trying to extract the RomFS and the program is giving you an error saying something is bad, you should probably double check your ROM dump. It's probably a bad ROM dump.

Try another tool to extract to confirm.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...