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 12-22-2010 10:07 AM

:

()
a property editor for collision items.

Being able to use the minecar everywhere.


+ for duplicating objects while holding shift
+ for having scrabs and paramites in necrum mines
+ for anti-crash the game
+ for undo and redo feature
+ for a cam editor with layers.

+ For when i move the mudokon from MIP01C05 to MIP01C03, the settings for which screen it gets loaded in should change automatically when crossing the corners in the current screen.

---------------------------
Oddworld Abe's Exoddus: Exoddus.exe - Application Error
---------------------------
When 10 slogs die, i always get this:
The exception unknown software exception (0xc0000005) occurred in the application at location 0x0040c4d6. or The exception unknown software exception (0xc0000005) occurred in the application at location 0x0049c33d.

Adding scrabs and paramites is impossible since they use music that is not in necrum mines.
They give: The exception unknown software exception (0xc0000005) occurred in the application at location 0x00464af9. at game crashing.

Adding fleches and worms is impossible since they are not in necrum mines.
They give: The exception unknown software exception (0xc0000005) occurred in the application at location 0x00464af9.

Adding glukkons in impossible since they are not in necrum mines.

Paul 12-22-2010 11:24 AM

:

()
Being able to use the minecar everywhere.


+ for duplicating objects while holding shift
+ for having scrabs and paramites in necrum mines
+ for anti-crash the game
+ for undo and redo feature
+ for a cam editor with layers.

+ For when i move the mudokon from MIP01C05 to MIP01C03, the settings for which screen it gets loaded in should change automatically when crossing the corners in the current screen.

---------------------------
Oddworld Abe's Exoddus: Exoddus.exe - Application Error
---------------------------
When 10 slogs die, i always get this:
The exception unknown software exception (0xc0000005) occurred in the application at location 0x0040c4d6. or The exception unknown software exception (0xc0000005) occurred in the application at location 0x0049c33d.

Adding scrabs and paramites is impossible since they use music that is not in necrum mines.
They give: The exception unknown software exception (0xc0000005) occurred in the application at location 0x00464af9. at game crashing.

Adding fleches and worms is impossible since they are not in necrum mines.
They give: The exception unknown software exception (0xc0000005) occurred in the application at location 0x00464af9.

Adding glukkons in impossible since they are not in necrum mines.

The reason these things don't work is because the SCRAB.BAN is not in MI.LVL, so use my old extractor/build to add the BAN file to the LVL and it will work. As fro the random crashes thats likely down to bad object parameters. Copy pasting from a working source is always a good idea.

NovaMan 12-22-2010 11:46 AM

I can't copy the selected Scrab,left and right bound.
I get this in your editor: The exception unknown software exception (0xc0000005) occurred in the application at location 0x67051a14.

I am lazy, i just select a bunch of objects from sv.lvl and then copy them to ram and paste them in mi.lvl


Now after lvl extractor and builder, the glukkon makes no sound when it talk and same for scarb and paramite.

Jango 12-22-2010 12:29 PM

The crashing seems to not be as bad now that I copy/paste more.

The editor tends to work alright now for simple things... :)

I can't seem to be able to get electric walls to work though, which I really want to get to work. Is there anything special that I need to do with electric walls?

Scraby 12-22-2010 12:42 PM

i still have probs,now my game is totaly crashing :(

NovaMan 12-22-2010 12:44 PM

:

()
I can't seem to be able to get electric walls to work though, which I really want

In exoddus necrum mines, use this:
Name: Electric wall
Type: 38
Flags: 0
Length: 24
Remaining length: 8
XPos: 975
YPos: 1381
Width: 25
Height: 25
Screen to load in: 77 MIP01C04
Byte 1: 0
Byte 2: 0
Byte 3: 106
Byte 4: 0
Byte 5: 1
Byte 6: 0
Byte 7: 0
Byte 8: 0


When editing the flying slig arrow paths, i get this:
The exception unknown software exception (0xc0000005) occurred in the application at location 0x00437c88. as game crash.

Jango 12-22-2010 12:55 PM

:

()
In exoddus necrum mines, use this:
Name: Electric wall
Type: 38
Flags: 0
Length: 24
Remaining length: 8
XPos: 975
YPos: 1381
Width: 25
Height: 25
Screen to load in: 77 MIP01C04
Byte 1: 0
Byte 2: 0
Byte 3: 106
Byte 4: 0
Byte 5: 1
Byte 6: 0
Byte 7: 0
Byte 8: 0



When editing the flying slig arrow paths, i get this:
The exception unknown software exception (0xc0000005) occurred in the application at location 0x00437c88. as game crash.

But I want to use the electric walls in RuptureFarms I and Stockyard Escape...

Chubfish 12-22-2010 01:47 PM

:

()
The reason these things don't work is because the SCRAB.BAN is not in MI.LVL, so use my old extractor/build to add the BAN file to the LVL and it will work. As fro the random crashes thats likely down to bad object parameters. Copy pasting from a working source is always a good idea.

Ahh thank you clearing this up for me Paul; I mentioned something like this might have been the case before for some enemies not showing up or crashing the game (the file not existing in the LVL).

The editor is brilliant by the way, thanks for the "xmas edition" :P

Great to see so much progress.

Time for me to continue my ultra hard level hack of Oddysee with this then!

Paul 12-22-2010 04:06 PM

I could not seem to add electric walls to R1 either. Even IF I copy one that's already working. If I take one that's already there and move it to the screen I want I think that worked.. can't remember.

Are these crashes in the editor, or the game? Cause the game crashes are out of my control, if you give it a bad level then or anything it doesn't like then it will just crash.

I might give eletric walls a try now, BTW some things are hard coded NOT to work in certain levels.

Edit: See screen shot ;) I moved them from the bottom screen, but the walls didnt appear until I died! So perhaps you can't have them in the first screen?

Chubfish 12-22-2010 04:20 PM

:

()
See screen shot ;) I moved them from the bottom screen, but the walls didnt appear until I died! So perhaps you can't have them in the first screen?

Maybe...could it be possible that it has loaded the object from the screen previously, and after respawning it stays loaded/doesn't unload itself? I remember adding mudokons to the first screen with the old editor and that seemed to work. Is it only specific objects?

Anyway, it's mostly just in-game crashes for me Paul. I copied the values from a Stockyards Scrab and used them, and added right and left scrab bounds in the same positions as the slig ones on the first and second screens, and added a Scrab on the second screen, yet whenever I enter that screen it crashes.

I think the game knows a Scrab is there though, because the danger theme plays (how do i describe that lol). Going to test it more extensively tomorrow, oh and I did add some files to r1.lvl, mostly just to make sure the Scrab would spawn; there is still a high probability I'm misusing the editor because of how late it is when I edited the level.

Paul 12-22-2010 05:02 PM

:

()
Maybe...could it be possible that it has loaded the object from the screen previously, and after respawning it stays loaded/doesn't unload itself? I remember adding mudokons to the first screen with the old editor and that seemed to work. Is it only specific objects?

Anyway, it's mostly just in-game crashes for me Paul. I copied the values from a Stockyards Scrab and used them, and added right and left scrab bounds in the same positions as the slig ones on the first and second screens, and added a Scrab on the second screen, yet whenever I enter that screen it crashes.

I think the game knows a Scrab is there though, because the danger theme plays (how do i describe that lol). Going to test it more extensively tomorrow, oh and I did add some files to r1.lvl, mostly just to make sure the Scrab would spawn; there is still a high probability I'm misusing the editor because of how late it is when I edited the level.

I moved the walls to screen 02 of R1, I could never get them to load/show up :@! No idea why.. I'm guessing the need some sort of magic alignment, maybe I just got lucky with it the first time.

LIJI 12-22-2010 06:10 PM

The electric wall doesn't look like the type of the object that would need magic alignment, I bet it's something in how AO loads the objects.

Littleleeroy 12-23-2010 12:37 AM

Is there a special way to get the "Run Level" to work? When i run it and begin a new game it just goes to the beginning R1 level.
PS great job on the editor. lots of usefull things fixed and added :)

NovaMan 12-23-2010 12:58 AM

Why makes the scrab, paramite and glukkon no sound in necrum mines?
And camtool don't work on abe's exoddus.


Can't remove a object at path 2 in necrum mines:
The exception Guard Page Exception

A page of memory that marks the end of a data structure, such as a stack or an array, has been accessed.

(0x80000001) occurred in the application at location 0x0049c1fe. or
The exception unknown software exception (0xc0000005) occurred in the application at location 0x0049c1fe.


When i make my second save or more, it destroys the lvl file and i get this while playing:
The exception unknown software exception (0xc0000005) occurred in the application at location 0x0049c314. The game will crash.

Why can't i resave my edited level while i am improving it, bit by bit without the game to crash while testing it?

Cris_paok_serres 12-23-2010 04:50 AM

Can i change the screen backround using paul's level editor?If i use paul's extractor how can make a new .lvl file with my new pic? sory i am new...

Paul 12-24-2010 01:59 AM

:

()
Can i change the screen backround using paul's level editor?If i use paul's extractor how can make a new .lvl file with my new pic? sory i am new...

You can change .cam images for AO only, not AE.

mlg man 12-24-2010 07:04 AM

:

()
You can change .cam images for AO only, not AE.

But if you know how to convert exoddus cam files, shouldn't the pattern used to decrypt them, just be reversed?

Other than that, the editor works fine for me. Although i found when trying to save the level file, while the file is in use (Cause the game is running), it crashes and gives an exception.

NovaMan 12-24-2010 07:30 AM

:

()
when trying to save the level file, while the file is in use (Cause the game is running), it crashes and gives an exception.

Then don't use pauls editor, wait for a update instead of destroying the lvl file with the version 0.2 by resaving repeatedly over the same file (save as).

mlg man 12-24-2010 08:22 AM

:

()
Then don't use pauls editor, wait for a update instead of destroying the lvl file with the version 0.2 by resaving repeatedly over the same file (save as).

Hmmm, seems to work for me. Edits the level perfectly :), and i was just pointing out an unhandled exception to paul :P.

NovaMan 12-24-2010 08:29 AM

:

()
Hmmm, seems to work for me. Edits the level perfectly :)

Not in exoddus. necrum mines.

Cris_paok_serres 12-24-2010 10:35 AM

If i use .cam converter, how can convert the .bmp image to .cam? And after that how can i make a new .lvl package with my backround image? Sorry if my answers are anoying..and sorry for my bad english...

NovaMan 12-24-2010 10:52 AM

:

()
If i use .cam converter, how can convert the .bmp image to .cam? And after that how can i make a new .lvl package with my backround image? Sorry if my answers are anoying..and sorry for my bad english...

Here are them:

Cris_paok_serres 12-24-2010 12:05 PM

Thanks NovaMan for quik reply. :fuzsmile: :fuzsmile: :fuzsmile:

SligStorm 12-24-2010 02:42 PM

Hey, I'm having trouble with the editor...

Whenever I change the position of an object or do anything that modifys the file in anyway it seems to cause the game to crash.. I'm editing this on Windows 7 64 bit, I don't know how clean my lvl files are as they have been messed with once before however I'm sure that I kept original backups of them. I have however tryed loading it just to make sure and they do load fine but after editing the file it just stops working.

Any idea what could be wrong?

EDIT: Could someone please upload a clean r1.lvl because I found by just opening the lvl file then pressing save corrupts it apparently..

Paul 12-24-2010 04:33 PM

:

()
Hey, I'm having trouble with the editor...

Whenever I change the position of an object or do anything that modifys the file in anyway it seems to cause the game to crash.. I'm editing this on Windows 7 64 bit, I don't know how clean my lvl files are as they have been messed with once before however I'm sure that I kept original backups of them. I have however tryed loading it just to make sure and they do load fine but after editing the file it just stops working.

Any idea what could be wrong?

EDIT: Could someone please upload a clean r1.lvl because I found by just opening the lvl file then pressing save corrupts it apparently..

IF you've got the steam version just verify your game files, it will replace everything with the original :) Or copy it back off the CDROM if its none Steam.

:

()
Why makes the scrab, paramite and glukkon no sound in necrum mines?
And camtool don't work on abe's exoddus.


Can't remove a object at path 2 in necrum mines:
The exception Guard Page Exception

A page of memory that marks the end of a data structure, such as a stack or an array, has been accessed.

(0x80000001) occurred in the application at location 0x0049c1fe. or
The exception unknown software exception (0xc0000005) occurred in the application at location 0x0049c1fe.


When i make my second save or more, it destroys the lvl file and i get this while playing:
The exception unknown software exception (0xc0000005) occurred in the application at location 0x0049c314. The game will crash.

Why can't i resave my edited level while i am improving it, bit by bit without the game to crash while testing it?

Any chance you can make videos showing these issues? Also are you doing this with "clean" lvls? I can't seems to reproduce any of your issues.


:

()
Is there a special way to get the "Run Level" to work? When i run it and begin a new game it just goes to the beginning R1 level.
PS great job on the editor. lots of usefull things fixed and added :)


Yeah this is just a shortcut to run the game really, no way to get it to load a specific level :(

:

()
But if you know how to convert exoddus cam files, shouldn't the pattern used to decrypt them, just be reversed?

Other than that, the editor works fine for me. Although i found when trying to save the level file, while the file is in use (Cause the game is running), it crashes and gives an exception.


I need to rework the saving code to handle more failure cases, readonly and locked / whatever else. Recompressing something when you dont fully know the algorithm is extremely complicated, it took me ages to figure out how to decompress by basically copying how the game is doing it, so not much chance of getting compression to work. In fact I'm not sure its possible because it uses hard coded huffman table.

SligStorm 12-24-2010 07:55 PM

Pretty sweet!
 
Well this is kinda cool! I had to do some really akward method to get this to work but hey, it worked.

I first edited the r1.lvl file in the editor and set up the nessicary properties then extracted the r1.lvl file and injected every object from the other lvl files that used uniqe objects. Then I recompiled it.

Paul, You really need to look into why recompiling a lvl file with your lvl builder causes your editor to corrupt the lvl file right after editing it. Because the editor works fine otherwise.. :S

anyway heres a pic of a Slig,Slog,Scrab and Paramite all on the same screen (there was a mudokon too before the scrab ate it :O)

also all these characters don't interact with each other essentially. kinda obvious that would be the outcome, but who knew? Mabe at some point they could have desided to have a slig and scrab at the same time but never did.

Your also on the right track to this being really cool and usefull I have allready made levers open trap doors etc and it's quite simple to use.

Mainly needs to have some of the decimal bytes sorted out that arn't needed in the editor, Like a future drop down box to select a Type which selects the value just for easyer use, such as True or False settings.

I personally think the next "New feature" should be that the editor allows you to directly inject an image over an exsisting CAM file. That would be sweet. it would make the whole editing the scene process so much faster and easyer. D:

NovaMan 12-25-2010 02:20 AM

:

()
Any chance you can make videos showing these issues? Also are you doing this with "clean" lvls? I can't seems to reproduce any of your issues.

The scrab, paramite and glukkon no sound in necrum mines:

:

()
Paul really need to look into why recompiling a lvl file with lvl builder causes the editor to corrupt the lvl file right after editing it.

Then its impossible to modify the whole mi.lvl without crashing the game after saving.

MIPATH.BND!1
MIPATH.BND!2
MIPATH.BND!3
MIPATH.BND!4
MIPATH.BND!5
MIPATH.BND!6
MIPATH.BND!7
MIPATH.BND!8
MIPATH.BND!9
MIPATH.BND!10
MIPATH.BND!11
MIPATH.BND!12

Phylum 12-25-2010 02:45 AM

Are the .lvls clean, though?

Jango 12-26-2010 02:21 AM

I found that while editing r1.lvl, the game always crashes if you add objects. However, if you simply copy/paste objects, it doesn't crash. I'm nearly finished with editing the first level!

Check out my level variations thread in the Fan Corner over the next few days, and I will have uploaded the level for you guys to try out! :)

Cris_paok_serres 12-26-2010 08:15 AM

It is a harder version of odyssee/exoduss or a new custom level with custom paths and custom backrounds? :fuzblink: