The Mugen Fighters Guild

M.U.G.E.N Central => M.U.G.E.N Discussion => Development => Topic started by: PotS on May 12, 2008, 01:02:27 pm

Title: File size vs Processing
Post by: PotS on May 12, 2008, 01:02:27 pm
Ok I need to start thinking of better topic titles.

Anyway, I tend to try and keep the .sff file size as small as possible with my chars (not small as in discarding effects, but as in optimized) at the cost of needing to create helpers to regulate the scale/angle/transparency/whatever of each effect, as opposed to just shoving a whole anim in the .sff.

So, what's better in terms of Mugen performace, smaller file size or less processing required? e.g. is it better to use a 500kB explod anim or having a single frame of that animation and animating it with a helper and several explods?
Title: Re: File size vs Processing
Post by: Bastard Mami on May 12, 2008, 05:24:13 pm
The target pc's balance of processing power / ram changes from machine to machine, But overall, ram is cheaper than processing power and it seems like mugen would hit the processor harder due to code not being compiled but interpreted, and thus, completely unoptimized.
Title: Re: File size vs Processing
Post by: Anjel on May 12, 2008, 05:29:58 pm
Keep it 50/50?

You don't want a giant character, but you don't want a character that might lagg on your computer.
[/Stating the obvious]
Title: Re: File size vs Processing
Post by: PotS on May 12, 2008, 05:38:23 pm
When I was on a slow PC I used to have more file-size related problems than anything else (which is where I got the habit), with slightly lower FPS when large SFF files were being used. Like, Catwalk ran just fine with its fi'ty helpers, but then with Dragon Claw it'd get slower before he even did anything. Or maybe I'm just getting that picture because of the load times.

I think whichever method should be used also depends on each effect, though, there's no point in modifyexplod-ing a small three-framed animation, but on the other hand by doing it for something full-screen or hi-res you're saving a load of space (both on RAM and later webspace).
Title: Re: File size vs Processing
Post by: vyn on May 12, 2008, 07:04:28 pm
i had the same problem when i started, my first char .sff was huge well its still kinda big XD but ive been focusing on redusing the .sff and .snd as much as possible with code, it seems to have a better effect, for example i switched from cvs2 hitsparks and cutsparks on my wolvie to code made, bout 7 sprites total instead of well... look at warus haohmaru, in those cases its pretty much a no brainer but in small things its pointless, 3-5 no high res sprites theres no point in using code instead
Title: Re: File size vs Processing
Post by: Makkah on May 12, 2008, 07:30:35 pm
Here's a stupid idea: why not make a poll with ranging cpu speeds, and ram capacity to see generally where people fall? That may help you to determine which is best for average user. A PC with about 700MHZ can usually handle mugen pretty well while outside of dr4, and about 1.2GHZ, possibly less, can handle pretty much everything smoothly. As far as Ram goes I'm not too sure though.
Title: Re: File size vs Processing
Post by: FerchogtX on May 13, 2008, 08:56:09 pm
Here's a stupid idea: why not make a poll with ranging cpu speeds, and ram capacity to see generally where people fall? That may help you to determine which is best for average user. A PC with about 700MHZ can usually handle mugen pretty well while outside of dr4, and about 1.2GHZ, possibly less, can handle pretty much everything smoothly. As far as Ram goes I'm not too sure though.
Well, I think that it could be a good idea to do that, because I don't know also if some stuff works in slower PC's (if there are still any besides some I know XD)... for example here at home I have 2:
- Internet only: 700 Mhz Celeron and 128 MB RAM
- Main one (Mine): Sempron 3400+ 64 Bits 1.81 Ghz, 512 MB RAM

Most of the stuff I'm making goes pretty well (high ressed sparks and some stuff added in a special screenpack, and more or less 3 active helpers during battle + extra helpers for extra stuff) in my Sempron system... but i don't know if in the other PC will (I need to try) but the poll can give some usefull tips.

In my personal opinion, I guess that either a big sff file (more than 15 MB) or abusing helpers (more than 6 active helpers during battle) can cause a slowdown on older PC's, but first let see how many users still use PC under 933 Mhz (I guess that they are few ones... I hope)

See ya!!!! :D
Title: Re: File size vs Processing
Post by: TehBazzard on June 18, 2008, 01:06:04 am
File size should not matter in character quality unless it's so damn big that it causes lag. If people can't run your characters as is without lag P.o.t.s, then they shouldn't have MUGEN on thier comp for starters. Then again, try not to use too big or too many effects. I will admit, your Rare Akuma cause some lag, but I play hirez, so...
But keep in mind that I play Fast 4 and have about 1.5 gigs of ram.