Endermeen Posted February 19, 2018 Posted February 19, 2018 (edited) I'm randomizing Ultra Moon, each time I want to enter the Personal Stats tab, I get this error message and it crashes the program, I have my anti-virus on and running in admin mode: 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__34_0() in C:\BuildAgent\work\86ef6ef9a1b8eb38\pk3DS\Main.cs:line 552 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.301, Culture=neutral, PublicKeyToken=null C:\Users\Ameen\Desktop\3DS Randomizer Pack\Step 2 - Randomize\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 pk3DS.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null C:\Users\Ameen\Desktop\3DS Randomizer Pack\Step 2 - Randomize\pk3DS.Core.dll -------------------- User Message: An unhandled exception has occurred. The program must now close. Edited February 19, 2018 by Endermeen
Kaphotics Posted February 19, 2018 Author Posted February 19, 2018 4 hours ago, Endermeen said: I have my anti-virus on Again, if you have an extremely aggressive antivirus that is causing other problems, you'll need to keep it disabled or add exclusions so it doesn't mess with pk3DS. If your antivirus stops pk3DS from setting data correctly, you'll get these generic errors every time. Start with a clean ROM dump (so that all files are present as intended), then neuter your antivirus so it stops interfering with the program.
Endermeen Posted February 19, 2018 Posted February 19, 2018 10 minutes ago, Kaphotics said: Again, if you have an extremely aggressive antivirus that is causing other problems, you'll need to keep it disabled or add exclusions so it doesn't mess with pk3DS. If your antivirus stops pk3DS from setting data correctly, you'll get these generic errors every time. Start with a clean ROM dump (so that all files are present as intended), then neuter your antivirus so it stops interfering with the program. I have kaspersky right now and I have it disabled which allows me to enter the other tabs fine, the Rom dump I'm using is currently somewhat randomized, should I dump it again and start the randomization process over?
Kaphotics Posted February 19, 2018 Author Posted February 19, 2018 3 minutes ago, Endermeen said: should I dump it again and start the randomization process over? Yes. Maybe try restoring original files first and see if that fixes it (before starting completely over). 1
Endermeen Posted February 19, 2018 Posted February 19, 2018 Unfortunatly, no dice, I tried a fresh copy but the error when launching both TMs or anything in the ExeFS tab as well as Personal Stats will end up giving me that error. I know for sure it has something to do with my system and not the actual file itself, I just need to figure out what could be potentially causing this and I'm willing to delete whatever software is causing this.
Endermeen Posted February 20, 2018 Posted February 20, 2018 Could it have something to do with the .dll files? It seems to be telling me more about them, I've been asking around and thats a response a got, I tried to turn off firewall too,I guess I have no other choice but try it on another system? That's horrible though.
DonnellyFTW Posted February 28, 2018 Posted February 28, 2018 Hello, I'm having issues randomising the Starters on Alpha Sapphire. I've Extracted the RomFS and ExeFS and randomised them using pk3DS but when I'm not sure what to copy (I imagine the .code.bin) to get the data from the CRO across. Any help is much appreciated
sora10pls Posted February 28, 2018 Posted February 28, 2018 4 hours ago, DonnellyFTW said: Hello, I'm having issues randomising the Starters on Alpha Sapphire. I've Extracted the RomFS and ExeFS and randomised them using pk3DS but when I'm not sure what to copy (I imagine the .code.bin) to get the data from the CRO across. Any help is much appreciated Pro-tip: sort by date modified to see what files were changed when moving files over with your LayeredFS. Generation 6 - DllBattle.cro: Type Chart - DllField.cro: Static Encounters, Gift Pokemon, Starter Pokemon - DllPoke3Select.cro: Starter Pokemon (3D model replacement) Generation 7 - Shop.cro: Poke Mart inventories
DonnellyFTW Posted February 28, 2018 Posted February 28, 2018 1 hour ago, sora10pls said: Pro-tip: sort by date modified to see what files were changed when moving files over with your LayeredFS. Generation 6 - DllBattle.cro: Type Chart - DllField.cro: Static Encounters, Gift Pokemon, Starter Pokemon - DllPoke3Select.cro: Starter Pokemon (3D model replacement) Generation 7 - Shop.cro: Poke Mart inventories Thanks for this. New issue however. After now moving those Cro files to my SD Card, the game now crashes whenever I try to load the save - or start a new game just before exiting the truck. If I take them off, it loads perfectly fine. I've also tried rerandomising those CRO's to check if that was the cause but had the same result. Any ideas?
sora10pls Posted February 28, 2018 Posted February 28, 2018 44 minutes ago, DonnellyFTW said: After now moving those Cro files to my SD Card, the game now crashes whenever I try to load the save - or start a new game just before exiting the truck. Make sure you're using Luma LayeredFS on the latest release of Luma3DS (9.0); the issue you're describing is the RO module not being patched.
khanghuynh93 Posted March 1, 2018 Posted March 1, 2018 (edited) Hi, Can you please explain to me the Effect box, the Flags boxes, as well as the 0xB box ? What value can I put in there ? In other words, do you have a chart of those values ? For example, if I want Freeze Shock a 1- turn move with 30% chance of paralysis, what value should I put into the Effect box ? What value should be put for the Flags boxes ? If i change the values, would the animation for the move be different ? I changed the value for Flags 1 box to 175, yet nothing changed. Also, I wanted to edit ablities, yet I don't know how to do it. For example, I really like the Delta Stream ability due to its ability to reduce damage done to flying types; however, it is easily negated by Air Lock, or changed by Primal Weathers. As a result, I want the Delta Stream not only change the current weather to strong wind, but also prevents other weathers ( including Air Lock, Desolated Lands, Primordial Sea ) from taking effect Edited March 1, 2018 by khanghuynh93
DonnellyFTW Posted March 1, 2018 Posted March 1, 2018 (edited) 16 hours ago, sora10pls said: Make sure you're using Luma LayeredFS on the latest release of Luma3DS (9.0); the issue you're describing is the RO module not being patched. I've just checked and I am. If it helps I also used CRO with no issues with UM a month ago Edited March 1, 2018 by DonnellyFTW spelling error
sora10pls Posted March 1, 2018 Posted March 1, 2018 7 hours ago, DonnellyFTW said: I've just checked and I am. If it helps I also used CRO with no issues with UM a month ago Do you have update data for your game installed? You're likely running the latest version of ORAS (v1.4) with a dump from the game (no update data, v1.0). If there's a mismatch between what's installed (1.4) and what's on your SD Card (1.0) in terms of ExeFS and CROs, the game will crash. Either dump the 1.4 update data and use that in your editing process when using pk3DS, or delete your game's update data and run the 1.0 data. 1
DonnellyFTW Posted March 1, 2018 Posted March 1, 2018 55 minutes ago, sora10pls said: Do you have update data for your game installed? You're likely running the latest version of ORAS (v1.4) with a dump from the game (no update data, v1.0). If there's a mismatch between what's installed (1.4) and what's on your SD Card (1.0) in terms of ExeFS and CROs, the game will crash. Either dump the 1.4 update data and use that in your editing process when using pk3DS, or delete your game's update data and run the 1.0 data. Thanks for this, turns out this was the issue and it is now working properly
DonnellyFTW Posted March 2, 2018 Posted March 2, 2018 19 hours ago, sora10pls said: Do you have update data for your game installed? You're likely running the latest version of ORAS (v1.4) with a dump from the game (no update data, v1.0). If there's a mismatch between what's installed (1.4) and what's on your SD Card (1.0) in terms of ExeFS and CROs, the game will crash. Either dump the 1.4 update data and use that in your editing process when using pk3DS, or delete your game's update data and run the 1.0 data. One last issue, I can't randomise the items in game. I believe I've put everything in the right place, but I'm not sure. Again any help is appreciated.
khanghuynh93 Posted March 2, 2018 Posted March 2, 2018 On 1/3/2018 at 2:22 PM, khanghuynh93 said: Hi, Can you please explain to me the Effect box, the Flags boxes, as well as the 0xB box ? What value can I put in there ? In other words, do you have a chart of those values ? For example, if I want Freeze Shock a 1- turn move with 30% chance of paralysis, what value should I put into the Effect box ? What value should be put for the Flags boxes ? If i change the values, would the animation for the move be different ? I changed the value for Flags 1 box to 175, yet nothing changed. Also, I wanted to edit ablities, yet I don't know how to do it. For example, I really like the Delta Stream ability due to its ability to reduce damage done to flying types; however, it is easily negated by Air Lock, or changed by Primal Weathers. As a result, I want the Delta Stream not only change the current weather to strong wind, but also prevents other weathers ( including Air Lock, Desolated Lands, Primordial Sea ) from taking effect Someone please help me
sora10pls Posted March 2, 2018 Posted March 2, 2018 3 hours ago, DonnellyFTW said: One last issue, I can't randomise the items in game. I believe I've put everything in the right place, but I'm not sure. Wild Pokémon held items are in the Personal Stats Editor, and Pickup items are in the Pickup Editor. Field items (and anything related to scripting) can’t be edited as of now.
DonnellyFTW Posted March 2, 2018 Posted March 2, 2018 11 minutes ago, sora10pls said: Wild Pokémon held items are in the Personal Stats Editor, and Pickup items are in the Pickup Editor. Field items (and anything related to scripting) can’t be edited as of now. Apologies, I meant the PokeMart's in the ExeFS tab. I've randomised them in PK3ds but it's not showing up in the game properly
sora10pls Posted March 2, 2018 Posted March 2, 2018 Just now, DonnellyFTW said: Apologies, I meant the PokeMart's in the ExeFS tab. I've randomised them in PK3ds but it's not showing up in the game properly Move .code.bin to /luma/titles/<title_id>/ and rename it to code.bin 1
DonnellyFTW Posted March 2, 2018 Posted March 2, 2018 1 hour ago, sora10pls said: Move .code.bin to /luma/titles/<title_id>/ and rename it to code.bin Thank you, this works. You've been a great help
dr.sycamore11 Posted March 4, 2018 Posted March 4, 2018 Hi I'm trying to randomize pokemon Sun. I've dumped from a physical cartridge and turned off my anti-virus. However after exiting pk3ds, even if I made no changes to the ROM, I get the following error: Any changes that are made are not saved. Any help is appreciated. Exception Details: System.IO.IOException: The file exists. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Path.InternalGetTempFileName(Boolean checkHost) at pk3DS.Core.CTR.GARC.packGARC(Byte[][] data, Int32 version, Int32 contentpadnearest) at pk3DS.Core.CTR.GARC.MemGARC.set_Files(Byte[][] value) at pk3DS.Main.formClosing(Object sender, FormClosingEventArgs e) in C:\BuildAgent\work\86ef6ef9a1b8eb38\pk3DS\Main.cs:line 134 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.307, Culture=neutral, PublicKeyToken=null C:\Users\user\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\user\Downloads\3DS Randomizer Pack\3DS Randomizer Pack\Step 2 - Randomize\pk3DS.Core.dll -------------------- User Message: An unhandled exception has occurred. You can continue running the program (albeit with potential side-effects), but please report this error.
Kaphotics Posted March 5, 2018 Author Posted March 5, 2018 16 hours ago, dr.sycamore11 said: Hi I'm trying to randomize pokemon Sun. I've dumped from a physical cartridge and turned off my anti-virus. However after exiting pk3ds, even if I made no changes to the ROM, I get the following error: Any changes that are made are not saved. Any help is appreciated. Exception Details: System.IO.IOException: The file exists. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Path.InternalGetTempFileName(Boolean checkHost) Open a new Windows Explorer view (Windows Key + E), and enter "%TEMP%" (no quotes) into the search bar and press enter. You can probably delete all the files there (or maybe just run ccleaner or another cleaning utility). Basically pk3DS tries to get a temporary file location, but the random file it gets is already used (failing).
SevKnife Posted March 8, 2018 Posted March 8, 2018 Hello, I was trying to access the personal stats for my pokemon Y game and this error popped up. Any ideas? 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__34_0() in C:\BuildAgent\work\86ef6ef9a1b8eb38\pk3DS\Main.cs:line 545 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.308, Culture=neutral, PublicKeyToken=null C:\Users\Stayin Alive\Desktop\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\Stayin Alive\Desktop\3DS Randomizer Pack\Step 2 - Randomize\pk3DS.Core.dll -------------------- User Message: An unhandled exception has occurred. The program must now close.
Machine1D0L Posted March 10, 2018 Posted March 10, 2018 I'm trying to randomize my copy of Alpha Sapphire, but every time I attempt to edit anything in the EXEFS tab, I get the following error. Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array. at pk3DS.Core.Util.IndexOfBytes(Byte[] array, Byte[] pattern, Int32 startIndex, Int32 count) at pk3DS.OPower..ctor() in C:\BuildAgent\work\86ef6ef9a1b8eb38\pk3DS\Subforms\Gen6\OPower.cs:line 22 at pk3DS.Main.B_OPower_Click(Object sender, EventArgs e) in C:\BuildAgent\work\86ef6ef9a1b8eb38\pk3DS\Main.cs:line 948 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.309, Culture=neutral, PublicKeyToken=null C:\Users\Neo\Downloads\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\Neo\Downloads\3DS Randomizer Pack\Step 2 - Randomize\pk3DS.Core.dll -------------------- User Message: An unhandled exception has occurred. You can continue running the program (albeit with potential side-effects), but please report this error.
Machine1D0L Posted March 11, 2018 Posted March 11, 2018 (edited) When I attempt to use the Personal Stats button under ROMFS, the program immediately closes. I'm not given any error message. This occurs with my Alpha Sapphire game. Edited March 14, 2018 by Machine1D0L More accurate
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now