#Modifying title screen background color using cheat engine + anything else for forever and ever

1 messages ยท Page 6 of 1

hot cliff
#

but it works!

#

i definitely need to choose better colors

#

and work out why it's mostly invisible

#

but we got it!

#

just need to compare the two files and modify any string longer than 3 bytes that ends in FF i believe

graceful pawn
hot cliff
#

feeling good about our progress

#

gonna stop and make lunch real quick

graceful pawn
wanton wyvern
#

regarding the player advantage diamond: I asked Twitter and yeah they were just overwhelmingly like... FEMC is pink/red/white/orange lol

someone suggested changing enemy advantage which was kinda interesting

hot cliff
#

hmmm maybe

#

i think we just need to find an acceptable range for femc colors and stick with that

#

doing the summoning colors is gonna be way harder due to the sheer number of addresses to change

hot cliff
#

maybe we make it white with pink accents?

graceful pawn
#

Yeah we could go for different approaches to see which one fits best

hot cliff
#

HMMMMMMMMMMMMM

#

doesn't render right

graceful pawn
#

Lmao how did they code it

hot cliff
#

wrong i assume

graceful pawn
#

Atlus... naotroll

hot cliff
#

yeah white is out

#

i'm sticking with the old color

#

any info on the BED file colors?

#

you'll need to replace it in the battle/battle_pack(2).bin files

graceful pawn
#

Think you made this one almost transparent by mistake

#

That's where the transparency might come from

#

Or maybe you deleted a byte by mistake??

#

Since looking at the next bytes they match

hot cliff
#

i totally did

graceful pawn
#

Hopefully transparency issue solved then

#

Yep looking at the EOF there is one tiny byte missing

hot cliff
#

surprised it loaded then

graceful pawn
#

Tbh adachi_true

hot cliff
#

yeah i got if fixed

#

time to test

graceful pawn
#

Can we get a peek...?? ๐Ÿ‘€

#

Nice

hot cliff
graceful pawn
#

Looking good to me!

hot cliff
graceful pawn
#

Lol literally

hot cliff
#

wonder why it's all blue though

#

oh because of the color right next to it i didn't change

graceful pawn
#

Yup i was looking at the next one

#

And seems it's blue

#

Let's see how it looks with that...

hot cliff
#

we also need to figure out the after flash red part as that's a different BED file it seems

#

ill have to test that though

graceful pawn
#

Oh i thought it was intentionally changed

#

Is it like that in vanilla??

hot cliff
#

vanilla it's blue

#

i'm using a mod that changes the summoning effect to be red for comparison

#

i sent it to you

#

so we know which values to change

graceful pawn
#

Oh right right, thought it was only one file lol

hot cliff
graceful pawn
#

Was asking because I didnt remember p3p having red summoning in allies lol

hot cliff
#

must be another color somewhere else

graceful pawn
hot cliff
#

yeah i'm comparing the two and there is a little bit

#

it's very blue still though

graceful pawn
#

But must be handled in other part, there were more colors right??

hot cliff
#

yeah a fair bit more

#

i'm going over it more finely now

graceful pawn
#

Right hee_approves

hot cliff
graceful pawn
#

Oh yeaaah that's way more noticeable

hot cliff
graceful pawn
hot cliff
#

i gotta figure out which hatudo handles the red smoke at the end

graceful pawn
#

Maybe here the floor is still blue??

hot cliff
#

oh shit maybe

graceful pawn
#

Must be 1 or 2 colors left

hot cliff
#

i could've sworn i got everything though

wanton wyvern
#

you're right - it does look better in animation. I still wonder if there's any leeway to make it more reddish without making it too close to enemy advantage tho ๐Ÿค”

#

I can mess with it too when I get home I don't wanna just be here complaining lol

hot cliff
#

yeah you're pretty good at picking out colors already

#

i trust you

#

weird

#

that appears to be all the different colors handled @graceful pawn

#

maybe you wanna check my files and compare in 010?

graceful pawn
#

Hmm weird, what could be handling that then?? ๐Ÿค”

hot cliff
#

probably one of the many other HATUDO_something files

graceful pawn
#

I will look into It later, I'll have dinner right now

hot cliff
#

alrighty

graceful pawn
#

Always think it's one lol

hot cliff
#

lemme know if you find anything

hot cliff
#

just so we're not just talking in the concept thread

#

we'll handle the EPL stuff there since it's not in the scope of this

#

but otherwise we still need to figure out how to recolor the rest of the summoning smoke stuff

graceful pawn
#

Lfgo the thread is not dead just yet naocheer

hot cliff
#

yeah we gotta work out the summoning smoke and then the blue streaks in the aoa prompt

#

then i think we're done with this

#

that is assuming no one else comes in with other stuff to color

#

the packaging of the mod is outside the scope of this so we're good there

graceful pawn
#

About the copying I dunno

#

Just changed some ordering but I checked and it's suposedely being copied

#

Like I debugged the process and seems it's copying it

hot cliff
#

seems like it all got copied correctly

#

time to test again

#

yup turned out perfect

#

thanks

#

will package with the mod

graceful pawn
#

Yaaaay!! naocheer

#
  • have the script now which can be useful if something gets changed
hot cliff
#

nice

#

alright i have to handle some work related stuff

#

lemme know if you figure anything out with the rest of the HATUDO bed files

graceful pawn
#

I'll be heading to sleep rn it's quite late here lol

hot cliff
#

that's basically the last major hurdle

#

aw dang

#

alright no worries

#

ill see if i have time to look into it later

graceful pawn
#

All right gl then!! naothumbsup

hot cliff
#

we forgot part of the analysis screen femcmad

#

the little highlight part of the enemy

#

it's blue still ๐Ÿ˜”

#

ok add that to the list

#

HATUDO pink skill effects
blue streaks in aoa prompt screen
blue enemy selection highlight during analyze

graceful pawn
#

Oh you are right forgot that one

#

We could also do the normal enemy selection if it's different

graceful pawn
#

Maybe HATUDO_H might be the circle one, it has what looks like a texture and its rounded

#

Other than that can't find any colors making the diff but I do find that the texture changed between the 2 of them

#

So might be just a color change to the texture??

#

Seems to be a .tm2 because of the header

graceful pawn
#

FINALLY GMOVIEW WORKS FOR ME femc

#

I downloaded P4G model converter which seemed to use gmoview

#

And grabbed the gmoview from there which had the dependencies I needed probably

#

Okay so the blue HATUDO_H is this, which might be the blue area in the ground??

#

Seems red one has this, it's the same one but with transparency (?)

#

HATUDO_K seems to have a rmd which looks like this in Amicitia

#

The ones that seem very related to the animation seems to be E, P and S

#

Since all three have this kind of texture used in the animation

#

HATUDO_K is the exact same in the original and in the red mod

graceful pawn
#

Colors I found in HATUDO_P -> 0B60C0FF, 4C06FFFF, 29BADEFF, 7E06FFFF, 040A0AFF, 001E50FF, 00004AFF, 4AF6F6FF, 0A0AF0FF, EAF6F6FF, 0A46D2FF

graceful pawn
graceful pawn
#

HATUDO_E might be the fusion spell longer animation???

#

At least in fes It had a longer animation iirc

hot cliff
#

looking super good

#

just need to figure out that final blue floor texture

#

and whatever hatudo_e is

graceful pawn
graceful pawn
#

Seems HATUDO_E is the exact same both in blue and red

#

So E, K are like the original; S, P are pink now so that lead us to HATUDO_H being the floor culprit

#

@hot cliff do you know how could I convert tm2 into a png/dds for edition?

hot cliff
#

gimconv

#

it's part of that zip i sent you with gmoview

#

gimconv file.tm2 -o file.png

#

then magick to convert to dds

graceful pawn
#

Oh right, thanks naothumbsup

graceful pawn
#

Is it possible to extract the .tm2 within a .gmo??

hot cliff
#

gmoconv yeah

#

well no actually

#

gmoconv doesn't do that

#

you can use noesis to do that but the names won't be right

graceful pawn
#

Could do it manually as well I guess

hot cliff
#

just export the gmo as an fbx or something and it'll dump the textures

#

you can use sadoaiya to extract the textures

#

but sadoaiya doesn't really like P3 models

#

and will error out sometimes as you saw in that one video

graceful pawn
#

Yup, all right then will try some stuff

#

Uh in noesis something interesting is showing up

#

This is noesis output of the blue HATUDO_H

#

And this is the red HATUDO_H

#

This must be it!!

#

Definetely it's the textures naocheer

#

We just need to recolor this

#

Any idea how to recolor it?? Could try to do something with gimp

hot cliff
#

yeah gimp could work

graceful pawn
#

Yeah managed to change it naothumbsup

#

I'll try to merge it with the .gmo with the same name

#

Seems to be called be_phatu.tm2 looking at the binary

hot cliff
#

you can also check the gms when you extract the gmo

graceful pawn
#

Looking pink now ๐Ÿ‘€

#

Fingers crossed, I'm gonna compress and check in-game

hot cliff
#

alrighty

graceful pawn
#

Doesnt look very changed tho

#

Wonder if it's one color somewhere we are missing or smth

hot cliff
#

it's definitely just colored by the EPL

#

probably not by the texture

#

very rarely are EPLs colored by textures

#

you're gonna need to find the actual value in the EPL / BED itself

graceful pawn
#

Ic, well we can leave the pink texture there since probably it's doing something

#

And continue checking the other files

#

Just replacing the s is giving the red lightning at the start

#

And then when going to the p one the floor is blueish again

hot cliff
#

@graceful pawn found the hex code for the analysis hover

#

since it's green

#

need to find the one more

#

how much you wanna bet swine literally called it that

#

nope ๐Ÿ˜”

#

damn and the xrefs for render texture don't mention which function they're in

#

huh there's a function called framerate thing

#

i wonder if you could make P3P PSP 60 FPS

#

ohhhhhhhhhhhh wait there's a battle results function

#

which probably handles the skill selection stuff

#

ill make a note of that

#

that's probably why it wasn't breaking

#

stuff is just decided way earlier

#

yeah not sure if swine has it labeled

#

it's really interesting going through all of the label history and seeing what stuff was labeled when

#

like they're grouped almost lol

#

hoping persona menu control isn't it, that'd be hella dumb lmao

#

it is not ๐Ÿ˜”

#

but hey at least i got the little hover part so far

#

shit is the one more texture not in init_free.bin :/

#

im adding a break point to the spr that should have it but it's not changing when the texture is called

#

shit

#

i don't think it is

#

where else could it be if not in init_free.bin femcmad

graceful pawn
#

Wasnt It blue tho?? Maybe I'm missremembering lol

hot cliff
#

it's been green for me

#

wait it is blue

#

wtf

graceful pawn
graceful pawn
#

I cant see It rn but I remember that

hot cliff
#

these are definitely hex codes though

#

and they're green

graceful pawn
#

They are def something true

hot cliff
#

reversing them they're also green

#

definitely blue though

#

very confusing

#

yeah none of the colors im getting from here are lining up

#

damn it's probably these then

#

the numbers are too large to be hex codes though

#

311 doesn't fit

#

all of these codes point to just green or red

#

there are too many fucking colors in this function ๐Ÿ˜ญ

#

like what the

#

5CA3FF is blue

#

5B7B7C is also blue

#

5D8686

#

ok those are the only blue ones

#

7aa3ff is also blue i guess

#

now i'm confused

#

do i need to read those top to bottom while the others are bottom up?

#

i lost my mojo with this stuff ๐Ÿ˜”

#

it used to make sense

#

jesus man

#

there should only be two things that are part of analysis hover, why are there so many color codes ๐Ÿ˜ญ

hot cliff
#

i feel like if this were a real job and my boss looked over at my computer and saw me crazily inputting hex values into gimp i'd get fired

#

i'm getting nowhere fast

#

next is basically this color

#

how the hell did we find player advantage before this

hot cliff
#

closest thing i can get is this

#

but it's an entirely different shade

#

imagine i'm just barking up the wrong tree and it's not here

#

well there's no real way to get to where i need because it's part of a big spr

#

so i kinda need to find the function in ghidra first

#

i wish i could move onto the other stuff i have planned today but i'm waiting on other stuff to start those two :/

graceful pawn
#

Right so you tested this code is truly running while you analyse/check the enemy order

hot cliff
#

oh i probably shouldโ€™ve done that

#

one sec

graceful pawn
#

Just in case it's not from other part

#

But yeah you got a lot of colors in different parts lol, kinda hard to pinpoint

hot cliff
#

that code is not running ๐Ÿ˜”

#

should've done that first

graceful pawn
#

Yup that saves a lot of time in these cases

#

Well at least you know now for future changes

hot cliff
#

true

#

but now i know nowhere else to look femcmad

#

i can't hook into the texture being called since it's a part of c_main_01.spr

graceful pawn
#

Do you have the spr in hand??

hot cliff
#

yeah it's part of init_free.bin

#

do you need it?

graceful pawn
#

Wanted to check some stuff

#

Thanks!!

hot cliff
#

np

graceful pawn
#

Ugh wanted to check the .sprts

#

And maybe find the next one

hot cliff
#

yeah sadly

#

doesn't load the file or the tmx, just the sprts

graceful pawn
#

But most of it is japanese naotroll

#

Had a bit of hope of one being called NEXT or smth

hot cliff
#

that'd be lucky

graceful pawn
#

Would be cool you could preview like the sprite right??

#

In amicitia I mean

#

Like you have the tmx to look you got x,y and the width/height so it should be possible to preview it somehow

hot cliff
#

you can with persona editor

graceful pawn
#

But yeah not implemented I guess

graceful pawn
hot cliff
#

it's like amicitia but better and worse!

#

yeah

#

it shows the bounding boxes for sprites

graceful pawn
#

Oh but you cant even check the sprts

hot cliff
#

in persona editor?

#

i'm pretty sure you can

graceful pawn
#

Am I missing smth???

wicked wagon
#

Right click on the spr and then click "View/Edit" iirc

#

that takes you to the spr editor thing which can show you the bounding boxes n such

graceful pawn
#

Oh thanks!! That just does it femc

hot cliff
#

oh yeah there we go

#

thanks!

wicked wagon
#

np naothumbsup

graceful pawn
#

This is actually very useful lol

#

Now I dont know where next is in the tmxs I'll look for it

#

Is NEXT even here?? naosmiley

#

Cant seem to find it

hot cliff
#

ngl i couldn't find it honestly

graceful pawn
#

There are a lot of elements tho

graceful pawn
hot cliff
graceful pawn
#

Can try to find the sprite with the graphic debugger of ppsspp

hot cliff
#

that's a thing?

graceful pawn
hot cliff
#

damn why does ppsspp have all the cool stuff ๐Ÿ˜”

#

you need to use some debug menu psp cheat to find which functions are being run and when

graceful pawn
#

But you cannot go to the code that called that

#

You can only see like the little sprite it's gonna print

hot cliff
#

weird

graceful pawn
#

Yeah, probably the draw functions just leave like the stuff ready for the print part to do its job

#

And the graphic debugger is like the print part which has everything ready

#

Don't know exactly how it works, it's just how I think it might work lol

hot cliff
#

interesting

graceful pawn
#

But yeah it helps because you can see like the whole tmx

#

And the part it's grabbing

#

So yeah it's interesting to have

#

Don't have it in pcsx but having it here is good

#

It's looking like this it seems

hot cliff
#

where even is that

#

never seen that texture before

graceful pawn
#

Lmao

#

Should be somewhere tho

wicked wagon
graceful pawn
#

Looks totally like it

hot cliff
#

cool i can add a breakpoint to that

#

thanks again moddaman

graceful pawn
#

Yeaah chieheart

hot cliff
#

hmmmm not breaking

graceful pawn
#

Maybe it's being loaded just when entering combat

hot cliff
#

yeah that's what happened

#

whoops

graceful pawn
#

ic ic makes sense

hot cliff
#

there we go

#

got it to break

#

it's step out to go up right? i forget

#

or step over?

#

hmmmm yeah it's stuck on the load file function

#

and i'm stuck in a loop ๐Ÿ˜”

#

156F9CBF0 check this address in PC ghidra, maybe i'm missing something

graceful pawn
#

Right so it's loading the file into memory makes sense

hot cliff
#

yeah

#

but only seems to break on load

#

doesn't break when any of the textures are called

graceful pawn
#

Yeah because it's already loaded in memory

#

Hmmm

hot cliff
#

doing step into or step out or step over just keeps me in the load file function

#

and pressing run a few times just makes the game resume with no movement in cheat engine

graceful pawn
#

Maybe we can try to breakpoint on the loaded address or smth along the lines

hot cliff
#

how would we get that

graceful pawn
#

Guess it's probably the return address of this function

#

I'm gonna look for the sprt index of next to see if we can find this faster

#

Found it lmao

#

It's using RenderUISprite function to print it

#

And the color is 0x9f, 0xff, 0xe5, 0xff

hot cliff
#

oh neat

#

for the next?

graceful pawn
#

Yup

hot cliff
#

nice

#

which function was it in?

#

or do you have a screenshot of the psp function?

graceful pawn
#

The psp function is looking like this tho

graceful pawn
#

It's the one just under the higlighted one lol

hot cliff
#

step out from what?

graceful pawn
#

From the RenderUISprite function I mean

hot cliff
#

still not following haha

#

just the renderuisprite function?

#

or a specific one?

graceful pawn
#

I mean to find it I just placed a breakpoint in the renderUISprite function when the NEXT is being shown

hot cliff
#

oh

#

that makes more sense

graceful pawn
#

And then when it stops I stepped out to see where it is coming from

#

And got to there yup

#

Was kinda lucky tbh that was using this already known function, I was just poking around to see if it would work

#

And it did yay

hot cliff
#

ugh it's not breaking for me

#

i added a break point to the renderuisprite function on access

#

and pressed the key for next

#

nothing, no break

graceful pawn
#

On access?? Like read access??

hot cliff
#

yeah

graceful pawn
#

I meant like a normal breakpoint, a code breakpoint

#

Its code after all

hot cliff
#

oh

#

that makes more sense haha

#

ok so the entire game froze before i could do anything

#

how am i supposed to bring up next?

graceful pawn
#

Yup, you gotta be fast or have some plan to do this naosmiley

hot cliff
#

i cannot be fast right now i am functioning on 0 hours of sleep

graceful pawn
#

You should be holding like the r button or whatever button to leave it in the next draw

#

Dont know if there is some way in pc

#

I kinda tried until I got it XDD

hot cliff
#

yeah i cannot be fast enough for this right now ๐Ÿ˜”

#

i should probably sleep

graceful pawn
#

Lemme try smth real quick

#

Just a sec

#

Ugh I'm having trouble with x86 instruction, not being used to them naosmiley

#

Well lets say I may find it

#

I'll let you know when I do

#

Or if i do lol

hot cliff
#

alright

#

best of luck

#

i need to lay down

graceful pawn
#

Just found it lol

#

1400ba3dd

#

Should be this one

#

It's the same color after all

#

Also looks similar-ish

#

Just changed it

#

Went for #ff9fd9

graceful pawn
#

08A468E4 -> normal selection outter line

#

08A47214 -> analysis whole selection

#

08A4694C -> normal selection rotating blue square

#

Done, probably will need lighter pink values but was just for the patch, it can be changed later

#

This one also done now

#

Pc variants should be easy to find now that I've got the psp colors, could find it just like the NEXT one with ghidra

hot cliff
#

thank you!

#

just woke up from my nap and will get started on these later today

#

howโ€™d you find them all so fast?

#

were they all really in one function or next to each other?

#

or was this the whole be fast thing

hot cliff
#

you sent psp addresses without sending me the psp ghidra file to compare to

#

or pictures of how the psp function looks

#

all i got from that is that theyโ€™re close to each other lol

hot cliff
#

please tell me thereโ€™s a better way of getting it break at the right spot other than to just โ€œbe fastโ€ ๐Ÿ˜ญ

#

iโ€™m struggling so hard here

#

i need to add a data breakpoint to the render ui sprite function but doing that causes the game to insta break naodead

hot cliff
#

thereโ€™s gotta be a better way man

graceful pawn
#

Was gonna try to find the pc variants for pc but was too late so I went to sleep lol

graceful pawn
#

I found the other colors just looking at the different drawUISprite calls

#

I nopped all the calls that were not drawing the stuff I wanted until I found the stuff

graceful pawn
#

This should be normal selection outter line in pc 1400bb1ea

#

This is the rotating square in normal selection 1400bb244

#

For the color change in this one you'll need to change the instruction in this adress 1400bb219

#

It's an or with 0x75ff00 which is the color

#

But in this case it is represented as green blue red

#

So yeah think of that hex like that

#

Finally this is analysis whole selection 1400ba917

graceful pawn
#

Found the 1 more colors, probably need to be changed as well to make them like the advantage colors but was a quick test

graceful pawn
#

It might be this function for pc 1400bbfb0 (?)

#

Not really sure of this one, you'll have to check if the code breaks in the 1 more animation

graceful pawn
#

Here it should be one of the colors for 1 more in pc 1400bc5e0

#

Think might be the diamond shape

#

And I think this call is the lighting 1400bc6b3

#

This last one is confusing, maybe it's denuvoed so that might be where the confusion is coming from

#

You can try to nop it to see if it really is the lightning tho

graceful pawn
hot cliff
#

damn youโ€™re on fire

#

was it also a hex code or was it a bed?

#

save something for me ๐Ÿ˜ญ

graceful pawn
#

Hahaha sorry today was the day ๐Ÿ’ช

hot cliff
graceful pawn
graceful pawn
#

It was like break, step out, nop, repeat

hot cliff
#

damn

graceful pawn
#

Till the element I wanted disappeared

#

There wasnt that many hopefully

hot cliff
#

interesting

#

well thank you for finding everything haha

#

wish i couldโ€™ve contributed more but man was i tired

#

we can definitely consult brawler on all of the colors once i make the inaba ex patches

graceful pawn
#

That's how I found almost all of them

hot cliff
#

oh wait what

#

you can do that?

#

how????

#

that wouldโ€™ve solved all my problems ๐Ÿ˜ญ

graceful pawn
#

Yup, it's possible but there's no guarantee you ever get the color sometimes tho

#

Because you gotta nail the instruction the progam uses

#

Since the drawUISprite uses a similar instruction for the color in each color tho, I found the other calls like that

#

But yeah I gotta be sure it's something that gets drawn with drawUISprite function and that luckily the function uses the instruction I'm looking for

#

Since I have drawUISprite detected in my psp ghidra I can look almost through every variant in the pc ghidra

hot cliff
#

wild

#

thatโ€™s fascinating

#

did you find anything related to the persona switching in ghidra?

#

i wanna know if infinite persona switcher is a thing thatโ€™s possible

graceful pawn
#

Naah just went for the bed file change, didnt look through code at all

#

But yeah that should be totally possible to do

hot cliff
#

yeah iโ€™m just wondering how ya know

#

because in cheat engine you can keep a value at the same value by locking it

#

but can you do that via cheats in the psp version?

#

or via inaba exe patches?

#

wouldnโ€™t it just write to memory once and then never again?

graceful pawn
#

Well we can see where the persona disabler is set and just nop it

#

So it never disables the persona changing

hot cliff
#

oh good point

#

yeah iโ€™ll look into that later today

#

eating breakfast right now and then iโ€™ll do the basic inaba ex patches

graceful pawn
#

Sweet femc

hot cliff
#

do you have the bed file on hand already edited?

graceful pawn
hot cliff
#

sweet thanks

#

youโ€™re the greatest

hot cliff
#

๐Ÿ˜”

#

wdym i'm not in a function

graceful pawn
#

Oooh you can convert it to a function remember??

#

Like you gotta go to the start of the function

#

Right click > Convert to a function

#

Smth like that

#

You go to the start which is 1400ba120

#

Right click in the asm > Create function

hot cliff
#

and how lol

graceful pawn
#

It's just a normal color no??

#

#00bdff

#

Its these three movs

hot cliff
#

oh

#

i guess it is

#

weird

graceful pawn
#

Yup

hot cliff
#

ff0000?

#

or what?

#

ff0080?

graceful pawn
#

I think I said the number I replaced here but dont remember lemme look for it

hot cliff
#

Inner rotating square

_L 0x20246934 0x3C05FF00 # RedGreen
_L 0x20246938 0x34A58000 # BlueAlpha

graceful pawn
#

Oh right

#

Okay so for this one I went with #ff0080

hot cliff
#

so 0x75ff00 is ff7500 in the bytes

#

so it's ff0080 as the replacement bytes?

graceful pawn
#

It's green blue red it seems I said this morning

#

So then it should be

hot cliff
#

ohhhh

graceful pawn
#

0080ff I guess

#

Yeah it was weirdly ordered in pc

hot cliff
#

it braks before the one more animation >.>

#

like insta break

hot cliff
graceful pawn
graceful pawn
#

There should be just two, the ones I mention

hot cliff
#

way too many

graceful pawn
#

Naah not everything is a color there

#

There are just 2 blue ones

hot cliff
#

are you sure that lightning one is right?

graceful pawn
hot cliff
#

took me here

graceful pawn
#

Weird operations

hot cliff
#

ill try noping it out to see what happens

graceful pawn
#

Yup lets see if it is the color

hot cliff
#

yeah that's it

#

just need to figure out how it gets it colors ๐Ÿ˜”

#

how does it look in the psp ghidra?

#

[replacement Inner rotating square]
pattern = 41 81 C8 00 FF 75 00
offset = 4
replacement = bytes(00 80 FF)
// Inner Rotating Square = FF0080

#

weird

#

the inner square wrote to the right address

#

the color is right according to google

#

but it's not different??????

#

how?????

#

Wrote bytes 00 80 FF as value of Inner rotating square at 0x1400BB21D
[Inaba Exe Patcher] Applied replacement Inner rotating square from omegaultracheat.expatch at 0x1400BB21D

#

everything but the center glow and the inner circle thing is working

#

and i can't figure out why..................

graceful pawn
#

Hmmm maybe its not green blue red but needs to be written other way??

#

The rotating square i mean

hot cliff
#

nah that can't be it

#

it's still the original color somehow

#

it's not being written to right

#

color should be fine, it's just not being called i guess

graceful pawn
#

Hmm weird

#

Did you check its not being called tho??

hot cliff
#

hmmmmmmmmmmmm

#

it's the wrong value yeah

#

says its 000080ff

graceful pawn
#

Oh you mean the patch is not being written

#

Like has the old value

hot cliff
#

nah the old value is 00ff7500

#

but the color in game isn't different

#

so it's not calling the color from here

#

but somewhere else

#

the value here is changed yes, so the patch is applying right

#

but the default color is orange, and it's still orange

#

meaning the color isn't called from there

graceful pawn
#

Orange is default??

hot cliff
#

yeah

graceful pawn
#

Isnt blue the default color??

hot cliff
#

is it?

graceful pawn
#

Yeah it is

#

In psp at least lol

hot cliff
#

shit deos that mean it is working but it's doing some extra stuff to it ๐Ÿ˜ญ

graceful pawn
#

But should be on pc i mean

hot cliff
#

yeah....

hot cliff
#

ok so our color is fine

#

but it's adding some shit onto it naodead

graceful pawn
#

Maybe change the order randomly (?)

hot cliff
#

oh wait

#

the color was wrong lol

#

shit i just annihilated the shadow

#

one sec

#

working now

graceful pawn
#

Uuuh niceeeee then

hot cliff
#

yeah the replacement bytes were FF 00 80 instead

#

instead of 00 80 FF

#

inner glow is all that's left

#

could it be any of these mov's?

#

how does the psp ghidra stuff look?

#

ok yeah that definitely handles part of the color

#

it's white as hell

#

the structure is so weird though

#

like 20c?

#

really?

#

would you say this is the color of the one more?

graceful pawn
#

Naah it was more blue

#

I'll tell you the true one in a while

#

This is how the lightning looks in psp

#

Told you it's quite different

#

But at least you can know the true color

hot cliff
#

so different ๐Ÿ˜”

#

alright i gotta look into this more

#

can i just replace the last few parts with actual hex codes or nah

#

i feel like that'd be easier

hot cliff
#

yeah i can change the two byte ptr's to the actual value lol

#

what color did you go with again?

#

ff0077

#

so the g is 19

#

and the r is 0

#

so 00 becomes ff

graceful pawn
#

Wait don't do that, too agressive naosmiley

#

This function is also called for enemies

#

So you will force that into them

hot cliff
#

oh

#

damn

#

what's the solution then lol

graceful pawn
#

I thought you could do like

#

Before calling the function check the current color it's gonna print

#

If it's the blue one just change it

#

And if it's other just leave it as it is

hot cliff
#

how would i do that as an inaba exe patch lol

#

that sounds more like a code mod

graceful pawn
#

I think you did that already no??

hot cliff
#

?????

#

what?

graceful pawn
graceful pawn
hot cliff
#

i don't really know jack squat about code mods

#

i made one and it hardly works

graceful pawn
#

Ic

#

Well then the other option is pinpoint where the color is being set

hot cliff
#

there's gotta be a way to change how it's calculated for the player and enemy

graceful pawn
#

But it does a lot of weird operations so...

hot cliff
#

highlighting the function shows that these parts are used

#

yeah....

graceful pawn
#

The colors are

hot cliff
#

like it uses params to color it based on math

#

but we don't know what those params are ๐Ÿ˜”

graceful pawn
#

bVar3, uvar4, uvar4

#

Well the last ones with some math but its not the point

#

uvar4 comes from param_2

#

And bBvar3 is the one we can safely change since it's set depending if it's an enemy or player 1 more

hot cliff
#

yeah :/

#

where's swine when you need em femcmad

graceful pawn
#

This should be roughly

#

The 0 one should be the player advantage since the original color is 0x0 for red

#

And you can try to look where param_2 is coming from I guess

#

But looking at the weird math operations I'm not sure

#

There should be some way tho backtracking the values

#

Well we can see something interesting as well with the if from uvar4

#

If uvar4 is 0 then the diamond color changes to enemy one I guess??

#

That means uVar4 is 0 when it's the enemy

#

Oh wait it's not that hard to change lol

#

Since uvar4 will be different than 0 then we will get -(1)

#

Which is -1 -> 0xffffffff

#

And if you and it with the value you want you will convert it to that same value

#

It's anding it with 0x19 so green will be 0x19

#

The second one will be 0xff since it's not anding it with nothing

#

So you should change

#
  1. the bvar3 0 value
  2. the & 0x19 value
  3. add an and in the last uvar4 to change it to the desired value
hot cliff
#

oh wait what

#

you figured it out?

#

how would i do that in cheat engine lol

#

still sounds like code mod stuff

graceful pawn
#

I'm gonna work out for a while now

#

So I'll tell you a bit more when I'm done with It if you cant figure It out, but looks possible

#

Unless a new and needs to be added or smth

hot cliff
#

alrighty

#

i looked at it again and i sorta understand what you mean now\

#

i need to add another and to it for it to work

#

the last uvar4 uses this

#

but the second uvar4 looks like this

hot cliff
#

not sure how, but i think it's possible to do in just an inaba exe patch

#

oh wait there already is a mov for the DL

#

but it doesn't use it.....

#

hmmmmmmmmmmmmmmmm

#

why though

#

well i also need to assign a value to DL so that's fun

hot cliff
#

you could make it into ff19ff

#

just by changing the bvar3 to ff

#

then adding an and to the other part

graceful pawn
#

Since all are ones anding It with the value you want Will throw that same value you want

#

And when it's 0 since it's an and It Will be all 0 so you'll still get 0 with the and

hot cliff
#

oh huh

#

so i can change the bVar3 = 0 to equal 0xff

#

but not the other part?

#

if i'm understanding correctly?

#

or the other way around actually

#

i'm dumb

graceful pawn
#

Yeah bvar3 is easy to change since no operation is done there

hot cliff
#

bVar3 will have to equal the actual value for ff

#

since it's not looking for a byte

#

which is 255

graceful pawn
#

Well it's ff in enemy 1 more tho

#

In player 1 more is 0

hot cliff
#

oh right

#

then yeah both can be ff

#

this color might be ugly but i'm going for it

#

oh wait you did ff0077

graceful pawn
#

But yeah that's the one you can change as It is

hot cliff
#

that's way better

#

alright that should be easy enough to do

#

i just need to change the last blue value to have an and and set it's value to 0x77

#

however that may be possible

graceful pawn
#

Looks like It yeah

hot cliff
#

based on my understanding

#

i need it to call the mov function a little bit below it

#

and then have a value assigned to the DL value it calls

#

but how do i get it to call the DL? the CL looks the exact same but it calls the CL

hot cliff
graceful pawn
#

Ugh x86 is kinda confusing, if only I were more used to it

#

Can look at It at my computer to try and think something

hot cliff
#

yeah whenever you get a chance

#

no rush of course, i might have to leave suddenly too

#

im gonna keep looking into it though, sure i'm missing something

graceful pawn
#

I'll take a shower and take a look at it

hot cliff
#

i think it's the EAX

#

the xor EAX,EAX

#

logical exclusive xor

#

yeah that's the difference

#

the xor EAX,EAX

graceful pawn
#

Uh that'd make sense

hot cliff
#

then the assigning of the value

#

then the adding of the and part

#

but how do you add instructions......

graceful pawn
#

Damn, there's gotta be some way without adding instructions

hot cliff
#

yeah :/

#

i can't think of a way right now but that makes the most sense

#

whyd they have to make this stuff so complex on PC femcmad

#

for an animation that lasts less than half of a second

graceful pawn
#

Denuvo ruining the fun...

hot cliff
graceful pawn
#

Weird thing about xor is it's using eax

hot cliff
#

yeah?

graceful pawn
#

And then it uses cl which should be part of ecx rather than eax if i understand correctly

hot cliff
#

yeah that is weird

graceful pawn
#

So maybe eax is for other thing

hot cliff
#

hm maybe

#

but it is my only lead

graceful pawn
#

sbb seems to be substraction so might be the -() part

hot cliff
#

yeah highlighting that just shows the subtraction part

#

i really think we need to add instructions

#

i don't think that would be a code mod

#

we should be able to extend the instructions with inaba ex patch

#

safely? probably not.....

graceful pawn
#

Okay so DL is the blue tho??

hot cliff
#

yeah DL is blue

#

bVar3 is Red

graceful pawn
#

Uh then I think we might be into something

hot cliff
#

yeah?

graceful pawn
#

You see those three 0s??

#

And do you see how an and takes 3 bytes??

hot cliff
#

yeah?

graceful pawn
#

We might be able to insert an and there

hot cliff
#

๐Ÿ‘€

graceful pawn
#

To change the DL

hot cliff
#

how would that work

#

we'd still need to assign a value to DL

#

oh wait

#

you showed that

graceful pawn
#

It's the exact same operation, will be ending up being an and with all 0xfs

hot cliff
#

huh

#

so 80 e1 and then the value

#

huh

#

lemme get that drafted up

#

one sec

graceful pawn
#

Lets see if this makes sense... (Hopefully)

hot cliff
#

make sig is taking ages

graceful pawn
#

Wait maybe you should go for this:
41 b0 ff
80 e2 19

hot cliff
#

where would that go?

graceful pawn
#

Would be these

hot cliff
#

alright ill try

#

b0?

#

not b8?

#

and e2?

#

19?

graceful pawn
#

Well 19 you can change it to the desired value

hot cliff
#

ff0019?

#

oh

#

so 77

graceful pawn
#

B0 it is because we are loading just a byte there so we make some space for the next instruction

hot cliff
#

and the E2?

graceful pawn
#

E2 would be the dl register

hot cliff
graceful pawn
#

F femcsigh

#

Well we gotta think something else then

hot cliff
#

[replacement One More Lightning R&B ]
pattern = 41 B8 FF 00 00 00 66 F7 D8
replacement = bytes( 41 B0 FF 80 E2 77 )

[replacement One More Lightning G ]
pattern = 80 E1 19
offset = 2
replacement = bytes( 00 )

//Lightning = FF0077

#

that should've worked

#

like it makes sense

#

lemme check cheat engine

graceful pawn
#

Yeah maybe something went wrong ๐Ÿค”

hot cliff
#

ok now that's weird

#

it added the and

#

and the mov is right yeah?

#

i can't tell

graceful pawn
#

Yup looks like it

#

What if you and it to 0 tho??

#

So that we have no blue

#

If any blue shows up it'd be crazy lol

hot cliff
#

no blue at all....

graceful pawn
#

Right so we are into something here

hot cliff
#

hm so maybe i just set the wrong value?

#

ff0077

graceful pawn
#

Yeah maybe the other values need to be correctly set

#

Is the first ff right??

hot cliff
#

yeah isn't -1 just equal to ff?

#

you mentioned something about that

graceful pawn
#

It is yeah

hot cliff
#

there it is

#

the 019 got set to just 00

#

wait no that's right

graceful pawn
#

I think eax is actually our 0 tho of player advantage

#

Like the xor eax, eax

#

So it should be the red

hot cliff
#

wait what?

graceful pawn
#

Higlighting it shows it is 0

#

And makes sense xor with a same value will always throw 0

hot cliff
#

ohhhh so i changed the wrong thing

#

damn

#

one sec

#

so i need to change xor eax, eax

#

to xor eax, 00?

#

how do i turn that into an inaba ex patch....

#

oh wait it noped out the code for the 0x19

graceful pawn
#

It did nopped it yeah lol

hot cliff
#

but undoes the nope sooooo

#

lemme start over and try again

graceful pawn
#

Think it is because the xor is a very light instruction

#

Just takes 2 bytes lol

#

And you are replacing it by a 4 bytes instruction

#

5 actually I think

hot cliff
#

yeah it's 5 bytes

#

hmmmm

#

so mov eax 00 isn't working

graceful pawn
#

I have a plan tho

hot cliff
#

and without it the entire thing is still blue

graceful pawn
#

We want 0xff as red right??

hot cliff
#

yeah

#

ff0077

graceful pawn
#

That goes into our favour

hot cliff
#

that's the color you went with lol

graceful pawn
#

Since either player or enemy will be using 0xff

#

Knowing this we can replace the conditional mov to a mandatory mov of the 0xff bytes

hot cliff
#

i would like it to be able to be anything in case brawler needs to change it

#

alright

graceful pawn
#

We can try stuff while we go tho

hot cliff
#

it's finnnnnnnnnnnnnnnnnnnnnnne then

#

yeah lol

graceful pawn
#

This looks like the conditional mov

#

Just needs to be changed to mov

hot cliff
#

alright easy

graceful pawn
#

This would also confirm whether the other change worked as well

hot cliff
#

oh and then just test?

graceful pawn
#

Thing with the other change is that we changed from moving 4 bytes to 1 byte

hot cliff
#

seems to be different now

graceful pawn
#

And I'm not sure whether it's in the high part of the register or the lower one

hot cliff
#

so r is now ff

#

G is now 00 i think, not sure

#

but B doesn't appear to be 77

#

since it's yellow

#

ok g is not 00 or else it would be red

graceful pawn
#

Yeah right??

hot cliff
#

hmmmmmmmmmmm

#

dunno why

#

unless im doing this rwong

#

it's just 80 e1 00 yeah?

graceful pawn
#

Should be, yeah

#

How is it looking in cheat engine??

hot cliff
graceful pawn
#

I meant the changed 0x19 and

hot cliff
#

oh

#

one sec

graceful pawn
hot cliff
#

just need to make the B value into 77

graceful pawn
#

Does look good then

hot cliff
#

[replacement One More Lightning R ]
pattern = 41 0F 44 C0 41 B8 0C 02 00 00
replacement = bytes( 41 8B C0 90 )

[replacement One More Lightning G ]
pattern = 80 E1 19
offset = 2
replacement = bytes( 00 )

//Lightning = FF0077

graceful pawn
hot cliff
#

yeah

#

that was a pain in the ass to do

#

but we're golden

graceful pawn
#

LFGO demistare

#

Damn we minmaxed every single instruction lmao this one was tough

hot cliff
#

i know right

#

pain in the ass

graceful pawn
#

Feels good when you get it tho

hot cliff
#

alright thanks again for the help with this

#

i gotta look into the blue starting part of the aoa background

graceful pawn
graceful pawn
#

Or do you think its code

hot cliff
#

yeah it's probably in the gmo lol

graceful pawn
#

Yup, makes sense

hot cliff
#

just some material data nonsense i bet

#

ill look at it

graceful pawn
#

Great hee_approves

graceful pawn
#

Huh managed to disable the blue effect

#

Also disabled the shadows tho

#

So gotta pinpoint where that blue thing is

#

But might be close

#

Will try to look later where that is

wanton wyvern
graceful pawn
graceful pawn
graceful pawn
#

Hmmmm...

graceful pawn
#

Looks like an epl, it's loading the same stuff the summoning animation does

#

Wanna try to find which one tho

graceful pawn
#

I'm not sure but it might be possible it is MIX_1.BED

#

I gotta check tho

#

Nah it's not that one ๐Ÿ˜ญ

#

This one is so hard

graceful pawn
#

FOUND IT femc

#

**I think **

#

Should be SYUCYU.BED

#

I just deleted all contents of it placed it again in battle_pack.bin files and the effect just does not show up

floral sage
#

YOOOO LFGHEEFUCKINGHOOO LFGHEEFUCKINGHOOO LFGHEEFUCKINGHOOO

hot cliff
#

niceeeee

#

sorry for not being more helpful

graceful pawn
#

Its okay, wasnt really other way of finding It than looking at the code/memory for it

#

It wasnt being logged so yeah

#

Okay so with this, everything should be done right??

#

Or is there something left??

hot cliff
#

i think that should be everything

graceful pawn
#

End of an era then... femcsigh

hot cliff
#

you wanna try updating the psp port with all the stuff

#

just to learn

#

@graceful pawn

frank raft
#

wait now that bonq left we're NEVER gonna get that summarize of the process he did ๐Ÿ˜ญ๐Ÿ˜ญ๐Ÿ˜ญ๐Ÿ˜ญ๐Ÿ˜ญ

graceful pawn