PDA

View Full Version : Retrieving a map


Guest
11-30-2000, 07:22 PM
I have a question for those of you out there brighter than I. I have apparently destroyed a copy of a map I have been working on for about 6 months. It has been suggested that I exceeded the sector capacity of the build engine. In any event, I didn't have a backup copy of this map. I did, however, save it as a game where it still remains. Is it possible for a saved game to be retrieved and converted into a map once again? If anyone can answer this question for me or who knows how it may be possible to get into my "frozen" map to effect changes, I'd be grateful.

------------------

Joe Siegler
12-01-2000, 11:33 AM
The save game shouldn't work without the map data there to support it, I would think.

------------------
Joe Siegler - Webmaster, 3D Realms
---
Got a Duke Nukem Forever Question?
GO READ THE FAQ BEFORE YOU POST ABOUT IT! (http://www.dukeworld.com/faq/dukeforever/index.html)
Click here for info on how to use this UBB (http://www.3drealms.com/ubb/faq.html)

cyborg
12-01-2000, 11:42 AM
Joe is right - you can have enourmous fun screwing things up by saving games on one user level then renaming another user level to the name that the other level used that you saved a game for.

------------------
Duke Nukem Resources for Totalconversions and Modifications (http://dukertcm.totalconversions.com)

Usurper
12-01-2000, 04:12 PM
The save game file does save the map and cons inside the file. Give it a try. And I even tried the renaming the map trick. Still got the original map. Perhaps you are thinking of demos.

Unfortunately, I don't know how to extract anything from a saved game file.

------------------
Usurper
DN3D RTCM (http://dukertcm.totalconversions.com)

cyborg
12-01-2000, 04:58 PM
I think you may be right about the demos but are you sure the CONS are saved with the map too? I think I should actually look at this again I could be mistaken as I don't think I did anything like this for a long time.
If the data is there it would be possible to extract it, it would simply be a matter or finding the start of the map data. To do this the best way would be to take a lump of data from your map that you know about and search for the same data in the saved game.

------------------
Duke Nukem Resources for Totalconversions and Modifications (http://dukertcm.totalconversions.com)

Usurper
12-01-2000, 05:17 PM
I'm sure that maps and cons are both saved from personal experience. We have a doc on it that Corv wrote up.

http://dukertcm.totalconversions.com/Knowledge_Base/Document_Packaged-SavedGame.shtml

------------------
Usurper
DN3D RTCM (http://dukertcm.totalconversions.com)

Matteus
12-01-2000, 05:42 PM
Originally posted by Usurper:
I'm sure that maps and cons are both saved from personal experience. We have a doc on it that Corv wrote up.



Both the map and compiled CON are definetly saved in a saved game.


However, there may be some missing items like quotes or sounds that will require the 'correct' CONs to be initially compiled on start-up for the saved game to work (I don't have the source in front of me to verify).


------------------
Matt Saettler
-The Last Person on Earth who can compile Duke(TM)

[This message has been edited by Joe3DR (edited 12-01-2000).]

Joe Siegler
12-01-2000, 06:09 PM
I was guessing. http://www.3drealms.com/ubb/images/icons/smile.gif

Matt - is there anything that can get the map out of there?

------------------
Joe Siegler - Webmaster, 3D Realms
---
Got a Duke Nukem Forever Question?
GO READ THE FAQ BEFORE YOU POST ABOUT IT! (http://www.dukeworld.com/faq/dukeforever/index.html)
Click here for info on how to use this UBB (http://www.3drealms.com/ubb/faq.html)

cyborg
12-01-2000, 06:14 PM
Originally posted by Joe3DR:
Matt - is there anything that can get the map out of there?
[/B]

Like I said - if the map data is lumped with the save game it is likely to be complete, hence it is simply a matter of finding it and extracting it. But this would have to be done manually as there aren't any utilities to do it - the last time I checked.

------------------
Duke Nukem Resources for Totalconversions and Modifications (http://dukertcm.totalconversions.com)

"Here's a shock - I'm with cyborg!" - Draco

Matteus
12-03-2000, 05:02 PM
Originally posted by Joe3DR:
I was guessing. http://www.3drealms.com/ubb/images/icons/smile.gif

Matt - is there anything that can get the map out of there?



I don't think there's any existing tool.

It would take me quite a bit of work to make a tool because I've added lots of stuff to the EDuke save-game format.

I'd have to go back to the original Duke code and work from there.



------------------
Matt Saettler
-The Last Person on Earth who can compile Duke(TM)

Manson
12-06-2000, 06:59 AM
Couldn't you load the map in SW, and then x-tract it?

------------------

cyborg
12-06-2000, 08:42 AM
We're talking about saved games here Manson.

If he's already gone over the 1024 sector limit in Build it won't have started using values higher than that and then just screwed up - it'll have started using the information for sector 0 to store the new information hence screwing up the map. The more screwed it is will depend on how many sectors were attempted to be created after the limit. Attempting to repair the damage would be nigh on impossible in Build, you'd have to use OGLBT and edit the data yourself. Build would just make the problem worse and worse.

------------------
Duke Nukem Resources for Totalconversions and Modifications (http://dukertcm.totalconversions.com)
Build game information on...
Game Connection (Internet play) (http://dukertcm.totalconversions.com/Knowledge_Base/Base_Game-Connection.shtml)
Sound card setup (http://dukertcm.totalconversions.com/Knowledge_Base/Document_Sound-Setup.shtml)
...and more.