New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Corrected the location of the client folder #319
Conversation
The folders name is 'localclient' not 'client'.
I have found that in order to properly use rooedit, you need to specify absolute, not relative paths. using the relative paths will seem to work, but will cause additional crashes. |
I can confirm that an absolute path is required to make it fully work... |
I have no problem viewing wall textures using a relative path. Opening roo's is causing the program to crash but that happens with both relative- and absolute paths. |
Sorry, I should have provided more info... You CAN select "Editor" in the Menu and select "View wall textures" with a relative path and without a crash... BUT the following crashes with a relative path but NOT with an absolute one:
See image of crash: |
Got it. I cannot get that far, I crash when I open the roo. |
I've always used absolute Path's. Worked under Win 2000 and Win XP. Sadly my old Laptop died yesterday... |
Nagath, is it possible you send or post me the whole error from the "Windows Event Log"? |
Roomedit/textures.cpp - FindTextureByNumber() - line 224:
This is what is crashing for me when a ROO is loaded with unitialized BGFs (due to incorrect path). It seems a simple solution is:
After that I seem to be able to even load a ROO file with an unset BGF path |
Sure, the complete error is: Problemsignatur: Lesen Sie unsere Datenschutzbestimmungen online: Wenn die Onlinedatenschutzbestimmungen nicht verfügbar sind, lesen Sie unsere Datenschutzbestimmungen offline: |
Thanks
That is what I was looking for. I would expect your errors are still BGF related, but we'll see. |
Your crashdata looks a bit weird... I'm just going to make the rough assumption this could be related to issues with zlib1.dll Please test the content of the following ZIP:
Now please try this:
PS: @Nagath : Can you at least go to "Menu (Editor)" -> "View Wall Textures" without issues and without trying to load any ROO at all? PPS: Here is one more version in case the (1) and (2) above still fail: This one is almost like the original version, except that it has the mentioned change to the "assert (WTexture!=NULL);". Using this version I can even open a ROO file with a completely garbage bitmapdir in windeu.ini (warning at startup). The ROO gets loaded, but the app crashes sooner rather than later because of still missing BGF. |
"Menu (Editor)" -> "View Wall Textures" works without any issues, I have only the crash Problem if I try to open a .roo |
Just made an interessting observation. If I open .roo files out of my repo path it always crashes. But if I open the .roo files out of a copy of my game installation ressource directory it works without any problems... |
Interesting. What's your exact paths?
|
bitmapdir = D:\MPL\M59\resource The bitmapdir is a copy of my gaming resource directory |
Please have a look at this 103 pullrequest: It contains several small fixes for the roomeditor probably worth adopting to 101, such as: and more... @broodhill : You may want to add them to this commit here... |
Strange. I can also open roo-files from the 101 client but if I try to open a file from the repo it crashes. |
This change looks fine ("client" is a historical local directory we used during development). I'm happy to take other roomedit changes to fix crashes, too. |
Corrected the location of the client folder
Adding NPC for Museum
The folders name is 'localclient' not 'client'.