Outpost Universe Forums

Projects & Development => Outpost 2 Programming & Development => Topic started by: Marukasu on November 15, 2007, 01:03:31 PM

Title: Errors In The Vol Save Fuction.
Post by: Marukasu on November 15, 2007, 01:03:31 PM
I have issues with my vol save function.  I was wondering if anyone could help me.

The error message goes as follow.





Non-fatal error in VolManager::SaveVol: VOL Save failed

Err = (-2147467259) Could not find resource.
GetLastError = 0, Erl = 0

OS Version: NT 5.1 Service Pack 2





What do you advise
Title: Errors In The Vol Save Fuction.
Post by: BlackBox on November 15, 2007, 02:31:57 PM
Please use the edit button instead of making multiple posts.

The VOL saving functions in the map editor are buggy. You are probably better off not using them.

If you need to create VOLs, use this:
http://www.outpostuniverse.net/files/coding/VOLCreator.rar (http://www.outpostuniverse.net/files/coding/VOLCreator.rar)

You need to have the mapper installed for it to work, I believe.

Moved to programming forum; this topic is more applicable there.
Title: Errors In The Vol Save Fuction.
Post by: Marukasu on November 16, 2007, 12:16:43 PM
Thank you.  :D
Oh and I figure out that i just needed to use the manual save function.  :heh:

BTW I'm sorry about double posting but im relatively new to forums.  
Title: Errors In The Vol Save Fuction.
Post by: saiyanyoshi on December 04, 2007, 11:00:01 AM
:huh: Soo, I save the edited .dat map from OP2 Mapper, and then load it into a .vol file with the volcreator?
Title: Errors In The Vol Save Fuction.
Post by: Hooman on December 05, 2007, 12:29:44 AM
No.

Copy the .map file to the Outpost2 folder.

You still won't have a playable level though. Use the .dat file with a C++ compiler, and the mission SDK (search the wiki for it) to create a .dll. Copy the .dll file into the Outpost2 folder.

Once both the .map and the .dll file are in the Outpost2 folder, then you'll have a playable level. At no point do you need to repack the files into a .vol file. (Putting them into a vol file is optional, and generally not worth the effort).


Of course this is ignoring just how big of a leap it is for most people to make a working .dll file.