Garry's Mod

Garry's Mod

71 ratings
How To Export Your Xbox 360 Avatar
By Ocublox
A guide on how to import your Xbox avatar into Garry's Mod
2
3
   
Award
Favorite
Favorited
Unfavorite
Why?
Recently I wanted to find out on how to import my Xbox avatar into Garry's Mod, and I've found no documentation or anything on the subject. So I want to create this guide on how I manged to import my avatar.
Video Guide (Coming Soon!)
What Do I Need?
Blender:
https://steamhost.cn/app/365670/Blender/

Intel® Graphics Performance Analyzers:
https://www.intel.com/content/www/us/en/developer/tools/graphics-performance-analyzers/overview.html

Xbox Original Avatars:
https://www.microsoft.com/store/productId/9NBLGGGZ5QDQ?ocid=pdpshare

I've tried using other rippers, and this is the only one that works, as far as I know.
Exporting The Parts
  • After downloading the needed programs, open Graphic Monitor.

  • Now head over to Universal Windows Applications.

  • Select Microsoft.Avatars as the application, and then press Run Application.

  • After running the application, you should see this box. Press CTRL + SHIFT + C.

  • Now you should see a new capture appear. Double-click it.

  • This might look confusing, but don’t worry. This next part is easy. On your left, you will see a table called API Log. Scroll down until you see DrawIndexed. Don’t use the ones closer to the top as the mesh isn’t correct or there are lighting issues.

  • Click on the first DrawIndexed, and then in the window next to it, click on Geometry. You should now see a part of your character in the preview window as shown. Next, click on the button in the top right where you can export it as an OBJ. Textures are labeled as T:(RANDOM NUMBER). You can also export them using the same method as the mesh, but the “Save as” type will default to .dds, so make sure you change that to PNG.
UV Maps And Textures
Huge thank you to pipe2701!

First, download gmesh[github.com]
  • When exporting, you also want to export VBV for the UVMap.

  • After downloading the zip and extracting it, move all your exported files into the same folder like this:

  • Next, run exporter.bat. You'll be asked to provide the CSV file name, OBJ file name, and the export name.

  • After that, open the exported OBJ in Blender and create a new material with the exported texture.

  • If it looks incorrect, don't worry. Go into edit mode and mirror the UVMap on the Y-axis.

  • After flipping it, move the UVMap down a little if needed. I used '0.6'. Your mesh should look like this.
Rigging And Making The Playermodel
For rigging, I recommend Rigging for impatient people by Joey Carlino


And for making the playermodel I recommend this series made by Deadwater on how to make a Playermodel.

41 Comments
Ocublox  [author] 23 Jul @ 8:27pm 
Hey, just wanted to say sorry for taking so long to make this video. I've been trying to figure out how to make this easier, but I've been struggling. I'll record and upload the video tonight. I promise.
ForbiddenSwag 10 Jul @ 11:06am 
Is the video uploaded?
Lillavatti 1 Jul @ 12:01pm 
I dont mean to spam comments sorry abt that :p

last thing i noticed is when exporting a texture you said it defaults to dds but it dosnt it defaults to csv, csv is the only option this is the same problem with the obj export theres no option for that or png
Lillavatti 1 Jul @ 11:55am 
also you say export the VBV but in your screenshot you dont have one and you somehow have a png? and the bat file asks for a csv, obj and a _temp.obj none of this is explained in the tutorial
Lillavatti 1 Jul @ 11:47am 
video tutorial?

The mesh exports as a csv not an obj
Gregory House 16 May @ 7:42am 
same
the117doctor 15 May @ 10:17am 
some of the VBVs don't have text coordinates for me, and the avatar-ssl.xboxlive.bat file needs to be edited to lose the %CURRENT_DIR% sections of the gmesh and meshedit lines. I'm still trying to figure this out.
Ocublox  [author] 7 May @ 1:01pm 
It's about time I finished that tutorial video. Sorry for the delay. I'll have it done sometime this week. :auyay:
Star-K 6 May @ 11:17pm 
Update, I named the file "hat_temp" (avatar-ssl.xboxlive.bat adds the "_temp" on its own) and I just type "hat" into the .bat program. It just deletes the hat.obj file from my folder and leaves the message:

'E:\3D' is not recognized as an internal or external command, operable program or batch file.
'E:\3D' is not recognized as an internal or external command, operable program or batch file.

So it found the object this time, but it deletes it and I don't get the option to add the .csv file. I don't know what I'm doing.
Star-K 6 May @ 10:59pm 
On Step: UV Maps and Textures.
Trying to use "avatar-ssl.xboxlive.bat" which I assume is the new "exporter.bat" and it can't find the files when I type the name.
The programs, object, textures, and csv files are all in one folder (Object and CSV have the same name). I keep getting the message:

'E:\3D' is not recognized as an internal or external command, operable program or batch file.
'E:\3D' is not recognized as an internal or external command, operable program or batch file.
Could Not Find E:\3D Models\Xbox Avatar\hat_temp.obj

I tried "hat", "hat.obj", "hat.csv", "hat_temp.obj" and it can't find it. (File name is just hat)
Am I missing something obvious? I double checked my process and I'm pretty sure I did it right. So I'm just stuck at the moment. Any advice?