#Force unlock more of the map at night through flowscript.

106 messages Β· Page 1 of 1 (latest)

atomic ether
#

Trying to add a way to warp to the Iwatodai Strip Mall at night through the map but nothing I'm doing is working, according to the loose file loading log, it's loading lmap_data.bin, but when I edit the the bf inside with a drastic change like this, it doesn't reflect it whatsoever. What am I doing wrong?

#

tried fiddling with fld_sel_ex but it seems like it only controls the cursor placement when the map screen loads

atomic ether
#

doesn't work on hardware either

#

not a PC L

#

ok according to the P3P Debug Menu cheat file for PSP, it's clearly running init_lmap

#

which means my code change is failing

atomic ether
#

still running out of ideas

#

my only idea is that it's just not loading the file somehow

#

oop game crashes loading the file πŸ’€

#

that's fun

#

ok fixed the crash

#

code still doesn't change a thing πŸ˜”

#

i'm beginning to think ill need to replace the map select screen with a menu at night

#

and i don't wanna do that

atomic ether
#

ok to summarize

#

print file log clearly points to this file being loaded

#

in the init procedure there's this code

#

P3P PSP debug menu cheat points to this procedure being loaded when the map loads

#

function_0033 is the time check and 5 is night

#

so when it is night time, and the day is 8/16, then it shows the shrine i believe

#

and if it's not 8/16 it shows two options

#

if it's not night time, it shows the entire map

#

you'd think that all i have to do is just flip one of the 0's to a 1 and it shows everything, right?

#

NOPE

#

it doesn't work no matter what i do 😭

#

i tried making everything a 1 and nada, zilch, nothing

#

hmmmmmmmmmmmm

#

where do dumped emulated pak files go?

#

in the game folder under femulator stuff

#

got it

#

ok so the emulated file clearly has my code in it

#

which means my code check is failing

#

so what if i just remove the night time check lol

#

game crash 😎

#

hooooooooooooooooooooooooly shit ok so

#

no effect

#

UGHHHHHHHHHHHHHHHHHHH

#

ok so hardcoded probably

#

removed all the fucking night time checks and just left it with this and nothing naopain

#

how does one check if something is hardcoded or not

#

because P3P debug menu doesn't list procedures in the exe, does it?

atomic ether
#

genuinely have tried every possible option

#

i got somewhere by adjusting the map call functions in the dorm entrance field

#

it rests on something that's not visible

#

but no matter what value i set it to, it just loads port island station

#

@thick stratus any idea? is it possible to check if something is hardcoded in ghidra?

thick stratus
#

I can have a quick look

atomic ether
#

thank you

thick stratus
#

Is it always just Paulownia Mall and the dorm btw? I don't remember

atomic ether
#

seems so

thick stratus
#

k

atomic ether
#

during the day it’s everything

#

i tried going to 8/16 with time travel and you don’t even get access to the map on that day

#

so that check is pointless

thick stratus
#

It is hardcoded but I'm pretty sure I can change it. It's just the shrine and strip mall that you need right?

atomic ether
#

oh no just the strip mall honestly

thick stratus
#

Oh ok

atomic ether
#

wait

#

can you visit the shrine at night in P3R?

thick stratus
#

No you can't

atomic ether
#

i actually don't know femcmad

#

ok then yeah

thick stratus
#

I wanted to make it so you could though

atomic ether
#

no shrine lol

thick stratus
#

That's why I was thinking that ig

atomic ether
#

oh?

#

yeah i mean it would totally work

#

i would need to add a new background file probably

thick stratus
#

I'm pretty sure it would if you wanted to

#

Up to you, it's trivial to change which ones are shown now that I understand

atomic ether
#

oh nice

#

then yeah just the strip mall for now

thick stratus
atomic ether
#

i still gotta figure out how i'm gonna do all the background stuff lol

thick stratus
#

Yeah, good luck with that

atomic ether
#

then i gotta figure out how to recreate the sunday hangout thing with flowscript too naodead

#

i got such a migraine working on that

thick stratus
#

It would be cool to take them from p3r but that'd require a lot of work

atomic ether
#

yeah true

atomic ether
#

it's kinda fascinating what they hardcode in this game though

#

like the map screen? really?

#

when you clearly have code for it in lmap_data.bin?

#

actually would it be possible to unhardcode it and point it towards the actual lmap_data.bin file code?

#

so if i wanted to enable it i would just flip each locations associated value from 0 to 1?

thick stratus
#

Maybe, but that sounds like a lot of effort

atomic ether
#

true.....

thick stratus
#

It is just a mask currently

atomic ether
#

yeah not worth it for a one off mod ay

#

oh

#

that looks super easy lmao

thick stratus
#

It's something you could easily change in the patch, I'll send it to you in a second

atomic ether
#

alrighty lol

#

thanks for the help with this btw

#

i do hate having to assume something is hardcoded in a game like this though

thick stratus
atomic ether
#

sweeet

#

thanks again swine

thick stratus
#

Here's the expatch. Put it in a folder called InabaPatches in your mod and set Inaba Exe Patcher as a dependency of it

atomic ether
#

that's a load off for sure lmao

thick stratus
#

If you decide you want to add the shrine or something later on the mask and number of options is set at the top of that patch