Author Topic: Errors In The Vol Save Fuction.  (Read 2017 times)

Offline Marukasu

  • Full Member
  • ***
  • Posts: 110
Errors In The Vol Save Fuction.
« 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

Offline BlackBox

  • Administrator
  • Hero Member
  • *****
  • Posts: 3093
Errors In The Vol Save Fuction.
« Reply #1 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

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

Moved to programming forum; this topic is more applicable there.

Offline Marukasu

  • Full Member
  • ***
  • Posts: 110
Errors In The Vol Save Fuction.
« Reply #2 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.  

Offline saiyanyoshi

  • Newbie
  • *
  • Posts: 9
Errors In The Vol Save Fuction.
« Reply #3 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?
« Last Edit: December 04, 2007, 11:00:53 AM by saiyanyoshi »

Offline Hooman

  • Administrator
  • Hero Member
  • *****
  • Posts: 4955
Errors In The Vol Save Fuction.
« Reply #4 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.