Post subject: Problems about compiling Gens Rerecording 10a
Bsi
Joined: 5/10/2008
Posts: 9
I do as SourcePatch\readme.txt said, and then run 10 to 10a.bat, but it remains showing message "patch -p0 10_10a.diff", I wait so long, and it seems no effect, why? And I encountered problem of "cannot open file 'dinput.lib'", I googled and downloaded dx70_min.zip for dinput.lib, then I extracted dinput.lib to "D:\Program Files\Microsoft DirectX SDK (March 2009)\Lib\x86" directory and successfully builded gens.exe. But will this will bring some problems? Which version of "DirectX SDK" I should download?
upthorn
He/Him
Emulator Coder, Active player (391)
Joined: 3/24/2006
Posts: 1802
Wait, are you trying to compile gens 10a, or gens 11a? The gens with lua is gens 11, you can get the source package from http://gens-rerecording.googlecode.com/files/Gens_Rerecording_11_Src_Win32.7z You seem to be correct about the included x_to_y.bat file not working. I'm going to correct that, now. In order to fix it on your machine, just open that .bat file and add a "-i " after the "-p0 ", but before the name of the .diff file. Edit: Oh, I misread the thread title. Somehow I saw "10a" as "lua"
How fleeting are all human passions compared with the massive continuity of ducks.
Bsi
Joined: 5/10/2008
Posts: 9
Thank you very much! The 2nd question:Which version of "DirectX SDK" I should download to compile gens 10a? I'm solicitous about "dinput.lib" will bring some problems.
Bsi
Joined: 5/10/2008
Posts: 9
I means which "dinput.lib" to use to compile gens 10a? The latest DirectX SDK doesn't contains "dinput.lib" file, but "dinput8.lib" file.
upthorn
He/Him
Emulator Coder, Active player (391)
Joined: 3/24/2006
Posts: 1802
you can get the correct directx libs either by checking out the current SVN, source, or downloading them individually from http://code.google.com/p/gens-rerecording/source/browse/#svn/trunk/%20gens-rerecording/Gens/DirectX I'm still confused as to why you want gens10a instead of gens11a, though...
How fleeting are all human passions compared with the massive continuity of ducks.
Bsi
Joined: 5/10/2008
Posts: 9
Thanks again upthorn! Using gens 10a, it is because gens 10a can satisfies my needs now, and gens 11a's "ROM History" menu has a problem(http://code.google.com/p/gens-rerecording/issues/detail?id=73&can=1).
Bsi
Joined: 5/10/2008
Posts: 9
I'm trying to reduce compiled exe size not by exe compressers, I try to set entrypoint in G_main.cpp, I add "#pragma comment(linker, "/ENTRY:wWinMainCRTStartup")" and change "WinMain" to "wWinMainCRTStartup", but errors occur. I'm not good at Visual C++, only for hobby.