Jump to content
Korean Random
traum

Runtime mod execution

Recommended Posts

Hello, is there a known method to load a .wotmod mod during runtime?

i‘m currently trying to reverse the wotmod loader function and wanted to ask first

Share this post


Link to post

Short link
Share on other sites

No, there is no way to load .wotmod after ResMgr construction was finalized. You need to perform heavy assembly patching to do it.

Share this post


Link to post

Short link
Share on other sites

Sorry for the noobie question, but I am quite confused.

For example, if I want to read the player positions internally, how would I get the entity list?

Using classic „game hacking“ methods. I can‘t seem to find the list.

 

Also, is it possible to run python scripts during runtime?

Share this post


Link to post

Short link
Share on other sites

how would I get the entity list

import BigWorld

BigWorld.player().vehicles
# or
BigWorld.entities
# or
BigWorld.player().arena.vehicles
# and much more

run python scripts during runtime
PjOrion's WoT-Transmission

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites
On 4/8/2023 at 3:23 PM, Kurzdor said:

how would I get the entity list


import BigWorld

BigWorld.player().vehicles
# or
BigWorld.entities
# or
BigWorld.player().arena.vehicles
# and much more

run python scripts during runtime
PjOrion's WoT-Transmission

WoT-Transmission doesn‘t work for me. Don‘t know whats wrong, it starts wot and then „transmission closed“ or smth.

Ended up doing my own python executer / injector.

Just utilizing PyRun_SimpleFileExFlags / SimpleString and PyGILState_Ensure and Release.

Works perfectly.

Share this post


Link to post

Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...