YesNoOk
avatar

Portrait 9000,1 and localcoord = 640,480 (Read 2653 times)

Started by zahikel, September 06, 2020, 06:17:43 pm
Share this topic:
Portrait 9000,1 and localcoord = 640,480
New #1  September 06, 2020, 06:17:43 pm
  • **

  • Online
Hello

i have a little problem and i don't know how to solve it
i downloaded a long time ago Powerd Ciel by Tene
https://mugenguild.com/forum/topics/powerd-ciel-tene-released-51312-141128.0.html

the 9000,1 portrait is 240x280 and  localcoord = 640,480

if i try the same process with another chars ( 9000,1 portrait is 240x280 and  localcoord = 640,480)
my sprites appear tiny in contrary Powerd Ciel by Tene's sprite look in the good ratio 

i open the file with Fighter factory but i don't understand how he did that

someone to help me ?

Thanks in advance


Last Edit: September 06, 2020, 10:47:07 pm by zahikel
Re: Portrait 9000,1 and localcoord = 640,480
#2  September 06, 2020, 07:12:16 pm
  • **
    • Canada
It's been a while since i made a portrait for powered ciel, but if I remember correctly in order to get a portrait for her to size correctly it needs to be 2x the size as you would normally use due to the characters sprite size.
Re: Portrait 9000,1 and localcoord = 640,480
#3  September 06, 2020, 09:31:02 pm
  • **

  • Online
i found it
it is in the cns file
the [Size] and all parameter are x2

but it's difficult to use it in every char because i have to edit to much things
Re: Portrait 9000,1 and localcoord = 640,480
#4  September 06, 2020, 10:05:12 pm
  • avatar
  • **
    • USA
Yeah, don't try to edit another character just to have higher resolution portraits.  It's a massive amount of work for nothing.  It is possible to get the same effect with localcoord = 640,480 and CNS scaling x2, but the result will be really broken without completely fixing the entire character.

"localcoord =  640,480" tells the character to run at half its size.  This (maybe unfortunately) scales everything, including the portraits.  So then, the portrait needs to be double the normal resolution to fit in a normal space.  CNS scaling does not work the same way and will cause many things to break unless the character is specifically programmed for it.  Characters that are high resolution are often made using a localcoord that matches their default game because it is easier to program.  Mugen "thinks" in 320x240, so this localcoord setting allows Mugen to scale the character accordingly.
Re: Portrait 9000,1 and localcoord = 640,480
#5  September 06, 2020, 10:44:29 pm
  • **

  • Online
Yes you are right It is to much work
I only wanted to have High resolution portrait with different  screenpack Without editing too much file
But actually It is impossible
Thank you all for your answer