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

  • Thread starter fadx
  • Start date
  • Views 113,718
  • 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
28
XP
965
Country
Italy

Stoned

Well-Known Member
Member
Joined
Mar 26, 2014
Messages
2,763
Trophies
2
Age
45
XP
4,392
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
28
XP
965
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,392
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
28
XP
965
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
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/vKQN3UiNNHY?si=fP6ZlFe-DhQf9SW7