SR3,SR4, GOOH FOV Editor

I just tried your program after the last game update, and it crashed when I tried to apply the new FOV values. Does it need an update ?
 
No it does not need an update, as there is no updated camera_free.xtbl file in any of the patched pack files.

My game works fine post patch. Are you using any other mods?
 
No it does not need an update, as there is no updated camera_free.xtbl file in any of the patched pack files.

My game works fine post patch. Are you using any other mods?
You misunderstood me, my game works fine, it's the FOV Editor that crashes. :D
 
The FOV program has it's own copy of each game's camera_free.xtbl file embedded in it. An update to the game would not make the program suddenly stop working.

What value are you trying to apply?
 
Last edited:
I tried almost all possible values. The only one that doesn't crash the program is 50 (default value), but applying it only deletes the file camera_free.xtbl if it is present in the Saints Row IV main folder.

Here's the error message I get when I try to apply new FOV values (sorry it's in french :p):

cb814aae6c29917f0080aa506227e680d6cdfdda.jpg


Here's what is shown when you click the "Details" button:

Code:
Consultez la fin de ce message pour plus de détails sur l'appel du débogage
juste-à-temps (JIT) à la place de cette boîte de dialogue.

************** Texte de l'exception **************
System.FormatException: Le format de la chaîne d'entrée est incorrect.
  à System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
  à System.Convert.ToDouble(String value)
  à SaintsRowFov.MainForm.ApplyButton_Click(Object sender, EventArgs e)
  à System.Windows.Forms.Control.OnClick(EventArgs e)
  à System.Windows.Forms.Button.OnClick(EventArgs e)
  à System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
  à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
  à System.Windows.Forms.Control.WndProc(Message& m)
  à System.Windows.Forms.ButtonBase.WndProc(Message& m)
  à System.Windows.Forms.Button.WndProc(Message& m)
  à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Assemblys chargés **************
mscorlib
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
    CodeBase : file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
SaintsRowFov
    Version de l'assembly : 1.0.0.0
    Version Win32 : 1.0.0.0
    CodeBase : file:///C:/Program%20Files%20(x86)/Steam/SteamApps/common/Saints%20Row%20IV/SaintsRowFov.exe
----------------------------------------
System.Windows.Forms
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
    CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
    CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
    CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Xml
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
    CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
mscorlib.resources
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.0.30319.17929 built by: FX45RTMREL
    CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Windows.Forms.resources
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.0.30319.17929 built by: FX45RTMREL
    CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Débogage JIT **************
Pour activer le débogage juste-à-temps (JIT), le fichier de configuration pour cette
application ou cet ordinateur (machine.config) doit avoir la valeur
jitDebugging définie dans la section system.windows.forms.
L'application doit également être compilée avec le débogage
activé.

Par exemple :

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

Lorsque le débogage juste-à-temps est activé, les exceptions non gérées
seront envoyées au débogueur JIT inscrit sur l'ordinateur
plutôt que d'être gérées par cette boîte de dialogue.

When there is already a camera_free.xtbl file in the Saints Row IV main folder I have a different error message:

bc55f987578ed00c5ced0e45b5457f9e9e362a06.jpg


Here's again what is shown when you click the "Details" button:

Code:
Consultez la fin de ce message pour plus de détails sur l'appel du débogage
juste-à-temps (JIT) à la place de cette boîte de dialogue.

************** Texte de l'exception **************
System.Xml.XmlException: La balise de début 'base_fov' sur la ligne 5153 à la position 6 ne correspond pas à la balise de fin de 'Base_FOV'. Ligne 5153, position 19.
  à System.Xml.XmlTextReaderImpl.Throw(Exception e)
  à System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
  à System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag)
  à System.Xml.XmlTextReaderImpl.ParseEndElement()
  à System.Xml.XmlTextReaderImpl.ParseElementContent()
  à System.Xml.XmlTextReaderImpl.Read()
  à System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
  à System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
  à System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
  à System.Xml.XmlDocument.Load(XmlReader reader)
  à System.Xml.XmlDocument.Load(String filename)
  à SaintsRowFov.MainForm.InitializeProgram()
  à SaintsRowFov.MainForm.MainForm_Load(Object sender, EventArgs e)
  à System.Windows.Forms.Form.OnLoad(EventArgs e)
  à System.Windows.Forms.Form.OnCreateControl()
  à System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
  à System.Windows.Forms.Control.CreateControl()
  à System.Windows.Forms.Control.WmShowWindow(Message& m)
  à System.Windows.Forms.Control.WndProc(Message& m)
  à System.Windows.Forms.ScrollableControl.WndProc(Message& m)
  à System.Windows.Forms.ContainerControl.WndProc(Message& m)
  à System.Windows.Forms.Form.WmShowWindow(Message& m)
  à System.Windows.Forms.Form.WndProc(Message& m)
  à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Assemblys chargés **************
mscorlib
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
    CodeBase : file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
SaintsRowFov
    Version de l'assembly : 1.0.0.0
    Version Win32 : 1.0.0.0
    CodeBase : file:///C:/Program%20Files%20(x86)/Steam/SteamApps/common/Saints%20Row%20IV/SaintsRowFov.exe
----------------------------------------
System.Windows.Forms
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
    CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
    CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
    CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Xml
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
    CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.xml.resources
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.0.30319.17929 built by: FX45RTMREL
    CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/System.Xml.resources.dll
----------------------------------------
System.Windows.Forms.resources
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.0.30319.17929 built by: FX45RTMREL
    CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
mscorlib.resources
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.0.30319.17929 built by: FX45RTMREL
    CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------

************** Débogage JIT **************
Pour activer le débogage juste-à-temps (JIT), le fichier de configuration pour cette
application ou cet ordinateur (machine.config) doit avoir la valeur
jitDebugging définie dans la section system.windows.forms.
L'application doit également être compilée avec le débogage
activé.

Par exemple :

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

Lorsque le débogage juste-à-temps est activé, les exceptions non gérées
seront envoyées au débogueur JIT inscrit sur l'ordinateur
plutôt que d'être gérées par cette boîte de dialogue.
 
Try version 1.1, it should solve your problem. Thanks for the detailed info. It made finding the problem easy.

I recommend anyone using this tool for Saints Row 4, to re-apply it with the new version.

Saints Row 3 users can ignore the update. The default camera file for that game doesn't have the same issue.
 
Last edited:
Uploaded the new source code project. Code is the same, but it has an updated resource file to fix the problem described in the previous post.
 
Try version 1.1, it should solve your problem. Thanks for the detailed info. It made finding the problem easy.

I recommend anyone using this tool for Saints Row 4, to re-apply it with the new version.

Saints Row 3 users can ignore the update. The default camera file for that game doesn't have the same issue.
Unfortunately your update doesn't fix anything for me, I always have the same error messages... I tried to uninstall and reinstall Microsoft .NET Framework 4 but it was useless. :(
I think I will continue to use my previous homemade camera_free.xtbl file for now, it must be a problem on my side, but I have no idea how to fix it. o_O
 
Ok, i think i see what is going on now. My last update addressed this problem:
"System.Xml.XmlException: La balise de début 'base_fov' sur la ligne 5153 à la position 6 ne correspond pas à la balise de fin de 'Base_FOV'. Ligne 5153, position 19."

But i didn't scroll the page up to see the first problem:
"System.FormatException: Le format de la chaîne d'entrée est incorrect."

It seems your French version of the .NET is choking when trying to convert a floating point value in string form to an actual floating point value. It's expecting a comma but getting a period. I changed that call to use a culture insensitive version. Hopefully that finally fixes it for you.

I uploaded a separate test version just for you. If you can confirm this fixes your problem please send me a private message with the contents of your camera_free.xtbl file so i can make sure things are formatted correctly.

the test version is here:
http://jg52online.com/public/SaintsRowFov v1.2.zip

If all checks out, i'll upload it as the official version. If it doesn't fix the problem, i can easily just drop the .0 from all the default FOV values in the embedded camera file and the problem would go away forever. Though i'll save that as a last resort.
 
Last edited:
Back
Top