Hrm, need some help with .rsf

Users who are viewing this thread

Well, I made a stereotypical vertical scar face skin for a character, but I didn't want to replace the one I changed, so I went and looked in face_gen.txt.

Somewhere way down the file are some lines:
Code:
 269
161 161 161 122 120 120 159 121 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 119 215 218 219 216 217 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 122 115 115 118 118 107 115 119 114 116 107 114 161 117 118 117 
 5  manface10 -1  manface_red -1  manface_midage -1  manface_old -2039584  manface_dark -7307152
 5  hair_black  hair_brunette  hair_red  hair_blonde  hair_white 
 5  hair_black  hair_brunette  hair_red  hair_blonde  hair_white

First thing I tried was just changing that 5 to a 6, and adding the name of the texture I made: manface_scar and -1. That didn't sit too well, so I figured there must be somewhere else that has data on the textures. In the CommonRes folder, there are two files which I've found with info on the face textures, textures_face_gen.rsf and materials.rsf. Now, on a long shot I decided to just crack these open with a hex editor. I noticed that every .rsf files has a number, a name (in this case 07 and texture). Then after the name is a number denoting how many entries (in this case 1:cool:. Each entry in textures_face_gen.rsf looks like this:

Code:
manface10.dds 0000 0000 0F00 0000
The only difference in each entry being that byte. The materials.rsf file has similar entries, except with slightly more ASCII data(also, the first byte is 8 rather than 7).
 
Back
Top Bottom