Jump to content

Regnum

Member
  • Content Count

    23
  • Joined

  • Last visited

Everything posted by Regnum

  1. Version 1.1.4

    133 downloads

    This program can build custom Gen 5 Pokémon Distribution ROMs from a .pgf event file and a clean copy of the Liberty Ticket distribution ROM (both not included). The source code can be found on GitHub. I may forget to update the file here, so be sure to check the GitHub Releases. With this program you can: - Change the .pgf event file - Create your own .pgf file - Change the date limit - Change which games can receive the event - Change which games region can receive the event (partially tested | only tested with English and French copies) - Change the event text that appears upon receiving
  2. That guide you gave me says that Giratina is Method J
  3. So RNGReporter is saying that Shiny Giratina is possible with my IDs?
  4. Shiny locks weren't introduced until Gen 5 with Victini, Reshiram and Zekrom being shiny locked
  5. Lately, I've been shiny hunting distortion world Giratina in Pokémon Platinum, but it's been taking forever. Now I'm wondering if it can even shine for me, so I started looking into TSV for Gen 4 but can only find stuff for Gen 6 and 7. So how is TSV calculated in Gen 4? Because what I've found is TID xor SID = TSV, but when I put my IDs in it gives me 0.
  6. So that I'm prepared for next time (had to find out from a gamestop employee when I asked them for the Regigigas/Heatran code), does anyone know how Entei/Raikou and the rest of the events are being distributed.
  7. Is the Regigigas/Heatran event serial code the same for everyone? Turns out my Pokémon trainer club account didn’t have the receive newsletters option selected.
  8. Isn’t UInt16 suppose to be two bytes?
  9. I tried incrementing forward as you said and found that byter(z) = blocka(z) Xor rand() is equal to byter(z) = 0xAA60CFF and byter() is UInt16. So I changed byter(z) = block_(z) Xor rand() to byter(z) = CType((block_(z) Xor rand()), System.UInt16), now the function rand() is giving me the System.OverflowException error.
  10. It gave me 0x35C7F1EE, but the pk5 file in HxD says 0xEEF1C735.
  11. I tried that, but the error persists. I then tried: Private Sub toEnc() Dim myFile As String = OpenFileDialog1.FileName Dim myBytes As Byte() = My.Computer.FileSystem.ReadAllBytes(myFile) Dim txtTemp As New System.Text.StringBuilder() For Each myByte As Byte In myBytes txtTemp.Append(myByte.ToString("X2")) Next RichTextBox1.Text = txtTemp.ToString() Dim myData = RichTextBox1.Text Dim pkx As Byte() = HexStringToByteArray(myData) Dim ekx() As Byte = encrypt(pkx) End Sub Private Shared Function HexStringToByteArray(ByRef strInput As String) As Byte() Dim length As Integer Dim bOutput As Byte() Dim c(1) As Integer length = strInput.Length / 2 ReDim bOutput(length - 1) For i As Integer = 0 To (length - 1) For j As Integer = 0 To 1 c(j) = Asc(strInput.Chars(i * 2 + j)) If ((c(j) >= Asc("0")) And (c(j) <= Asc("9"))) Then c(j) = c(j) - Asc("0") ElseIf ((c(j) >= Asc("A")) And (c(j) <= Asc("F"))) Then c(j) = c(j) - Asc("A") + &HA ElseIf ((c(j) >= Asc("a")) And (c(j) <= Asc("f"))) Then c(j) = c(j) - Asc("a") + &HA End If Next j bOutput(i) = (c(0) * &H10 + c(1)) Next i Return (bOutput) End Function
  12. The file is being loaded with: Dim myFile = OpenFileDialog1.FileName Dim pkx() As Byte = My.Computer.FileSystem.ReadAllBytes(myFile) Dim ekx = encrypt(pkx)
  13. I keep getting a System.OverflowException at the Select Case firstblock.
  14. I was able to find this: PKM Encrypt.cs Problem is I don't understand C#.
  15. So like this: 'block shuffling stuff srnd(chksum) rand()
  16. So, where does the checksum come in?
  17. Thanks. Now, how do I use the formula, X[n+1] = (0x41C64E6D * X[n] + 0x6073), what do I put for X[n] and X[n+1]?
  18. I had looked at those, it’s that I don’t know how to apply the formulas written there.
  19. How do I convert *.pkx to *.ekx, x being 4, 5, 6, or 7? I'm trying to write a program in Visual Basic, and I need it to be able to encrypt *.pkx files into *.ekx files. The problem is I can't figure out how.
  20. Thanks for trying @theSLAYER, I tried what you said and i got this... I'm unable to move or open the menu. All i can do is reset the game.
  21. Could someone help me? I'm try to transfer a save from blue to red, i was able to transfer all my data, but i was unable to set the ingame events to as if i already went thru them. Could someone tell me how to do that or can someone help find a save file that's just beaten the Fuchsia Gym and hasn't gone thru Silph Co. nor the Rocket Game Corner and hasn't beaten the Saffron, Cinnabar and Viridian Gyms. My Blue save is attached below to supply further info on what Red save I am looking for, and for if anyone is looking for a save for Blue. sav.dat And this is my attempt at converting a blue save to Red. sav.dat
  22. I have the bottle cap (#0599) and the big nugget (#2042) events. I exported them from my save after I had already received them, so I have no photos. As for their authenticity, I tried to see if it were possible to edit the files, but PKHeX gives me; Alert: Mystery Gift is not a Pokémon, so I couldn't edited them even if I wanted to. Card # 0599 - Get a boost with a Bottle Cap!.wc7 Card # 2042 - とくべつばん きんのたま.wc7
×
×
  • Create New...