<< SOLUTION FOR XP "Not a valid Win32 application" ERROR >>
Im no Programmer and have no Visual Studio but i searched around and found a solution :
The Problem is the SubSystemVersion number written in the PE-Header (the optional one)
Look at this site for explenation and solution (for both user and Programmer side) ....
http://www.tripleboot.org/?p=423
/SUBSYSTEM:WINDOWS,6.00 means WIN Vista and up ... and thats what VS2012 2013 write as default
But we need /SUBSYSTEM:WINDOWS,5.01
FIX AT COMPILE TIME:
Go to Linker > System. Change Subsystem to "Not Set".
Now go to Linker > Command Line. If it is a Console application, type the text into the Additional Options field:
/SUBSYSTEM:WINDOWS,"5.01"
or do something similar to this setting in the linker configurations ... as said i have no VS ...
USERS CAN PATCH THE EXE:
Patch exe as described at the first link with HEX-Editor or use PE-Tools (ignore the errors at start if you get one) :
http://sourceforge.net/projects/pe-tools/
- Start PE-Tools
- Go to Tools/PE Editor
- Open emulationstation.exe
- click on Optional Header
- Change Major SubsystemVersion to 05
- Change Minor SubsystemVersion to 01
- Click OK, click OK ... its done
I didnt tried the patched exe very much ... it starts normal and complain about missing Config ...
For me it looks like it works ..
I HOPE IT HELPED .....