Homebrew [WIP] PKMN NTR - Pokémon Gen 6 Memory Editor

  • Thread starter fadx
  • Start date
  • Views 113,389
  • Replies 1,081
  • Likes 32
Status
Not open for further replies.

Real.96

Well-Known Member
Member
Joined
Sep 14, 2015
Messages
1,055
Trophies
0
Age
27
XP
955
Country
Italy

Stoned

Well-Known Member
Member
Joined
Mar 26, 2014
Messages
2,763
Trophies
2
Age
45
XP
4,384
Country
Germany
Black screen? Or connection lost?

--------------------- MERGED ---------------------------


Got same error with the softresetting bot

Connection Lost. Constantly on 107 Sr´s
In Earlier Versions was this a Memory Write Protection Failure exactly on 107 Sr´s
 

Real.96

Well-Known Member
Member
Joined
Sep 14, 2015
Messages
1,055
Trophies
0
Age
27
XP
955
Country
Italy
An Error or an Bug?

While 26/26 attempts the Same Error?

"Basically, trying to fix the blackscreen issue I moved the reconnection with the game from the initial cut-scene to after the game is loaded, that also gives a little disadvantage, after the reset, A button presses are time-based until I send the reconnect command, so there's also a slight chance to lose commands, that's the only part of the bot which can't read the screen."
 

Stoned

Well-Known Member
Member
Joined
Mar 26, 2014
Messages
2,763
Trophies
2
Age
45
XP
4,384
Country
Germany
I dont understand what this on
"Basically, trying to fix the blackscreen issue I moved the reconnection with the game from the initial cut-scene to after the game is loaded, that also gives a little disadvantage, after the reset, A button presses are time-based until I send the reconnect command, so there's also a slight chance to lose commands, that's the only part of the bot which can't read the screen."

I have the Same Error After 106/107 Sr's in all Versions!
 

drgoku282

Well-Known Member
Member
Joined
Oct 16, 2014
Messages
427
Trophies
0
Age
31
XP
724
Country
Mexico
Sad to hear the blackscreen/connection lost issue is still present. However, I think I've found the cause and it's probably fixable.

Basically any process started by the 3DS is assigned a number, called PID (not related PID of the pokémon). It starts at at a number between 0x29 to 0x2F, and in every soft reset this is increased by 0x2, currently, the PID variable is a one byte variable, so when it gets to 0xFE or 0xFF, it overflows to 0x00 or 0x01, which are the pid's of other processes, meanwhile the pokémon game process is in 0x100 or 0x101.

This causes the reading error because the program tries to read a memory location which doesn't exist in the process 0x01 or 0x02, breaking the bot (memory write problem), and likely NTR (black screen). This also explains why the program fails at 106-107 soft resets. For example, if the bot started with a game PID of 0x2A, after 106 resets the PID becomes 0xFE, in the next reset it will become 0x100, but the program tries to read the 0x00 process.

Currently testing this theory (game process started at 0x2C, currently at 0x6D), if this theory is true, is fixable by making the PID a 8-byte variable.
 
Last edited by drgoku282,

Real.96

Well-Known Member
Member
Joined
Sep 14, 2015
Messages
1,055
Trophies
0
Age
27
XP
955
Country
Italy
Sad to hear the blackscreen/connection lost issue is still present. However, I think I've found the cause and it's probably fixable.

Basically any process started by the 3DS is assigned a number, called PID (not related PID of the pokémon). It starts at at a number between 0x29 to 0x2F, and in every soft reset this is increased by 0x2, currently, the PID variable is a one byte variable, so when it gets to 0xFE or 0xFF, it overflows to 0x00 or 0x01, which are the pid's of other processes, meanwhile the pokémon game process is in 0x100 or 0x101.

This causes the reading error because the program tries to read a memory location which doesn't exist in the process 0x01 or 0x02, breaking the bot (memory write problem), and likely NTR (black screen). This also explains why the program fails at 106-107 soft resets. For example, if the bot started with a game PID of 0x2A, after 106 resets the PID becomes 0xFE, in the next reset it will become 0x100, but the program tries to read the 0x00 process.

Currently testing this theory (game process started at 0x2C, currently at 0x6D), if this theory is true, is fixable by making the PID a 8-byte variable.
Oh God the hype is so high :O let us know man! :D
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Julie_Pilgrim @ Julie_Pilgrim:
    the internet
  • Julie_Pilgrim @ Julie_Pilgrim:
    @Psionic Roshambo i have 16 gb in my pc and i run into issues with ram more than i'd like to admit
  • HiradeGirl @ HiradeGirl:
    I got only 8GB of RAM. But I want 32GB.
  • Sonic Angel Knight @ Sonic Angel Knight:
    Time to just download more ram
  • K3Nv2 @ K3Nv2:
    Yeah search Google
  • Sonic Angel Knight @ Sonic Angel Knight:
    Or, I also heard that if you use flash memory, it can act as more "RAM" at least windows tell me when I stick a flash drive into it.
  • Veho @ Veho:
    It can act as a swap drive but that isn't more RAM, it's slooow.
  • K3Nv2 @ K3Nv2:
    I wish we could have 1Gbps external storage by now
  • K3Nv2 @ K3Nv2:
    Like for micro
  • Veho @ Veho:
    New Myoo.
  • SylverReZ @ SylverReZ:
    @Veho, Yooo noice
  • SylverReZ @ SylverReZ:
    Looks like a Famicom handheld
  • Veho @ Veho:
    Yeah, they were going for that.
  • Veho @ Veho:
    It's not very good though.
  • Veho @ Veho:
    I'm watching the review, the emulators it uses suck bawls.
  • Veho @ Veho:
    Software update might improve it.
  • Psionic Roshambo @ Psionic Roshambo:
    Or maybe someone will make like Emulation Station for it or something?
  • Veho @ Veho:
    That counts as a software update :tpi:
    +1
  • OctoAori20 @ OctoAori20:
    Ello
  • K3Nv2 @ K3Nv2:
    I can think of the design teams process another joystick and no audio or a joystick and mono audio
  • Veho @ Veho:
    "You think we can just put the speakers at the top
    ?" "NO!"
    +1
  • K3Nv2 @ K3Nv2:
    Pft stereo speakers you're fired
    +1
    K3Nv2 @ K3Nv2: Pft stereo speakers you're fired +1