1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Big project!! Big problem!! BTB doesn't open the project file.

Discussion in 'Bob's Track Builder' started by kmikiwi, Apr 23, 2010.

  1. Hey!!

    I had a lot of time working on a track, everything was ever fine, until yesterday I worked on it, then I save it and today I tried to open my project but this show an error and the project doesn't open, please help!!!!!

    This is the windows error and the content:

    error_btb.png


    ************** Texto de la excepción **************
    System.ArgumentOutOfRangeException: El índice estaba fuera del intervalo. Debe ser un valor no negativo e inferior al tamaño de la colección.
    Nombre del parámetro: index
    en System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
    en System.ThrowHelper.ThrowArgumentOutOfRangeException()
    en System.Collections.Generic.List`1.get_Item(Int32 index)
    en BobsBits.SObjectPiece.LoadFromBinary(BinReader br)
    en BobsBits.SObjectPieces.LoadFromBinary(BinReader br)
    en BobsBits.SObject.LoadFromBinary(BinReader br)
    en BobsBits.SObjectInstance.LoadFromBinary(BinReader br)
    en BobsBits.SObjectInstances.LoadFromBinary(BinReader br)
    en BobsBits.Venue.LoadFromBinary(String ProjectFolder, String Filename, Boolean ForAnUndo, String& ErrorMessage)
    en BobsTrackBuilder.frmMain.OpenVenueFile(String ProjectFolder, String Filename, Boolean ForAnUndo)
    en BobsTrackBuilder.frmMain.mnuFileOpen_Click(Object sender, EventArgs e)
    en System.Windows.Forms.MenuItem.OnClick(EventArgs e)
    en System.Windows.Forms.MenuItem.MenuItemData.Execute()
    en System.Windows.Forms.Command.Invoke()
    en System.Windows.Forms.Command.DispatchID(Int32 id)
    en System.Windows.Forms.Control.WmCommand(Message& m)
    en System.Windows.Forms.Control.WndProc(Message& m)
    en System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    en System.Windows.Forms.ContainerControl.WndProc(Message& m)
    en System.Windows.Forms.Form.WndProc(Message& m)
    en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Ensamblados cargados **************
    mscorlib
    Versión del ensamblado: 2.0.0.0
    Versión Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
    Código base: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    MC
    Versión del ensamblado: 3.0.0.0
    Versión Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
    Código base: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    System.Windows.Forms
    Versión del ensamblado: 2.0.0.0
    Versión Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
    Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Versión del ensamblado: 2.0.0.0
    Versión Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
    Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Versión del ensamblado: 2.0.0.0
    Versión Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
    Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    †ˆŒ˜™•‰Ž†•Œ““™š
    Versión del ensamblado: 2.0.0.0
    Versión Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
    Código base: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    License
    Versión del ensamblado: 1.0.0.0
    Versión Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
    Código base: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    System.Management
    Versión del ensamblado: 2.0.0.0
    Versión Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
    Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
    ----------------------------------------
    mscorlib.resources
    Versión del ensamblado: 2.0.0.0
    Versión Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
    Código base: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    BobsTrackBuilder
    Versión del ensamblado: 0.8.0.3
    Versión Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
    Código base: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    BobsBits
    Versión del ensamblado: 1.1.1.5
    Versión Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
    Código base: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    Microsoft.DirectX
    Versión del ensamblado: 1.0.2902.0
    Versión Win32: 5.04.00.2904
    Código base: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
    ----------------------------------------
    Microsoft.DirectX.Direct3D
    Versión del ensamblado: 1.0.2902.0
    Versión Win32: 9.05.132.0000
    Código base: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll
    ----------------------------------------
    Microsoft.DirectX.Direct3DX
    Versión del ensamblado: 1.0.2911.0
    Versión Win32: 9.12.589.0000
    Código base: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3DX/1.0.2911.0__31bf3856ad364e35/Microsoft.DirectX.Direct3DX.dll
    ----------------------------------------
    Microsoft.VisualC
    Versión del ensamblado: 8.0.0.0
    Versión Win32: 8.00.50727.4927
    Código base: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
    ----------------------------------------
    ICSharpCode.SharpZipLib
    Versión del ensamblado: 0.85.5.452
    Versión Win32: 0.85.5.452
    Código base: file:///C:/Program%20Files/BobsTrackBuilder/ICSharpCode.SharpZipLib.DLL
    ----------------------------------------
    System.Xml
    Versión del ensamblado: 2.0.0.0
    Versión Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
    Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Windows.Forms.resources
    Versión del ensamblado: 2.0.0.0
    Versión Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
    Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll
    ----------------------------------------

    ************** Depuración JIT **************
    Para habilitar la depuración Just In Time (JIT), el archivo de configuración de esta
    aplicación o equipo (machine.config) debe tener el
    valor jitDebugging establecido en la sección system.windows.forms.
    La aplicación también se debe compilar con la depuración
    habilitada

    Por ejemplo:

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

    Cuando esté habilitada la depuración JIT, cualquier excepción no controlada
    se enviará al depurador JIT registrado en el equipo
    en lugar de controlarlo mediante el cuadro de diálogo.

    ***************************************************************
    I tried to reinstalling the program but error continues, I installed BTB in another pc and the error continues, I didn't edit recent xpack packs or edit system files.

    Pitty!! I need to recover my project :frown::frown::frown:
     
  2. do you have backups of earlier versions?
     
  3. Yes!

    Just one, about 4 months ago. :(
     
  4. BTB makes temporary backups and puts them a temporary files folder. You can copy and remname one of those files.
     
  5. Ok!, you're right, there are some files into the temporary files folder,

    a3ghtdtx.ohv
    oremvhd5.pys
    q53nvfux.sjp
    tior3ovh.14y
    v3nsbg5f.3zq

    So... how can I know what's the correct file and what extension I must to use... I see in my Project folder some project's files:

    track.xml
    exportsettings.xml
    venue.bin
    venue.xml

    What's the file that the game reads to open and save the project? the temporary files have sizes like 1kb 2kb too small doesn't?... thank you!!!
     
  6. venue.bin is the file you need to replace, so look for files in the Temporary Files folder that are the same size as your track's venue.bin file. The Temporary Files folder only keeps them for a certain time, so if you've not worked on your track for a couple of weeks they might have gone. :frown:

    Also I think if you have Undo switched off in BTB then the backup files don't get saved.
     
  7. If you sort the files by date modified you can quickly find the most recent one.
     
  8. Very early on when I was building my track I had a similar loss. From then on If I spent a day working on the track I would regularly back up with different names. For example today being the 24th of April I would save as 24041001 then each time I went into rFactor to see the changes I would create a new save 24041002 and so on. By the end of the day I'd typically have about 8 seperate saves.
     
  9. Do you remember what xpacks you had used in the project? I had this kind of errors when I was manually removing xpacks from project folder (and they were "in use"). I mean maybe you got some bad block on your HDD and one of them is broken (try also to check if all of them are there in your project folder). Maybe you can try to copy whole think withing "My Projects" folder and overwrite xpacks - copy them once again from "XPacks" folder. Also, do the deep scandisc of your HDD. I'm guessing, sorry, but you can try that.
    Have good luck anyway!
     
  10. Thanks everbody for your help! I had not modified xpacks or similar so that was not the problem... I got it righ now!! I use the temporary files to replace the Venue.bin file, I checked it for modification date and the last two files were damaged, but the third file was ok, so I could recover my project with a few of lost changes.....

    Thank you so much! I feel alive again hehehe!! :cool:

    p.d. What's the difference about licensed and not licensed member?
     
  11. I believe a 'license' is what you need to race online at race department (I don't need one as i don't race online).

    I'm pretty sure it's free but i think the reason for it is for if someone had really bad sportsmanship they could strip them or suspend them of their license.