Jump to content
Kaphotics

tool pk3DS: 3DS ROM Editor & Randomizer

Recommended Posts

I am new to all of this and I was wondering if it is possible for someone to make a randomized file and give it to me. I have a Chromebook and I can't run .exe files. If it is possible, I have Pokemon AS.

Share this post


Link to post
Share on other sites

Anyone know how to fix this error? IM trying to get Drayano's Sinking Sapphire ROM hack but I can't get past the Pk3ds part of this tutorial I'm watching. :///

 

Exception Details:
System.ArgumentNullException: Value cannot be null.
Parameter name: source
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at pk3DS.GameConfig.InitializePersonal() in D:\BuildAgentPPOrg\work\b93f10d64d1a1178\pk3DS\Game\GameConfig.cs:line 101
   at pk3DS.GameConfig.InitializeAll() in D:\BuildAgentPPOrg\work\b93f10d64d1a1178\pk3DS\Game\GameConfig.cs:line 95
   at pk3DS.Main.openQuick(String path) in D:\BuildAgentPPOrg\work\b93f10d64d1a1178\pk3DS\Main.cs:line 206
   at pk3DS.Main.B_Open_Click(Object sender, EventArgs e) in D:\BuildAgentPPOrg\work\b93f10d64d1a1178\pk3DS\Main.cs:line 95
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

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.17, Culture=neutral, PublicKeyToken=null
C:\Users\EfrenSaldana\Desktop\Sinking Sapphire\pk3DS Build 17\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

--------------------
User Message:
An unhandled exception has occurred.
You can continue running the program (albeit with potential side-effects), but please report this error.
 

Edited by Pan5ophy

Share this post


Link to post
Share on other sites
5 hours ago, Kaphotics said:

The latest releases are no longer from github, they are linked from the first post.

I know, but with the newer version I can't get the program working. I just want to randomise trainers team and it only works with the old version I quoted before.

Share this post


Link to post
Share on other sites

Now im getting this error.

System.IO.FileNotFoundException: Could not find file 'C:\Users\EfrenSaldana\Desktop\Sinking Sapphire\ExtractRepack\romfsdir\a\1\9\3'.
File name: 'C:\Users\EfrenSaldana\Desktop\Sinking Sapphire\ExtractRepack\romfsdir\a\1\9\3'

I'm using the build that Pumone linked in his previous comment.

Share this post


Link to post
Share on other sites

Hi Kaphotics I'm getting this error when I try to save the changes in Type Chart - other features seem to be working fine - just not the type chart.

Exception Details:

System.UnauthorizedAccessException: Access to the path 'C:\Users\Birharpal\Desktop\New folder (2)\exefsdir' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes, Boolean checkHost)
at pk3DS.TypeChart7.B_Save_Click(Object sender, EventArgs e) in D:\BuildAgentPPOrg\work\b93f10d64d1a1178\pk3DS\Subforms\Gen7\TypeChart7.cs:line 47
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

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.17, Culture=neutral, PublicKeyToken=null
C:\Users\Birharpal\Desktop\New folder\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

Share this post


Link to post
Share on other sites

So,I can't figure out how to randomize Static Encounters,it gives me this:

Exception Details:
System.FormatException: Invalid GARC Version: 0x0000
   at CTR.GARC.unpackGARC(Stream stream) in C:\BuildAgent\work\b93f10d64d1a1178\pk3DS\3DS\GARC.cs:line 456
   at CTR.GARC.unpackGARC(Byte[] data) in C:\BuildAgent\work\b93f10d64d1a1178\pk3DS\3DS\GARC.cs:line 451
   at pk3DS.GameConfig.getMemGARC(String file) in C:\BuildAgent\work\b93f10d64d1a1178\pk3DS\Game\GameConfig.cs:line 165
   at pk3DS.GameConfig.getGARCByReference(GARCReference gr) in C:\BuildAgent\work\b93f10d64d1a1178\pk3DS\Game\GameConfig.cs:line 153
   at pk3DS.Main.<B_Static_Click>b__58_0() in C:\BuildAgent\work\b93f10d64d1a1178\pk3DS\Main.cs:line 966
   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.25, Culture=neutral, PublicKeyToken=null
C:\Users\Owner\AppData\Local\Temp\Rar$EXa0.523\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

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

Please Help! And P.S,how do i save this?

Share this post


Link to post
Share on other sites

It also says invalid and this now:

Exception Details:
System.ArgumentNullException: Value cannot be null.
Parameter name: source
   at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
   at pk3DS.Main.formClosing(Object sender, FormClosingEventArgs e) in C:\BuildAgent\work\b93f10d64d1a1178\pk3DS\Main.cs:line 130
   at System.Windows.Forms.Form.OnFormClosing(FormClosingEventArgs e)
   at System.Windows.Forms.Form.WmClose(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

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.25, Culture=neutral, PublicKeyToken=null
C:\Users\Owner\AppData\Local\Temp\Rar$EXa0.086\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

--------------------
User Message:
An unhandled exception has occurred.
You can continue running the program (albeit with potential side-effects), but please report this error.
 

Share this post


Link to post
Share on other sites

Please help me ?!

Exception Details:
System.IO.EndOfStreamException: Impossible de lire au-delà de la fin du flux.
   à System.IO.BinaryReader.FillBuffer(Int32 numBytes)
   à System.IO.BinaryReader.ReadUInt32()
   à CTR.GARC.unpackGARC(Stream stream) dans C:\BuildAgent\work\b93f10d64d1a1178\pk3DS\3DS\GARC.cs:ligne 461
   à CTR.GARC.unpackGARC(Byte[] data) dans C:\BuildAgent\work\b93f10d64d1a1178\pk3DS\3DS\GARC.cs:ligne 451
   à pk3DS.GameConfig.getMemGARC(String file) dans C:\BuildAgent\work\b93f10d64d1a1178\pk3DS\Game\GameConfig.cs:ligne 165
   à pk3DS.GameConfig.getGARCByReference(GARCReference gr) dans C:\BuildAgent\work\b93f10d64d1a1178\pk3DS\Game\GameConfig.cs:ligne 153
   à pk3DS.Main.<B_Trainer_Click>b__34_0() dans C:\BuildAgent\work\b93f10d64d1a1178\pk3DS\Main.cs:ligne 517
   à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   à 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.27, Culture=neutral, PublicKeyToken=null
D:\Randomizer Sun Moon ROSA X Y\Outils pour Randomiser Pokémon Soleil et Lune\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

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

mscorlib.resources, Version=4.0.0.0, Culture=fr, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_fr_b77a5c561934e089\mscorlib.resources.dll

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

Edited by FixProd

Share this post


Link to post
Share on other sites

I am trying to get my old browserhax/sliderhax Pokemon AS romfs file to work with soundhax, but whenever I pull up Hans, it says that the romfs file is invalid after I select alpha sapphire from the hans menu It was working a year ago (mind you, this WAS a year ago) but now it won't? The filename is 0011c500.romfs why isn't it working?

 

after I select  Romfs -> SD  <YES>

it says:

Romfs path (INVALID) : sd:/hans/0011c500.romfs

 

Edited by daffyjlefty

Share this post


Link to post
Share on other sites
1 minute ago, daffyjlefty said:

I am trying to get my old browserhax/sliderhax Pokemon AS romfs file to work with soundhax, but whenever I pull up Hans, it says that the romfs file is invalid after I select alpha sapphire from the hans menu It was working a year ago (mind you, this WAS a year ago) but now it won't? The filename is 0011c500.romfs why isn't it working?

 

after I select  Romfs -> SD  <YES>

it says:

Romfs path (INVALID) : sd:/hans/0011c500.romfs

 

Try rebuilding the romfs with another tool to determine if pk3DS is the problem or not.

Share this post


Link to post
Share on other sites
On 4/5/2017 at 1:05 AM, Kaphotics said:

Try rebuilding the romfs with another tool to determine if pk3DS is the problem or not.

I found out what happened, I just moved hans to the sd card itself. it WAS in the 3ds folder, now, when I open homebrew, I just press B and access hans that way

Share this post


Link to post
Share on other sites

Hello, I'm using to PK3DS to randomize my Alpha Saphire rom and I keep getting an Unhanded Exception has occurred error with the information 

Exception Details:
System.ArgumentOutOfRangeException: InvalidArgument=Value of '721' is not valid for 'SelectedIndex'.
Parameter name: SelectedIndex
   at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
   at pk3DS.RSTE.Randomize() in D:\TeamCity\BuildAgentPPOrg\work\b93f10d64d1a1178\pk3DS\Subforms\Gen6\RSTE.cs:line 705
   at pk3DS.RSTE.B_Randomize_Click(Object sender, EventArgs e) in D:\TeamCity\BuildAgentPPOrg\work\b93f10d64d1a1178\pk3DS\Subforms\Gen6\RSTE.cs:line 541
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

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.36, Culture=neutral, PublicKeyToken=null
C:\Users\Alexis\Desktop\randomizin\Rom Hack Starter Pack\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

--------------------
User Message:
An unhandled exception has occurred.
You can continue running the program (albeit with potential side-effects), but please report this error.
 

 

I'm confused as to why because I've randomized it once before without getting this error. Any help is greatly appreciated.

Share this post


Link to post
Share on other sites
1 hour ago, jordan1286 said:

Hello, I'm using to PK3DS to randomize my Alpha Saphire rom and I keep getting an Unhanded Exception has occurred error with the information 

Exception Details:
System.ArgumentOutOfRangeException: InvalidArgument=Value of '721' is not valid for 'SelectedIndex'.
Parameter name: SelectedIndex
   at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
   at pk3DS.RSTE.Randomize() in D:\TeamCity\BuildAgentPPOrg\work\b93f10d64d1a1178\pk3DS\Subforms\Gen6\RSTE.cs:line 705
   at pk3DS.RSTE.B_Randomize_Click(Object sender, EventArgs e) in D:\TeamCity\BuildAgentPPOrg\work\b93f10d64d1a1178\pk3DS\Subforms\Gen6\RSTE.cs:line 541
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

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.36, Culture=neutral, PublicKeyToken=null
C:\Users\Alexis\Desktop\randomizin\Rom Hack Starter Pack\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

--------------------
User Message:
An unhandled exception has occurred.
You can continue running the program (albeit with potential side-effects), but please report this error.
 

 

I'm confused as to why because I've randomized it once before without getting this error. Any help is greatly appreciated.

I was able to bypass this by using an older version of PK3DS. Now I have another question, how do I randomize TMs? Or rather pretty much everything thats under the Exefs tab. When I randomize those and rebuild they do not show up in game randomized.

Share this post


Link to post
Share on other sites
8 hours ago, jordan1286 said:

I was able to bypass this by using an older version of PK3DS. Now I have another question, how do I randomize TMs? Or rather pretty much everything thats under the Exefs tab. When I randomize those and rebuild they do not show up in game randomized.

should be fixed in the latest commit

any installed game patch provides a new exefs which is used instead of the one provided by the (edited) ROM; you have to remove any installed patch in order to ensure your files are the ones that are used.

Share this post


Link to post
Share on other sites
17 hours ago, Kaphotics said:

should be fixed in the latest commit

any installed game patch provides a new exefs which is used instead of the one provided by the (edited) ROM; you have to remove any installed patch in order to ensure your files are the ones that are used.

Or extract the update exefs & randomize that... Unless the addresses for that change, then it should still work fine.

Edited by coltonsmogon

Share this post


Link to post
Share on other sites

i have this error than i restore the original files :

Exception Details:
System.IO.IOException: Die Datei "C:\Users\Darius\Desktop\sun dump\exefs\.code.bin" ist bereits vorhanden.
   bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   bei System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
   bei pk3DS.GameBackup.restoreExeFS(GameConfig config, String bak_exefs) in C:\BuildAgent\work\b93f10d64d1a1178\pk3DS\Game\GameBackup.cs:Zeile 151.
   bei pk3DS.GameBackup.restoreFiles(GameConfig config) in C:\BuildAgent\work\b93f10d64d1a1178\pk3DS\Game\GameBackup.cs:Zeile 126.
   bei pk3DS.Main.L_Game_Click(Object sender, EventArgs e) in C:\BuildAgent\work\b93f10d64d1a1178\pk3DS\Main.cs:Zeile 89.
   bei System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   bei System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   bei System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   bei System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   bei System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   bei System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ToolStrip.WndProc(Message& m)
   bei System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

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.59, Culture=neutral, PublicKeyToken=null
C:\Users\Darius\Desktop\randomizer\pk3DS.exe

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, 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.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

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

mscorlib.resources, Version=4.0.0.0, Culture=de, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_de_b77a5c561934e089\mscorlib.resources.dll

--------------------
User Message:
An unhandled exception has occurred.
You can continue running the program (albeit with potential side-effects), but please report this error.

 

Share this post


Link to post
Share on other sites

Hello, I was wondering if anyone could give me some direction in trying to randomize a Pokemon hack, specifically Pokemon Wilting Y which comes in the form of a cia patch.  Is there a way to patch a clean dumped version of the rom (I have the Pokemon y cart), dump the patched rom, decrypt it, randomize it, encrypt it back and run it through FBI?

I'mrunning the latest Luna 3ds CFW

Share this post


Link to post
Share on other sites
6 minutes ago, Umoon said:

Hello, I was wondering if anyone could give me some direction in trying to randomize a Pokemon hack, specifically Pokemon Wilting Y which comes in the form of a cia patch.  Is there a way to patch a clean dumped version of the rom (I have the Pokemon y cart), dump the patched rom, decrypt it, randomize it, encrypt it back and run it through FBI?

I'mrunning the latest Luna 3ds CFW

The only thing pk3DS does in that list is randomization. Follow the tutorials provided by the ROM hack.

ROM hacks nowadays are played via luma's layeredfs, rather than a custom patch.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...