YesNoOk
avatar

Need some scaling help (Read 213 times)

Started by Hihoshi, March 05, 2013, 04:15:24 pm
Share this topic:
Need some scaling help
New #1  March 05, 2013, 04:15:24 pm
  • ***
I wish to port my 3D levels I.E. Bridge Battle, Sunlit Cave and Crystalline Cavern to Mugen 1.0 so other people can also enjoy them.  I have been able to get them to work well in Mugen 1.0, but they don't look high res like in WinMugen.  The default scale of each image is 640 x 800 and in Winmugen they were D 4 stages.  How do I get them to look the same as they did in WinMugen? 
First I was like: -_-
Then I was like: FUUUUUUU
Last Edit: March 07, 2013, 11:09:30 am by Hihoshi
Re: Need some scaling help
#2  March 06, 2013, 06:07:39 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
You mean the resolution was that? But you were still doing 0.5,0.5 for scale yes?

Look at the HR/HD stage provided with 1.0. kfm720 or something. Load that .def and your .def up side by side and compare parameters. You will need the extra 1.0 ones. You may wish to make use of localcoord rather than scale as well but that will be entirely dependant on the scale settings in your stage. IIRC 1.0 will also take the hires = 1 parameter from the hack that makes some of the older scaled stages work.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Need some scaling help
#3  March 07, 2013, 09:35:48 am
  • ***
You mean the resolution was that? But you were still doing 0.5,0.5 for scale yes?

Look at the HR/HD stage provided with 1.0. kfm720 or something. Load that .def and your .def up side by side and compare parameters. You will need the extra 1.0 ones. You may wish to make use of localcoord rather than scale as well but that will be entirely dependant on the scale settings in your stage. IIRC 1.0 will also take the hires = 1 parameter from the hack that makes some of the older scaled stages work.

All I know is in winmugen I had it set to Hires=1

  WinMugen

  Mugen 1.0

If you look at the second picture, the resolution does not look the same, the buildings look blurred and for some reason the zoffset of the original stage places them much higher up on the screen.
First I was like: -_-
Then I was like: FUUUUUUU
Re: Need some scaling help
#4  March 07, 2013, 10:44:58 am
  • ******
  • Limited time to use Infinite power !
    • France
    • network.mugenguild.com/cybaster/
Is this a 3D stage using the delta technique to get the 3D effect ?
If it is the case, you won't be able to do much about what you have right now, because if you put back the stage in the correct resolution, your images will be cut.

If it's not the case, then you'll have to recode the stage a little bit.
What Mugen is doing here is resizing a 640 pixel wide stage to 800 pixels, so that's why it looks blurred : Mugen stretched out the stage and made some interpolation.
To get back the good resolution, remove your highres=1 line, use mugenversion=1.0 and use the localcoord parameter : localcoord=800,453.
Now, all the vel and pos parameters will have to be multiplied by 800/640=1.25, and you'll have to rework the camera placement and zoffset.
Re: Need some scaling help
#5  March 07, 2013, 11:09:13 am
  • ***
thanks, it is a 3D stage using the Delta method, so I guess there is not much that I can do.
First I was like: -_-
Then I was like: FUUUUUUU