Vadru93 / LevelMod

THPS3 LevelMod
Other
21 stars 2 forks source link

Custom HUD support #28

Open DCxDemo opened 4 years ago

DCxDemo commented 4 years ago

Textures from Data\images\PanelSprites are currently hardcoded in exe and you can't swap them, unless physically.

Probably can find a pointer to bitmap in memory and store that in dll a dictionary (manualbar = 0x000xxxxxx (where pointer to Data\images\PanelSprites\manualbar32.png is stored))

then provide CScript like SwapHudTexture slot = manualbar with = "custom_path\texture.png"

Then can have a menu to load custom panels. Can somehow extend that to theme support later (#22).