Jump to content
Kaphotics

tool pk3DS: 3DS ROM Editor & Randomizer

Recommended Posts

Hello, I was wondering if anyone could give me some direction in trying to randomize Sun Moon running with Citra emulator. ORAS run just fine but tha latest games seem to have problems following the same steps.

Share this post


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

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.

Thank you for the tip, and sorry if this wasn't a good place to ask, but you helped a lot and I figured it out!  I was running the "online version" of the hack, which had different installation instructions.  After reading the instructions for the other versions, I put the files from the zip that went in the "Luma" folder into the extracted romfs folder of a dumped version of Pokemon y, loaded it up on pk3ds, randomized it, and then built it back as a cia file which ran fine through fbi. 

 

Thanks for the help!

Share this post


Link to post
Share on other sites

Hi I currently randomized OR/AS with pk3ds on Hans and when I beat the 3rd gym leader my game freezes. I just made another file with different randomized setting to see if it'll happen again but it's annoying since it takes about 4 hrs to get to that point in the game. Also I have about 13k open blocks on the SD card so there's no way it's s memory problem. Any suggestions would be great thanks

Share this post


Link to post
Share on other sites

Quick question. If I set the shiny roll to 5%, does that make it so it's 5% easier to find one, or does that make it so there's 5% chance to find one?

Share this post


Link to post
Share on other sites

How are you guys opening the shiny editor? Whenever I go to open it, the button is greyed out and is unclickable? Any ideas as to why?

 

Share this post


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

How are you guys opening the shiny editor? Whenever I go to open it, the button is greyed out and is unclickable? Any ideas as to why?

 

exefs editors require the exefs to be unpacked and available according to the folder structure shown in the first post.

Share this post


Link to post
Share on other sites

My exefs folder is unpacked and it still doesn't work, do I need a code.bin or something?

Edited by Kingsbury8

Share this post


Link to post
Share on other sites

What should my exefs folder have in it? Mine only has icon.bin and banner.bin. I'm redumping my game right now to try again.

Share this post


Link to post
Share on other sites

Redumped exefs, got a code.bin this time, still can't click on anything.

Edited by Kingsbury8

Share this post


Link to post
Share on other sites
On 5/16/2017 at 8:07 PM, Kingsbury8 said:

Redumped exefs, got a code.bin this time, still can't click on anything.

Has to be .code.bin, your method of extracting the ExeFS binary is more than likely outdated and does not do this automatically. Just rename the file to have . at the beginning.

Share this post


Link to post
Share on other sites

what  do, i closed pk3ds than that  ? :

Exception Details:
System.Exception: Invalid terminated line: "\["
   bei pk3DS.TextFile.getEscapeValues(Char esc) in C:\BuildAgent\work\b93f10d64d1a1178\pk3DS\Tools\TextFile.cs:Zeile 250.
   bei pk3DS.TextFile.getLineData(String line) in C:\BuildAgent\work\b93f10d64d1a1178\pk3DS\Tools\TextFile.cs:Zeile 164.
   bei pk3DS.TextFile.set_Lines(String[] value) in C:\BuildAgent\work\b93f10d64d1a1178\pk3DS\Tools\TextFile.cs:Zeile 104.
   bei pk3DS.TextFile.getBytes(String[] lines) in C:\BuildAgent\work\b93f10d64d1a1178\pk3DS\Tools\TextFile.cs:Zeile 330.
   bei System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   bei System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   bei System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   bei pk3DS.Main.formClosing(Object sender, FormClosingEventArgs e) in C:\BuildAgent\work\b93f10d64d1a1178\pk3DS\Main.cs:Zeile 138.
   bei System.Windows.Forms.Form.OnFormClosing(FormClosingEventArgs e)
   bei System.Windows.Forms.Form.WmClose(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\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

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

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.

 

Edited by smallerlp

Share this post


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

what  do, i closed pk3ds than that  ? :

Exception Details:
System.Exception: Invalid terminated line: "\["

Re-read the error message. Your custom text is invalid.

Share this post


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

Re-read the error message. Your custom text is invalid.

ahh what do you mean ? i downloaded the new version, 67 ?

same thing :

Exception Details:
System.Exception: Invalid terminated line: "\["
   bei pk3DS.TextFile.getEscapeValues(Char esc) in D:\TeamCity\BuildAgentPPOrg\work\b93f10d64d1a1178\pk3DS\Tools\TextFile.cs:Zeile 250.
   bei pk3DS.TextFile.getLineData(String line) in D:\TeamCity\BuildAgentPPOrg\work\b93f10d64d1a1178\pk3DS\Tools\TextFile.cs:Zeile 164.
   bei pk3DS.TextFile.set_Lines(String[] value) in D:\TeamCity\BuildAgentPPOrg\work\b93f10d64d1a1178\pk3DS\Tools\TextFile.cs:Zeile 104.
   bei pk3DS.TextFile.getBytes(String[] lines) in D:\TeamCity\BuildAgentPPOrg\work\b93f10d64d1a1178\pk3DS\Tools\TextFile.cs:Zeile 330.
   bei System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   bei System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   bei System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   bei pk3DS.Main.formClosing(Object sender, FormClosingEventArgs e) in D:\TeamCity\BuildAgentPPOrg\work\b93f10d64d1a1178\pk3DS\Main.cs:Zeile 138.
   bei System.Windows.Forms.Form.OnFormClosing(FormClosingEventArgs e)
   bei System.Windows.Forms.Form.WmClose(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.67, Culture=neutral, PublicKeyToken=null
C:\Users\Darius\Desktop\pk3ds\pk3ds 2\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

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

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.

 

Edited by smallerlp

Share this post


Link to post
Share on other sites

Same error, same cause.

The custom text you have entered cannot be encoded for the game to use. Do not use backslashes \ in your text lines, only use them for control characters (\r).

Share this post


Link to post
Share on other sites

Hey why can i not open things in the exeFS tap ?

11 hours ago, Kaphotics said:

Same error, same cause.

The custom text you have entered cannot be encoded for the game to use. Do not use backslashes \ in your text lines, only use them for control characters (\r).

But how do i fix it ? i dont edited anything in the text files ?

Share this post


Link to post
Share on other sites
4 hours ago, smallerlp said:

Hey why can i not open things in the exeFS tap ?

But how do i fix it ? i dont edited anything in the text files ?

Make sure in your ExeFS folder, "code.bin" is named ".code.bin".

Share this post


Link to post
Share on other sites
29 minutes ago, sora10pls said:

Make sure in your ExeFS folder, "code.bin" is named ".code.bin".

it is, but it works not

 

Share this post


Link to post
Share on other sites

I randomized my game then tried to boot it up on my ds and i get a black screen. I randomized my friends ds doing the same things but it worked. I did the same thing. Any clue whats going on?

Share this post


Link to post
Share on other sites

So I have the problem that when I run the Personal Stats and randomize everything with the basic options (nothing changed since the startup, just pressed the randomize button) and it finishes I get this error.

 

Exception Details:
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei pk3DS.PersonalEditor6.readEntry() in D:\TeamCity\BuildAgentPPOrg\work\b93f10d64d1a1178\pk3DS\Subforms\Gen6\PersonalEditor6.cs:Zeile 260.
   bei System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
   bei System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
   bei pk3DS.PersonalEditor6.B_Randomize_Click(Object sender, EventArgs e) in D:\TeamCity\BuildAgentPPOrg\work\b93f10d64d1a1178\pk3DS\Subforms\Gen6\PersonalEditor6.cs:Zeile 351.
   bei System.Windows.Forms.Control.OnClick(EventArgs e)
   bei System.Windows.Forms.Button.OnClick(EventArgs e)
   bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
   bei System.Windows.Forms.Button.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.19, Culture=neutral, PublicKeyToken=null
C:\Users\Manu\AppData\Local\Temp\Rar$EXa0.496\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

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.
 

I don't know what it could cause or what has caused this but the randomization has never worked in-game so I'm reporting this error, just in case.

Share this post


Link to post
Share on other sites

Can someone help me with the Move Stats editor? I get most of it but what does the effect part do? And how do you change a move's animation? I want to give Work Up the animation of Geomancy but I think I set something wrong and every time I use it it just says "But it failed". I changed the effect number to Geomancy's thinking it would repoint the animation.

Share this post


Link to post
Share on other sites
2 hours ago, BlazingDiancie said:

Can someone help me with the Move Stats editor? I get most of it but what does the effect part do? And how do you change a move's animation? I want to give Work Up the animation of Geomancy but I think I set something wrong and every time I use it it just says "But it failed". I changed the effect number to Geomancy's thinking it would repoint the animation.

Animation files are in another garc. The effect value is related to the move's in batlle effect code.

Share this post


Link to post
Share on other sites

 

On 5/24/2017 at 7:21 PM, Lukerz said:

I randomized my game then tried to boot it up on my ds and i get a black screen. I randomized my friends ds doing the same things but it worked. I did the same thing. Any clue whats going on?

if you went in to HxD and deleted those line, you need to restore them. I think i had the same problem and you don't need to delete them anymore

Edited by xXShiverXx

Share this post


Link to post
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...