• This is a reminder of 3 IMPORTANT RULES:

    1- External self-promotion websites or apps are NOT allowed here, like Discord/Twitter/Patreon/etc.

    2- Do NOT post in other languages. English-only.

    3- Crack/Warez/Piracy talk is NOT allowed.

    Breaking any of the above rules will result in your messages being deleted and you will be banned upon repetition.

    Please, stop by this thread SoccerGaming Forum Rules And Guidelines and make sure you read and understand our policies.

    Thank you!

FIFA 19 Lua Modding?

beta990

Reserve Team
Anyone here with Lua experience?

It seems to be possible to load code in memory by using a decrypted initfs_Win32 and Hex-edit something like this:
Code:
core.readKeyValueCfg("/user/profile/settings/Test.lua", _G)

This is my Test.lua:
Code:
#!/bin/lua

function sayHello()
   return "Hello beta990"
end

print(sayHello())

When dumping the game memory I'm able to find 'Hello beta990' as full string.

I'm not an expert, and don't think it is possible to overrule/overwrite *.ini values, would be great if possible, but no hopes for me.
 

Aranaktu

Club Supporter
The problem is that you don't control when your .lua code is executed, in this case it's probably executed at game runtime?
I've tried to do script loaded last year, but without success. I've just managed to hook a few lua functions, but no luck with custom code execution. Lua scripts that I managed to export from FIFA 18 with frostytool are in attachment. You can try to use some. :)
For full control, you will probably need something like this. -> https://www.unknowncheats.me/forum/far-cry/273726-cry-5-script-loader.html

This is great find anyway, I'll try to play with this when I'll have time. :)
 

Attachments

  • fifaLua.zip
    126.2 KB · Views: 331


Top