#Does .png work for portraits?

1 messages · Page 1 of 1 (latest)

upper egret
#

yes, so long your structure is correct

ornate lava
upper egret
#

if you're wondering whether there's some sort of program to convert .png to a .bank, there isn't; everest handles that for you and you can use straight pngs youknowicattodoittoem

upper egret
ornate lava
#

ty tho

#

this should work right

upper egret
#

do you intend to replace madeline's portrait?

#

or just add another portrait

#

since i think adding a new one would require fiddling with Portraits.xml

ornate lava
#

oh

#

you cant just add one in portraits folder? im adding a new one

#

also what xml file i cant find it

#

wait can i just copy a xml file into my mod then edit it to make it work

upper egret
#

portraits use Portraits.xml to define the portrait's look and sound effects

#

you can find the vanilla one in Content/Graphics/Atlases/Portraits.xml

ornate lava
#

what program do i use to open it

#

also the xml isnt in atlases i found it in graphics

upper egret
#

it's text, so notepad or a different text editor

ornate lava
#

ok tysm

upper egret
ornate lava
#

so would this work?

upper egret
#

no, because you straight up copied the vanilla portrait laugheline

#

you'll need to make your own Portraits.xml to define how the portrait should look
i'm not an expert on that, i admit

ornate lava
#

bruh im editing it

#

im asking if the structure is right

upper egret
#

ah

#

let me check with a different mod

#

ah, it seems like it wants a different path

ornate lava
#

btw is this important? i have only 1 png file for the char cuz its just a little dialog i dont plan on re-using

upper egret
#

something like Graphics/XMLs/USERNAME/MODNAME/Portraits.xml

ornate lava
#

oh hm

#

sure

upper egret
#

(the XMLs/USERNAME/MODNAME/ part is to make sure it doesn't conflict with anything else)

ornate lava
#

lemme check

#

this is just a bit more complicated than i expected

upper egret
#

do you really need a portrait? celeste defines a generic textbox which you can use with no extra setup

outer locust
upper egret
outer locust
#

you can see it here

#

but whatever ig

upper egret
# outer locust ???
  • i've never deliberately looked for portraits on the wiki
  • i didn't think there would be a page on the wiki
  • the person had no idea of the wiki's existence (i imagine)
outer locust
#

i imagine third one, and first one, and second one, lol