Hi welcome to the first non-Japanese made touhou mods ever!

Yes Im just as surprised as yall are. I thought they woulda gone apeshit 
whe nthe modding tools got released. But oh well. Some1's gotta do it.
(Note: if this is not a touhou mod, disregard those statements. I just c/p this readme into all the mods)


Most of these new high-poly detailed anime mods are ported from Miku Miku Dance.

Now you modders out there are probably gonna luv this little trick:
Random models are almost never in the right pose to rig for GTA4. But, by first
rigging it to a GTA:SA model with the same pose, then moving the body using the bones, collapsing the Skin Modifier, and finally deleting everything but the mesh, it is possible 
to rig pretty much any humanoid model to GTA4. Getting facial expressions and shit 
is another story.

If you are lucky enough to see a fully animated face, it means that they miraculously figured out blendshapes and I imported the ones from MMD and used them. Yayyyyy ... chances are that wont happen.


I'm sure the Japanese modders could easily rig these models to GTA4 with facial expressions and everything flawlessly, but unfortunately it looks like they dont give a flying fuck about GTA4 modding. Guess they dont like the new and improved graphics and physics huh???

AAaanyways...
U'll need OpenIV version 1.0

(U could get away with the versions as old as the September 2011 release,
but if u should need to edit the models, these newer ones were made by the latest GIMS 
and OpenIV as of June 16, 2012, so keep that in mind. Yep model stealing isnt an issue. 
In fact its more like nobody gives a shit about modding GTA4 and I get to do ALL the work! Hooray. Anyways, if the files in the src folder cant be imported into GIMs and/or OpenIV, then 
that means your versions are mismatched. Use the wdr files instead and export to odr or w/e.
I dunno! Use ur judgement! If ur planning to edit, then u should at least know SOMETHING)


Alrite so heres how this works.

(As always, BACKUP the img and rpf files that ur going to mod! Reinstalls are nasty things.)



Player models:


open playerped.rpf in ...\pc\models\cdimages\
activate edit mode if its not already enabled

replace head wdr file with head wdr, feet with feet model, etc...
remember to use the replace command.

replace all the textures that u need for each body part with the wtd file. its one texture for the entire body, and each bodypart uses that same texture. In case u wondering, the file ur replaceing WILL NOT RENAME the current file in the rpf archive. Only the contents will be replaced.

So to recap, u will replace each bodypart wtd file with the wtd file in the player models folder. each one.


lastly, replace the player.wft file with the one from the mod. Note: U only need to do this if u are modding TLAD or TBOGT.

If ur just modding Niko, u can skip this step. If ur modding Luis or Johnny, then u may need to do this. The bones change a bit... the models here were rigged to niko, sooo..... thats why u replace their skeleton with Niko's!




Ped models:

For cutscenes, open this archive:
..\pc\anim\cutsprops.img

For in-game peds, open this archive:
..\pc\\models\cdimages\componentpeds.img

Im sure u can figure out which character is which to replace with.



replace wdd file with the mod's wdd file. Yes the one that says cutscene. The ped wdd file is essentially the same, but with only like head_000_u, the cutscenes sometimes have head_001_u, and some peds have that too, so I figured, eh wth, ynot use the cutscene wdd for everything. Use the facials cutscene, as those have moving mouths and such during speech.

replace the corresponding bone (wft) file for the ped u want to mod.
for cutscenes, it should be cutscene bones, and for peds, ped bones

now this last part's important. 

OPEN the wtd file and REPLACE THE INDIVIDUAL BODY PART TEXTURE ENTRIES INSIDE. DO NOT REPLACE THE WTD FILE! replace the entries inside it with... the png image inside the src folder. like for marisa, u would replace the texture images with marisa.png. You dont need to replace the normal or spec textures. Normal (bump maps) and specular maps are included within the wdd file. They should override the ones in the wtd file. So u only need to replace the texture images that have "diff" in them

Note: if u did accidentally replace the ped wtd file with the one from the mod, u will know instantly when the game crashes and refuses to run. Hope u gotta backup archive.







*** FAQ and other random shit ***** 





As long as u follow these instructions, it should work for any game, gta4, TLAD, or TBOGT. 

If it is somehow not workign for you, or u dont think any of this works, go to my youtube channel at
youtube.com/azninvazn4eva  and watch the Anime Theft Auto videos. Trust me. it works. 


If u ever notice any models in cutscenes spazzing or flickering or goin all crazy, delete the blendshapes file for that cutscene ped! Yes that even includes your player if its ur player model spazzing. Blendshape files are those .wbs files and can be found in either cutsceneprops.img or playerped.rpf. They're used for facial animations but since we cant make gta4 blendshape files....



"my character is missing hands / feet when I mod a ped!"
Well not all peds have separate hands or feet models. Why Rockstar made each one different I have no idea. Probably to discourage modding. I dont have any official leads on how to solve this, but u may wanna look at the pedVariations.dat filein the common/data folder. See how it shows which model parts each character has? What if u could add hands and feet models? It is likely a config file for the game telling which peds need to load which model parts, sooo... if it matters that much to ya, just edit that file add in the missing model parts and see how it goes. (Bcuz alot of models have the hands and feet joined to the other major model parts like the head or the lower body)



"Hey, how come the peds mouths dont move???"
Welp, for certain peds, you need to edit the peds.ide file in the common/data folder. 
Dont worry its a simple text file. 
Find the ped you modded, and look at the line. Chances are when u get to FACIALS@M_LO, or F_LO, it will say M_LO. change that to M_HI. do the same for the next item on the line, visemes@m_lo to visemes@m_hi. You're done! The mouth should be moving for the ped now.



"MY CHARACTER'S MOUTH IS FUCKED UP IN THE CUTSCENES! ITS HANGING WAY TOO LOW AND ITS OPEN!"
Yea.... theres.. .no way to fix that... use the model that doesnt have mouth motion.
(Bet you were wondering why the hell I included that in the mod, eh?)
This problem is not present on Niko's cutscene ped models however. Just throwin that out there.
I'm betting the cutscene models use blendshapes for proper facial animations. If some1 could just figure that out, we could turn GTA4 into the lazy boy's MMD. 


