Oni Central Forum

A forum for the Oni community

You are not logged in.

#26 09/17/08 15:09

Barneyhater
Member
From: New York City, NY, USA
Registered: 04/13/08
Website

Re: Oni: The Arena of Pain

Soo lets say I want to make a new level.dat out of level 5, I would type in
-import:nosep ..\Gamedata\level5_Final ..\Gamedata\level31_Final.dat
And how do I fill in the level unlock parts?
How did you get Oni to recognize your "Arena" folder?
How did you get Arena of Pain to show up on the Load screen?
What came first? The chicken or the egg?
Sorry about all the questions big_smile Thanks

Last edited by Barneyhater (09/17/08 15:09)


"It is not hatred but indifference that will destroy us." -Unknown
"One death is a tragedy. The death of a million is a statistic" -Joseph Stalin

Offline

#27 09/17/08 17:09

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Oni: The Arena of Pain

Don't worry about the level unlock parts. The persist.dat I provided unlocks ALL the levels that can be unlocked with the current engine. To get oni to recognize the Arena folder I edited the ONLV file. Using my persist.dat, and new levels will show up. The egg, thats the way evolution works.


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#28 09/18/08 15:09

Barneyhater
Member
From: New York City, NY, USA
Registered: 04/13/08
Website

Re: Oni: The Arena of Pain

ONLV file? Because I want to try and get a bunch of scripts working while my original levels are there. So I would type this thingy:

-import:nosep ..\Gamedata\level5_Final ..\Gamedata\level31_Final.dat

for each level I want to add (replace 5 and 31), and edit this ONLV file (found where? and how to edit?), create a new folder with the name of the new level relative to what I changed in the ONLV file... And thats it?

And what laid the egg then?


"It is not hatred but indifference that will destroy us." -Unknown
"One death is a tragedy. The death of a million is a statistic" -Joseph Stalin

Offline

#29 09/18/08 16:09

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Oni: The Arena of Pain

Better option, with less chance of screwing up (and fixing a typo).

Create a new folder named "level31_Final" in your GameDataFolder. Copy all of the stuff in level6_Final into level31_Final. (There is no level5 folder)

Run this command:

onisplit -extract:xml  XMLFolder ..\GameDataFolder\level31_Final\ONLV*.oni

Now there should be a folder named XMLFolder in your install directory. Go there and open the XML file (Right-click => Edit).

Change the <Name>Airport_III</Name> to <Name>Whatever you want the folder to be named ;D</Name> and Save. Also, at this point you can do things like changing it to daytiime (<SkyBox>ONSKafternoon</SkyBox>). That's about the only exciting thing I can think of. Save!

Run:

onisplit -create ..\GameDataFolder\level31_Final\ XMLFOLDER\ONLV*.xml

onisplit -import:nosep ..\GamedataFolder\level31_Final ..\GamedataFolder\level31_Final.dat

---

A thing that was close, but not quite a chicken.

Last edited by Gumby (09/18/08 16:09)


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#30 09/18/08 16:09

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: Oni: The Arena of Pain

Barneyhater, aren't you a Mac user?  Then you should use the import:sep option, not :nosep.  I should have spoken up earlier about that.


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#31 09/18/08 16:09

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Oni: The Arena of Pain

-_- Yes, use import:sep. -_-


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#32 09/19/08 19:09

Barneyhater
Member
From: New York City, NY, USA
Registered: 04/13/08
Website

Re: Oni: The Arena of Pain

Errr.... I don't have an XMLFolder so I just made one in my edition/install/ . It doesn't work o.O


"It is not hatred but indifference that will destroy us." -Unknown
"One death is a tragedy. The death of a million is a statistic" -Joseph Stalin

Offline

#33 09/19/08 20:09

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Oni: The Arena of Pain

It is supposed to make one by itself...

Is the mac folder layout different than the PC one?


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#34 09/19/08 20:09

Barneyhater
Member
From: New York City, NY, USA
Registered: 04/13/08
Website

Re: Oni: The Arena of Pain

*Shrugs*


"It is not hatred but indifference that will destroy us." -Unknown
"One death is a tragedy. The death of a million is a statistic" -Joseph Stalin

Offline

#35 09/19/08 20:09

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: Oni: The Arena of Pain

Offline

#36 09/19/08 20:09

Barneyhater
Member
From: New York City, NY, USA
Registered: 04/13/08
Website

Re: Oni: The Arena of Pain

I am using the latest version (Nice improvement btw) . I entered in the code without the mono like AETools said I should.


"It is not hatred but indifference that will destroy us." -Unknown
"One death is a tragedy. The death of a million is a statistic" -Joseph Stalin

Offline

#37 09/19/08 21:09

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: Oni: The Arena of Pain

Are you trying to export a file to .xml?  Then use the export tab and click the Export as .xml file.
If not, what command are you trying to use?

BTW, download AETools again, I updated the Import section, you can now rebuild levels 30-33.

Offline

#38 09/20/08 06:09

s10k
Member
Registered: 01/14/07
Website

Re: Oni: The Arena of Pain

Seems this is limited to persist.dat file. So if one of our mods uses this method you will need replace again the persist dat, losing others customs levels selection I am right?

Offline

#39 09/20/08 12:09

Barneyhater
Member
From: New York City, NY, USA
Registered: 04/13/08
Website

Re: Oni: The Arena of Pain

-extract:xml  XMLFolder ..\GameDataFolder\level31_Final\ONLV*.oni

I'm trying to extract the ONLV file. It's not under your export as .xml choice though.


"It is not hatred but indifference that will destroy us." -Unknown
"One death is a tragedy. The death of a million is a statistic" -Joseph Stalin

Offline

#40 09/20/08 13:09

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Oni: The Arena of Pain

Script10k: No. The persist.dat  I included unlocked ALL of the levels that could be unlocked (and even a few more that can't be used unless Neo gives us an engine update).

Barneyhater: You did copy the stuff that was inside level6 into level31, right? Also, try upgrading onisplit.


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#41 09/20/08 13:09

s10k
Member
Registered: 01/14/07
Website

Re: Oni: The Arena of Pain

Gumby wrote:

Script10k: No. The persist.dat  I included unlocked ALL of the levels that could be unlocked (and even a few more that can't be used unless Neo gives us an engine update).

Barneyhater: You did copy the stuff that was inside level6 into level31, right? Also, try upgrading onisplit.

wow nice! Ok, I will use it then.

Offline

#42 09/20/08 13:09

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: Oni: The Arena of Pain

BH: It will work, I just did not list all the things that can be exported and imported as .xml

FYI, here is the list:
CONS, DPge, HPge, IGHH, IPge, OBJC, ONCC, ONCV, ONLD, ONLV, ONGS, ONSK, ONVL, ONWC, OPge, PAR3, PSpc, PSpL, PSUI, TRAC, TRAM, TRIG, TRGE, TRMA, TXMB, TXMP, WMCL, WMDD, WMM_, WPge.

P.S. Remember on the Mac use "/" not "\" so the correct syntax of the command is
extract:xml  XMLFolder ../GameDataFolder/level31_Final/ONLV*.oni

Last edited by EdT (09/20/08 13:09)

Offline

#43 09/20/08 14:09

Barneyhater
Member
From: New York City, NY, USA
Registered: 04/13/08
Website

Re: Oni: The Arena of Pain

Ok I got it thanks EdT. Now I just need help with the last two commands:

-create ../GameDataFolder/level31_Final/XMLFiles/ONLV*.xml

-import:nosep ../GamedataFolder/level31_Final ../GamedataFolder/level31_Final.dat

(I changed XMLFOLDER to XMLFiles, thats the name of the folder with the XML in it, and I changed the "\" to "/". It still doesnt work.)


"It is not hatred but indifference that will destroy us." -Unknown
"One death is a tragedy. The death of a million is a statistic" -Joseph Stalin

Offline

#44 09/20/08 17:09

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: Oni: The Arena of Pain

BH: You don't need to enter the commands manually, that's what AETools is for!  Just go to the import tab, in the first drop down menu select level31_Final then click on the "Import source file" then browse to the modified ONLV file and select it.  Now go to the second drop down menu that says "Select Level to rebuild" and select Level31.

ALso, I notice you have the XMLFiles folder inside your level31_Final folder, it should not be there, it may affect the rebuilding of the level. So move that folder somewhere else before rebuilding.

Offline

#45 09/20/08 20:09

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Oni: The Arena of Pain

your -create command is wrong.

Should be -create ../GameDataFolder/level31_Final XMLFiles/ONLV*.xml unless you relocated the XML folder.


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#46 06/07/09 11:06

Leus
Member
From: Boone, NC
Registered: 05/28/09
Website

Re: Oni: The Arena of Pain

Hm.  I backed up my persist, put all the new files in my /edition folder and ran the install.  It unlocked the rest of the standard save points I haven't reached yet (since reinstalling the game) but no extra levels or anything at the end.  So I put the level30 folder in the GameDataFolder and the Arena folder in the IGMD folder, tried again, no avail.  Ran the install again, tried again, no avail.  That's all the ideas I've got.  Lol.


If we don't change the direction we're going, we'll likely end up where we're headed.

Offline

#47 06/07/09 21:06

love_Oni
Member
From: Da Nang, Vietnam
Registered: 05/10/08

Re: Oni: The Arena of Pain

Try this?
-Put all the files in  /edition folder
-Run "install.bat"
-Back up your /edition/persist.dat
-Copy persist.dat in the archive to /edition folder
-Choose "The Arena of Pain" in Load game screen
-If this even doesn't work, load the "Compound" level and type "win level" cheat
... Does it work?


The Boy Who Knew Too Much tongue

Offline

#48 06/07/09 22:06

Leus
Member
From: Boone, NC
Registered: 05/28/09
Website

Re: Oni: The Arena of Pain

I forgot to mention I get the blam! error.

I tried what you said; if I don't have the Arena folder in the IGMD and the level30 files in the GameDataFolder then the Arena of Pain doesn't show up on the list.  And if I put them in their places and run the install, I get the blam! error if I select it, or if I do winlevel on the Compound, Oni just closes.


If we don't change the direction we're going, we'll likely end up where we're headed.

Offline

#49 06/07/09 23:06

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Oni: The Arena of Pain

Well thats....interesting. : /

You shouldn't have to manually put anything in the GameDataFolder. Delete the Arena folder and level30. Then extract the zip into the edition folder, then run the install script. Then run Oni.


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#50 06/08/09 16:06

Leus
Member
From: Boone, NC
Registered: 05/28/09
Website

Re: Oni: The Arena of Pain

Ah.  Clever.  Just do exactly what I was originally supposed to do, eh?  Crafty, crafty.  And it worked.  smile  Thanks.


If we don't change the direction we're going, we'll likely end up where we're headed.

Offline

Board footer

Powered by FluxBB