Oddworld Forums

Oddworld Forums (http://www.oddworldforums.net/index.php)
-   Oddworld Mods & Hacks (http://www.oddworldforums.net/forumdisplay.php?f=24)
-   -   .lvl files (http://www.oddworldforums.net/showthread.php?t=15680)

NovaMan 01-10-2011 05:34 AM

:

()
distributing the game for free.

What will then happen with the steam sales?:confused: Its like voting payware as freeware?:confused:
I can't believe it.

Jango 01-10-2011 07:36 AM

:

Only if there were some way to change this inside the editor...

Paul, so you think that this would be possible? (Changing the LED messages from within the editor).

Also, thanks for the v0.6 update! :)

Paul 01-10-2011 08:49 AM

I won't be adding it because:

-Each version of the game will have different offsets
-Each translation of the game will have different offsets
-Each and every version that we know of that's on steam can't be hex edited with out removing the copy protection/packing from the binary

One thing you could do is release a patch and state with language/version of the game it works with.

Additionally I'm still toying with API hook dll's for the game. It might be possible to add your own messages that way, no idea at the moment though :) If it did work you'd just specify message ID's higher than what the game has used. But you'd also need your own messages.dat / hook dll too.

If for some reason I do this and it works, it will likely only work with certain versions of the game too.

BlackVenom 01-10-2011 03:37 PM

Well, at least it's better than not being able to do it at all! o:

Wil 01-10-2011 04:51 PM

Since it may turn out to not be possible, it's not necessarily better.

BlackVenom 01-10-2011 10:22 PM

I found out that if you make the size of an object larger than 200'ish in either X or Y, you can no longer select it. Weird....

[EDIT]

Another thing, Shykrull portals will not work at all no matter what I do, I even extracted the BND file from another stage that had one and put it inside this LVL file. I even copied the properties from that one and still nothing...

Most of the time the portal is there somewhere but you can't see it. Only reason I know this is because when I chant I can hear it open or the birds fly away because a slig scared them off. Also, when I leave the scene with the shykrull portal and return to that scene, the game crashes... O.o

SligValet 01-11-2011 07:45 AM

:

()
I found out that if you make the size of an object larger than 200'ish in either X or Y, you can no longer select it. Weird....

[EDIT]

Another thing, Shykrull portals will not work at all no matter what I do, I even extracted the BND file from another stage that had one and put it inside this LVL file. I even copied the properties from that one and still nothing...

Most of the time the portal is there somewhere but you can't see it. Only reason I know this is because when I chant I can hear it open or the birds fly away because a slig scared them off. Also, when I leave the scene with the shykrull portal and return to that scene, the game crashes... O.o

They work perfectly fine for me, atleast on AO, haven't tested them on AE yet.

NovaMan 01-11-2011 08:52 AM

Only the first path of necrum mines can be edited without corrupting the lvl file.
Editing the second and third path and so on of necrum mines may cause a game crash or objects got deleted while you added new ones = You added new obejects and the old ones got deleted without you knowing it:(

foust 01-11-2011 10:05 AM

Hi Paul
There is a bug in the Editor v.05-06, after saving levels s1.lvl. When you reopen this level, we get an error:

Paul 01-11-2011 10:40 AM

Ok guys, if you have a bug can you break it down in to step to reproduce it? E.g foust has reported a bug thats very simple but I can't reproduce it, thus can't fix it.

For example foust could write:

1. Open S1.LVL
2. Save S1.LVL
3. Close editor
4. Open S1.LVL, assert dialog appears (see screenshot)

Also foust FYI I tried adding/deleting objects adding/removing cams resaving/reopening and none of them caused an assert.

NovaMan 01-11-2011 11:31 AM

1. Open MI.LVL
2. Select Path 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12
3. Delete some mudokons that don't listens to abe + delete some mine drills + sligs
4. Select some mudokons that follows abes order
5. Copy and paste them to a screen
6. Change what screen they should be loaded in
7. Save the MI.LVL in another folder
8. Close the editor
9. Overwrite the old MI.LVL file with the edited one
10. The game will work now on that level
11. Shutdown the game manually
12. Go back to the editor
13. Open the edited MI.LVL file
14. Delete some objects or add new ones
15. Make them load in right screen with working settings
16. Save the MI.LVL file
17. Close the editor
18. Copy the MI.LVL file
19. Replace the old one with the newly edited one.
20. Play the game
21. Enjoy the level
22. Enjoy the game crashes or some unexpected objects got deleted without you knowing it
23. Have a nice day

Paul 01-11-2011 11:40 AM

:

()
1. Open MI.LVL
2. Select Path 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12
3. Delete some mudokons that don't listens to abe + delete some mine drills + sligs
4. Select some mudokons that follows abes order
5. Copy and paste them to a screen
6. Change what screen they should be loaded in
7. Save the MI.LVL in another folder
8. Close the editor
9. Overwrite the old MI.LVL file with the edited one
10. The game will work now on that level
11. Shutdown the game manually
12. Go back to the editor
13. Open the edited MI.LVL file
14. Delete some objects or add new ones
15. Make them load in right screen with working settings
16. Save the MI.LVL file
17. Close the editor
18. Copy the MI.LVL file
19. Replace the old one with the newly edited one.
20. Play the game
21. Enjoy the level
22. Enjoy the game crashes or some unexpected objects got deleted without you knowing it
23. Have a nice day

I followed your instructions and nothing is "unexpectedly deleted". The game will crash though because some items link by Id to the deleted items.

NovaMan 01-11-2011 11:44 AM

:

()
I followed your instructions and nothing is "unexpectedly deleted".

Last time i tried it, was with an old version of your editor.
It was first secret area and tunnel 2 + Boiler with slogs.
+ The game was running while overwritng the lvl file = I am to lazy when testing minor changes.

:

()
The game will crash though because some items link by Id to the deleted items.

The game is hardcoded and thats why it crashed.


And then. Have you edited all lvl files and got them to instantly crash???
Regardless if you edited them the right way.
Just curious before i use your editor too much.

I don't want the game to crash while having fun with your editor.

Scraby 01-11-2011 11:49 AM

lol,i saw at the pv.lvl path three,if you look at the mini map it reminds of a fleech
and path 4 has the shape of 1 and has a hidden message :D
mudomo vault map has a sign of coalision saying MAP

Paul 01-11-2011 11:49 AM

The old versions would fail to save if it was in use or read only. Also saving over the same level could corrupt it, those are all fixed. Nothing in MI appears to be hard coded, I can delete things without any problem so long as anything that references the deleted object is removed too.

Scraby 01-11-2011 11:57 AM

hm the path 13 could be used to make huge lvls :)

NovaMan 01-11-2011 12:05 PM

:

()
I can delete things without any problem so long as anything that references the deleted object is removed too.

Q: What happens if you totally clean all objects from the game????
A: The game will crash because the abe spawn object is gone

Q: How do i add working objects
A: Use ban and bnd files from all lvl files to one lvl file
Then copy object settings with your eyes from another editor that uses another lvl file than your current one.

Q: The objects don't show up on screen
A: Make them load in right screen

Q: How do i add bmps in abe's exoddus cams
A: Always impossible forever because of advanced compression

foust 01-12-2011 01:31 AM

Ok Paul...
I tride that:
1. Open S1.LVL
2. Save as S1.LVL - 1.lvl
3. Close editor
4. Open editor
4. Open 1.LVL
we get an error:
http://www.oddworldforums.net/attach...9&d=1294772671
:fuzwink:
exact same error with C1.LVL

NovaMan 01-12-2011 06:31 AM

And same when open Edited.LVL ?

foust 01-12-2011 10:20 AM

If edited and save or just 'save as'. This error with levels - S1.LVL and C1.LVL
if assembled with the help of Tool from paul - LVL Builder then opens normally with 'Editor'.
So everything works :)

NovaMan 01-12-2011 11:34 AM

One more problem.

1. I open pauls level editor
2. I open r1.lvl
3. when i replace a cam with a bmp file
4. The wrong cam is replaced instead of the selected one

SligValet 01-12-2011 08:10 PM

:

()
One more problem.

1. I open pauls level editor
2. I open r1.lvl
3. when i replace a cam with a bmp file
4. The wrong cam is replaced instead of the selected one

I get it too, but just zoom in all the way and it should work.

Ezzz 01-13-2011 10:57 PM

Has anyone had any luck with setting a door to be closed by default?

I've tried copying settings from the door in R1P18C07 which is closed until you pull the lever to open it, but no luck.

LIJI 01-15-2011 01:27 AM

Paul, do you still plan patching AE to allow AO-format CAM files?

NovaMan 01-15-2011 02:20 AM

Paul don't have much spare time.

MeechMunchie 01-15-2011 05:09 AM

Does level editing work with Steam versions of the games?

Scraby 01-15-2011 06:22 AM

:

()
Does level editing work with Steam versions of the games?

i think yes,i bought the oddboxx and seems to work with the game

Paul 01-15-2011 03:36 PM

:

()
Paul, do you still plan patching AE to allow AO-format CAM files?

I almost had something working but have no time to finish it :/ Not sure if I got what I was trying to do working, that it would actually "work" if that makes sense. I think the game holds onto the vlc blocks and uses them again later which would crash it.

kapteeni13 01-28-2011 07:27 AM

My level editor have's issue (sometimes):
I add mine in first screen in R1.lvl in Abe's Oddysee.
When i run abe1 and look first screen there is no mine (and i set right "Screen to Load in" thingy)
When going screen to right or down. My Abe1 Crashes. :(
Previously editor worked me but now issues :(

Paul 01-29-2011 03:01 PM

Likely bad object properties then, compare with the ones a few screens on in R1. I've seen other custom levels with mines in the first screen so it can/will work.