Jump to content
Sign in to follow this  
CharizardOutrage2

PID legality using DeSmuMe nightly

Recommended Posts

I want to RNG event Pokémon using the ds emulator “DeSmuMe”. I want to use lua scripts to check the frame and seed. RunAsDate will set the correct time (with the option that It won’t change, so I don’t have to hurry up to start the emulation).

 

Will the PID generated this way be legit? Or are they wrong like some gba emulator made invalid pids like previously reported by users?

Edited by CharizardOutrage2

Share this post


Link to post
Share on other sites
3 hours ago, CharizardOutrage2 said:

I want to RNG event Pokémon using the ds emulator “DeSmuMe”. I want to use lua scripts to check the frame and seed. RunAsDate will set the correct time (with the option that It won’t change, so I don’t have to hurry up to start the emulation).

 

Will the PID generated this way be legit? Or are they wrong like some gba emulator made invalid pids like previously reported by users?

Legal, not legit.

  • Like 1

Share this post


Link to post
Share on other sites
3 hours ago, Sabresite said:

Legal, not legit.

Why not legal? Do you mean it’s not bit/byte correct on emulators? Real consoles genarets legal Pokémon by doing RNG.

2 hours ago, theSLAYER said:

If I'm not mistaken, for the most part, emulators work with gift/static encounters (anything that's Method 1). It's the other encounters that may cause issues once in a while..

So you wold say the match the real console if methode 1?

Edited by CharizardOutrage2

Share this post


Link to post
Share on other sites
2 minutes ago, CharizardOutrage2 said:

Why not legal? Do you mean it’s not bit correct on Emulators? Real consoles genarets Legal Pokémon by doing RNG. 

Semantics. Legit refers to the carts played on official hardware with no modification or save dumping.
Once the save or mon was exposed to non-official methods (save dumping, played on emulator, viewed stats on PKHeX)

Legit refers to a very narrow category where no dumps or modification can occur.
Legal refers to creatures that look legit, but you me and your conscience for sure that it isn't done with official hardware.

For example, playing on emulators mean it isn't done with official hardware, so the creature captured would be at best legal.

6 minutes ago, CharizardOutrage2 said:

So you wold say the match the real console if methode 1? 

I doubt I would be able to convince you otherwise.

Catch all the mons you want, then check on PKHeX if it's legal.

  • Like 2

Share this post


Link to post
Share on other sites

It always depends on how the emulation is and I wished I could give answers but I have no experience with catching Pokémon on DeSmuMe. If it generates illegal Pokémon then another option would be melonDS and in the future there will be medusa. We have the same Topic in Gen 3 actually, when people talk about illegally generated Pokémon they usually talk about VBA, which is an very old Emulator. But there are other Emulators like mGBA and some of them have turned out giving better results. But we still have to do more research.

Research is mandatory... There were rumors being spread in multiple forums and reddit that migrating Pokémon from Gen 3 to Gen 4 gives false Trash Bytes. It was seen as fact and when I wanted to take a look at it I was surprised that there was never a single case uploaded or any kind of documentation about what exactly was wrong with these Trash Bytes. So I had to start research on it on my own and then I asked people to upload migrated Pokémon from real hardware all just to figure out that the rumors were false, the Trash Bytes were identical.

So my suggestion to everyone is just enjoy playing the games and report issues in the forum IF they occur. :)
PKHeX should supports legality checking for it, so you can just catch Pokémon and see if they're legal like @theSLAYER suggested.

Edited by ajxpk
  • Like 1

Share this post


Link to post
Share on other sites

I was told emulators don't emulate the vblank state or something (they skip over it), still, if PKHeX doesn't flag em, then it's fine.

Same thing with the false trash bytes; I heard the trash bytes on emulators are different, but they stay generically the same between mediums.
(official hardware has a set pattern to trash bytes, emus have a different set of patterns etc)

Share this post


Link to post
Share on other sites

"I was told", "I heard"... This is an example of how rumors are being spread.

Like I already said you will get different results from emulator to emulator, which we have learned from recent research and there is more research that needs to be done from here, we ain’t done yet. That's the only honest answer we can give to people. Besides that "emulator" is a generalized term in this context. Every emulator behaves different, especially if the core was programed independently and therefore would have to be seen as an individual "medium" as you called it.

As for the Trash Bytes, no like I said the rumors are wrong. There are no different patterns and if they are as you say we would be good to document it and compare our data. According to my research it's not the case and it was done one both real hardware and emulator. Btw. the reason why they are identical is not even a surprise because memory and stacking are supposed to work exactly the same on emulators and real hardware. Otherwise it would cause serious issues like stacking issues and data being read from wrong memory locations. It would essentially mean things are out of control... so that should not happen. You have to keep in mind that this is all based on math and has not just to do with the emulation of the processor, this is just about the memory. That's why I was questioning these strange rumors from the beginning.

I would also like to point out that the documentation was never completely finished... You're of course very welcomed to help with it. @Sabresite would be happy. Unfortunately I don't have time because I'm very busy working on some other research projects. It's not really my highest priority at the moment. ;)
 

 

Edited by ajxpk
  • Like 2

Share this post


Link to post
Share on other sites

After finishing my Project with the event Pokemon RNG on DeSmuME. I will contribute to the PalPark Project. Since I am also interested in that. But perhaps this is for legacy, I read that gen6 and 7 won't have any trash bytes left migrating from Gen3.

  • Like 2

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...