Hey, i am new to using Emu and Lua scripts for the GBA games. I've seen the guide on Pokemon RNG on how to access the scripts but i don't know which or when i should use them. Also do they need to just be .txt files?
I am currently trying to use a bot script for TID but i don't know which i should use use. If there's more detailed guides for it i'd be happy to read more.
I am using mGBA but also have VGA-RR downloaded.
#Lua Script for Ruby, Saphire vs Emerald
1 messages · Page 1 of 1 (latest)
What isn’t clear? Also they should be .lua files because they’re a scripting language. Where does the confusion lie?
First of all idk what script i should use for tid in ruby, saphire. Andhen i should activate the script?
I haven’t personally done TID RNG in R/S but you’ll probably want to use RunAsDate to set the initial seed. Activating the scripts resets the ROM file as if it was a fresh boot so you can activate it whenever because RunAsDate will lock the RTC to whatever it was set to. I can get screenshots for you tonight because I am at work currently.
As for which script to use, anything that shows you the advances will work.
I've downloaded the latest developer build of mGBA. But I am a unsure what to do now. I am looking at the same Lua script files for RS. I don't know which of the two I need to use? And how? I know I need to save them as a .lua file and Access them in scripting->files
Like there a checksum and a regular ring mGBA
Regular one
Checksum is for whishmaker jirschi/10 anniv events
If you need any help, just ask!
how does the time correlate? between the mGBA sensors and pokefinder? the sensor only goes from 1-12 AM-PM also are the last digits in the sensor seconds?
that i don't know how to set 00:00 on the sensor
Mgba doesn't let you set 00:00?
Whenever i try it auto set it to 12:00:00 AM
yes PM for 12 is possible
So 12am is 00:00
^
12 am is what you want
You have to change the rtc setting iirc
where do i do that and can i ask what that means?
I have it it still comes up white screen
You can skip that step altogether if you use RunAsDate.
Just make sure this is unchecked
Not sure mgba works on it
In the first image settings
Remove real-time clock
Leave all the rest as it is
Let me know pls
It's how I've been doing it.
It still dosen't work, maybe it's because it needs realtime clock and Autodetect
It wasn't it turned off realtime clock
but it did run
What do you mean?
like why did you write don't do this? was is because it didn't work?
I didn't understand why you wrote don't do this?
Do what's showed in the video
Did it work?
I meant what I wrote before the video
Was incomplete
it Worked! the script too!
the guide says press a or x but it dosent work:https://www.pokemonrng.com/emulator-rs-live-battery-tid/
It dosent unpause and progress:(
What do you mean?
I was thinking it worked the same as on the 3ds where you pause and advance. Rn im at a paused at a frame and idk how to unpause and click x at the same time to trigger the tid creation.
like it says press a pausen on your frame
Ctrl+N to pause
Ctrl+N to move one visual frame
Ctrl+P to pause and to unpause
A+Ctrl+N to press A at specific advances
Also
Read this
Important for using states
Thanks so much for the help
let me know if you succede!
I Did! Got my TID!
nice job 😉
if you need help for other rngs, just open a new thread
now i wanna see if i can find out how the saves work on it and how to do it. I did open your link and read it. but i think i prefer to use my mouse to make save states. They funktion like checkpoint in the 3ds?
Where do they save to?
wait, save state must be taken using they keys written in github
otherwise the lua won't save the rng values correctly
i didn't quite understand this: Every time you need to save or load a state, hold Shift + (n)/(n) (ex. Shift + 1 to save a state in slot 1 or 1 to load the state in slot 1) with game unpaused
usually on emulator you save states using Shift + Fx
like Shift + F1
instead you have to press Shift + 1
or Shift + 2
depending on the slot
this is due to lua
and i have to load how then?
so if i make a save state one, then i can only load it afterward not rewrite it?
you can rewrite it ofc
you can save always in slot 1
but only the last one will be saved ofc
But if shift+F1 is save and load slot one then i don't understand how to rewrite it.
Shift + 1
it will rewrite and save correctly the state
only if you have the lua loaded ofc
Okay! Nice so: Shift+F1 = Save/Load Slot 1, Shift+1=Rewrite/save on exsisting savestate ?
nononono
wait
when you're using lua, just use Shift + 1 to save, 1 to load
if you want to save/load in slot 1
Shift + 2 to save, 2 to load if you want to save/load in slot 2
and so on
never use Shift + F(n)
always Shift + (n) / (n)
if you are not using lua, just use shift + F(n)/(n)
tell me if it is not clear
okay i think it works, and i think i understand.:) Thank you!Say, i want to find my save file to use it in PKhex. Where do i find the files?Saves?
You have to save in game
I have 🙂
Save file will be in battery folder
four times to be sure
can't seem to find it, Not in program files in mGBA?
Oh, I see it Now! Thanks!