********************************************** ** How to upgrade RAGE's scaleform ********************************************** * Get the latest installers from scaleform.com * PC (MSVC 8.0) * 360 (MSVC 8.0 * PS3 (GCC) * Delete any old installation you have * Install these installers somewhere. I put them in C:\3rdParty\dev but that's just me. * PC and 360 go in the same place. E.g. C:\3rdParty\dev\Scaleform\ * PS3 goes in a neighboring folder. E.g. C:\3rdParty\dev\scaleform_pfx_3.1_ps3 * Get yourself a good folder diff program. I like Diff Commander * Diff the two install folders * Ignore everything except the "Src" subfolder. * Bring over any missing files from the ps3 tree to the Xenon tree * Check out everything from //rage/dev/rage/scaleform * Search for "RAGE" in all caps in *.cpp and *.h. We'll need that list later. Currently its these files: Include\GConfig.h Include\GTypes.h Src\GFxPlayer\GFxKoreanIME.cpp Src\GFxPlayer\GFxSocket.cpp Src\GKernel\GJPEGUtil_jpeglib.cpp Src\GKernel\GSysAllocWinAPI.cpp Src\GKernel\GThreads_ps3.cpp Src\GKernel\GThreads_win32.cpp * Compare the source directories * IF THERE ARE ANY NEW FILES! Add them to the corresponding makefile.txt Do this now so you don't forget Special exception: A lot of GRenderer gets ignored. Copy the files over, but e.g. if we have our own shaders you don't need to add scaleform's to the project * Now clobber anything in rage with the latest from SF DON'T COMMIT YET! * Compare the include directories New files get added to scaleform\Src\Headers\makefile.txt * Clobber anything in rage with the latest from SF YOU AREN'T COMMITTING ANY OF THIS RIGHT? * Go to perforce - revert unchanged and start the resolution. * For any file that's used to have RAGE in it do a diff and make sure to restore any rage-specific changes that we need. * Rewiz all the directories that have a makefile.txt in them * Make sure sample_scaleform\sample_viewer builds. Fix anything that may have broken. All three platforms! * If you run into any problems, check the scaleform docs. They have a Migration Guide doc that lists all of the API changes