Language…
12 users online: Batata Douce, DanMario24YT,  Deeke, dotCoockie, dubiousdinobot, Dzing, Edu X, Hammerer, MegacesarCG,  Saphros, StarWolf3000, TheOrangeToad - Guests: 262 - Bots: 302
Users: 64,795 (2,378 active)
Latest user: mathew

Level optimizing

Yeah, some of these levels are enormous (Oh Man! It's Hell takes up a full bank by itself) because they use Direct Map16 and place every single tile individually. Can we work as a team like we did for SMWCP2 and try to shrink down some of these?

To see which ones are the biggest: extract all of the levels to a folder, then sort by file size. The larger ones are the ones we want to optimize.

Thanks.
All of the levels that are 10KB or higher:

017 - 32KB - Reduced (6KB)
11B - 32KB - Reduced (17KB)
0AD - 31KB
019 - 31KB
14E - 31KB - Being remade
014 - 30KB
1A0 - 21KB - Being remade
119 - 19KB
150 - 19KB - Being remade
07F - 19KB - Being remade
051 - 18KB - Being remade
0A9 - 17KB - Being remade
1CD - 17KB
005 - 16KB - Being remade
12F - 16KB - Being remade
0B4 - 16KB
041 - 15KB
00E - 14KB
127 - 14KB - Being remade
1E0 - 14KB - Claimed
054 - 14KB
135 - 14KB
07C - 14KB
1E8 - 14KB - Being remade
01E - 14KB - Being remade
0D6 - 13KB
124 - 13KB
09C - 13KB
12D - 12KB
1D0 - 12KB
157 - 12KB
125 - 12KB
1CF - 12KB
143 - 12KB
031 - 12KB
1BA - 12KB
04E - 12KB - Being remade
16F - 12KB - Being remade
123 - 12KB - Being remade
10A - 12KB
0B9 - 11KB
07E - 11KB - Being remade
007 - 11KB
11C - 11KB - Being remade
1D3 - 11KB
101 - 11KB
0B7 - 11KB - Being remade
00C - 11KB
117 - 10KB
012 - 10KB
097 - 10KB
1B1 - 10KB - Being remade
1CB - 10KB
12B - 10KB
01F - 10KB
12C - 10KB
098 - 10KB
017 looks easy to make smaller so I'll get on that right now.
Finished with level 017.

Objects: 5695 -> 544
Size: 32KB -> 6KB


I used map16 3C4C-3C4F, 3D5C-3C5F, 3C6C-3C6F, and 3C7C-3C7F to make objects to help reduce the file size.



EDIT: aaaaaaaaa didn't realize Latukas was also doing 17
*cries*

why does something like this happen whenever I help. bye bye 1 and a half hours.

Regardless I didn't use any more map 16 so I only got it to 10kb so you did a better job anyway...
It'd probably be a good idea to post what level you intend to work on before starting so someone else doesn't waste their time like that.

I'd help with this, but this kind of thing isn't my forte. I'll optimize my own levels as much as I can, but I'll leave the rest to others for now.
Thanks a lot TRS, and you too Latukas (at least for trying). There are a fair number of other levels that need work also, so I encourage you to try and help out with those too!
Originally posted by TRS

14E - 31KB
150 - 19KB
07F - 19KB
051 - 18KB

All of these are part of Adventum Terminus which I will be redesigning, so feel free to remove them completly from the base ROM.
Originally posted by Mineyl
It'd probably be a good idea to post what level you intend to work on before starting so someone else doesn't waste their time like that.


Right.

Gonna claim 11B and 0AD. They're both use pretty detailed ground, so reducing these two will probably mean simplifying them.
Very quick question: what is the practice to use when making a new level for the hack to avoid it getting too big? Do we avoid placing all the Map 16 tiles individually at the start, or do we only optimise it after we know the level is A-OK?

I might do one of these... in two weeks time, after my holidays.

- BlackMageMario
B7 and 1B1 are part of Sanctuary Fortress and I'll be touching them up. I'll handle any optimizations when I work on them.
Level 11B done.

Objects: 6485 -> 3178
Size: 31KB -> 17KB

That was incredibly time consuming. Kinda makes me not want to do 0AD for a while.
No rush. If it's any encouragement, your efforts are proving to be incredibly helpful. Those two optimizations alone have saved us almost two full banks of space (and considering that was due to levels alone, that's huge)!
Originally posted by S.N.N.
Those two optimizations alone have saved us almost two full banks of space

Originally posted by S.N.N.
almost two full banks of space

Originally posted by S.N.N.
two full banks

Wow.

Thanks, TRS!
Youtube (Main) | Youtube (Alt) | Bandcamp | DeviantART
Went through the level threads and marked the levels in my list that are being remade.
I'll take one 1E0, looks simple enough.

Edit: Are all the sublevels on this list from acceptable levels/levels that don't need to be redone?
I wonder what a HFD opcode would do in ASM...
I'll take 007 (Forgotten Forest). I'm fixing up that level anyway.

Edit: Brought it down to 8.5 KB. I'll send it in once the level goes through testing.

More can be done through (a) creating additional Map16 tiles, and/or (b) having the graphics conform to SMW's FG format, if anyone's interested.
Youtube (Main) | Youtube (Alt) | Bandcamp | DeviantART