News:

Don't forget to visit the main site! There's lots of helpful docs, patches, and more!

Main Menu

[SM] level_entries.txt and SMILE 2.5

Started by Tyjet66, April 25, 2015, 11:18:37 AM

Previous topic - Next topic

Tyjet66

SMILE seems to be choosing to not read some entries of level_entries.txt. This is happening to numerous rooms of mine: [spoiler][/spoiler]
Some rooms past this one (as far as level_entries go) have normally working room size limits, as do the majority of the ones previous.

Location of SMILE: F:\Random\Supernova\Programs\smile
Location of level_entries: F:\Random\Supernova\Programs\smile\files

Things I've tried:
- Saving level_entries.txt.
- Restarting SMILE.
- Switching the level_data pointer to someplace else and updating level_entries.
- Switching out level_entries.txt for a new one, and updating the new one.
- Redownloading SMILE.
- Adding this room (and the two bank extensions) to a fresh ROM.

I've been resorting to repeatedly checking everything in HxD to ensure I don't overwrite anything. I have only overwritten one room so far. To be fair though, I didn't like the room, so there's that at least.

I'm at a loss as to what could be causing this. Do any of you have any ideas?

If I have to stick with the HxD, I won't mind too much, but I can see it getting annoying down the road.

Smiley

I noticed that some of your entries (307150 and 306E00) are the wrong way around. I have no idea if that's related to your problem, but it's at least one thing fixed.

Jordan5

why do you have the value in the .txt file as AE00 but the pointer has AEA0? I've never had this issue though so thats all i can think of

Smiley

A quick experiment (setting the first entry in level_entries to 2142BA instead of 2142BB) confirms Jordan's suspicion. It gave the landing site like 900,000 bytes of space :^_^:
So, make sure your level_entries entries match your pointers exactly. That ought to do it.

Tyjet66

Thank you, you two. Not sure which part fixed it, but it did the trick.