#Modifying title screen background color using cheat engine + anything else for forever and ever
1 messages ยท Page 5 of 1
i think new byte[] { 0x20, 0x40, etc }
is there a way that the config part of it should be handled in particular?
and with the current setup would I want this going in titlescreen.cs, mod.cs, or does it not actually matter?
you may be overestimating my power but we shall see lol
doesn't matter 
what is the interface I would use for Reloaded.Memory?
or does it work differently for this one ๐ค
just a regular library with this one i think
well like just to add the project reference
im used to it being in a dedicated interfaces folder or similar
or is it just the Reloaded.Memory.sln file in src?
lol
i'm just now realizing you've had it rough with all the git and reloaded libraries stuff
it is never ending pain it seems lol
it's normally way easier, when not modding
right click your project dependencies, add nuget package
click the search tab instead of installed
search for Reloaded.Memory and install
then just var mem = new Memory();
and then something like this?
ignoring the fact that i just copy pasted this... does anything else look off, is this roughly how it should be handled
I should've left this earlier but this is where I left off. it seems according to the template, address is for the pattern to write to, and I assumed that second part should just be the replacement. however it does not seem to like the pattern, says it can't be converted to a nuint. and that's where I'm stuck bc idk how to put in this pattern at all
Yeah, that's not really how that works. You need to use sig scanner to get the address then put that into safewrite.
Could you make a separate help post for it, this one has already gone to hell and I think the explanation/help will actually be applicable to other people so it'd be better if it was in a post that wasn't 5 million messages long
yeah sure. i probably won't work on it any more tonight though
I doesn't need to be like it is, people just don't like publishing interfaces to nuget for some reason ๐
The one or two I have made myself I've published to nuget, in the unlikely case that they ever get used it's much easier that way
That's fair, just ping me when you decide to
I did not even know nuget was an option ngl
alright
i thought we stayed on topic ๐
me and ivan are almost done
we're just trying to work out the little blue bar in the aoa screen
the title says "anything else for forever and ever" too!!!
i should've removed that
lmao
anyways I've made a separate post as requested - I'll tag you there when I'm up to work on it
I mean you mostly have, it's just tbh I don't know if this post could be particularly useful to anyone else. It's got so many messages and whilst you are technically on one topic, it's quite a broad one
sorry
It's fine, it would be hard to split this up into multiple posts without having a heap of them, I think
ill go through the messages and make a good summary of discoveries before the post is closed
like all the ways RGB is stored, link to the ghidra project, breakpoint info

it's tedious
I don't think it's that bad...
Spend a bit of time getting it set up with github actions then don't think about it again (at least until your nuget api key expires ๐ )
you mean you can upload straight from an action?
yes!
all of my projects that use interfaces automatically upload to nuget when a new release tag is created
github actions can basically do anything
except work the first time
true lol
How were you able to view the gmo like this?? Would be cool to have the program
What makes me wonder if the coloring is done by the epl is that It shows up as white
Yesterday I also used a visual debugger the ppsspp seems to have which seems powerful
And at the moment of printing the strip It showed It was white but then when It printed It got blue
So might be possible It is being done through Code (?) hopefully...
BedTools!
it's by pio
it's on gamebanana
you can also get psp_tools.7z for gmoview and gmoconv
i forget where you get those
but you'll need those as well @graceful pawn
that kinda makes sense
when you view the tmx files for EPL and BEDs they're white
dunno if that means they're colored by the EPL or the game itself
i'm just a little befuddled as to why recoloring the gmos itself had no noticeable effect
working theory is those bars are pulled from somewhere else instead
i noticed that with femc fusion spells
the game does some stupid shit where the same file can be in multiple spots, but it only ever calls to one in one specific spot
you can see that here with this mod
https://gamebanana.com/mods/499266
despite the gmo being in every single BED file, it's only ever called from MRF_110
even more annoyingly, this isn't shown on the print file log
as the print file log just prints that it's at the file you're currently loading, which isn't true
dunno if that's a bug with reloaded or just part of how the game works or not
Oh don't tell me It was all in bedtools 
well the viewing part is gmoview
Thought It was just for extracting lol
it is just for extracting
and recompiling
the viewing part is gmoview like i said
to adjust the gmos itself it's gmoconv
or technically sadoaiya too
there's nothing you can really gleam from the extract outside of looking directly at the files contained within
Thanks jeez think I spent a lot time looking for the gmoview and It was just before me 
if you can't find gmoview, noesis should work too well
Thing is I used noesis but I didnt get good results
Didnt make any sense what It was printing
lemme get you gmoview then real quick
gmoview and gmoconv as well as gimconv and gimview
Goated 
if you need to load multiple models at once hold ALT and drag both in at the same time
Idk why but was impossible to find yesterday wow
if it doesn't show up then press A
yeah the link to it on the sadoaiya site is dead and pio hasn't reupped it
All right
now have more stuff to play then
cool cool
lemme know if you find anything
hopefully we can understand how EPL coloring works
oh weird
Think it might be some dependency I dont have installed
seems to work fine for me so probably
maybe check the readme files
no idea why it doesn't work for you
pio never mentioned any dependencies
Yeah, did that but there's no mention to dependencies so... Huh ๐ค
Amazingly enough that one does work 
try this
Dont really know how to test it tho
lemme hear it
Nope, still same error ๐ญ
damn
Yesterday I remember stumbling in 010 editor one value that kinda looked like a color maybe
it was #009deb
But today looking at the texture debugger of ppsspp I found this
Which is #009beb think its the same color I saw
I may have wrote it wrong before
Lemme look at the actual color I found
It's a match huh??
yeah it is in there huh
How can we test it tho??
only in one location
just hex edit and change the value lol
then load the file
simple
what color do we want
oh do you not have mod support enabled
But can send you the modded file if you want
there's a modding guide on gamebanana that's super easy\
I'll set it up then so I can test this stuff
What color are we going for in this one tho??
i made it hot pink so it's obvious
testing time!
when you get it on PSP it goes in battle/cutin/syoudaku
Nice, let's pray to femc 
All right 
WE COOKINNN 
holy shit why did pio massively overcomplicate it 
it's quite literally a hex code in ONE LOCATION
Literally lmao
Maybe it can get harder depending of the .gmo tho
Because in this case its just a line luckily
Hell yeah
ok now we need a better color than this
hot pink is gross
and also ima need that PC function to recolor the button prompts too
Yeah, think the normal color is just like the typical blue the game uses for mc
pretty sure
So we can use the typical pink for femc
well hey i'm also glad my theory of it being colored by the EPL was true
Yeah, I would have gone crazy looking for the color in the code ๐
oh sweet
ok now i gotta get another aoa in
and then step out right?
or is it right there haha
All right this is the string yeah
Well it's a read breakpoint in this string I meant
oh so not what we're looking for yet
myb
i think this should be it
there's a render button icon above
as well as a check for key pressed
Looks like it ๐
time to find the hex code then
You getting good looking to these hehe
i'm learning!
Yeaaah
there we go
9c cf ff
what values did you change it too?
it's a softer pink in your image than the usual femc colors
I think I used a soft pink for those
Think I used this pink from config screen
Lemme look at the cheat
Right, I'll change it then
why does the game always do this
leaves a little slice at the end that's colored a different way
Hahahaha that's because of the rounded effect of the square
Like probably game uses a texture this small only but it extends the edges to the right
And then inverts it to end the square in another draw
Hope I'm explaining lol
They love that lmao
What color did you finally went for the pink strip of the epl??
Wonder if I can use your epl just as it is
Guess they didnt change it from psp to pc port right??
Nice, you have it there??
Thanks ^^
Yup I'm trying to do that now
why is it unable to find the address for my patch wtf
am i crazy
C6 44 24 38 FF C6 44 24 30 CF 44 8D 42 6F C6 44 24 28 9C
finally
I GOT MY SCREENIE!!!!!!!!!!!!!!!!!!
oooh this looks so damn good
So peak 
ok we gotta do something about those blue lines as well
i really have no idea what they are haha
i think this?
i can't tell
that's what it says is being loaded
yeah it's definitely that
It's a .dds??
yeah
for PC
oh wait
ill handle that for the PSP version
explaining the process of how to get that texture inserted on PSP would completely derail this thread
But this looks like the aoa backgrounds right??
yeah it does
that's the weird thing
but i did the aoa and the pink texture also loaded didn't show up?
so i guess it's fine?
Maybe it's another thing and it's just preloading it in case it's gonna use it??
Huh that'd make sense then
yeah it's the aoa backgrounds ๐
sad times
wonder what the blue streaks are then
Yeah... Think it is a 3d model or something when I tried to find it some days ago
But cant really pinpoint where it is

i'm gonna work on restructing this as an independent mod real quick
ive been adding all of this to an existing mod lol
Lmao
here's all the adjusted epls for the bar
Great ^^
independent mod time
time to make it for aemulus
you got a final updated cheats.ini on you?
Yup, lemme look for the cheat file
Here you go
Also changed the cheat name to Total Kotone Overhaul
sweeet
thanks
it's all coming together
ill do a thumbnail later
it's 3 AM
i have an idea but it's dumb
oh for real?
Or did you change it
i think i might've adjusted the values wrong
Maybe you wrote the soft pink ones by mistake
Now we are talking 
niceeee
Btw @hot cliff before you go to sleep, do you have a psp save for the time limit??
no but you can redo it if you have the margaret stuff unlocked
i do have saves for those
one sec
if you go into the margaret door on the left you can refight the priestess
Nice, how can I acces it from those??
Ic okay okay
True that's another one
Don't think there's anything left, gn!!
Hehehe thanks ^^
Seems there is no time limit if done through the door ๐ญ
mod menu it is then
I finally skipped the whole start since its quite close with fast forward
And found the values!!
There you go, it's done
Can send you a save with the day before the operation as well to find the values on pc
Guess there should be a way to convert it to pc save already
I do also like... have a PC save for that day lol
its one of these, sorry i havent checked these in a while lol
Kotone Shiomi, iirc I was playing on Normal
Nice then
Advice if you wanna look for the time limit value, it's stored in seconds in the memory
Its not minutes and then seconds but all together
oh nice i was about to ask about that
do i not add a break point on the time limit text lol
those saves go from 4/7 to 5/31 btw so maybe it's one of the saves in the latter half
For this I used cheat engine and waited when the value changed to go for "Decreased value" for the memory search
You should be fine doing that
Also can send you how the function looks in psp just a sec
cool cool
It'd be looking like this, the arrow call shows where the color for the timer is, there are more just after this one but they are not important in this case
So yeah original color for that is #5bffed
Think I went for the standard pink used in the analysis menu
But you can test with other color
Whatever fits best, it can be changed 
I'll send the psp patch, think i didnt send it yet for this one
Here you go
Seems I went for#ff5b9a
Think I used 5b for green to make it more similar to the original timer color
Great 
yeah sadly
i cannot find the time limit address doing what you said
nevermind i got it
yeah i got it
0F244B84
breakpoint isn't responding though
The read breakpoint isnt doing anything??
weird and i can't find the address in ghidra
oh i did hardware break point lol one sec
Woops ๐
Didnt really need the step out in this case
Yeah on read only
You got it ๐
hmmmmmmmmmmmmmmmmmmmm
[Inaba Exe Patcher] Multiple replacement values specified for Pink Time Limit B, using last defined one (bytes(5B FF C6 44 24 20 FF))
[Inaba Exe Patcher] Wrote bytes 5B FF C6 44 24 20 FF as value of Pink Time Limit B at 0x140111830
[Inaba Exe Patcher] Applied replacement Pink Time Limit B from omegaultracheat.expatch at 0x140111830
that's a problem
The patcher you mean??
Oh then that'd make sense XDD
Yeaaah 
Can only think of the player advantage ๐ค
i wanna challenge myself a bit
i wanna find and recolor the player advantage all on my own
so ima look for it
and do not help me until i ask for it
and make sure i really want the help
Uuuh that one looks more challenging than the usual ones
But it's a good challenge to go through, let me know if you really need the help then
I didnt try to find it yet though, probably I'll try later
But have a lead from the previous researchs so might go from there
okay you may be right
adding a break point to the access of the SPR textures containing it insta freeze the game
and doesn't let it continue so i can't actually start a battle
Yeah, a lot of stuff is being drawn there ๐
and i can't find the part where it actually calls the one c_main_07_10 texture 
it just calls the spr
Oh so you know the spr??
yeah
but adding a break point to the main SPR texture insta freezes the game and doesn't let me actually get the battle started
You can try to look at the sprts (although there probably are a lot of them)
it's like it's constantly accessing something from that SPR
it's this one
you can tell by the way it is
doing a string search for c_main_07_10 yields nothing in cheat engine
๐
yeah probably
You can also
Since it's stopping the game you can nop the function that calls the time of the day, making it not drawed
oh true
And also potentially not stopping the game
If there are no more calls to that function that is
ok now i gotta find that too
But since it's accessing that probably that same function might be drawing the advantage as well (?)
oh well the first function is loading the camp file haha
that might be handy later
14A361F05
ok well i noped out something
it let the game continue
Uuuh good sign
140212D1A
except im on a new floor
and it froze again
with the time of day still rendered
game crash ๐
alright lemme be more selective with this
This is entering combat??
is it?
Idk did you enter combat?? XDD
no?
Then its not
Maybe you nopped something that was handling with the memory in some way
And when entering a new floor memory changed and some bad acces triggered
Which one you think looks more interesting...??
Don't you think the second one might be it??
1403B8CBF
are you hinting ๐
i had a feeling it was it
there's some hex codes there
but i checked them all and none of them are blue
soooooo
ill check again
Maybe... ๐
are you sure it's the second one? none of these hex codes are blue
and it's definitely not enemy advantage, i hit that mfers back
Probably enemy/ally advantage is in the same function (I guess, dont really know 100%)
Didnt really look into all the functions but it def seems suspicious enough to investigate
Like it prints a lot of stuff and plays some sounds (think enemy/ally advantage plays sounds right??)
im about to lose it, it's all either red or yellow
yeah there's a little like
warble sound
Yeah yeah
There are more ways to represent colors correct, depending on the function might be even reversed
Oh lol
Well maybe you did read some red
But from the enemy advantage part of the code don't you think??
Well take a look at the function arguments before
it says the first value is alpha
Color starts at argument 6
oh
Counting from 1
uh then i don't know haha
We can take advantage from Swine already documenting the function hehe
swine documented the advantage function?
Take a look lower in the function, you might found the same one...
Nah but documented the RenderSprTexture one with the arguments and stuff
That one's looking like another color ๐
how would i get the color from it haha
seems like the color is calculated
0x19 is the alpha yeaH?
It's not the alpha but it's the green value
oh
You can hover at the function name and the arguments order will show up
am i bad at counting wtf
Hahaha its okay
Yup, it's a strong blue
Yup, that one is pure red
Not sure, you can try to live change it in game and see what changes
But looks sus
ok just so i'm understandintg
0xff is the R
0x19 is the G?
yeah there we go
0, 25, 255
255, 0, 121
Yup thats the color
You can try to change it with cheat engine with another color to test it works tho
what is the 0 value here?
i don't see it anywhere
yeah that's what i'm doing now lol
Oh right lol
Well judging by the ordering it should be, yeah
Might be some register reuse
And the addresses also make sense for the value to be the 0

it hardly recolored it
just this little pink part in the center
i had a feeling it was in a million spots
Yeah, looks like it is ๐
ok one second lemme make this into an expatch for easier modifying
better screenshot
just that pink part in the center
UGHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
ok gotta get hyped
we're almost done
legit where else could the colors be
ok i'm calling the towel, ima need you
plus i need to go on my morning walk since it's nice and early
Uuuuuh getting close!!
am i?
Well you got that center thing colored
Now gotta find the other stuff
I guess they could also be reversed tho, because I see a lot of starting colors by ff
yeah maybe
thereโs a bunch iโve seen
wait for me
iโm taking a walk
i think iโm super close
Like I'm looking at the lower part of the function since it looks like the one with the blue colors bc we got the center there??
Yeaah dw I'll be playing p3fes
Can't believe I'm ending the game for the first time lmao (the journey part tho)
yeah thereโs a million other color references i saw
a lot of them started with ff
but for some reason the functions were unlabeled / undocumented
Yeah probably they are not very used in many places so Swine couldnt document them at the time
yeah itโs probably due to the moving and fading
Yup the whole animation
my only concern though right
is that if i read the color forwards itโs red
if i read it backwards itโs blue
unless thatโs intentional
i hope i donโt have to make my colors opposites
Yeah but looking at the upper part there are some colors that look blue even though reading them backwards are red
So its probably a matter of reversing them and that should be it
back from my walk
Lol just started looking in the psp code
Was considerably easy to find since you found the function in pc
Was testing that just now and seems our theory was correct
At least the font of the "Player Advantage" text has the color reversed
huh true, should not always be
Lol in my case I have player advantage on top and enemy advantage at the bottom contrary to pc XDD
Huh this looks interesting yeaah
so this must be the right function
Hmm weirdly enough its not stopping there for some reason
Seems to be stopping in an upper one which looks similar
Seems to be the main square behind the player advantage thing
Yup that one looks like it
weird
the color doesn't seem right
unless i'm doing it wrong
and ff is the alpha
wait it is
shit
Nice!!
Think I'm gonna start with the patch before I forget any value lol
Yeah I'm finding the value for psp as well, seems it's kinda hidden might be being loaded earlier??
yeah maybe
Considering it is used two times as an argument and looking at the asm might be XMM9 right??
Yeah in psp it is also weirdly done lol, I'm searching for it
i'm going for a temporary hot pink color
FC 43 EE
we need some hot pink up in this bitch
testing time!
All right, will use this for now then
Uuuuuuh very nice 
i wonder what that other blue part is for then
ok time for the text?
did you already find that?
you mentioned something about that earlier
Think there is something similar in mine before yeah
ok so not that?
So may need to be changed from some locations
Or maybe it's a register like this last one and it gets reused
In my case only one rectangle got replaced ๐ญ
Gotta find the reference to the other
If only psp had these optimizations ๐ญ
i think this is it
Oh well it's just finding it in other location
it's the only other ff8266 reference in the function
Def looks like it
yup that's blue
ff66af replacement color
wait
this definitely isn't the text then
because it's blue
wonder what it is then
time to test
Maybe we can make it soft pink
Huh not sure right now
are you talking the diamond, the glow, or the text?
how does stock P3P look?
well I mean like including the diamond and glow. aren't they both blue in stock?
Nah those are provisional for now
I was kinda thinking, you could make the diamond more of a reddish color, and then keep the text as is - the diamond is darker which would make the text a bit more readable
We could go for a similar ones for the text but in pink like this one #ff66cc
here's the current one
I'm on my phone, can't exactly look lol
text is still gonna be blue so we're gonna need to replace both
oh sorry lol
or test really
just boot up P3P on a windows emulator for android duh
come on brawler get with the times
I should clarify, leave the text like this
is that... even a thing? lol
yeah
yes
ive seen it before
?
Only problem with that is that it might look too similar to the enemy?? Should be better to differenciate a bit from that, dont remember how enemy one looks tho
oh true
yeah enemy advantage is red lol
I forgot about enemy advantage
yeah so pink it is then
just don't get ambushed 
Skill issue lmao
shadows in this game are bullshit compared to P4G imo
fuck you mean you can dodge my swing
P3 shadows when you walk up a slight incline:
๐

I'm going to also see what people think femc's colors are to see if there's anything else that can be used... but it's all warm colors iirc
pink would look different but it's not as different as blue vs red...
blue really does feel like Makoto's color though lol
Yeah that'd make it more different to the enemy one although its not 100% femc color
two ways to go about this then
- go with the FEMC theming, make it pink/orange, lose some visual clarity
- prioritize visual clarity, make it like... green or something (or leave it blue), at the cost of FEMC theming
Purple could be an option even tho not being her colors but close enough
I think purple does still run into the visual clarity issue but yeah
this one I think you'd want as a toggle for people who want more visual clarity, are colorblind, etc
Thinking about that yeah you are right
try e800d9 for the diamond?
we can easily make each part of the PSP mod a toggle considering it's just cheats
Yeah can always make more versions of the same cheat, it's all commented
I'll try to look into it tonight, hopefully we can get it solved by then. really hoping it isn't too complex but as soon as I get home I'll ping sniwe and we can get going from there
ehhhhhhhhhhhhh
Actually this purple??? ๐ค
oh shit there we go
Dont know, can look it with the psp sprite debugger tho
i got it don't worry
you can also just color pick to get the hex code
5d0043
93, 0, 67 it is
Yeah but screenshots always tend to alter the color a bit
color picked screenshot also got 93 0 67
Uh nice then lol
why is it so hard to get player advantage on scared shadows
that looks incredible
i like that a lot actually
good idea ivan
Lmao I have the power of save states
Think it's far away enough from red
Yeah might be a good idea
it just looks a little weird to look at compared to the default and enemy advantage
maybe
That as well ๐
also that expanding square around it is still blue, are you still trying to figure that one out?
Like how it looks, let's see how it is with the last stuff left...
I gotta do the lightning yet for the psp version
What was the color of that again??
Like the first circle of pink i mean
Think it's the first value you found
Right 
I think I wanna look at the full animation at some point bc I do still feel the diamond is too dark but maybe it looks better in motion
lemme test the final thing and then ill send the updated expatch
Yeah we can make it a little bit less dark if it's not looking that good at the end
We gotta find the spot
ok got it
i found the outline
man did i not get a screenshot in time
all pink!
i reused the text color for the outline because they reference the same color @graceful pawn
outline code looks like this btw
Are you sure the lightning color was that one?? Looking like this here
uhhhhhh
Wait might be a cheat problem
yeah sounds like it
I'ma check
you can look at the expatch to get the hex codes
[replacement Pink Advantage RGB]
pattern = C6 44 24 38 FF C6 44 24 30 19 44 88 74 24 28
replacement = bytes(C6 44 24 38 79 C6 44 24 30 00 c6 44 24 28 ff)
[replacement Pink Advantage RGB PT 2]
pattern = 66 C7 45 48 43 59 C6 45 4A FC
offset = 4
replacement = bytes(5D 00 C6 45 4A 43)
[replacement Pink Advantage RGB PT 3]
pattern = 66 C7 45 48 66 82 C6 45 4A FF
offset = 4
replacement = bytes(FF 7F C6 45 4A D3)
[replacement Pink Advantage RGB PT 4]
pattern = C7 45 48 66 82 FF FF
offset = 3
replacement = bytes(FF 7F D3)
Now it's showing the correct color for the lightning
They changed the font between pc and psp?? Lol
Now I'll find the outter squares so I can have all the colors in one place
weird it seems so
wouldn't be the first time, P4G did the same thing
Interesting
I'm not sure if there were changes from P4G Vita to 32 but there were definitely changes from 32 to 64
@graceful pawn found one more blue thing
the summoning smoke during the evoker animations
i'm looking into the bed files now
it's one of these i know
Oh you wanna change those as well?? Like the ground blue effect??
Yeah should be possible
ok it's definitely HATUDO_S
try and see if you can get the hex code for it
fixed file, other one is broken
Btw can we make text and square outlines color to be #EE43FF??
I need that ff or the cheat would need more space
Not needed for the text but to make it consistent I mean
Looks like this (so hard to screenshot this lol)
no worries lol
Great 
looks fine to me
Now we are 1:1 with the pc patch and psp patch nice
nice
nice
i'm looking in the same spots for the summoning effect and can't find anything reminiscient of a color
maybe it's in a different spot
how does that color debugging thing work btw?
It's in Debug > GE Debugger on PPSSPP
neat
You can hover any part of the current frame and will tell you the color
Yup, that's how I got the true color from the .epl
there's also a PSP mod where it's red if that's easier to find
Having this tho
otherwise it's just blue
We can just make a diff with the original files
And see where did the edition happened lol
In linux there was a command to do the diff but not sure how to do it on windows
There should be something
Oh wait
Think it was cmp??
And told you the first byte it changed
damn not a windows command
here's the blue one and here's the red one
True...
Probably because it's a more elaborated animation
But there are things that look definetely like colors dont you think??
Yeah I have it
This for example looks clearly like a color
oh wait are you not using the template
Well it was a quick search ๐
use the bed template
I gotta go rn to work out for a while
All right, gl!! 
crazy
there are a lot of colors here though
this might be hard to make entirely pink
lemme write out all the colros so we can get our resident expert on it
010648, 2E069B, 29BADE, 7E06FF, 4AF6F6
This is in the original right??
Right
in the original
You can try changing some and see the effect it has in game
yeah
there's way too many to change though
there's a bunch of 29BADE and 7E06FF
so i guess i could start there
Yeaaah
Btw I think we should make the text color lighter so it's more readable
At least in psp it's not very readable
In pc it looks more white
But we can check this stuff later