User Tools

Site Tools


proton_vsrename

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
proton_vsrename [2012/07/07 02:00] sethproton_vsrename [2023/06/09 00:46] (current) seth
Line 1: Line 1:
 === How to duplicate an example project with vsrename === === How to duplicate an example project with vsrename ===
 + 
 At some point you're probably going to say, "Hey, I understand what's going on, and I want to build my new game, Laser Cats, based on RTSimpleApp." (or RT3DApp, etc) At some point you're probably going to say, "Hey, I understand what's going on, and I want to build my new game, Laser Cats, based on RTSimpleApp." (or RT3DApp, etc)
  
Line 8: Line 8:
  
 === Smart renaming with vsrename (Windows only) === === Smart renaming with vsrename (Windows only) ===
 +
 +**WARNING:**  This doesn't edit the file linux/linux_compile.sh right, it changes it to have DOS end of lines.  You will have to manually change this back using Notepad++ (Edit->EOL Conversion->Unix LF) or something if you're doing linux compiles from linux!
  
 First, grab [[http://www.codeproject.com/KB/cpp/vsrename.aspx|vsrename (Visual Studio Project Renamer)]] - what it does is intelligently search and replace in file names and inside text file (it can figure out what is a text file or not) in an entire directory tree.  Don't let the Visual Studio in the name fool you, it doesn't really care what files it works on. First, grab [[http://www.codeproject.com/KB/cpp/vsrename.aspx|vsrename (Visual Studio Project Renamer)]] - what it does is intelligently search and replace in file names and inside text file (it can figure out what is a text file or not) in an entire directory tree.  Don't let the Visual Studio in the name fool you, it doesn't really care what files it works on.
 +
 +It's smart enough to ignore files that contains characters that signal it's not a text file. (ie, it won't touch binaries and the like)
  
 Grab vsrename.exe and throw it somewhere in your path to get ready. Grab vsrename.exe and throw it somewhere in your path to get ready.
Line 22: Line 26:
  
 Now, at this point you can open windows/lasercats.sln and build the game for windows and it should work.  (Don't forget to rebuild your resources with media/build_media.bat ) Now, at this point you can open windows/lasercats.sln and build the game for windows and it should work.  (Don't forget to rebuild your resources with media/build_media.bat )
 +
 +=== Warning! ===
 +
 +Don't use an underscore in the name, it screws up the android build.
  
 === Android notes === === Android notes ===
 If you're doing Android, you'll probably want to look over the following files by hand to tweak things: If you're doing Android, you'll probably want to look over the following files by hand to tweak things:
  
-  * android/app_setup_info.bat +  * android/AndroidManifest.xml (change the name of the app, might be in two places in this file)
-  * android/AndroidManifest.xml +
-  * android/build.xml+
   * android/res/values/strings.xml (to change the display name of the app, unless it was hardcoded in the manifest)   * android/res/values/strings.xml (to change the display name of the app, unless it was hardcoded in the manifest)
   * android/res/drawable/icon.png (change the app icon)   * android/res/drawable/icon.png (change the app icon)
 +  * android/build_prepare.bat (any special needs for file resource file copying you would add here)
  
 === Summary === === Summary ===
Line 36: Line 43:
  
 It IS possible to do directory checkout of your own svn located inside of your svn proton checkout btw - it's what I do for client projects, works like charm. It IS possible to do directory checkout of your own svn located inside of your svn proton checkout btw - it's what I do for client projects, works like charm.
 +
 +For linux users... ermm... well, [[https://unix.stackexchange.com/questions/46276/finding-all-non-binary-files|check this out]]?
  
proton_vsrename.txt · Last modified: 2023/06/09 00:46 by seth