Post subject: not at all your typical "Failure to start BizHawk"
ALAKTORN
He/Him
Former player
Joined: 10/19/2009
Posts: 2527
Location: Italy
“Format of the input string is wrong”: http://i.imgur.com/9l3uV1x.jpg Windows XP x32. I’ve run the pre-req installer. Help. Edit: Oh yeah BizHawk 1.11.1.
Editor, Emulator Coder
Joined: 8/7/2008
Posts: 1156
Either your bizhawk is corrupted, or your italian operating system can't load XML. Since I would have expected this to be a problem for more people by now if the font XML loading was frail in this way, I doubt that's the problem, unless you've changed something from the default in how your system displays numbers or something like that. At any rate, it just sounds like you need to disable your security software and download a new bizhawk.
ALAKTORN
He/Him
Former player
Joined: 10/19/2009
Posts: 2527
Location: Italy
My system is kinda different. I’m in Japanese locale. For example, backslash (\) shows up as a Yen sign (¥) for me in places like folder names. I might have modified something else as well since I’m heavy on customizations like that… Re-downloading https://github.com/TASEmulators/BizHawk/releases/download/1.1.1/BizHawk-1.1.1.zip from http://tasvideos.org/BizHawk/ReleaseHistory.html#Bizhawk1111 didn’t solve the problem.
Editor, Emulator Coder
Joined: 8/7/2008
Posts: 1156
Well then, you must be used to stuff breaking. I just tested it in a windows XP japanese version and it worked OK. I dont think I can be bothered to find an italian XP and figure out how to reproduce your weird customizations. I suggest you install visual studio and debug it, see which string from the xml is getting choked on. I checked the .net sources and theyre attempting as usual to make all our lives miserable by converting the numbers with your current locale, but there arent any weird numbers in that xml... theyre just all small integers -10<=X<=137 or thereabouts
ALAKTORN
He/Him
Former player
Joined: 10/19/2009
Posts: 2527
Location: Italy
zeromus wrote:
Well then, you must be used to stuff breaking.
I don’t remember other things breaking. It was Japanese games before I changed to Japanese locale.
zeromus wrote:
I suggest you install visual studio and debug it, see which string from the xml is getting choked on.
And how do I debug it? I got Visual C# 2008 Express Edition. Tried going back to Italian locale and running a re-downloaded BizHawk, no change.
Editor, Emulator Coder
Joined: 8/7/2008
Posts: 1156
get visual c# 2010 express edition. get the source. debug it. wait for it to crash. see what string is getting passed into Convert.ToInt32()
ALAKTORN
He/Him
Former player
Joined: 10/19/2009
Posts: 2527
Location: Italy
I have no idea what I’m doing. I got Visual C# 2010 Express Edition. I downloaded BizHawk-Release.zip from the Github or whatever, extracted it. Opened BizHawk.sln on Visual C#. Threw a bunch of errors at me: “Solution folders are not supported in this version of the application. Solution folder 'Client' will be displayed as unavailable.” also for 'Emulation' and 'Bizware'. Then I start debugging. “There were build errors. Would you like to continue and run the last successful build?” I say yes. “A project with an Output Type of Class Library cannot be started directly. In order to debug this project, add an executable project to this solution which references the library project. Set the executable project as the startup project.”. What should I do.
Editor, Emulator Coder
Joined: 8/7/2008
Posts: 1156
gahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh sorry i told you wrong. the express version doesnt work. but use this sln instead https://dl.dropboxusercontent.com/u/4260750/temp/BizHawk.sln.zip then rightclick BizHawk.Client.EmuHawk and say Set as Startup Project. Then debug it and wait for the badness to happen in the line of code in your screenshot. You should be able to peek at the variables involved then Or get with me on IRC and I can teamviewer us a solution to this in about 30 seconds
Editor, Emulator Coder
Joined: 8/7/2008
Posts: 1156
mystery solved, user had customized region settings to use custom - sign for negative numbers, breaking .net's ability to parse normal negative signs. not likely to affect anyone else ever in any universe.
ALAKTORN
He/Him
Former player
Joined: 10/19/2009
Posts: 2527
Location: Italy
Thank you for your help.