Difference between revisions of "Compiling ScummVM/Visual Studio"

Jump to navigation Jump to search
→‎Before compiling: Japanese text has been removed from script_v1.cpp, so removing the instruction step for it
(→‎Before compiling: Japanese text has been removed from script_v1.cpp, so removing the instruction step for it)
Line 130: Line 130:
Open the solution file in dists\vc8 (or vc7 if you're using VS2003)  
Open the solution file in dists\vc8 (or vc7 if you're using VS2003)  


Before compiling, open the file sound\softsynth\ym2612.cpp in the scummvm directory with VS and save it as unicode. To do this, go to File->Save as and in the save button, click the small arrow next to it and select "Save with encoding" and select "UTF8" from the list. You need to do the same with file kyra\script_v1.cpp, although that wasn't enough for my case. I had to remove all japanese text from script_v1.cpp in order to compile it with VS. The reason for this step is that those files contain Japanese characters, so VS refuses to compile the project if those files are not saved as unicode  
Before compiling, open the file sound\softsynth\ym2612.cpp in the scummvm directory with VS and save it as unicode. To do this, go to File->Save as and in the save button, click the small arrow next to it and select "Save with encoding" and select "UTF8" from the list. The reason for this step is that this file contains Japanese characters, so VS refuses to compile the project if it's not saved as unicode  


After compiling, don't forget to copy "sdl.dll" in the release and debug directories where scummvm.exe is located. If you haven't compiled zlib statically into ScummVM and have included zlib support, you'll need to copy "zlib1.dll" in the same directory as scummvm.exe as well
After compiling, don't forget to copy "sdl.dll" in the release and debug directories where scummvm.exe is located. If you haven't compiled zlib statically into ScummVM and have included zlib support, you'll need to copy "zlib1.dll" in the same directory as scummvm.exe as well


== Ready to go! ==
== Ready to go! ==
1,502

edits

Navigation menu