Welcome Guest [Log In] [Register]
Welcome to the Shop!

You're currently viewing our site as a guest, so some features you can't use... like the bubble gum machine. If you join our little cult, you'll be able to take advantage of many member-only features such as a 60 day free trial subscription to HighTimes - A chance to be chosen as a candidate to test the latest penis enlargement cream - A possibility to win a free lifetime supply of Kotex® Maxi-Pads to help with that "not so fresh" feeling - Running around with your pants down around your ankles yelling kiss my ass!!! and voting in polls. Registration is simple, fast, and completely free.

sO Click herE to join our Cwazy wHackd in the Head coMmunity!

If you're already a member, wtf you doin!? ffs log in already!




Username:   Password:
Locked Topic
Modifying game files - GamePC.cpr; add/disable features and set game parameters
Topic Started: Feb 20 2011, 01:55:31 PM (13,521 Views)
Chipicao
Member Avatar
Fish swim, I fly

qwerty from XeNTaX found out that some game files can be decrypted with the old tdudec tool from aluigi. Among them are the .cpr files found in the root folder of the game.

To decrypt them, use this command
Code:
 
tdudec.exe d filename.cpr filename.cpr.txt 1

After you're done with the modifications you have to encrypt them back
Code:
 
tdudec.exe e filename.cpr.txt filename.cpr 1

Here you can download the tool along with 2 cmd files that will automatically decrypt/encrypt all .cpr files. Don't forget to make backups!

WARNING! the game launcher checks all files and if any are different it will download the latest versions. You have two options, either block the launcher with your firewall, or replace the original .cpr files with the ones you modify AFTER you start the launcher.

There's some neat stuff inside, filenames are pretty much self-explanatory.
GamePC.cpr can be used for cheating, by modifying things like DefaultMoney or PoliceMaxCount (I know you're gonna love this one :p). I think there might also be a way to get those exclusive cars, but I haven't tested anything yet. Will let you know as soon as I have the SS in my hands... I mean garage :D

P.S. If you look closely some lines mention Lamborghini cars. Maybe they are leftovers, but maybe they're for a future DLC...
P.S.2 One other line caught my attention: //AddLevel= "Dubai" :D


Here's a list of things you can do. I will add more as soon as I test them.
WARNING: the forum won't accept tab-spaces so I replaced them with normal spaces. Just search for the first part of the line to find it.

SystemPC.cpr
1. Disable the intro movie
Find SetMovie = ON and replace with SetMovie = OFF


GamePC.cpr
1. Show all locations on the map (dealers, shops, events)
Find //MYNAMEISHUGUESOICANSEEALLCARS and repalce with MYNAMEISHUGUESOICANSEEALLCARS

2. Unlock all roads - allows you to teleport on any road but it won't change completion percentage of Discovery objective.
Find //UnlockAllRoads TRUE and change into UnlockAllRoads TRUE

3. Teleport anywhere (not just on roads), for example on the old secret island from TDU1 (thanks VladyF)
Find //FREETELEPORT and change into FREETELEPORT

4. Disable the blur effect applied on spinning wheels
Find MV_RADIAL_BLUR = 1 and rchange into MV_RADIAL_BLUR = 0

5. Force weather conditions. It seems that the comments left by developers are deprecated. Here's an updated list of all weather conditions
Find FORCED_OFFLINE_WEATHER = 0 and replace 0 with one of the following:
0 = sunny with a clear sky
1 = sunny with a few clouds
2 = rainny without FX (thunder & lightning)
3 = storm clouds
4 = after rain (wet roads)
5 = rain with thunder and lightning

6. Disable traffic cars (the ones which you bump into at high speeds :D )
Find TrafficMaxCount = 8 and change into TrafficMaxCount = 0

7. Set the number of chasing police cars, or disable them
Find PoliceMaxCount = 7 and change into PoliceMaxCount = 0

8. Disable traffic opponents (instant challenge)
Find EnableBots = 1 and change into EnableBots = 0

9. Disable the annoying hints the game gives you when you start a new profile
Find TUTORIAL = ON and replace with TUTORIAL = OFF

10. Disable the intro tutorial (character selection, dream, race to studio) - basically you just wake up in your house with car/cars in your garage (both house and cars are defined bellow). Note you will also be left with no cash whatsoever, zilch, nada, nothing.
Find SCENARIOTUTORIAL = ON and change into SCENARIOTUTORIAL = OFF

Note: All following cheats work after you create a new game profile and they need the intro tutorial deactivated.

11. Get all houses and travel between islands (without reaching lvl10)
Find //DEMOPRESS and replace with DEMOPRESS
Update: this one also works without disableing the intro tutorial, but you still need to create a new profie

12. Spawn cars in all houses (use in conjunction with the previous cheat)
Find AllHousesWithDefCars FALSE and replace with AllHousesWithDefCars TRUE

13. Set the default house when you start a game - only works if you disable the intro tutorial
For Ibiza, find DefaultHouse "EPH_L2E_0345I" and replace with
Ibiza house IDs

For Hawaii it's the next line DefaultHouse2 "EPH_L4F_6361"
Hawaii house IDs

14. Set which car/cars to spawn in garage (set by the previous cheat) - only works if the intro tutorial is deactivated, after creating a new profile. You can set more than one but the game will only load as much as the garage can hold
For Ibiza, find DefaultGarageConfig 379 //204 317 313 310 244 298 and replace 379 with one or more car ID's (you can delete the part that starts with //, it's commented out anyway)
For Hawaii it's the next line DefaultGarageConfig2 326 379 371 348 383 117 370
car IDs

Spawning the following cars creates the "Lancia with purple wheels" bug. At some point VladyF was talking about a hidden car in TDU1 created for compatibility between a DLC savegame and a non-DLC game. I think this is the same thing in TDU2...
Most of them do have have names and specs, indicating possible DLC cars.
Unlisted cars

15. Change the color, transparency and width of road markings in both hud and map..
Navigate to the end of your GamePC.cpr file and you'll find a section called [HudMap]. Each type of road (highway, offroad, circuit...) has its own set of lines. Everything is pretty obvious if you have some basic experience with image editing, but let's look at some lines just in case.
// AIRL_HIGHWAY = 0 - only a comment that tells you the road type, in this case highway
SET_HUDMAP_ROAD_COLOR_LOCKED 0 140 140 140 255 - this defines the marker for locked roads
1st number is an identifier that lets the game know what type of road it is
2nd number controls the amount of red
3rd is for green
4th is for blue
5th number sets transparency, 255 for opaque and 0 for fully transparent
SET_HUDMAP_ROAD_COLOR_UNLOCKED 0 29 180 215 255 - same thing only for unlocked roads
SET_HUDMAP_ROAD_WIDTH 0 4 // Min Width : 1, Max Width : 8 - this sets the marker width for this type of road (both locked and unlocked); the comment pretty much explains everything

Next you will find 6 more sets of lines for SECONDARY_HIGHWAY, ROAD, OFFROAD, CIRCUIT, WIP and TUNNEL. They work just the same.

SET_HUDMAP_TRACE_COLOR 254 216 197 200 - defines that smaller marker that shows your current path; it's especially visible when you deviate from the road
It has no identifier, just settings for red, green, blue and transparency.
SET_HUDMAP_TRACE_WIDTH 2 - sets the width

Last we have the settings for your GPS route. They work just like the previous example.
SET_HUDMAP_GPSPATH_COLOR 255 102 0 255
SET_HUDMAP_GPSPATH_WIDTH 5


This trick is especially useful if you're attempting to discover all roads. You will sometimes get stuck at 99% because you left a tiny tiny bit of road uncovered, and finding it is like looking for a needle in a hey stack. Just change the color of all unlocked roads to 255 0 0 and it will show up as red; you could also set all unlocked markers transparent to make it even easier.
Posted Image

Or if you want, change colors and transparency just for the fun of it :)


15. $39.99 screensaver :D
Here's a way to make your car drive by itself while you kick back an relax listening to all the great songs this game has on the radio :suicide:
Find this line //FULL_ROAD_INSPECTION "InspectionIbiza/"6 1 and uncomment it (remove the two slashes //). The comments left above it by devs pretty much explain everything. You don't have to use a start_indice in the syntax, the game seems to stat from a predefined location if you leave it blank.

One potential good use for this is to discover all roads, but I don't know if the car drives randomly, on a few predefined roads, or on all roads.
Offline Profile Goto Top
 
KamikaZ
Member Avatar
Cereal Killer
So it does have Lambos?
Offline Profile Goto Top
 
Kotton
Member Avatar
★SoCal CrackHead★

not YET, as Chip explained, the 'Unlisted Cars' are likely to hold the place of upcoming DLC
Offline Profile Goto Top
 
KamikaZ
Member Avatar
Cereal Killer
Okay.. gonna wait on it for that LP560. I'd buy the game for my PS3 but it just doesn't look that good :/ think they rushed it thus the bugs and half a ton of DLC cars..
Offline Profile Goto Top
 
Wiz Khalifa
Member Avatar
Taylor Gang
^^same i might get it for my ps3 but i dont know.
(Btw just got my ps3 a few days ago, takin a break from 360)
Offline Profile Goto Top
 
Chipicao
Member Avatar
Fish swim, I fly

Update: I added a list of all house ID's, most of them have names, all have the no. of garage slots.
Offline Profile Goto Top
 
noelgamo


nice drop chip.. what will happen if you try to spawn a unlisted car?
btw how do I add another car..House is 4 slots and here is my current line
DefaultGarageConfig 661 //204 317 313 310 244 298.. where do I add the Car ID of a new car?
Offline Profile Goto Top
 
Chipicao
Member Avatar
Fish swim, I fly

If you try to spawn an unlisted car you get the Lancia with purple wheels mesh which may crash your game when you load the map.
It's interesting to note that most of them have listed speed, accel, brake... and different suspension height or axel track. This most likely indicates that the game already has their specs and just needs the rest to be added via DLC.

Just add 4 car IDs separated by spaces. Note that everything preceded by two slashes (//) is commented out so you don't need it. Here's how your line should look like:

DefaultGarageConfig 661 651 650 370
Offline Profile Goto Top
 
noelgamo


thanks dude... :D so it wont spawn the car but the lancia with purple wheels for the unlisted cars.. k thanks for the info dude :D
Offline Profile Goto Top
 
Kotton
Member Avatar
★SoCal CrackHead★

it should also be noted that you can set the Oahu house up with exclusive shiz as well.. then just go to your info board within the Ibiza house garage and change out what you want to drive

muy muy thanks for all this research Chip, you're tearin it up bro :gngsta:
Offline Profile Goto Top
 
Chipicao
Member Avatar
Fish swim, I fly

You mean you can access cars that are in Hawaii from your house in Ibiza just by going to that board? Crap, I was always using the airport... :D

Nice find bro, thanks!
Edited by Chipicao, Feb 21 2011, 11:37:11 PM.
Offline Profile Goto Top
 
Kotton
Member Avatar
★SoCal CrackHead★

no harm in that tho.. Oahu's a much better place to drive imo :hehe:
Offline Profile Goto Top
 
Kotton
Member Avatar
★SoCal CrackHead★

uhh.. have either of you tried 8 cars in the Oahu house and 6 in the Ibiza?

for some reason my game is CTD'n all a sudden on load up and I only changed which houses and the number of cars in each :/
Offline Profile Goto Top
 
Chipicao
Member Avatar
Fish swim, I fly

@Kot Yes I have and it works. Even if you set 8 cars in a house with only 2 slots the game won't crash, it just ignores the rest.

You probably set a Hawaiian house in Ibiza or vice-versa, that's the only time I experienced crashes. A good trick to remember which house goes where: houses from Ibiza have an "I" at the end of their ID.
Edited by Chipicao, Feb 22 2011, 12:11:49 AM.
Offline Profile Goto Top
 
Kotton
Member Avatar
★SoCal CrackHead★

weird.. can you see some I did wrong then?

Posted Image
Offline Profile Goto Top
 
Chipicao
Member Avatar
Fish swim, I fly

@DefaultGarageConfig, is there a space between the last car ID and the two slashes? If not, add one.
Btw, remove that // part, it's commented out anyway so the game doesn't need it.
Edited by Chipicao, Feb 22 2011, 12:21:10 AM.
Offline Profile Goto Top
 
noelgamo


Try Removing //204 317 313 310 244 298 on the line from the DefaultGarageConfig
Offline Profile Goto Top
 
Kotton
Member Avatar
★SoCal CrackHead★

thx Chip, it was the space lol YAY.. we back in action yo :hehe:
Offline Profile Goto Top
 
Goars
Member Avatar


thanks it works! Cheers!
Posted Image
Offline Profile Goto Top
 
Nm69
Member Avatar
★Anti-TROLL★

Kotton
Feb 22 2011, 12:24:26 AM
thx Chip, it was the space lol YAY.. we back in action yo :hehe:
I seem to Notice u always mess up on the "SPACE" part :lol:
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
ZetaBoards - Free Forum Hosting
Free Forums. Reliable service with over 8 years of experience.
Go to Next Page
« Previous Topic · TDU2 · Next Topic »
Locked Topic

✜ KotsChopShop® A Suspect Everything/Stripprpmp Industries copyright ©2007-2015 ✜

All trademarks and works contained within KotsChopShop are copyrighted properties
of Suspect Everything/Stripprpmp Industries and/or their respective owners.
All works, files, and/or hyperlinks hosted or provided by KotsChopShop are provided free,
and strictly for educational and entertainment purposes only.


.Wiredvage Theme created by Zeus00 and converted by Wolt of the ZetaBoards Theme Zone