Waruko Jul 25, 2013 @ 1:26pm
How to add CUSTOM PORTRAITS to VANILLA CAMPAIGN (PC.OSX)
http://steamcommunity.com/sharedfiles/filedetails/?id=163745053

There are three known ways you can add custom portraits at this time. One is to rename your new portrait the same as an existing file. Another is using a hex editor to alter a file. Lastly, we have a custom program that converts byte files to text editable xml files and back. Each has their pros and cons. I trust you to read through the methods and decide which is right for you. Lastly, not being a OSX user I only know one method to edit the portrait files. If you know more please share!


Method 1-A (Windows):: Portrait Rename
Pros: Easiest, for those that are not confident in editing files.
Cons: Replaces a existing portrait, does not allow you to add to the portrait library, just to change it.

1. Go to Steam\SteamApps\common\Shadowrun Returns\Shadowrun_Data\StreamingAssets\ContentPacks\seattle\art\portraits

2. Once here look for a portrait you do not like of the race/sex you are going to play. Copy its name and RENAME IT. This way if you want that portrait in the future it's not deleted.

3. Now paste that name you copied on your custom portrait and dump it into the portrait folder.

4. Lastly, make sure your custom image is 212 x 278 and PNG file. Bham you are done.

Method One 1-B (OSX): Portrait Rename
Pros: Easiest, for those that are not confident in editing files.
Cons: Replaces a existing portrait, does not allow you to add to the portrait library, just to change it. (Credit goes to edubs for making aware of this issue and Daemoc for the solution!)

1. Go to <USER>\Library\Application Support\Steam\steamapps\common\Shadowrun Returns\Shadowrun_Data\StreamingAssets\ContentPacks

2. Once here you should see two icons, right click on the Shadowrun icon and select "Show Package Contents". Find the portraits used in the "seattle" art file.

3. Once here look for a portrait you do not like of the race/sex you are going to play. Copy its name and RENAME IT. This way if you want that portrait in the future it's not deleted.

4. Lastly, make sure your custom image is 212 x 278 and PNG file. Bham you are done.


Method 2: Hex File Edit (Credit goes to KaylaKaze for first coming up with it and chaos915 for the step by step I copied/pasted below. Daemoc supplied the example on Step 3.)
Pros: Allows you to add to existing portrait library.
Cons: Need a hex editor and calculator for this that can't easily convert numbers to hexadecimal.

1. Paste the custom portrait into Steam\steamapps\common\Shadowrun Returns\Shadowrun_Data\StreamingAssets\ContentPacks\seattle\art\portraits
Then change the file name to the format pc_<race/gender>_##_<portrait name>. I think this is optional, but it makes it easier to keep it organized.

2. Go to Steam\steamapps\common\Shadowrun Returns\Shadowrun_Data\StreamingAssets\ContentPacks\seattle\data\portraits and open the appropriate <race/gender>.pl.bytes for the race/gender you want to add to. Open it with a hex editor.

3. Go to the end of the file and insert 2 bytes + 1 byte for each character in the file name(not including the extension). The first byte should always be set to 0A(anything else just causes a black screen), the second byte should be set to the number of characters(converted to hexadecimal with windows calculator) in the file name. The rest of the bytes are for the file name, you can fill that in from the text column.

Example: EG file name = "PC_MaleHuman_00c_CustomTest.png" which is 27 characters.

In windows calculator, (scientific mode), type in "27" while in "dec" mode.

Now switch to "hex" and the number should change to "1B"

The second byte should be "1B"

4. Save the file and load up the game. Hit newgame to see if it worked. If you get a blackscreen you messed up, and need to double check. The portrait also needs to be exactly 212 x 278 and PNG file. The custom portrait won't have color presets like the other portraits(I don't know how to set the presets at this time), but it's easy enough to manually set those in-game.


Method 3: Conversion File Edit (Credit goes to chaos915 for finding this off the Shadowrun Returns official forums and to Gibbed for making the converter. Thanks Gibbed!)
Pros: Easier than method two while allowing you to add to existing portrait library. If you feel savvy enough you can edit more files like item and weapon stats!
Cons: May feel uncomfortable editing files or DLing a random program. (NOTE: I DLed and tested the files myself I'm sure they are safe. Take that as you may.)

1. Download Gibbed's "Dirtyhack" (http://mod.gib.me/shadowrunreturns/dirtyhack.zip) and extract files into a work space.

2. Go to Steam\steamapps\common\Shadowrun Returns\Shadowrun_Data\StreamingAssets\ContentPacks\seattle\data\portraits and locate the byte file of your chosen race and gender.

3. Drag that file on top of the Gibbed.ShadowrunReturns.ConvertDTO.exe wherever you extracted it. This will create a xml file of the same name. Make sure to rename or place the original byte file somewhere safe encase a mistake is made.

4. Open the file in a text editor and add the name of your portrait into the file.

Example: <string>PC_ElfFemale_08_Waruko</string>

5. Now drag your xml file back on top of the Gibbed.ShadowrunReturns.ConvertDTO.exe. This will make a brand new byte file and you should be done. Like method two you will most likely have preset colors you don't want but its easy to change at character creation.


Hope that helps you chummers, good luck in the shadows.

Lastly, another "Thank you!" to everyone that has helped contribute to this thread and "How to...". Your help and time is greatly appreciated so thanks for being so wiz!
Last edited by Waruko; Jan 12 @ 5:19pm
Showing 1-15 of 59 comments
< >
ZeroHistory Jul 25, 2013 @ 1:41pm 
Thanks a bunch, this was a GLARING issue, and I didn't figure out that the hero portraits were stored in \seattle. Much appreciated.
lumiapina Jul 25, 2013 @ 1:43pm 
I think you would need to edit the manifest.mf.bytes file in the art folder to add a portrait without replacing an existing one. I haven't tried it yet, since there might be the possibility of breaking the file, so I went with the easier way. I might try editing it later.
Waruko Jul 25, 2013 @ 2:28pm 
Glad I could help Zero.

lumiapina that would be great. Post a how to if you figure it out, though please make it "...for Dummies" like myself when you do. :P
AKouns Jul 25, 2013 @ 2:38pm 
Awesome! Thanks bro!
AKouns Jul 25, 2013 @ 2:46pm 
Like that custom portrait too btw
Blackburne Jul 25, 2013 @ 2:49pm 
Nice work around until they get the custom portraits working.
AKouns Jul 25, 2013 @ 3:44pm 
I would also like to re-emphasize that players simply rename the portrait whose name is beinging borrowed from.

Without thinking I nearly considered deleting the picture even after I read this.
Waruko Jul 25, 2013 @ 3:49pm 
Opps, I'll caps that part in my post.
Last edited by Waruko; Jul 25, 2013 @ 5:40pm
NICKMAN Jul 25, 2013 @ 4:52pm 
Nice work around. Much appreciated.
Waruko Jul 25, 2013 @ 7:48pm 
No problem, glad to help. ^_^
Pentarou Jul 26, 2013 @ 3:05pm 
bro you're portrait looks awesome
might i ask where you got that from?
Waruko Jul 26, 2013 @ 4:55pm 
Sure can.

Google image search, for all your RPG portrait needs since...whenever it was first made.

I typed "Female Shadowrun" and it was like the 4th image. I PSed the tie, collar stars, and badge away. As well as covered her ear up, she is a elf in my game. Needless to say I'm glad the portraits are facial. Her outfit is...not practical. Unless your Sally Tsung.
Last edited by Waruko; Jul 26, 2013 @ 4:58pm
› The Cool Side of the Pillow Jul 26, 2013 @ 5:00pm 
Now mod in manual saving and you've just squashed 95% of the complaints about the game. :P
Waruko Jul 26, 2013 @ 7:33pm 
I'm a otaku, but not that kind of a otaku sadly.
Last edited by Waruko; Jul 26, 2013 @ 7:33pm
› The Cool Side of the Pillow Jul 26, 2013 @ 7:33pm 
Originally posted by Waruko:
I'm a otaku, but not that kind of a otaku.

What does being an otaku even have to do with modding?

Otaku = Obsessed anime fan.
Showing 1-15 of 59 comments
< >
Per page: 15 30 50
Date Posted: Jul 25, 2013 @ 1:26pm
Posts: 59