Old maps, are they recoverable?

Discussion about the game and its default mods.
Post Reply
DraLUSAD
Posts: 54
Joined: Sun Sep 25, 2011 2:52 pm

Old maps, are they recoverable?

Post by DraLUSAD »

I've recently got back onto the forums and wanted to update some of my old replica maps but i can't seem to access them, keeps coming up with "Unhandled Exception"

It also states that:-
Map format 5 is not supported, but can be upgraded.


See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.InvalidDataException: Map format 5 is not supported, but can be upgraded.
File: C:\Users\Chris\Documents\OpenRA\maps\ra\Tuck's Sietch.oramap
at OpenRA.Map..ctor(String path, String upgradeForMod)
at OpenRA.Map..ctor(String path)
at OpenRA.Editor.MapSelect.MapList_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ListView.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5477 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
OpenRA.Editor
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/OpenRA/OpenRA.Editor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
OpenRA.FileFormats
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/OpenRA/OpenRA.FileFormats.DLL
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.5420 built by: Win7SP1
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
OpenRA.Game
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/OpenRA/OpenRA.Game.EXE
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.86.0.518
Win32 Version: 0.86.0.518
CodeBase: file:///C:/Program%20Files%20(x86)/OpenRA/ICSharpCode.SharpZipLib.DLL
----------------------------------------
OpenRA.Mods.RA
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/OpenRA/mods/ra/OpenRA.Mods.RA.dll
----------------------------------------
OpenRA.Mods.Cnc
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/OpenRA/mods/cnc/OpenRA.Mods.Cnc.dll
----------------------------------------
OpenRA.Mods.D2k
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/OpenRA/mods/d2k/OpenRA.Mods.D2k.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

How can i recover my old maps and update them to the latest build/testbuilds?

Matt
Posts: 1144
Joined: Tue May 01, 2012 12:21 pm
Location: Germany

Post by Matt »

Start cmd.exe and type.

Code: Select all

cd %ProgramFiles%\OpenRA

OpenRA.Utility.exe --map-upgrade-v5 C&#58;\Users\Chris\Documents\OpenRA\maps\ra\Tuck's Sietch.oramap ra
Maybe http://resource.openra.net is already doing that for you automatically on upload. If not, it probably should.

The map name is somehow memorable. Is it a remake of the Dune 2000 map http://resource.openra.net/maps/18/ for the Red Alert mod?

DraLUSAD
Posts: 54
Joined: Sun Sep 25, 2011 2:52 pm

Post by DraLUSAD »

That map has no sand dunes (which the original does) which means its the one I Re-mastered and never put the sand dunes in it >_<

EDIT:

Proof
http://www.sleipnirstuff.com/forum/view ... 306#283306

EDIT2:
I tried upgrading manually, but it keeps crashing

Unit158
Posts: 20
Joined: Wed Feb 12, 2014 10:05 pm

Post by Unit158 »

You must use the playtest utility, the release utility does not work on windows.

DraLUSAD
Posts: 54
Joined: Sun Sep 25, 2011 2:52 pm

Post by DraLUSAD »

I got this

OpenRA.Lint(1,1): Error: Failed with exception: System.IO.DirectoryNotFoundException: Could not find a part of the path "/home/ihptru/www/resource/openraData/data/maps/756/Map_47.oramap/mod.yaml".
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.File.OpenRead (System.String path) [0x00000] in <filename unknown>:0
at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamReader..ctor (System.String path) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string)
at System.IO.File.OpenText (System.String path) [0x00000] in <filename unknown>:0
at System.IO.File.ReadAllLines (System.String path) [0x00000] in <filename unknown>:0
at OpenRA.FileFormats.MiniYaml.FromFile (System.String path) [0x00000] in <filename unknown>:0
at OpenRA.FileFormats.Manifest..ctor (System.String mod) [0x00000] in <filename unknown>:0
at OpenRA.ModData..ctor (System.String mod) [0x00000] in <filename unknown>:0
at OpenRA.Lint.YamlChecker.Main (System.String[] args) [0x00000] in <filename unknown>:0


and treied uploading to the resource site, it also crashed there

Matt
Posts: 1144
Joined: Tue May 01, 2012 12:21 pm
Location: Germany

Post by Matt »

I did a change to the tileset and spawns recently. I suggest you download the official versions from https://github.com/OpenRA/OpenRA/tree/b ... s/d2k/maps and edit them with the latest playtest version map editor.

User avatar
zypres1
Posts: 276
Joined: Mon Oct 24, 2011 8:22 pm

Post by zypres1 »

For a moment I hope I read "Oil-maps", I want the old maps where you build oil..

Matt
Posts: 1144
Joined: Tue May 01, 2012 12:21 pm
Location: Germany

Post by Matt »

Follow https://github.com/OpenRA/OpenRA/wiki/U ... ew-release to automatically upgrade the unmaintained rules of old modded maps.

Post Reply