Jump to content

pk3DS: XY ORAS ROM Editor and Randomizer


Recommended Posts

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

STATIC ENCOUNTERS

Exception Details:
System.IndexOutOfRangeException: 索引超出了数组界限。
   在 pk3DS.StaticEncounterEditor6.LoadData() 位置 D:\a\1\s\pk3DS\Subforms\Gen6\StaticEncounterEditor6.cs:行号 74
   在 pk3DS.StaticEncounterEditor6..ctor() 位置 D:\a\1\s\pk3DS\Subforms\Gen6\StaticEncounterEditor6.cs:行号 35
   在 pk3DS.Main.B_Static_Click(Object sender, EventArgs e) 位置 D:\a\1\s\pk3DS\Main.cs:行号 1220
   在 System.Windows.Forms.Control.OnClick(EventArgs e)
   在 System.Windows.Forms.Button.OnClick(EventArgs e)
   在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
   在 System.Windows.Forms.Button.WndProc(Message& m)
   在 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:\PokemonHackerTools-3DS\3DS工具\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=zh-Hans, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms.resources\v4.0_4.0.0.0_zh-Hans_b77a5c561934e089\System.Windows.Forms.resources.dll

pk3DS.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
D:\PokemonHackerTools-3DS\3DS工具\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

mscorlib.resources, Version=4.0.0.0, Culture=zh-Hans, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_zh-Hans_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.

 

 

11 hours ago, MegaBlaziken257 said:

STATIC ENCOUNTERS

Exception Details:
System.IndexOutOfRangeException: 索引超出了数组界限。
   在 pk3DS.StaticEncounterEditor6.LoadData() 位置 D:\a\1\s\pk3DS\Subforms\Gen6\StaticEncounterEditor6.cs:行号 74
   在 pk3DS.StaticEncounterEditor6..ctor() 位置 D:\a\1\s\pk3DS\Subforms\Gen6\StaticEncounterEditor6.cs:行号 35
   在 pk3DS.Main.B_Static_Click(Object sender, EventArgs e) 位置 D:\a\1\s\pk3DS\Main.cs:行号 1220
   在 System.Windows.Forms.Control.OnClick(EventArgs e)
   在 System.Windows.Forms.Button.OnClick(EventArgs e)
   在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
   在 System.Windows.Forms.Button.WndProc(Message& m)
   在 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:\PokemonHackerTools-3DS\3DS工具\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=zh-Hans, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms.resources\v4.0_4.0.0.0_zh-Hans_b77a5c561934e089\System.Windows.Forms.resources.dll

pk3DS.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
D:\PokemonHackerTools-3DS\3DS工具\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

mscorlib.resources, Version=4.0.0.0, Culture=zh-Hans, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_zh-Hans_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.

 

HOW CAN I DO TO SOLVE THE PROBLEM?

Link to comment
Share on other sites

  • 2 weeks later...

Exception Details:
System.FormatException: Invalid GARC Version: 0x0000
   在 pk3DS.Core.CTR.GARC.UnpackGARC(Stream stream)
   在 pk3DS.Core.CTR.GARC.UnpackGARC(Byte[] data)
   在 pk3DS.Core.GameConfig.GetMemGARC(String file)
   在 pk3DS.Core.GameConfig.GetGARCByReference(GARCReference gr)
   在 pk3DS.Core.GameConfig.InitializeGameText()
   在 pk3DS.Core.GameConfig.InitializeAll()
   在 pk3DS.Main.OpenQuick(String path) 位置 D:\a\1\s\pk3DS\Main.cs:行号 231
   在 pk3DS.Main.B_Open_Click(Object sender, EventArgs e) 位置 D:\a\1\s\pk3DS\Main.cs:行号 102
   在 System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   在 System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   在 System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   在 System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   在 System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   在 System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 System.Windows.Forms.ToolStrip.WndProc(Message& m)
   在 System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   在 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
G:\firefoxdownload\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=zh-Hans, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms.resources\v4.0_4.0.0.0_zh-Hans_b77a5c561934e089\System.Windows.Forms.resources.dll

pk3DS.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
G:\firefoxdownload\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

mscorlib.resources, Version=4.0.0.0, Culture=zh-Hans, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_zh-Hans_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

I am going through the code (as a learning exercise).  

MegaBlaziken257: Your error above is saying that it cannot identify your version of the game because the GARC file is not returning a valid version number.  Without seeing your setup, I can’t say too much more.  

I would try and re-dump your game.  Make sure you decompressed everything into a new folder(keep all subdirectories intact) and don’t add anything to that folder or change anything. When you open PK3DS, it needs to point to that new folder.  The new folder should only have 2 subdirectories (“exefs”, and “romfs”) and “exheader.bin”.  Also make sure everything has read and write permission.

edit: you can also extract from compressed formats but you will still need to extract it out with your 3DS.

Now then.  I did find one bug that is easy to correct.  Call rates are not being recorded in the text dump function of the Personal Stats Editor for Gen 7.  It’s an easy bug to fix, but I need to figure out how to send code changes to the github project.  I am also looking at why a bunch of encounter tables weren’t being read, but this might be an issue with my setup.

Edit:  I was wrong.  I am comparing the results of this program to another randomizer, universal Pokemon randomizer zx.  That one just eliminates areas without tables.

edit2: Jung, try increasing your screen resolution.  The image doesn’t scale with the form.  The developer can possibly fix it but it requires code changes.

Edited by ConcernedUser
Link to comment
Share on other sites

I have a question wild encounters:  what happens if you balance the encounter slot rates so they are all even?  
 

A grass patch has 10 slots.  These are typically set to:

20, 20, 10, 10, 10, 10, 10, 5, 4, and 1%
 

What happens if you set them all to 10%?  Does it weigh them all as equal?  Is there an additional formula for how an encounter slot is picked?

 I was playing with the code and just added an option for re-balancing rate distributions.

Link to comment
Share on other sites

 

Exception Details:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.BitConverter.ToUInt64(Byte[] value, Int32 startIndex)
   at pk3DS.Core.CTR.Exheader..ctor(String EXHEADER_PATH)
   at pk3DS.Core.CTR.NCCH.ExtractExheader(String NCCH_PATH, String outputDirectory, RichTextBox TB_Progress)
   at pk3DS.Core.CTR.NCCH.ExtractNCCHFromFile(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
E:\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

pk3DS.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
E:\drop\pk3DS\bin\Release\pk3DS.Core.dll

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

 

i am getting error similar to the ones above when trying to randomize ultra sun

plz put a proper answer here on how to solve this.

a detailed answer.....

 

 

Link to comment
Share on other sites

When you post an error like that, you should also post what part of the process you were in.

 

Anyway, here is how I got mine to work on actual hardware.

1) set up 3DS for homebrew.  You need to install Luma3DS, Godmode9, and FBI along with all their prerequisites.

 

2) purchase and download the game.  I’m not white knighting here.  This makes sure you have a working and clean copy which you will need for the next step.

 

3) boot into Godmode9 and dump your game to .CXI format.  I have not tested the “Build CIA” options but the CXI will extract properly later on.

 

4) copy the .CXI file from your SD card to your PC.  It should be in the “GM9\out” folder on your SD card.

 

5) in PK3DS, go to Tools->Extract->.CXI.  Click Ok and select your .CXI file.  Create a new folder and name it.  This is your original extracted copy.  
 

6) make a copy of your folder from the last step.  This is going to be your randomized game.

 

7) in PK3DS go to File->Open and select the folder you created in the last step.  Apply your randomization and check that they all saved by closing and re-opening the editors.

 

8. go to Tools->Rebuild->.3DS.  Pick a file name and location to save the file. This is important and will take a bit of time.  It does not currently tell you when it is done.    Wait for the green bar at the bottom to fill up and stop resetting.  The file should be roughly the same size as your .CXI file.  
 

9) Rename the new file with a .3DS extension.

 

10) copy the new file to your SD card.  Put it in Gm9\in.

 

11) boot into Godmode9 and load up the GM9MegaScript.  Under “Miscellaneous” there is a “.3ds to .cia Converter”.  Run this on your .3DS file.

 

12) (optional) move the .CIA file to another folder on your card.  It will be in Gm9\out.

 

13) (optional) delete .3DS file from Gm9\in

 

14) boot your 3DS and run FBI.  From here you can install your new .CIA file.  It will overwrite your installed game with your hack.  
 

I don’t know how to give it an original name so it can coexist with the original copy.  You will have to use your PC to keep backups.  I also don’t know what happens to your save files or if updates apply.  I suspect that the former is carried over and the later should work because the hardware recognizes the hacked game as the same ID as the original.

Edit:  your save file gets removed when you install the hacked .CIA.  No idea if you can back up and restore it.

 I hope this can help others.  Whatever I wasn’t clear about can be found via Google and I have not linked to anything so as not to get anyone in trouble.  As of now, everything I mentioned is available through a google search or for purchase through Nintendo.

My rate distribution hack worked in my tests.  I was able to encounter all 10 species in around 20 encounters.

 

Edited by ConcernedUser
Link to comment
Share on other sites

Hello, sorry if this was answered before but I couldn't find anything on google.
I want to know how the AI bits work.

For example, Hau is set to only Basic.
But Ilima has Basic, Strong and Expert all ticked in.

So I want to know if I want to make a trainer have the best possible AI do I need to leave at that and have all 3 checked or would unchecking Basic and Strong and only leaving Expert ticked would be the best AI.
Or would that make it worse and they need the other 2 for other actions?
Thank you.

Oh and also two more things, what does PokeChange mean? My best guess is that it... allows them to switch out pokemon? Is that right?
And Battle Mode has options 3/4 (in sun/moon) I assume those are placeholders for triple and rotation battles in x/y and oras and don't work, right?
Thank you again.
I really wish the options had highlightable tooltips even if very short ones to explain those tidbits, but this is an awesome tool either way!

Link to comment
Share on other sites

  • 2 weeks later...

So I downloaded it and made some edits to the Pokemon Y emulator I'm running on Citra inside the program, but none of them were reflected in the game. Also, when I attempt to go in and edit things again, I noticed that none of my edited values have saved. I have no idea what I'm doing wrong here, please help. Thanks in advance!

Link to comment
Share on other sites

i need help, i've all randomize for pokemon Y but my game don't apply random wild encounter, why my game don't randomize wild encounter ? (pk3ds keep randomization, it work on software but not apply on the game)

 

my game work very well, i don't have any crash report or something, any problem, just wild encounter doesn't work for me why ?

Edited by Asther
Link to comment
Share on other sites

For wild randomization,  make sure you close out the wild randomizer window before exiting the whole application.  Your changes are not saved until then.  Also make sure your files are not write protected and that you recompiled your game properly and from your edited copy.

 

Neonoafs:  there should be Gen flags in the wild randomizer window near the bottom to include or exclude each generation.  At least there are in the Gen7 wild randomizer.  Gen6 looks a bit down-scaled, so it might not be there.

Link to comment
Share on other sites

i can all randomize excepte wild

after i closed windows 46910202_Capturedcran2021-04-06030852.png.809a276158763f3a24b7a70122ef247f.png

green bar never disapear and i can do other in same time with no problem

 

no pokemon in this list appear in route 2625069158_Capturedcran2021-04-06031557.png.1c1d85d93876d11fbf6fa17eef440de7.png

1137043792_Capturedcran2021-04-06031928.png.488713a1e032ae3dd5e998d55943420c.png

he's not in the list

 

490142476_Capturedcran2021-04-06032116.png.bf378c765e19e7b5a600a34a7a8b86cb.png The 1st trainer youngster don't have this in original game, random work

765028450_Capturedcran2021-04-06031951.png.5a26ea1d7949e9080a14d6c2a4f9305d.png516664078_Capturedcran2021-04-06032016.png.1f872048514242d036534a35bd6b14dd.png

pokemon and ability work too

just wild encounter don't work but software say success, wtf ?

 

GARC is wild, i checked after reopen and reclose and GARC lines reappear

 

ah other probleme in 1st screen all in CRO and ExeFS don't randomize at all as well. Anyway the number of try nothig changed (my rom is correctly decrypted for citra)

bug report for ExeFS :

 

Exception Details:
System.IO.DirectoryNotFoundException: Impossible de trouver une partie du chemin d'accès 'D:\Desktop\rom hacking pokemon sur 3ds\jeu en cour de modification\ExtractedExeFS'.
   à System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   à System.IO.FileSystemEnumerableIterator`1.CommonInit()
   à System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   à System.IO.Directory.GetFiles(String path)
   à pk3DS.TMHMEditor6..ctor() dans D:\a\1\s\pk3DS\Subforms\Gen6\TMHMEditor6.cs:ligne 16
   à pk3DS.Main.B_TMHM_Click(Object sender, EventArgs e) dans D:\a\1\s\pk3DS\Main.cs:ligne 1057
   à System.Windows.Forms.Control.OnClick(EventArgs e)
   à System.Windows.Forms.Button.OnClick(EventArgs e)
   à System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   à System.Windows.Forms.Control.WndProc(Message& m)
   à System.Windows.Forms.ButtonBase.WndProc(Message& m)
   à System.Windows.Forms.Button.WndProc(Message& m)
   à 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:\Desktop\rom hacking pokemon sur 3ds\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=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

pk3DS.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
D:\Desktop\rom hacking pokemon sur 3ds\drop\pk3DS\bin\Release\pk3DS.Core.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.
You can continue running the program (albeit with potential side-effects), but please report this error.

 

Is it possible that there are missing files into ExeFS ?

Last question : I see pk3ds make backup. It's not my first randomize, i've already do on a 7g game and i'm wondering if it's possible i created conflict beetwin backup of 2 two randomize game ?

Edited by Asther
Link to comment
Share on other sites

There is no end-message on the green progress bar.  It’s a bug in the form but the file does get written.  I let it sit for 15 minutes or so after it reaches the end to make sure it finishes.

It is possible you might have played the backup instead of your modified game or possibly mixed up files.  This is why you make sure you keep all your files together in the same folder.

 I used a hacked 3DS and a copy of Ultra Moon that I bought off the eShop to randomize my game.  I never tried Citra.  It’s possible that it didn’t properly decrypt if you got error messages about the exef.

Your screenshots are showing Pokemon Y and your directory says “pokemon sur”.  Is that what they called X/Y in Europe or could you have mixed up your games?

Link to comment
Share on other sites

On 4/6/2021 at 7:54 PM, ConcernedUser said:

It’s possible that it didn’t properly decrypt if you got error messages about the exef.

Citra don't decrypt, game is already decrypted before, citra is just an emulator to run game and i havn't error message in the game. Game work perfectly without any crash, error message is from pk3ds

On 4/6/2021 at 7:54 PM, ConcernedUser said:

Your screenshots are showing Pokemon Y and your directory says “pokemon sur”.  Is that what they called X/Y in Europe or could you have mixed up your games?

'sur' is a french word mean "on" like "on the table" it's not a version

 

i don't have mixed up game.

Exemple : i've already trying to randomize pokemon ultra moon and it's working perfectly, no probs. I try to randomize pokemon Y and nope, just wild don't work i'm trying to know how to resolve that error but i'm lost. I don't understand where come the problem

Link to comment
Share on other sites

I found 799 is a lost pokemon(It supposed to be the Mega form of Swampert) inuTools_1618038489158.png.bca862593b4f7f5c0b10acc44c439f5f.png Personal Stats. How to solve it?

DQ})NCKZUUE{]NZR6~XR7SI.png

 

And how to change a pokemon's form to another pokemon's form?(for example, Mega Audino to Mega Arceus?)

 

In addition, how can I change the font that shows on Pk3DS?

 

2 hours ago, MegaBlaziken257 said:

I found 799 is a lost pokemon(It supposed to be the Mega form of Swampert) inuTools_1618038489158.png.bca862593b4f7f5c0b10acc44c439f5f.png Personal Stats. How to solve it?

DQ})NCKZUUE{]NZR6~XR7SI.png

 

And how to change a pokemon's form to another pokemon's form?(for example, Mega Audino to Mega Arceus?)

 

In addition, how can I change the font that shows on Pk3DS?

@ConcernedUserdo you have any ideas?

Link to comment
Share on other sites

On 4/10/2021 at 7:15 PM, theSLAYER said:

@MegaBlaziken257 PLEASE stop multi-posting. If your post is the latest post in a thread, and you have new info to add, edit it INTO your post.

Ouch. Thank you for your guide, I am a new user here and most of the forums in China DO NOT provide editing into the post that have been already posted.

On 7/2/2016 at 11:20 AM, Kaphotics said:

Yes, reverse engineer the battle engine first (DllBattle.cro).

Then what should I do to make more multiple mega evolutions?(I'm not the user who asked the question but I have the same one as him)

 

On 7/2/2016 at 11:20 AM, Kaphotics said:

Yes, reverse engineer the battle engine first (DllBattle.cro).

Then what should I do to make more multiple mega evolutions?(I'm not the user who asked the question but I have the same one as his)

 

On 7/2/2016 at 11:20 AM, Kaphotics said:

Yes, reverse engineer the battle engine first (DllBattle.cro).

Then what should I do to make more multiple mega evolutions?(I'm not the user who asked the question but I have the same one as his)

 

Ouch. Something unexpected occured.(I posted two posts and the one with maybe grammar mistake CAN'T be deleted)

Link to comment
Share on other sites

  • 1 month later...
Posted (edited)

Hey Guys, my Blaziken in my Omega Ruby is bugged.

When i go to it in personal stats, there a Error message and Blaziken has wrong abilities. No problem for me. I fix it. But when i go to mega blaziken, close the window, open it again and serach for mega blaziken its an empty Pokemon without name and Blaziken canot mega evolve into mega blaziken. Same happens when i change one of Mays team with blaziken in it. 

Can somebody pls help me?

 

Edit:

Maybe my Problem is a bit bigger than i first thought. I tried a couple of things. And i tried to change things with a Hex-Editor.

The Main problem is:
Evertime I go in Personal Stats, Blaziken has the wrong abilities. The abilities from the Pokemon i was before Blaziken. Sometimes the Icon and the BST-Field and der Colour arent changing too. I can still work on Mega-Blaziken, until I close personal stats.

If i change the File ExtractedRomFS\a\1\9\a then its working.

I tried to change the ability with a Hex Editor (should be 9140 -> 04 05 06 and 9360 ->04 05 06, i tested with a Clean rom and changed the abilities) but this wouldt solve my case.

I am really begging for help rn. PLS help me.

Edited by Jaggo93
More Info
Link to comment
Share on other sites

Posted (edited)
On 5/14/2021 at 9:12 PM, Jaggo93 said:

Hey Guys, my Blaziken in my Omega Ruby is bugged.

When i go to it in personal stats, there a Error message and Blaziken has wrong abilities. No problem for me. I fix it. But when i go to mega blaziken, close the window, open it again and serach for mega blaziken its an empty Pokemon without name and Blaziken canot mega evolve into mega blaziken. Same happens when i change one of Mays team with blaziken in it. 

Can somebody pls help me?

 

Edit:

Maybe my Problem is a bit bigger than i first thought. I tried a couple of things. And i tried to change things with a Hex-Editor.

The Main problem is:
Evertime I go in Personal Stats, Blaziken has the wrong abilities. The abilities from the Pokemon i was before Blaziken. Sometimes the Icon and the BST-Field and der Colour arent changing too. I can still work on Mega-Blaziken, until I close personal stats.

If i change the File ExtractedRomFS\a\1\9\a then its working.

I tried to change the ability with a Hex Editor (should be 9140 -> 04 05 06 and 9360 ->04 05 06, i tested with a Clean rom and changed the abilities) but this wouldt solve my case.

I am really begging for help rn. PLS help me.

Nothing will work unless you re-extract the game again and use the new a\1\9\5 to replace the old one.

Why can I say that? 'Cause I once had the same prob(It occured to Sceptile and Swampert) and I used my way to solve it.

Remenber, NOT TO MOVE YOUR MOUSE WHEEL SO QUICKLY!

Edited by MegaBlaziken257
Link to comment
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...