Thank you! I have successfully decrypted with ikskoks's tool and Skyth's key.watty256 wrote: ↑Wed May 26, 2021 10:08 amThis PC3 .tex file doesn't have .dds in it??? any ideas???
https://mega.nz/file/4XQF1KYC#huVrY7EOM ... 7dSWm5vJ19k
The Forum is up for sale: XeNTaX Forum looking for new owner
Project cars 3
Re: Project cars 3
- Mike Oxmaul
- n00b
- Posts: 15
- Joined: Fri Dec 05, 2014 2:54 pm
- Location: Internet
- Has thanked: 25 times
- Been thanked: 4 times
- Contact:
Re: Project cars 3
Made tools for unpacking PAK & TOC with path names, and decrypting MEB.
https://github.com/Nenkai/PCarsTools
https://github.com/Nenkai/PCarsTools
-
mono24
- double-veteran

- Posts: 826
- Joined: Sat Nov 06, 2010 12:27 am
- Has thanked: 430 times
- Been thanked: 232 times
Re: Project cars 3
Is there a way to extract in a batch, as the tool is hardcoded to NOT accept usage like the following
Code: Select all
for /r %%G in (path_to_game\*.bff) do <tool.exe> <options> "%%G"Code: Select all
for /r %%G in (path_to_output\*.meb) do <tool.exe> <options> "%%G"Decrypting "*.meb" in a batch its impossible as well.
Individual paths for each asset must be provided.
Unless i am missing something very obvious?
Also some *.meb assets like the attached one throw the following error:
Code: Select all
Unhandled exception. System.Exception: Expected POSITION stream in meb as first entry
at PCarsTools.Model.MeshBinary.Load(String fileName) in C:\Users\nenkai\source\repos\PCarsTools\PCarsTools\Model\MeshBinary.cs:line 62
at PCarsTools.Program.DecryptModel(DecryptModelVerbs options) in C:\Users\nenkai\source\repos\PCarsTools\PCarsTools\Program.cs:line 145
at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult`1 result, Action`1 action)
at PCarsTools.Program.Main(String[] args) in C:\Users\nenkai\source\repos\PCarsTools\PCarsTools\Program.cs:line 25You do not have the required permissions to view the files attached to this post.
Re: Project cars 3
Made some fixes.
https://github.com/Nenkai/PCarsTools/releases/tag/1.0.1
No output directory for TOC handling is intended mostly due to how Project Cars GO works (where all files are not packed, but encrypted/compressed in-place).
https://github.com/Nenkai/PCarsTools/releases/tag/1.0.1
No output directory for TOC handling is intended mostly due to how Project Cars GO works (where all files are not packed, but encrypted/compressed in-place).
Re: Project cars 3
Hi Nenkai,
I replied to you at github (MikeVapour).
Thank you for the quick fix: the PC2 files unpack now correctly and there is no garbage data at the end of files.
I was wondering if you would look into making PC3 files compatible with PC2/AMS2. The conversion of tex is handled by headercutter.bms script, but PC3 mebs have a slightly different header (more data) compared to PC2/AMS2.
PC3 typical headers:
```
00 00 C0 01 00 01 10 00 00 00 00 00
```
PC2/AMS2 headers:
```
00 00 00 01 01 00 00 00
```
When it comes to tracks, I suspect there is a problem with .sgb64 files. Looking at process monitor I don't see AMS2 loading it. Asa result you end up "in limbo" with the skybox only. Ai go on about their business but the wolrd is missing. This happens even when I edit meb headers manually, replace bmt with mtx and tex with dds.
Is it something you could look into? I've exhausted my skills on this.
I replied to you at github (MikeVapour).
Thank you for the quick fix: the PC2 files unpack now correctly and there is no garbage data at the end of files.
I was wondering if you would look into making PC3 files compatible with PC2/AMS2. The conversion of tex is handled by headercutter.bms script, but PC3 mebs have a slightly different header (more data) compared to PC2/AMS2.
PC3 typical headers:
```
00 00 C0 01 00 01 10 00 00 00 00 00
```
PC2/AMS2 headers:
```
00 00 00 01 01 00 00 00
```
When it comes to tracks, I suspect there is a problem with .sgb64 files. Looking at process monitor I don't see AMS2 loading it. Asa result you end up "in limbo" with the skybox only. Ai go on about their business but the wolrd is missing. This happens even when I edit meb headers manually, replace bmt with mtx and tex with dds.
Is it something you could look into? I've exhausted my skills on this.
- Mike Oxmaul
- n00b
- Posts: 15
- Joined: Fri Dec 05, 2014 2:54 pm
- Location: Internet
- Has thanked: 25 times
- Been thanked: 4 times
- Contact:
Re: Project cars 3
Hi! I used these snippets and they're work. Just save as .cmd/.bat files, place it in the directory where .bff / .meb files are present and launch.
Make sure you have a correct path to PCarsTools.exe and game directory.
Code: Select all
for %%a in (*.bff) do "C:\PCarsTools\PCarsTools.exe" pak -i "%%a" -g "C:\FFCR"
Code: Select all
for %%a in (*.imb) do "C:\PCarsTools\PCarsTools.exe" decryptmodel -i "%%a"
for %%a in (*.meb) do "C:\PCarsTools\PCarsTools.exe" decryptmodel -i "%%a"
