#Lua Script for Ruby, Saphire vs Emerald

1 messages · Page 1 of 1 (latest)

autumn wind
#

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.

short relic
#

What isn’t clear? Also they should be .lua files because they’re a scripting language. Where does the confusion lie?

autumn wind
#

First of all idk what script i should use for tid in ruby, saphire. Andhen i should activate the script?

short relic
#

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.

cinder berry
#

@autumn wind rs don't need a bot for ids rng

autumn wind
# cinder berry https://github.com/Real96/PokeLua

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

autumn wind
#

Like there a checksum and a regular ring mGBA

cinder berry
#

Checksum is for whishmaker jirschi/10 anniv events

cinder berry
#

If you need any help, just ask!

autumn wind
cinder berry
#

What's the prob?

#

Pokefinder goes from 00 to 23

#

Isn't it?

autumn wind
cinder berry
autumn wind
#

Whenever i try it auto set it to 12:00:00 AM

cinder berry
#

It's correct

#

Does it let you set pm also?

#

For 12

autumn wind
#

yes PM for 12 is possible

short relic
#

So 12am is 00:00

cinder berry
#

^

cinder berry
autumn wind
#

okay thanks

#

for some reason when i open now, i am just seeing a white screen

cinder berry
autumn wind
#

where do i do that and can i ask what that means?

autumn wind
short relic
#

Just make sure this is unchecked

cinder berry
cinder berry
#

Remove real-time clock

#

Leave all the rest as it is

#

Let me know pls

short relic
autumn wind
#

It wasn't it turned off realtime clock

#

but it did run

cinder berry
cinder berry
#

Try this

#

My bad

#

It is a bit I don't do this

autumn wind
#

okay how come not?

#

didn't work?

cinder berry
autumn wind
#

like why did you write don't do this? was is because it didn't work?

autumn wind
cinder berry
#

Did it work?

cinder berry
#

Was incomplete

autumn wind
autumn wind
#

It dosent unpause and progress:(

cinder berry
autumn wind
# cinder berry 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

cinder berry
#

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

autumn wind
cinder berry
autumn wind
cinder berry
#

if you need help for other rngs, just open a new thread

autumn wind
autumn wind
cinder berry
#

otherwise the lua won't save the rng values correctly

autumn wind
cinder berry
#

like Shift + F1

#

instead you have to press Shift + 1

#

or Shift + 2

#

depending on the slot

#

this is due to lua

autumn wind
#

and i have to load how then?

cinder berry
#

1

#

2

#

3

#

and so on

#

depending on the slot

autumn wind
#

so if i make a save state one, then i can only load it afterward not rewrite it?

cinder berry
#

you can rewrite it ofc

#

you can save always in slot 1

#

but only the last one will be saved ofc

autumn wind
cinder berry
#

Shift + 1

#

it will rewrite and save correctly the state

#

only if you have the lua loaded ofc

autumn wind
#

Okay! Nice so: Shift+F1 = Save/Load Slot 1, Shift+1=Rewrite/save on exsisting savestate ?

cinder berry
#

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

autumn wind
cinder berry
#

You have to save in game

autumn wind
#

I have 🙂

cinder berry
#

Save file will be in battery folder

autumn wind
#

four times to be sure

cinder berry
#

States are not meant to be used on pkhex

#

Save files yes

autumn wind
cinder berry
#

Did you close the app?

#

Check in rom folder also

autumn wind