Page 2 of 2

Re: Project Cars 2

Posted: Sun Jan 10, 2021 4:54 pm
by Bigchillghost
MeIRL wrote: Sat Jan 09, 2021 4:41 pm PCARS 3 Exemple
Got it.
(0006c600.meb)
Image

Re: Project Cars 2

Posted: Sun Jan 10, 2021 8:59 pm
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...?

Re: Project Cars 2

Posted: Mon Jan 11, 2021 1:17 am
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.

Re: Project Cars 2

Posted: Mon Jan 11, 2021 7:33 pm
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?

Re: Project Cars 2

Posted: Tue Jan 12, 2021 8:34 pm
by Javiliyors
it is possible to extract decript tracks from PC2 and AMS2 ???, they have the same engine

Re: Project Cars 2

Posted: Wed Jan 13, 2021 6:03 am
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.

Re: Project Cars 2

Posted: Sat Jan 16, 2021 8:33 am
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

Re: Project Cars 2

Posted: Sun Jan 17, 2021 1:10 am
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
  ...

Re: Project Cars 2

Posted: Sun Apr 18, 2021 10:46 pm
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?