#Looking for P4G mod to reveal dungeon maps

38 messages · Page 1 of 1 (latest)

hushed sky
#

Hey there, i'm trying to find a way to reveal dungeon floor maps instantly, so i know where the stairs are to rush through them. Is this possible by modding? I couldn't find any yet. Other ways (CE/Trainer) would work too.

Anyone knows of something?

dusk zodiac
#

This should do the trick, enable the checkbox before entering a dungeon and it should reveal the entire minimap.

hushed sky
#

Cool thanks, I’ll try

hushed sky
#

Ok, so i get a weird error when opening the file, but nevertheless, it works! Thank you

leaden current
#

Would this be possible to make a mod using reverse engineering ghidra instead of relying on cheat engine?

dusk zodiac
dusk zodiac
dusk zodiac
#

Here's the updated cheat table, error was caused because I didn't know that saving my script would also save all the other stuff I had in cheat engine, resulting in a lot of excess being stored with the script. Too used to treating Cheat Engine like a debugger.

leaden current
#

Oh cool

#

Sweet

hushed sky
#

Nice, thanks a lot @dusk zodiac

leaden current
#

@dusk zodiac

#

did i do something wrong?

dusk zodiac
#

Was it enabled before entering the dungeon?

leaden current
#

f

hushed sky
#

you have to change floors, then it works

dusk zodiac
#

I set it up so it sets all the tile flags are set to 1 after the reset called between floors

#

It was either that or cover it when it tries to update, which occurs several times a frame and just sounds wasteful to me

leaden current
#

my bad

#

hehe

leaden current
#

from 11f to 10f

#

now on to implementing this in ghidra...

#

do you happen to know which function address is this?

dusk zodiac
#

Yes, give me a moment

leaden current
hushed sky
#

btw. is it difficult to add this in another table?

#

and since it shows treasures, are shadows possible too? Maybe not, because they move?

dusk zodiac
# leaden current <:thumbs:750746850817998849>

Two calls, one for pregenerated floors (ones with minibosses) and one for random floors. Both use a function located at 1402DF000, I intercepted the area after the call at 140311620 and 1403115EE respectively to update the values. Another address of note is 1451EC580, which is a pointer to the area of memory dedicated to holding the revealed minimap data (48 bytes, each bit corresponding to a part of the 16x24 dungeon map). That pointer is initialized very early in the game and remains the same for the duration of a session (afaik, all of my testing has been on the last day)

dusk zodiac
dusk zodiac
leaden current
dusk zodiac