Adding your own character portraits to the game.

Do you have any technical problems with the game? Look here.

Adding your own character portraits to the game.

Postby Elendil / Redshift » Thu Jul 28, 2016 8:28 am

This only works on the new versions, not on the old iPhone version, sorry.

Create the following folder hierarchy:
  • On Windows: "data/worlds/bres", in the game's folder.
  • On the Mac: "The Quest/worlds/bres", in the Documents folder.
  • For iOS and Android: "data/worlds/bres", anywhere on your computer, but see a later step.
Put an image in the innermost folder ("bres"), named "head01". The image must be a BMP file (so "head01.bmp"). It must be 128x128 pixels and 24 bit true color, without any extra metadata (like color space information). So a simple bmp file.

For the iOS: copy the "data" folder to your device, using iTunes (drag and drop the folder, "Add File..." won't work, sync after the copy).

For Android: copy the "data" folder to your device, into the "Android/data/hu.redshift.thequest/files" folder.

Restart the game (if it's been running).

Look over the portraits in game until you find your addition. If you've already created your character, just click on the portrait on the character screen.

This replaces one of the built in character portraits. But if you want custom portraits, that shouldn't be a problem. :)

The game will use a maximum of 15 images (head01 - head15).
User avatar
Elendil / Redshift
Site Admin
 
Posts: 991
Joined: Sun Oct 09, 2011 11:35 am

Re: Adding your own character portraits to the game.

Postby Gaz » Mon Oct 03, 2022 12:33 am

Hi guys i have an issue that claimes this:

The Quest: Error in source\fen\Graphics\BMP.cpp at line 384
Gaz
 
Posts: 1
Joined: Mon Oct 03, 2022 12:29 am

Re: Adding your own character portraits to the game.

Postby Elendil / Redshift » Mon Oct 03, 2022 9:45 am

You are not using the right kind of BMP files. ;)

As written in the main post, the BMP files must be 24 bit true color without any additional medatada.
I can't tell what exactly is wrong with your files but try loading them into an image editor and exporting them as 24 bit BMPs (without anything extra, like color space information or alpha channels or the like).
User avatar
Elendil / Redshift
Site Admin
 
Posts: 991
Joined: Sun Oct 09, 2011 11:35 am

Character portraits not functioning (glitch) on Android vers

Postby Angel The Wonder Dog » Thu Sep 17, 2026 11:55 pm

On the Android version this (a custom character portrait) doesn't work no matter what I try. I've put the pictures in 24 bitmap and 128*128 pixels and put it in the folder in the folder that's in bres. I named it head01.bmp and when that didn't work I did Head01.bmp and it still didn't work. I've put it in expansion folders too and that didn't work either.



It works on iOS perfectly fine and shows up correctly and it works fine on the Steam version as well.
~~ Angel
User avatar
Angel The Wonder Dog
 
Posts: 47
Joined: Tue Aug 29, 2017 8:11 pm
Location: the Carolinas, United States

Re: Adding your own character portraits to the game.

Postby Elendil / Redshift » Fri Sep 18, 2026 8:19 am

What Android version do you have?

It's probably because Google has really tightened up Android security/permissions so the old way doesn't work anymore. For our next game I'll look into it but I just don't have the time nowadays, sorry.
User avatar
Elendil / Redshift
Site Admin
 
Posts: 991
Joined: Sun Oct 09, 2011 11:35 am


Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 4 guests

cron