[Solved / Help] iFruit Scaleform weirdness?

I’m looking into recreating the iFruit phone/scaleform in game, a lot of my work is thanks to Xinerki and manups4e, who have two mostly working scripts. A lot of what I have is working great, a lot of apps work fine, however only some of the list scaleforms, i.e. the texts list display and the e-mail list display, appear to have a weird issue where some of the data slots are greyed out until selected, and once the list is moved up or down the list is greyed out again. For reference, when using DISPLAY_VIEW on the phone scaleform, the second parameter is 6 for the text list, and 8 for the e-mail list. This is what I mean when i say greyed out:
https://gyazo.com/5c1f627cd960ffd5d8bb667749efb397

It happens whether I use the C# wrapper for calling the scaleform functions i.e. Scaleform.CallFunction("SET_DATA_SLOT", 6, i, 12, 30, 34, "Maude", "Message"); or whether I use the API/native calls that equal that CallFunction method. I’ve basically copied what I can from the de-compiled scripts here https://github.com/root-cause/v-decompiled-scripts/blob/master/apptextmessage.c#L2123 and still the same issues. Is there something obvious I missed? I know the KGV phone resource by Xinerki also has similar issues, so is this just something that isn’t fully understood yet?

I appreciate any help / discussion, thanks!

I had the same problem, the only solution I found is to edit cellphone_ifruit.gfx directly.
Colors are set before the text so colors are overrided to their default values…
The solution is to set colors after the text (in the gfx code)


(exemple from SETTINGS.as)

1 Like

You are a genius, thank you so much! I don’t know why streaming a replaced gfx never even occurred to me. Thanks again :smile: :

sorry… once you edited the gfx how did you stream it into the server?

Put the file in Stream folder (nothing to do with fxmanifest.lua)

oh allright… thanks :smiley: