3Dmigoto icon indicating copy to clipboard operation
3Dmigoto copied to clipboard

Tutorial of mesh dump and injection

Open asd2323208 opened this issue 3 years ago • 4 comments

New to here,is there some tutorials of mesh dump and injection?

asd2323208 avatar Oct 24 '20 15:10 asd2323208

If you haven't already you should start with my costume modding tutorial for Dead or Alive Xtreme Venus Vacation: https://www.youtube.com/watch?v=zWE0xP4MgR8

This tutorial assumes 3DMigoto is already set up with the necessary settings to dump & re-inject meshes, but I'd still suggest starting there so you can see it works in a known good game before worrying about how to set it up for another unknown game. DOAXVV is free to play, so you can easily* download it and follow along with the tutorial, and you can take a look at how I set up frame analysis and mesh swapping in the d3dx.ini

* See the intro here for links to install: http://helixmod.blogspot.com/2018/03/dead-or-alive-xtreme-venus-vacation.html

In principle this can work in many other DX11 games, but there are some caveats:

  1. Game developers routinely break all rules and expectations so you can never be sure if anything actually works like it should or does what it says. Expect curve balls, and expect a lot of them - I cannot predict what random nonsense a given game will throw at us, and often have to come up with solutions on a game-by-game basis**. Because of this I cannot guarantee that any of this will work in any given game without trying it for myself, and can't really provide generic instructions that would work in any game.
  2. I still haven't got around to updating my Blender addon to work with games that use multiple vertex buffers, which is currently my number one request related to this topic, as a lot of games do this (I do have a work in progress in a topic branch, it's just ... personal life got in the way).

That said, a number of modders have added mesh swapping to a variety of other games (based off my DOAXVV mod, but without my direct assistance - I've seen some have even altered my blender addon for quirks of the games they are working on), so it can be done - I'm just trying to set some expectations about what you are getting yourself into.

** DOAXVV was no exception - I had to overhaul 3DMigoto's frame analysis to support deferred contexts just for that game, because they opted to use threaded rendering despite only using one render thread. DOA6 doesn't use the vertex positions in any geometry controlled by it's soft body simulations and lies about what half of the other vertex semantics are, requiring some heavy customisations in the blender addon, etc, etc, etc

DarkStarSword avatar Oct 25 '20 23:10 DarkStarSword

Thanks the video is very useful and glad to hear you're working on the blender add-on, best of luck!

Swagsy avatar Nov 05 '20 19:11 Swagsy

tried some games,most of them are using multiple vertex buffers,which is a sad result

asd2323208 avatar Nov 07 '20 18:11 asd2323208

now im gonna test some android emulator hope it works

asd2323208 avatar Nov 07 '20 18:11 asd2323208