Jump to content

pk3DS: Pokémon 3DS ROM Editor and Randomizer


Recommended Posts

  • 2 weeks later...

I'm trying to randomize Ultra Sun, and when I try to edit personal stats I get this message

 

Exception Details:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
   at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
   at pk3DS.Main.<B_Personal_Click>b__38_0() in d:\a\1\s\pk3DS\Main.cs:line 667
   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\gwboy\Downloads\3DS Randomizer Pack\3DS Randomizer Pack\Step 2 - Randomize\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\gwboy\Downloads\3DS Randomizer Pack\3DS Randomizer Pack\Step 2 - Randomize\pk3DS.Core.dll

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



I get a similar message when trying to edit TM's too

Link to comment
Share on other sites

I got XY to work but UMoon won't work. I rebuild the .3ds folder here to plug into Citra and that works perfectly. I did everything the same on both. Please help.

 

Exception Details:
System.NullReferenceException: Object reference not set to an instance of an object.
   at pk3DS.Core.CTR.CTRUtil.setNCCH(String EXEFS_PATH, String ROMFS_PATH, String EXHEADER_PATH, String TB_Serial, String LOGO_NAME, ProgressBar PB_Show, RichTextBox TB_Progress)
   at pk3DS.Core.CTR.CTRUtil.buildROM(Boolean Card2, String LOGO_NAME, String EXEFS_PATH, String ROMFS_PATH, String EXHEADER_PATH, String SERIAL_TEXT, String SAVE_PATH, Boolean trimmed, ProgressBar PB_Show, RichTextBox TB_Progress)
   at pk3DS.Main.<>c__DisplayClass66_0.<B_Rebuild3DS_Click>b__0() in d:\a\1\s\pk3DS\Main.cs:line 1267
   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
E:\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
E:\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

OptaneShellExt, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b2b395177cd09cef
C:\Program Files\Intel\OptaneShellExtensions\OptaneShellExt.dll

SharpShell, Version=2.2.0.0, Culture=neutral, PublicKeyToken=f14dc899472fe6fb
C:\Program Files\Intel\OptaneShellExtensions\SharpShell.dll

log4net, Version=1.2.15.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a
C:\Program Files\Intel\OptaneShellExtensions\log4net.dll

PinningServiceApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d2c7ef10062b7593
C:\Program Files\Intel\OptaneShellExtensions\PinningServiceApi.dll

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

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

 

 

Edited by OhNoFlyingMonkeys
Link to comment
Share on other sites

  • 5 weeks later...

Im trying to randomise Pokemon OR and i want type-themed trainer and gyms and i enabled these options, but all of the trainers are completely random.
Also when I want to randomise the trainers a second time, the program gives a message that it needs to be closed and it just works, if i delete the program, unpack it again and use the freshly unpacked program.

Link to comment
Share on other sites

Hello. Don't know how active is this thread, but if someone can help me... so i'm trying to randomize Pokémon Y. Pk3ds gives me no problem, i can rebuild the game no problem, but when i load it, it seems like nothing is randomized. Still get the same starters, still get the Pidgey static encounter on Route 2, shops aren't random either... I'd suspect something regarding the CRO rebuilding (it is what contains the changes for starters, gift pokémon and static encounters) but the fact that shops didn't randomize and that's an ExeFS feature, makes me suspect it might be because i have to play the game updated (playing in 3ds) and that cancels some modifications?

Also i remember having an issue with having to rename the .code.bin to code.bin to make some games work, but don't remember how it was for what games.

 

For people complaining about getting errors with Pk3ds, just erase a file that gets created in the folder, called "randsettings". Getting rid of it should allow the progam to work correctly

  • Ditto 1
Link to comment
Share on other sites

  • 4 weeks later...

Great tool, love that this exists even if I'm just finding it now.

I wanted to know if there was a way to make multiple edits at once. It's great to have so much flexibility but it's a quite slow to make changes manually. I would like to be able to make bulk changes across a specific section of the game. An example would be like updating all Old Rod fishing encounters at once instead of having to go through each route and update those encounter slots manually. Or things like increasing the level of all trainers in a specific Gym by x%, increasing all Poke Mart costs by x%, or decreasing the power of all moves of a specific type.

From what pk3DS seems to do I think I have to make changes to the contents of the ExeFS and RomFS folders but I am not sure how to read or edit them. Do you have any idea how to go about this?

Edited by Fuck_Retail_Therapy
Link to comment
Share on other sites

i have one question related to the Gym Theme leaders randomization: will they become a random theme type (Example, Viola using Fire types) or will they keep the original typing (Viola using Bugs), while having random Pokemons? It is possible to force the randomization so they keep the original theme? 

Link to comment
Share on other sites

does anybody have a clue how i can get the pokemart items to change? i've tried changing a couple of specific items and also randomising every item, it never carries my changes over into actual roms when it says that they've been changed on pk3DS

 

Link to comment
Share on other sites

  • 2 weeks later...

Can't download get this error {"$id":"1","innerException":null,"message":"TF400813: The user 'Windows Live ID\\' is not authorized to access this resource.","typeName":"Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException, Microsoft.TeamFoundation.Framework.Server","typeKey":"UnauthorizedRequestException","errorCode":0,"eventId":3000}.

{"$id":"1","innerException":null,"message":"TF400813: The user 'Windows Live ID\\lunala570@gmail.com' is not authorized to access this resource.","typeName":"Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException, Microsoft.TeamFoundation.Framework.Server","typeKey":"UnauthorizedRequestException","errorCode":0,"eventId":3000}
Edited by MysticLunar
Link to comment
Share on other sites

Hello everyone, I was using this to edit a pokemon Ultra Moon rom, and for some reason I am not able to edit trainer pokemon. I would like to build specific teams for important trainers, and I am unable to do that. I can randomize and do everything else, but I am unable to edit trainers. Any ideas?

Link to comment
Share on other sites

  • 3 weeks later...

When I try to open a folder which i've created to configure it, but it then send me an error with this message:

 

Exception Details:
System.IndexOutOfRangeException: Der Index war außerhalb des Arraybereichs.
   bei pk3DS.Main.CheckIfRomFS(String path) in D:\a\1\s\pk3DS\Main.cs:Zeile 406.
   bei pk3DS.Main.openQuick(String path) in D:\a\1\s\pk3DS\Main.cs:Zeile 196.
   bei pk3DS.Main.B_Open_Click(Object sender, EventArgs e) in D:\a\1\s\pk3DS\Main.cs:Zeile 102.
   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.0, Culture=neutral, PublicKeyToken=null
C:\Users\amede\Desktop\drop\pk3DS\bin\Release\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=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

pk3DS.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
C:\Users\amede\Desktop\drop\pk3DS\bin\Release\pk3DS.Core.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.
 

Link to comment
Share on other sites

  • 2 weeks later...

Hope someone can help me. I recently downloaded the latest version of PK3DS to modify "Pokémon X", but I can't save any changes. When I try it, it shows this message:

Exception Details:
System.OverflowException: Valor demasiado grande o demasiado pequeño para UInt16.
   en System.Convert.ToUInt16(Int32 value)
   en pk3DS.XYWE.MakeSlotData(Int32 species, Int32 f, Int32 lo, Int32 hi) en d:\a\1\s\pk3DS\Subforms\Gen6\XYWE.cs:línea 445
   en pk3DS.XYWE.MakeEncounterData() en d:\a\1\s\pk3DS\Subforms\Gen6\XYWE.cs:línea 457
   en pk3DS.XYWE.B_Save_Click(Object sender, EventArgs e) en d:\a\1\s\pk3DS\Subforms\Gen6\XYWE.cs:línea 491
   en System.Windows.Forms.Control.OnClick(EventArgs e)
   en System.Windows.Forms.Button.OnClick(EventArgs e)
   en System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   en System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ButtonBase.WndProc(Message& m)
   en System.Windows.Forms.Button.WndProc(Message& m)
   en 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.0, Culture=neutral, PublicKeyToken=null
D:\Documents\Martín\Juegos\Hack rom\3DS\XYup\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=es, PublicKeyToken=b77a5c561934e089
C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms.resources\v4.0_4.0.0.0_es_b77a5c561934e089\System.Windows.Forms.resources.dll

pk3DS.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
D:\Documents\Martín\Juegos\Hack rom\3DS\XYup\pk3DS\pk3DS.Core.dll

mscorlib.resources, Version=4.0.0.0, Culture=es, PublicKeyToken=b77a5c561934e089
C:\windows\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_es_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.
 

error.png

Edited by ChespinArmyX
Link to comment
Share on other sites

Can anyone please tell me now to finalize my Pokemon AS Rom after randomizing it?  I have tried to rebuild as .3ds and Trimmed .3ds but it just creates a "File" not a .3ds file.  What am I missing???

 

Also literally just created a account so I could ask this.

Link to comment
Share on other sites

  • 2 weeks later...
41 minutes ago, Reathe said:

Wait, but what do i download? the guide said to use the merge pull request, but its not there, so what do I download now?

 

It's not specific to that title, you know...

Just open the most recent one, than DL as per the title showed.


@Ixemaa stop posting the same thing everywhere else. You can post it here. This is a dedicated PK3DS thread.

Link to comment
Share on other sites

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