Homebrew PKMN-NTR: Real-time memory editing program for Pokémon games [WIP]

drgoku282

Well-Known Member
OP
Member
Joined
Oct 16, 2014
Messages
427
Trophies
0
Age
31
XP
724
Country
Mexico
is it normal that in soft resetting mirage spot, it soft resets without even seeing the pokemon?

Yes as long the battle is triggered and it shows up in the tabs.

Hi, I just wanted to test the Soft Reset Bot with Ho-Oh in Omega Ruby, and sadly it doesn't work at all. It does the first soft reset just fine but then tries to take the step towards too early, i.e. when the game is still at the title screen. Afterwards it just keeps pressing A to try and trigger the encounter.
used the resume bot option in this example but it doesn't work without it either. I'm using the most recent version of the programm, freshly downloaded and compiled from GitHub.

I never tested it with Ho-Oh, however, when does the bot try to do the step exactly, in the intro animation, title screen or continue scrren?

On another note: I always get an error when I open the programm saying that it doesn't find the file D:\ip.txt

Change the build configuration from "Debug" to "Release"
 
Last edited by drgoku282,

MichiS97

"Leftist snowflake milennial"
Member
Joined
Jun 14, 2011
Messages
1,817
Trophies
2
Age
26
Location
Munich
XP
3,618
Country
Germany
Yes as long the battle is triggered and it shows up in the tabs.



I never tested it with Ho-Oh, however, when does the bot try to do the step exactly, in the intro animation, title screen or continue scrren?



Change the build configuration from "Debug" to "Release"

Thanks for the hint about the build config :)
The bot tries to do the step at the continue screen.
 

drgoku282

Well-Known Member
OP
Member
Joined
Oct 16, 2014
Messages
427
Trophies
0
Age
31
XP
724
Country
Mexico
Digital and New 3DS

Then the problem could be on your SD card, since it loses connection after a soft-reset, the cutscene/title screen/etc. skip is time-based, configured to 9 seconds after a soft-reset. Since you can compile the program, here's the workaround:

In the Solution Explorer go to Bots folder and open SoftResetbot6.cs, Ctrl+F for "skip intro", it will send you to line 577, I think. Above that line is the instrucionn

await Task.Delay(36 * commanddelay);

Change the 36 for some higher number, like 40 or 44, an increase of 4 will make the program wait one more second. Compile again and test.
 
  • Like
Reactions: MichiS97

Real.96

Well-Known Member
Member
Joined
Sep 14, 2015
Messages
1,055
Trophies
0
Age
28
XP
965
Country
Italy
Then the problem could be on your SD card, since it loses connection after a soft-reset, the cutscene/title screen/etc. skip is time-based, configured to 9 seconds after a soft-reset. Since you can compile the program, here's the workaround:

In the Solution Explorer go to Bots folder and open SoftResetbot6.cs, Ctrl+F for "skip intro", it will send you to line 577, I think. Above that line is the instrucionn

await Task.Delay(36 * commanddelay);

Change the 36 for some higher number, like 40 or 44, an increase of 4 will make the program wait one more second.

This problem is also on 6 gen event bot in digital games. I think this problem is for all 6gen digitale games. On event bot it is fixed thanks to the check of the A button pressing. Here there is no check for the step i think....
 
  • Like
Reactions: MichiS97

MichiS97

"Leftist snowflake milennial"
Member
Joined
Jun 14, 2011
Messages
1,817
Trophies
2
Age
26
Location
Munich
XP
3,618
Country
Germany
Then the problem could be on your SD card, since it loses connection after a soft-reset, the cutscene/title screen/etc. skip is time-based, configured to 9 seconds after a soft-reset. Since you can compile the program, here's the workaround:

In the Solution Explorer go to Bots folder and open SoftResetbot6.cs, Ctrl+F for "skip intro", it will send you to line 577, I think. Above that line is the instrucionn

await Task.Delay(36 * commanddelay);

Change the 36 for some higher number, like 40 or 44, an increase of 4 will make the program wait one more second. Compile again and test.

I actually think that my SD card is messing something up. I also get these black screens after soft resetting very often compared to other users. Many users in this thread have said that they get 1000 or more soft resets basically all the time, the most I ever got was 500, most of the time I can't even get 200 without the black screen. I guess I should format my SD card? That'd be a huge pain with all my installed games and everything...

EDIT: Changing the delay to 44 does the job.
 
Last edited by MichiS97,

drgoku282

Well-Known Member
OP
Member
Joined
Oct 16, 2014
Messages
427
Trophies
0
Age
31
XP
724
Country
Mexico
This problem is also on 6 gen event bot in digital games. I think this problem is for all 6gen digitale games. On event bot it is fixed thanks to the check of the A button pressing. Here there is no check for the step i think....

If it affects all gen 6 soft-reset bots, I might increase the waiting time later, most of my tests were in a physical AS + New 3DS, so I might have missed the timing on a digital game, my digital tests were only on a Y game.

I actually think that my SD card is messing something up. I also get these black screens after soft resetting very often compared to other users. Many users in this thread have said that they get 1000 or more soft resets basically all the time, the most I ever got was 500, most of the time I can't even get 200 without the black screen. I guess I should format my SD card? That'd be a huge pain with all my installed games and everything...

For the low reset number, some people have deleted any existing plugin folder, and that helps to reach higher numbers. Think if it is worth it to format your SD card just for this, in my opinion it does not because there is no guarantee to increase the performance, and as I said before, test with a higher waiting time before doing anything.
 

MichiS97

"Leftist snowflake milennial"
Member
Joined
Jun 14, 2011
Messages
1,817
Trophies
2
Age
26
Location
Munich
XP
3,618
Country
Germany
If it affects all gen 6 soft-reset bots, I might increase the waiting time later, most of my tests were in a physical AS + New 3DS, so I might have missed the timing on a digital game, my digital tests were only on a Y game.



For the low reset number, some people have deleted any existing plugin folder, and that helps to reach higher numbers. Think if it is worth it to format your SD card just for this, in my opinion it does not because there is no guarantee to increase the performance, and as I said before, test with a higher waiting time before doing anything.

I have already deleted the plugin folder and it indeed made me reach higher numbers (couldn't even reach 100 before) but yes, I won't format my SD card as I don't think it's worth it. Like I said in my edit above, adjusting the delay to 44 did the job for me
 

MichiS97

"Leftist snowflake milennial"
Member
Joined
Jun 14, 2011
Messages
1,817
Trophies
2
Age
26
Location
Munich
XP
3,618
Country
Germany
I also changed the delay in the skiptitle state to 20 instead of 16 because it still tried to do the step a little too soon sometimes
 
Last edited by MichiS97,

MichiS97

"Leftist snowflake milennial"
Member
Joined
Jun 14, 2011
Messages
1,817
Trophies
2
Age
26
Location
Munich
XP
3,618
Country
Germany
Had to increase the delay in the startgame state as well. I guess the best option would be to add some checks that the step is actually done.
 

drgoku282

Well-Known Member
OP
Member
Joined
Oct 16, 2014
Messages
427
Trophies
0
Age
31
XP
724
Country
Mexico
Had to increase the delay in the startgame state as well. I guess the best option would be to add some checks that the step is actually done.

As I said before connection with the game is lost after a soft-reset, some time ago I tested putting checks during that phase but increases the likelihood of getting a black screen on the next soft-reset, that's why there are no checks.
 
  • Like
Reactions: MichiS97

MichiS97

"Leftist snowflake milennial"
Member
Joined
Jun 14, 2011
Messages
1,817
Trophies
2
Age
26
Location
Munich
XP
3,618
Country
Germany
As I said before connection with the game is lost after a soft-reset, some time ago I tested putting checks during that phase but increases the likelihood of getting a black screen on the next soft-reset, that's why there are no checks.
Fair enough. Well it works fine now anyway :) do you want me to give you the values I've set for the delays?

EDIT: shouldn't have said that. Just got stuck again. My idea would be to have a counter which counts how often the bot tries to read the opponent data, if the counter is higher than a reasonable value, let's say 15, make the bot go back into the walking state.
 
Last edited by MichiS97,

drgoku282

Well-Known Member
OP
Member
Joined
Oct 16, 2014
Messages
427
Trophies
0
Age
31
XP
724
Country
Mexico
Fair enough. Well it works fine now anyway :) do you want me to give you the values I've set for the delays?

Thanks for the offer, but I can't implement them right now, or during the next weeks, the program is being reworked entirely and currently no bot is working, son I have no way to test any change, will keep that in mind when I check that bot.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    +1
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87... +1