assembly - Modding hardcoded calculations (Victoria 2) -


i modder* of victoria 2** , have come across problem. there hardcoded calculation in value divided value. want change calculation division, subtraction.

i have downloaded program called ollydbg ( http://www.ollydbg.de/ ), able turn game's .exe assembly code.

i have checked coded divisions (marked 'div' there) , found 256. there several div dword cases, understand double words , not thing searching for, there 62 div ecx cases think thing should looking at.

how figure out division 1 searching for? there easier way or more or less hopeless try this? hope community can provide answers.

note: not have experience assembly language , new me.

*(for few don't know) person creates edited version of game

**a grand strategy pc game

edit: should note know 2 values used calculations, both dynamic , depend on situation in game. possible use cheat engine find addresses values have , use find code want change?


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -