Language…
13 users online:  AmperSam, dotCoockie, Fiblizo, Golden Yoshi, Guido_Keller, itsmefigs, JezJitzu, Maw, playagmes169, Serena, signature_steve,  Telinc1, timothy726 - Guests: 258 - Bots: 321
Users: 64,795 (2,377 active)
Latest user: mathew

After saving in LM upon test all levels are underwater

I have no idea exactly what I did I started two levels with custom graphics. Both played fine when I save and tested. Then I added an urgent into one of the levels just to see how its movements were saved it went back and tested it and now all my levels are underwater I don't know if that has anything to do with it. If someone can please help me it would be highly appreciated thank you and everyone stay safe
Did you edit any graphics in yy-chr and reinsert them?
Yep, that sounds like an issue people run into unfortunately often.

GFX and ExGFX files should usually be 4KB in size when you insert them - that is, they should take up the top half of the screen in YY-CHR, not more. Lunar Magic gives a warning when you try to use ExGFX files larger than that, which you shouldn't ignore.

If that is your issue, you can try copying the graphics from your old ExGFX file into one that's the right size, then save and reinsert it. If you're using the newest YY-CHR, you'll also get an info message about the file size before saving, to which you should always answer "no".

If that's not your issue, then make sure the water level flag (#lm{1door}) is unchecked.


 
I definitely did edit graphics in yychr. So that must be it. I assume there is not an easy way to fix it if any at all. Also thanks to both of you for the fast responses.
Well, what you can definitely do to fix it is this:
- take a graphics file that's 4KB in size, make a copy of it, and open it in YY-CHR
- open your faulty graphics file in YY-CHR as well
- select all the graphics in there, but not more than the top half
- copy it and paste it to the top half of the 4KB file (make sure not to go over the top half
- save that as a new graphics file, or overwrite the faulty one (if you get a warning about file sizes in YY-CHR when saving, click "no")
- reinsert the graphcis with Lunar Magic and use the new graphics file in your level
If you don't get any more "this file is larger than it should be" errors in Lunar Magic, you should be fine.


 
Thanks for the help I'm gonna attempt to fix it shortly. I only made 2 full levels but I'm still glad I'm not gonna lose them. Thanks again and stay safe
Normally when yychr makes my graphics file too large, i fix it by using a hex editor. Its not all that hard, just open the file with a hex editor and remove all the zeros past 1000x. Works like a charm