xboxscene.org forums

OG Xbox Forums => Game Hacking => Xbox Game Forums => Game Hacking - * Everything Else.* => Topic started by: Syquus on March 25, 2005, 04:59:00 AM

Title: Pgr2- Unlocking Paris And La
Post by: Syquus on March 25, 2005, 04:59:00 AM
blink.gif )

Is there any solution to this??
I've taken a sight on .ini files, but nothing wrong seems to be there.


Note: The .zip download doesn't work now. (25/03/2005)

Regards
Title: Pgr2- Unlocking Paris And La
Post by: rob1309 on March 25, 2005, 07:56:00 PM
QUOTE(Syquus @ Mar 25 2005, 06:05 AM)
Does anybody have the problem that makes "(null" string on Car names list, and Whasington DC corrupted map, so the cars go flying on the air??
Title: Pgr2- Unlocking Paris And La
Post by: jizzlobber on December 01, 2003, 02:23:00 AM
Hi all.

When dumping this game to my HDD I noticed Paris and LA, i've also been told LIVE users will be able to d/l a patch or something which will unlock them.

ok I don't have live yet and if I did have it i'd still want to access these cities now.
Do you think something as simple as renaming files (although there's a shitload of them) would work?

any other suggestions?
Paris and LA would be awesome!

thanks.

This post has been edited by jizzlobber: Dec 1 2003, 10:25 AM
Title: Pgr2- Unlocking Paris And La
Post by: Mr_Belowski on December 01, 2003, 04:48:00 AM
I've been playing around a lot with PGR2 recently, and while Paris and Long Beach are referred to in a lot of the .ini files, there doesn't appear to be any actual content for these areas.

This may be a rare case of Downloadable Content actually meaning what it says - that is, content that's actually downloaded, rather than unlocked :)


While I'm on the subject, the game is very 'open' - all the race parameters (track, weather, AI, etc etc) are stored in plain text files, so with a bit of faffing around it's possible to modify the game so you can have whatever combinations of tracks, challenges, and cars (including AI cars) that you want.

I've almost finished updating loads of the .ini files, so the version of PGR2 I copied to my hard-drive has a completely re-jigged Kudos Challenge which has only Street Races against 7 AI cars at Expert difficulty (I find the cone challenges and hot-laps really dull). It takes a lot of messing about, but I've got some way cool races in there. I've got a complete level of AC-Cobra racing (including a rainy Nurburgring), a complete level of Ferrari Modena races, and plenty of other cool stuff.

PGR2 is just excellent, and being able to race on any track against a full field of any AI cars is fab. It makes for some thrilling races too, cos you can set it up so all the AI use the same car and have the same skill level. The AI code is excellent, and seems able to run competitively on pretty much any track in any car.

If anyone wants my hacked .ini files they can have them when they're done (it might take a while to sort out all the difficulty levels tho - I've only done the AI files for Expert level so far, cos there are bloody loads of them and I'm not really interested in racing against slower AI).


The game has some fab cars that you don't really get the chance to fully use. Like the Caterham 7, which is great fun but hopelessly uncompetitive. So in my modified game I've got a whole level of Caterham 7 -only races. The same goes for the Ford GT40. Changing the game doesn't make it better (cos it's already brilliant), but it certainly extends its life-span. And the Nurburgring at night is way creepy :)

This post has been edited by Mr_Belowski: Dec 1 2003, 01:04 PM
Title: Pgr2- Unlocking Paris And La
Post by: jizzlobber on December 01, 2003, 05:37:00 AM
are you saying I can race in the rain at night?
this all sounds VERY cool, good work!
Title: Pgr2- Unlocking Paris And La
Post by: Mr_Belowski on December 01, 2003, 06:15:00 AM
Yeah. You can race anywhere, in any car, against any AI cars, in any weather. And yes, it is very cool :)

I've avoided night races cos I think the head-lights in PGR2 are too weak, and I don't like not being able to see where I'm going. But I suppose I could include a couple of rainy nights, cos it would look cool :)


I've just finished a few more edits to the .ini files I copied to my laptop (I'm at work, ahem). I'll FTP them to my XBox tonight and if it all works well I'll post a zip file. It can be a bit of a pain cos a single missing quote or something will completely stop the game loading. I've got loads of testing to do, so I'm a bit reluctant to give folks a load of files that screw up their PGR2 game, or worse still, mess up their valuable save-games.

What we really need is a little program to auto-generate these files cos there are loads and it's really labour-intensive making sure everything's named and numbered correctly, and making sure the right AI car numbers are used, and that you don't try to make the game use a colour that's not defined for a particular car and all kinds of other stuff.

I'm a programmer by trade, so I could probably make a little program to manage this, but given the sheer number of files and options I just don't have time to write it :(
Title: Pgr2- Unlocking Paris And La
Post by: jizzlobber on December 01, 2003, 07:33:00 AM
smile.gif
I don't have PGR on my HDD anymore, I just wonder if the game is set up in a similar way to PGRs (editable .ini files etc).

I have another question- I'd loving PGR2 so much i'm going to have a bash at finishing it with all platinums, i'd like to finish the game without editing it in any way... this mean i'd need the game on my HDD twice (one edited, one not)... when playing the edited PGR2 would it stuff my unedited PGR2 save?

I don't want to cheat at all, I like to get the most out of my games and cheating (even reading faqs) ruins the sense of acheivement.

cheers!
Title: Pgr2- Unlocking Paris And La
Post by: vgard on December 01, 2003, 12:54:00 PM
This sounds interresting! I've just completed the game on silver, and 4 golds. I'm not going for platinum, just because there is to many races, and i hate cone challenge.. And i am satisfied with the GT1. ;)
Please keep me informed about your success, as i would love to try this out myself. I run PGR:2 from hd, and i don't have Xbox Live, nor will i get it. I therefore started browsing the web for a solution. If it download a bunch of files for the two cities, where would it put it? on the C drive or the D drive? Won't it use alot of valuable space?
Nevermind, this wasn't what i meant to say.. :)
Great job!
Title: Pgr2- Unlocking Paris And La
Post by: jizzlobber on December 01, 2003, 07:11:00 PM
sad.gif

Cone challenges are cool, I think overtake is the hardest challenge
Title: Pgr2- Unlocking Paris And La
Post by: vgard on December 01, 2003, 06:34:00 PM
Yeah, that sucks.. But i read somewhere that some games could be updated with dvd demo discs or something, maybe it's the same for this? Should be possible though, in som way. Just have to crack the code.. :)

I find the overtakes rather fun and a bit challenging, but not difficult. But i'm only racing at silver.. :P For me Cone challenge is the hardest bit. Always smack into a cone when i have a BIG bonus coming.. :( Just have to restart every time. Speed cams are the easiest, just make a decent turn and floor the pedal.   :boring:  

This post has been edited by vgard: Dec 2 2003, 02:36 AM
Title: Pgr2- Unlocking Paris And La
Post by: Mr_Belowski on December 01, 2003, 11:37:00 PM
smile.gif

I've still got a bit of tidying up to do on my edited files, but if you want to start playing around with PGR2, the 2 main files are:

frontend\races.ini
and
frontend\cars.ini

races.ini has all the events, including the arcade races, time-trials, and kudos challenge. The kudos challenge events start at the top of the file (the 2nd block) with
Level = "$IDS_CLASS_1_LEVEL_1"
and go up to
Level = "$IDS_CLASS_14_LEVEL_13"

RaceMode determines whether an event is a style challenge, street race, one on one, overtake, timed-run or hot-lap. You can also specify the track, number of laps, and weather. To make a rainy night race, just add:

Night = 1
Rain = 1

to the end of the block for that event. For example, the first Kudos race would look like this:
[RACE]
Name = "x"
Level = "$IDS_CLASS_1_LEVEL_1"
RaceMode = "$IDS_RM_STREET_RACE"
LeaderboardID = 38
Time = "10:00.000"
MinKudos = 500
MaxKudos = 5000
Circuit = "Florence 11"
Laps = 2
Night = 1
Rain = 1

You can also set the number of laps and change the track. Remember that some tracks are point-to-point, not circuits. I made a list of all the tracks that definitely have working AI (all the tracks that are used for street-races, one-on-ones, and overtake challenges) and only used these when I was editing the game - I think all tracks will probably work, but I was being cautious. Be careful with the races.ini file - a missing quote or other typo can stop the game loading.

If you replace a style-challenge or hot-lap/timed run with a street race, things are a little more complicated cos there will be no AI defined for that event. You need to set up 5 AI files (1 for each difficulty) in the frontend\RaceOpponents directory. You have to make 5 new files, called raceX.Y.ini, where Y is the difficulty level and X is the event number (level 1 event 1 is race number 1, level 1 event 2 is number 2 etc etc all the way up to level 14 event 13, which is race number 172). So for event 3, you need race3.1.ini, race3.2.ini, race3.3.ini, race3.4.ini, and race3.5.ini

The raceX.Y.ini files contain parameters for each AI car, including it's model number, skill level, aggression and some other stuff. Model number is based on the order in which the car appears in frontend\cars.ini, starting at 0. If you want one AI mini and one AI Focus RS, the raceX.Y.ini file contains this:

[RACE_OPPONENT]
NumOpponents = 2
Model0 = 0
Colour0 = 0
Helmet0 = 0
RegPlate0 = "(null)"
GripScale0 = 1
TorqueScale0 = 1
Skill0 = 0.1
Aggression0 = 0.5
Recklessness0 = 0.3
Model1 = 3
Colour1 = 4
Helmet1 = 0
RegPlate1 = "(null)"
GripScale1 = 1
TorqueScale1 = 1
Skill1 = 0.1
Aggression1 = 0.5
Recklessness1 = 0.3

Skill goes from 0 to 1.

I've got a full list of all the cars and their corresponding numbers if anyone wants it (it's a pain to have to keep counting through the cars.ini file smile.gif).


If you want to unlock a bonus car, find its entry in cars.ini and delete the line:
BonusCar = 1


Remember to back up any files you modify, but I certainly recommend having a play. It's pretty time-consuming and takes a bit of head-scratching, but the results are excellent smile.gif


Title: Pgr2- Unlocking Paris And La
Post by: vgard on December 01, 2003, 11:57:00 PM
smile.gif
I consider myself done with the regular races, and it is perhaps about time I too started tweaking.

A program to assist in the changing of values would be greatly appreciated though.. Anyone up for it? or are the files easy to edit? With descriptions? I'm not familiar with programming and such.
Well i'll fire up my box and see what i can do, or can't. tongue.gif
Title: Pgr2- Unlocking Paris And La
Post by: Mr_Belowski on December 02, 2003, 12:08:00 AM
wink.gif) but I'm not really up for implementing it. It's probably taken a full working day to modify my PGR2 install, but I reckon it'd take 3 or 4 days to code, test, and de-bug a tool to do it automatically. And I'm just way too lazy.

I might get the urge when I'm off over Christmas but I dunno really. I could provide the 'rules' that I've figured out if anyone else wants a crack at it. I guess coding all day kinda dulls the urge to code in the evenings and weekends sad.gif

When I've finished tidying up my modified install I'll zip up the .ini files and post them so you can see if it's worth the effort.
Title: Pgr2- Unlocking Paris And La
Post by: jizzlobber on December 02, 2003, 04:21:00 AM
smile.gif

I must say this all has me very excited, I'm still going to play the game untouched for a while longer before tinkering with it, just so i can get max enjoyment out of what I think is a goty contender... then the editing will add another element to the game for longevity wink.gif

Kudos to you Mr_Belowski for your work biggrin.gif

making it MUCH easier for us airheads.
Title: Pgr2- Unlocking Paris And La
Post by: Mr_Belowski on December 02, 2003, 04:19:00 AM
Whaaaa

What makes you think I'm a girl? Last time I looked I had the necessary equipment to qualify me as a fully-fledged Geezer. And a big beer-gut to top it off :)

And you should know, that girl programmers who are into games don't exist ;)


Anyway, all my edits are now done, and when I get home tonight I'll test them, then I'll see if I can increase the number of opponents to more than 7. I'm amazed that I never thought to try it. It's probably a long shot, but the prospect of racing 20 cars at the Nurburgring is too interesting to pass up. I expect it'd run really slowly, but adding 3 or 4 more AI cars might be feasible :)
Title: Pgr2- Unlocking Paris And La
Post by: jizzlobber on December 02, 2003, 05:57:00 AM
biggrin.gif
you said you're a programmer by day and a woman on the weekend  uhh.gif

anyway, apparently this game was close to running at 60fps but they decided to cut it down to 30fps... i'm guessing the engine could handle a few more cars.
I'm fairly clueless but they have basically halved the poly per second rate by halving the framerate right?

would be awesome to have even 10 cars on track.

another thing... have you actually tried raining night races?
Title: Pgr2- Unlocking Paris And La
Post by: Mr_Belowski on December 02, 2003, 06:07:00 AM
wink.gif

The night wet races work fine - and look very nice. Give it a try - just add
Rain = 1
Night = 1

to one of the races in the races.ini file. It's pretty intense in the dark and spray. I've got 3 or 4 wet night races in my hacked version.

As for 30fps, there's actually a flag in frontend.ini that's set to lock the game at 30fps. I've not tried changing it, but if they had it close to 60, then I see no reason why the game engine wouldn't handle a few more cars - as you say, there should be some poly-pushing head-room. Things might get a little sluggish on the replay and in the wet, but that's OK. It just depends on whether the 7 AI car limit is hard-coded into the game anywhere. To be honest, I'd be suprised if more than 7 worked, but it's definitely worth a try.

Title: Pgr2- Unlocking Paris And La
Post by: jizzlobber on December 02, 2003, 06:26:00 AM
smile.gif

So are you basically just tweaking the world kudos series here?
making you own custom made events to replace the others?

I can't believe bizarre creations made it so easy to do this cool stuff!
Title: Pgr2- Unlocking Paris And La
Post by: tlc on December 02, 2003, 06:45:00 AM
This is awesome news.  I'm really interested in the 30/60 flag thing, too.  I'm going to have to go tinker with this.  Please post your stuff when you get a chance.

Do you think it's possible to add AI cars to the time trials?  That way, you can pick any car and any track and race?  That would be cool to see.  Granted, it would be a set car class, I'm imagining if its even possible.  Additionally, have you tried looking at the TDATA or UDATA directories for PGR2 to see if a non-HD game will read these files (like how Mechassault and DOA3 update their content)?
Title: Pgr2- Unlocking Paris And La
Post by: jizzlobber on December 02, 2003, 07:03:00 AM
QUOTE (Mr_Belowski @ Dec 2 2003, 03:07 PM)

As for 30fps, there's actually a flag in frontend.ini that's set to lock the game at 30fps

Is it possible to change it to run at 60fps?
it might be possible to set up a race the higher framerate can handle!?
would be VERY cool.
Title: Pgr2- Unlocking Paris And La
Post by: tlc on December 02, 2003, 07:39:00 AM
Backing up now...

Edit:

It doesn't seem like changing anything in the Frontend.ini does anything (i.e. disabling AA, sound, or car damage), much less change the framerate.  Ah well.  Additionally, there isn't anything suspect in the savegame directories either.
Title: Pgr2- Unlocking Paris And La
Post by: Mr_Belowski on December 02, 2003, 10:33:00 AM
sad.gif
Title: Pgr2- Unlocking Paris And La
Post by: tlc on December 02, 2003, 10:43:00 AM
No prob.  The only thing I don't like about this game is that you can't select a car/track in single player and race against AI.  I know that it's a stupid request, but I wish it was in there.  I may look into what can be done about that.

Regardless, this is a great find.
Title: Pgr2- Unlocking Paris And La
Post by: Mr_Belowski on December 03, 2003, 12:56:00 AM
smile.gif
Class_7:  575M Maranello (various AI cars from the correct class)
Class_8:  Viper SRT-10 (Some Viper spec races, some mixed)
Class_9:  Pacific Muscle (same cars as the original Pacific Muscle class)
Class_10: Unchanged except all street-races
Class_11: No Ferrari 575M
Class_12: No Ferrari Challenge Stradale. Race structure unchanged for this class (hot-laps etc still present)
Class_13: Unchanged except all-street races. Last 3 races F50 spec, one level of 959 spec
Class_14: Last Nurburgring race AI all drive Speed 12. Some of the other races are also spec races

Of course, each class still has the same number of levels and races as before (this is also editable, but I've not had time to explore it).


I've still got a few races to change for levels 12 (the old Track Day series) and 14 (the old Ultimate series). The AI for the Viper racing series also needs a little optimisation. I've make some changes to close up the racing in Class 7 (Ferrari 575M), Class 2 (Trans-Am), and Class 14 (Ultimate), but I've not had a chance to test these changes. They're pretty subtle changes, so won't break anything, but may not have found the optimum settings yet. Class 9 (pacific muscle) isn't great - it works but the AI needs to be faster.

Also, I've only set up the AI for the 'platinum' difficulty level - in this hacked version of the game, there aren't any different AI levels. I'll try and set this up when I get a few hours, but for now you'll only be able to select 'platinum' difficulty (well, the other difficulties won't crash or anything, but you might not get the right AI cars). The AI are, on the whole, very good. I'm reasonably good at PGR2, and in this hacked version they give me some fab close races at Platinum difficulty. The races are longer than in the normal game - usually 8 to 10 laps, with a few 20 lappers (but not at the Nurburgring of course wink.gif).

I like spec races, where all the cars are the same. This makes it tons easier to optimise the AI skill to make for close races. In the races where the AI cars are mixed I've tried to modify their skills to balance out the different car performances, but getting it just right would take ages, so you'll probably find the mixed-class races less close.

There are a few night-rainy races in Class 13, but as you'll see, the frame-rate can sometimes be a little suspect.

My plan is to do some more testing, but I won't get the chance to do this until Friday now, so rather than leave it I figured I might as well let you see what I've been working on. I don't have any web-space, so I'll have to email the .zip file (I prefer doing this anyway cos, like I said, I've still got some testing and optimisation to do).

So... anyone that wants to modify their Hard-Drive copy of PGR2 to have 8 car street-races only, and to drive the cars in the list above, form an orderly queue. Actually, just PM-ing me your email address will do smile.gif
Title: Pgr2- Unlocking Paris And La
Post by: jizzlobber on December 03, 2003, 01:48:00 AM
sounds awesome mate!
how big is the file? I might be able to host it
Title: Pgr2- Unlocking Paris And La
Post by: jizzlobber on December 03, 2003, 02:38:00 AM
send it my way then, i'll reply with link when it's up.
[email protected]

EDIT- does it contain a readme with instructions?
Title: Pgr2- Unlocking Paris And La
Post by: Mr_Belowski on December 03, 2003, 02:47:00 AM
Sent...
Title: Pgr2- Unlocking Paris And La
Post by: jizzlobber on December 03, 2003, 03:33:00 AM
smile.gif
Title: Pgr2- Unlocking Paris And La
Post by: jizzlobber on December 03, 2003, 04:06:00 AM
smile.gif
Title: Pgr2- Unlocking Paris And La
Post by: Mr_Belowski on December 03, 2003, 04:29:00 AM
smile.gif
Title: Pgr2- Unlocking Paris And La
Post by: vgard on December 03, 2003, 07:56:00 AM
sad.gif will see if i get the time to have a spin!
I'm sure everything will work fine. smile.gif
Title: Pgr2- Unlocking Paris And La
Post by: senninha on December 03, 2003, 11:37:00 AM
biggrin.gif
Title: Pgr2- Unlocking Paris And La
Post by: black knight on December 03, 2003, 02:11:00 PM
call this unrelated if you want, but how do you unlock all the courses so that one could play all of them in mulitiplayer mode without beating them?  I have figured out how to make all the cars worth 0 Tokens, but I can't "buy" them until I've completed each course.  Any help would be appreciated.
Title: Pgr2- Unlocking Paris And La
Post by: Mr_Belowski on December 03, 2003, 11:44:00 PM
smile.gif
Title: Pgr2- Unlocking Paris And La
Post by: black knight on December 04, 2003, 03:23:00 AM
QUOTE (Mr_Belowski @ Dec 4 2003, 04:44 AM)
In the FrontEnd directory, there's a file called routes.ini.

Open it in Wordpad and you'll see Open = 1 for the Washington DC 1 race (the 2nd [ROUTE]). Try adding Open = 1 to each of the other [ROUTE] elements in this file, in the same place as it appears for the Washington DC 1 race.

Then FTP the file back to your XBox overwriting the existing one.

I've not tried this, but it certainly looks promising - I'll incorporate it into the next version of my updated race schedule smile.gif

The funny thing is, I noticed that too, but at the time I looked at it, I didn't think that was the solution.  But now that I think about it, it makes sense.  I'll give it a try tonight.
Title: Pgr2- Unlocking Paris And La
Post by: black knight on December 04, 2003, 11:57:00 AM
Just adding the open = 1 to all routes doesn't work.  All it does is allow you to highlight the track in multiplayer mode, but it still has the circle with a slash through it, and it won't allow you to select the race.  I'm going to look around some more to see if I can figure it out.
Title: Pgr2- Unlocking Paris And La
Post by: Mr_Belowski on December 04, 2003, 11:10:00 PM
[edited - this was a double post]
Title: Pgr2- Unlocking Paris And La
Post by: Mr_Belowski on December 04, 2003, 11:12:00 PM
smile.gif
Title: Pgr2- Unlocking Paris And La
Post by: king kong on December 05, 2003, 12:02:00 AM
rolleyes.gif  i forgot
sould i just ftp it to my xbox?
i got my game at a verry big online store that begin's with an S and there site starts with a B  S wink.gif
or did i find the site via a link site that biginnes with a B and it refered my to a product on S
i forgot  ph34r.gif
some one encounter the same problem?
Title: Pgr2- Unlocking Paris And La
Post by: Mr_Belowski on December 05, 2003, 01:52:00 AM
What you you mean Fulp?

There's a link to download the modifications I made on the previous page in this thread, so you can certainly test what I've done.

I've not yet written up the rules. Well, I have, but I wrote them before I did any testing (I just sat down and tried to figure out how the .ini files are related and made notes as I went along). I got a few things a bit wrong the first time I tried this, so my rules notes need updating. I'll post them as soon as I get the chance to correct them - which should be a bit later today.
Title: Pgr2- Unlocking Paris And La
Post by: Mr_Belowski on December 05, 2003, 04:19:00 AM
smile.gif
Title: Pgr2- Unlocking Paris And La
Post by: keyamon on December 05, 2003, 09:44:00 PM
wink.gif
Title: Pgr2- Unlocking Paris And La
Post by: Mr_Belowski on December 06, 2003, 12:47:00 AM
edit FrontEnd\cars.ini and reduce the number of tokens for each car (tokens = X)