Difference between revisions of "Rules of Modding"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
1. Turn off Read-Only.
+
* '''Turn off Read-Only.'''
 +
* '''Always backup your files.'''
 +
* '''Always test the game after you made a change.'''
  
2. Always backup your files.
 
  
 
==Turning off Read-Only==
 
==Turning off Read-Only==
Locate your GTA directory (Default is C:/Program Files/Rockstar Games/*GTA version*). On the 'Rockstar Games' folder, right click and select properties, then uncheck the Read-Only box. Click 'OK' or 'Apply', and on the next pop-up choose 'Apply changes to this folder, subfolders and files'.
+
Locate your GTA directory (The default are <code>C:\Program Files\Rockstar Games\<em>*GTA version*</em></code> for the DVD copy and <code>C:\Program Files\Steam\steamapps\common\<em>*GTA version*</em>\<em>*GTA version abbreviated*</em></code> for the Steam copy). On the Rockstar Games (or <em>*GTA version*</em>) folder, right click and select "<code>properties</code>", then uncheck the Read-Only box. Click "<code>OK</code>" or "<code>Apply</code>", and on the next pop-up choose "<code>Apply changes to this folder, subfolders and files</code>".
  
The first screen should resemble the below:
+
==Backing up your files==
 +
When you make a change to a certain file, always back it up! It'll be useful later, so you won't have to reinstall the game if something goes wrong. The best would be to create a folder called ''backup'' in your GTA directory, and sort all changed files in different folders, like original main.scm in backup/data folder, and original american.gxt in backup/text. It would be good if you make additional backup, mostly when you change the main.scm, so some of the progress will be saved.
  
'''Missing Image'''
+
==Testing the game after a change is made==
 +
When a certain change is made, always test the game, to make sure the desired change works, but note that main.scm changes require most testing. Easiest way to test is to just save the changed file, minimize it, copy it to your directory (unless it's already copied) and run the game. If something doesn't work, use the backup you made to restore the file to it's last known good state.
  
 
+
[[Category:Tutorials]][[Category:Troubleshooting]]
The second screen should resemble the below:
 
 
 
'''Missing Image'''
 

Latest revision as of 19:45, 21 August 2014

  • Turn off Read-Only.
  • Always backup your files.
  • Always test the game after you made a change.


Turning off Read-Only

Locate your GTA directory (The default are C:\Program Files\Rockstar Games\*GTA version* for the DVD copy and C:\Program Files\Steam\steamapps\common\*GTA version*\*GTA version abbreviated* for the Steam copy). On the Rockstar Games (or *GTA version*) folder, right click and select "properties", then uncheck the Read-Only box. Click "OK" or "Apply", and on the next pop-up choose "Apply changes to this folder, subfolders and files".

Backing up your files

When you make a change to a certain file, always back it up! It'll be useful later, so you won't have to reinstall the game if something goes wrong. The best would be to create a folder called backup in your GTA directory, and sort all changed files in different folders, like original main.scm in backup/data folder, and original american.gxt in backup/text. It would be good if you make additional backup, mostly when you change the main.scm, so some of the progress will be saved.

Testing the game after a change is made

When a certain change is made, always test the game, to make sure the desired change works, but note that main.scm changes require most testing. Easiest way to test is to just save the changed file, minimize it, copy it to your directory (unless it's already copied) and run the game. If something doesn't work, use the backup you made to restore the file to it's last known good state.