Midnight Mansion Forums
http://www.actionsoft.com/forums/cgi-bin/yabb2/YaBB.pl
General Custom Mansions Area (Mac and Windows) >> Original MM Talk (Mac only) >> Does anybody know what this means?
http://www.actionsoft.com/forums/cgi-bin/yabb2/YaBB.pl?num=1253179254

Message started by leo on 17.09.2009 at 17:29:54

Title: Does anybody know what this means?
Post by leo on 17.09.2009 at 17:29:54
While working on my third epic mansion ("Escape from Paris": the third and last part of the big 'Jacques Moilone'-Trilogy), I wanted to test the work I accomplished so far. I started MM, clicked "Start Game", clicked "Open Mansion", selected the mansion and then I got an error message:

Can't find a resource.

File name: Level.c
Line number: 118 (unknown)
Error code: -192 (resNotFound)

HELP!  :(


Good news regarding "Jacques' Revenge": Missy and Sherry are beta-testing parts 1 and 2. They are doing a great job and are almost finished. So you can expect the Mansion soon! Again: You might want to (but don't absolutely have to) take a shot at Palais Pompomrouge before playing the new mansion just so you are familiar with the storyline.

Title: Re: Does anybody know what this means?
Post by Semi-Native on 17.09.2009 at 18:46:43
Hi leo,

I'm excited your new mansion is almost ready, but sorry, I can't help with your question. Hope you get it resolved soon.

Title: Re: Does anybody know what this means?
Post by brell on 18.09.2009 at 02:51:27
I am not very good at this as I've never used any custom backgrounds, sprites, etc. but is it possible that you are using something like that and forgot to put it at a proper place?

Title: Re: Does anybody know what this means?
Post by Catwoman on 18.09.2009 at 03:08:45
Have you restarted the game and attempted to play and receive the same error message?

I know I've gotten error messages if I'm beta testing and then attempt to make a change in the game with the game on pause. But I don't remember any of the specifics of the error message.

Title: Re: Does anybody know what this means?
Post by josephine on 18.09.2009 at 10:57:33
Hi Leo, I remember getting a similar error when I either modified an original sprite/tile, or deleted it and gave my custom one the same number (or something like that.) Sorry it was a while ago, but maybe this will help you anyway.

Title: Re: Does anybody know what this means?
Post by leo on 18.09.2009 at 15:33:31
Hi all!
Thanks for all your input, but I've tried all of that already and there is not single Bit of custom backgrounds or sprites anywhere in the mansion.

:'(

Title: Re: Does anybody know what this means?
Post by aquaMat on 20.09.2009 at 20:04:11
Hi Leo,

I'm looking forward to your new mansion...!!

As for your question:
I did get similar error messages several times in the past. One reason is indeed, as someone above has pointed out, a bit of custom graphic that has gone missing (often due to the typical "disappearing" bug in "Rezilla").

But you said you didn't use custom graphics.
Then I suppose it's something else..... it also happens when

1.  You accidentially forgot to correctly state the room number for the starting room (when working in the editor). In the editor this doesn't matter, but when you later try to start the mansion from within the game, the correct starting room can't be found, resulting in this error message.
...or...
2. You accidentially added or erased a letter, or even a blank space, to / from the mansion's name .... this of course only results in a conflict when you try to call up saved games (that still have the old "name") and the game can't open them because you've recently changed the name, or spelling etc.

There might be one or two other reasons, but I can't remember them now (from the top of my head). If I do, I'll report back.

Until then you could check if one of the above applies for your mansion ?!

Title: Re: Does anybody know what this means?
Post by Wingy on 21.09.2009 at 07:44:17
Alright let's take a look here...

The error:

It seems that something is wrong to your Mansion File, from the level.c input.

The line number is I believe the line the graphic is on in the code, or 'under the hood.' (I'm pretty sure thats wrong, but that's my guess)

The sprite ID number of the Res file is of the Zapper Beam facing LEFT, so apparently something is wrong with that.

I would recommend this because the RES wasn't found, you want to put your very own exact copy of the left zapper beam in your mansion so its sure to find it: This is how in these 10 steps:
~
1. Open up Rezzila. (If you don't have it get it here: http://sourceforge.net/projects/rezilla/files/rezilla/1.1/RezillaBin1.1.dmg/download )
~
2. Go into the Menu and File > Open...
~
3. Find your /Midnight Mansion Folder/Game Data/Midnight Mansion Sprites/. Open that up.
~
4. In that menu look for PICT (not pict, PICT) and open that up.
~
5. Look for 192. Double click it, you'll see the LEFT zapper graphic. Command + C (or go into Menu/Edit/Copy)
~
6. Once it's copied open up you Mansion file in /Midnight Mansion Folder/Custom Mansions/(your mansion)/
~
7. Open up the mansion. (With Rezilla, of course)
~
8. From here, go into the menu and > Resource > New Resource..
~
9. Type in type PICT and ID 192.
~
10. Paste the picture of the left zapper beam in ResID 192!

NOTE: (If it doesn't paste, go back into the Midnight Mansion Sprites > PICT > 192 > Copy it, and try pasting again.) (With Rezilla, of course)

I hope this works.  :-/  

It should, I've seen this problem before, and fixed it with this.
Best of luck.

Title: Re: Does anybody know what this means?
Post by Wingy on 21.09.2009 at 07:51:57
And if the above solution doesn't work send me your mansion file at my e-mail

AJDuchesne AT G mail DOT com  (All one word, and AT = @ and DOT = . , can't use my real address here because a spammer may pick it up)

and I may have a look at it and see what I could do. I have seen this problem with my mansions, but only when I've been messing with the graphics files to do my custom graphics. I don't know why you've got it, but I could take a look.

I do recommend trying my above solution first, of course.

And I promise I won't send the mansion to anyone, or anything like that, I don't do that sort of stuff. I just want to help you out.

Title: Re: Does anybody know what this means?
Post by leo on 21.09.2009 at 16:25:09
Thanks for all the solutions, guys!
I'll get to work soon as I can. Right now I am kind of torn between some dental problems and no small amount of "serious" work. But I'll let you know soon if anything helped!

Thanks agan,
Leo

Title: Re: Does anybody know what this means?
Post by leo on 21.09.2009 at 17:42:31
Wingy!
I tried the Rezilla thing and it didn't work. However: I started rebuilding the mansion already (I only had about 50 rooms, which are now almost completely rebuild) and came up with a better design along the way, so it doesn't really matter. Thanks anyways!

Title: Re: Does anybody know what this means?
Post by Wingy on 22.09.2009 at 16:15:27
Alrighty then. Sorry it didn't work, but oh well.

Carrying on then. Good luck with the mansion and all that jazz.

Title: Re: Does anybody know what this means?
Post by VernJensen on 08.01.2010 at 09:07:39
Hmmm, this would be a question really only I could answer. Whenever you get an error message like that, it's something I'd have to look up in the game's source code, to see what couldn't be loaded. In this case, looking at my source code just now, the problem is that the 'LEVL' resource couldn't be loaded for that room.

The LEVL resource is what keeps track of your "Room Options..." settings (from the File menu). One exists for every room in the mansion... or at least it should. If it doesn't, something must've happened to corrupt your mansion somehow. If possible, delete the room in the editor, and create it again. This should create it properly, with the LEVL resource intact.

If anyone ever sees a cryptic error message like this, reporting a filename and line number and error code, email me at support [AT] actionsoft DOT com and I'll help you out.

Title: Re: Does anybody know what this means?
Post by VernJensen on 08.01.2010 at 09:10:59
Oh wait, I just realize that the *game* is giving you this error message when you attempt to open the mansion, rather than the editor. One possibility is that you set the "starting room" to a room that doesn't exist. Verify in "Mansion Options" in the editor that your starting room exists. If it doesn't, the LEVL resource is the first the game attempts to load, so it'd make sense why it wouldn't be able to find it, for a non-existant room.

Title: Re: Does anybody know what this means?
Post by leo on 24.01.2010 at 01:40:54
Vern!

Sorry for not answering sooner but I had sort of forgotten about the whole thing since I took "Escape from Paris" to a different direction design-wise and hence didn't rely on what I did so far anymore. Thanks anyways for your input. If it ever happens again, this is what I'll try first!

Midnight Mansion Forums » Powered by YaBB 2.4!
YaBB © 2000-2009. All Rights Reserved.