Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Project Cars 2

Post questions about game models here, or help out others!
User avatar
Bigchillghost
double-veteran
double-veteran
Posts: 1024
Joined: Tue Jul 05, 2016 9:37 am
Has thanked: 31 times
Been thanked: 1210 times

Re: Project Cars 2

Post by Bigchillghost »

MeIRL wrote: Sat Jan 09, 2021 4:41 pm PCARS 3 Exemple
Got it.
(0006c600.meb)
Image
May you find peace in this puzzle-solving game. Say it with action: click the Image when you get helped.:)
mono24
double-veteran
double-veteran
Posts: 840
Joined: Sat Nov 06, 2010 12:27 am
Has thanked: 435 times
Been thanked: 235 times

Re: Project Cars 2

Post by mono24 »

Bigchillghost wrote: Sun Jan 10, 2021 4:54 pmGot it.
Does that mean you extract the unencrypted part and just mirror everything, or...?
User avatar
Bigchillghost
double-veteran
double-veteran
Posts: 1024
Joined: Tue Jul 05, 2016 9:37 am
Has thanked: 31 times
Been thanked: 1210 times

Re: Project Cars 2

Post by Bigchillghost »

Just an attempt to restore the X factor based on the overlapped top projection and use the UV to determine the sign. Also need to remap the factor to its original boundary since it uses a different scale.
May you find peace in this puzzle-solving game. Say it with action: click the Image when you get helped.:)
zimex25
veteran
Posts: 143
Joined: Thu Feb 04, 2016 9:20 pm
Has thanked: 19 times
Been thanked: 13 times

Re: Project Cars 2

Post by zimex25 »

Bigchillghost wrote: Sun Jan 10, 2021 4:54 pm
MeIRL wrote: Sat Jan 09, 2021 4:41 pm PCARS 3 Exemple
Got it.
(0006c600.meb)
Image
Did you tring with Fast and Furious samples?
Javiliyors
ultra-n00b
Posts: 2
Joined: Thu Nov 07, 2019 10:39 pm

Re: Project Cars 2

Post by Javiliyors »

it is possible to extract decript tracks from PC2 and AMS2 ???, they have the same engine
User avatar
Bigchillghost
double-veteran
double-veteran
Posts: 1024
Joined: Tue Jul 05, 2016 9:37 am
Has thanked: 31 times
Been thanked: 1210 times

Re: Project Cars 2

Post by Bigchillghost »

zimex25 wrote: Mon Jan 11, 2021 7:33 pm Did you tring with Fast and Furious samples?
Unfortunately none of these samples I checked come with a valid top projection. Same circumstance might be applied to most of the meb files from PC3. So it seems pretty obvious that it's not meant to be handled in this way.
May you find peace in this puzzle-solving game. Say it with action: click the Image when you get helped.:)
MichaelBFS
beginner
Posts: 25
Joined: Mon Jan 04, 2021 3:18 pm
Has thanked: 10 times

Re: Project Cars 2

Post by MichaelBFS »

Hi! Please upload unencrypted this cars from PC3: [roll]

2019 McLaren 720S GT3 https://igcd.net/vehicle.php?id=224912

2020 Chevrolet Corvette C8.R https://igcd.net/vehicle.php?id=219627

1994 Jaguar XJ220S Racing https://igcd.net/vehicle.php?id=226643

2019 Aston Martin Vantage GTE https://igcd.net/vehicle.php?id=226630
User avatar
Andrakann
ultra-veteran
ultra-veteran
Posts: 392
Joined: Wed Jul 06, 2011 8:47 am
Location: Russia
Has thanked: 967 times
Been thanked: 192 times
Contact:

Re: Project Cars 2

Post by Andrakann »

Bigchillghost wrote: Wed Jan 13, 2021 6:03 amSo it seems pretty obvious that it's not meant to be handled in this way.
Some years ago i send a model ripped using Ninja Ripper to Dave Noonan (author of 3DSimEd), he managed to restore mesh, using information from shader, but that method works only with one car model, others require another keys, which Noonan fails to locate and abandoned this game.
Sample rip here.
Vertices decoding are in Shader_0000.gs, fragment (~1/7 of code):

Code: Select all

...
if_z r0.x
  mov r1.z, l(0)
  ld_indexable(texture2d)(float,float,float,float) r0.xyzw, r1.xyzz, t1.xyzw
  mul r2.x, r0.w, cb1[13].x
  mad r0.w, r0.w, cb1[13].x, -cb1[13].w
  div r2.x, |r0.w|, r2.x
  mul r2.y, cb1[13].z, cb1[13].z
  add r2.z, -cb1[13].z, cb1[13].w
  mul r2.z, r2.z, cb1[14].x
  div r2.y, r2.y, r2.z
  mul r2.x, r2.x, r2.y
  mul r2.x, r2.x, cb1[10].x
  mul r2.x, r2.x, l(14.285714)
  lt r2.z, r0.w, l(0.000000)
  movc r2.w, r2.z, cb1[13].y, cb1[14].y
  min r2.x, r2.x, r2.w
  mul r3.xy, cb1[11].xyxx, l(0.500000, 0.500000, 0.000000, 0.000000)
  mul r4.xy, r2.xxxx, l(0.500000, 0.250000, 0.000000, 0.000000)
  ge r0.w, r0.w, l(0.000000)
  and r2.x, r0.w, l(1)
  dp2 r2.w, cb1[12].xyxx, icb[r2.x + 0].xyxx
  ge r2.w, r4.x, r2.w
  mul r4.z, cb1[14].w, l(0.250000)
  mov r4.w, l(2)
  mov r5.x, r4.x
  mov r5.y, cb1[14].w
  mov r5.z, l(0)
  movc r6.xyz, r2.wwww, r4.yzwy, r5.xyzx
  dp2 r2.x, cb1[12].zwzz, icb[r2.x + 0].xyxx
  ge r2.x, r6.x, r2.x
  mul r7.xy, r6.xyxx, l(0.500000, 0.250000, 0.000000, 0.000000)
  mov r7.z, l(4)
  movc r6.xyz, r2.xxxx, r7.xyzx, r6.xyzx
  lt r2.x, r6.x, l(1.000000)
  movc r2.x, r2.x, l(0), r6.x
  movc r2.x, r2.z, r2.x, r6.x
  add r2.x, r2.x, r2.x
  iadd r7.xyw, r1.xxxx, l(2, 1, 0, 3)
  mov r1.w, r7.y
  ld_indexable(texture2d)(float,float,float,float) r8.xyzw, r1.wyzz, t1.xyzw
  ...
MichaelBFS
beginner
Posts: 25
Joined: Mon Jan 04, 2021 3:18 pm
Has thanked: 10 times

Re: Project Cars 2

Post by MichaelBFS »

Hi,

Can anyone help figure it out.
These are the car files Acura NSX racing 1997 and Chevrolet Corvette C8r from "PS4" - PC3.
https://sharemods.com/tl3vvn3atq0u/Test.zip.html

But they do not open in SMS import. Try to open. Previously, models were usually opened. What could be the reason?
Post Reply