Jump to content

Regnum

Member
  • Content Count

    23
  • Joined

  • Last visited

Community Reputation

2 Neutral

About Regnum

  • Rank
    New Member

Recent Profile Visitors

486 profile views
  1. Version 1.1.3

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