ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sun Aug 20, 2017 9:03 pm

All times are UTC




Post new topic  Reply to topic  [ 20 posts ] 
Author Message
 Post subject: Dirt 4's nefs files
PostPosted: Fri Jun 09, 2017 7:27 am 

Joined: Fri Jun 09, 2017 4:24 am
Posts: 4
Hi, the just released Dirt 4 from Codemasters uses nefs files.
I tried using codemasters_nefs.bms with no success.
error : can't read 1 bytes from offset a74527a9

Appreciate it if you can take a look.

Attached the file tested (first partial file as can't upload the whole file)


Attachments:
str1.zip [4.98 MiB]
Downloaded 134 times
Top
   
 Post subject: Re: Dirt 4's nefs files
PostPosted: Fri Jun 09, 2017 11:08 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6447
I guess that currently it's better to use offzip do to the job:
Code:
offzip -a -z -15 -Q -x -c 0x10000 str1.nefs OUTPUT_FOLDER
When I will have time and desire I will update the script :)


Top
   
 Post subject: Re: Dirt 4's nefs files
PostPosted: Fri Jun 09, 2017 12:09 pm 

Joined: Fri Jun 09, 2017 4:24 am
Posts: 4
aluigi wrote:
I guess that currently it's better to use offzip do to the job:
Code:
offzip -a -z -15 -Q -x -c 0x10000 str1.nefs OUTPUT_FOLDER
When I will have time and desire I will update the script :)


Thanks.


Top
   
 Post subject: Re: Dirt 4's nefs files
PostPosted: Fri Jun 09, 2017 1:49 pm 

Joined: Fri Oct 23, 2015 8:45 pm
Posts: 12
Hi Aluigi. I have the same problem...


Top
   
 Post subject: Re: Dirt 4's nefs files
PostPosted: Sat Jun 10, 2017 10:09 am 

Joined: Fri Jun 09, 2017 4:24 am
Posts: 4
Hi, what should be the command for injecting the modded file back using packzip ?
Thank you.


Top
   
 Post subject: Re: Dirt 4's nefs files
PostPosted: Sat Jun 10, 2017 11:24 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6447
offzip has a -r option that works just like quickbms but honestly I don't know if it will work in this particular situation with chunked content.
If you want to try it's just the SAME command-line you used for extraction plus the -r option just after "offzip.exe", remember to make a backup of your archive.
Obviously there is no support about this, it works or doesn't work.


Top
   
 Post subject: Re: Dirt 4's nefs files
PostPosted: Sun Jun 11, 2017 12:29 am 

Joined: Fri Jun 09, 2017 4:24 am
Posts: 4
aluigi wrote:
offzip has a -r option that works just like quickbms but honestly I don't know if it will work in this particular situation with chunked content.
If you want to try it's just the SAME command-line you used for extraction plus the -r option just after "offzip.exe", remember to make a backup of your archive.
Obviously there is no support about this, it works or doesn't work.

Thanks. Tried and didn't work.
Error :the compressed file is bigger than the original by...


Top
   
 Post subject: Re: Dirt 4's nefs files
PostPosted: Tue Jun 13, 2017 3:17 pm 

Joined: Tue Jun 13, 2017 3:14 pm
Posts: 1
may I ask if it is fixed too?

same problem here. :cry:

waiting for the reply


Top
   
 Post subject: Re: Dirt 4's nefs files
PostPosted: Tue Jun 13, 2017 3:59 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6447
No way to fix it.


Top
   
 Post subject: Re: Dirt 4's nefs files
PostPosted: Wed Jun 28, 2017 12:55 pm 

Joined: Wed Jun 28, 2017 12:27 pm
Posts: 1
what exactly does it mean "no way"?
Technically impossible? encrypted?

I managed to decode the nefs file and get the single files. So there must be a way to get them back into a NEFs file right?


Top
   
 Post subject: Re: Dirt 4's nefs files
PostPosted: Sun Aug 13, 2017 9:44 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6447
Script 0.2.4:
http://aluigi.org/bms/codemasters_nefs.bms


Top
   
 Post subject: Re: Dirt 4's nefs files
PostPosted: Wed Aug 16, 2017 2:57 pm 

Joined: Tue Nov 29, 2016 6:39 pm
Posts: 27
aluigi wrote:

hi,thanks aluigi
no any way to import big .nefs file?


Top
   
 Post subject: Re: Dirt 4's nefs files
PostPosted: Wed Aug 16, 2017 3:12 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6447
Eh no, for 2 reasons: first it's usually necessary to dump the archive in a temporary file and then it uses chunked files.
I don't know if splitting the script in two parts and using the chunks without the MEMORY_FILE may change something but usually there are ever problems (even if quickbms has been tested to work with chunked files [memory_files too] in reimport mode but people report ever problems)... in short the main rule remains the same: if the game uses chunks you can't reimport the files.


Top
   
 Post subject: Re: Dirt 4's nefs files
PostPosted: Wed Aug 16, 2017 3:21 pm 

Joined: Tue Nov 29, 2016 6:39 pm
Posts: 27
aluigi wrote:
Eh no, for 2 reasons: first it's usually necessary to dump the archive in a temporary file and then it uses chunked files.
I don't know if splitting the script in two parts and using the chunks without the MEMORY_FILE may change something but usually there are ever problems (even if quickbms has been tested to work with chunked files [memory_files too] in reimport mode but people report ever problems)... in short the main rule remains the same: if the game uses chunks you can't reimport the files.

Thanks,


Top
   
 Post subject: Re: Dirt 4's nefs files
PostPosted: Sat Aug 19, 2017 2:15 pm 

Joined: Tue Nov 29, 2016 6:39 pm
Posts: 27
aluigi wrote:

Hi,aluigi


Attachments:
nefs.jpg [95.1 KiB]
Downloaded 1 time
Top
   
 Post subject: Re: Dirt 4's nefs files
PostPosted: Sat Aug 19, 2017 2:27 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6447
Script 0.2.5, let me know if everything works correctly


Top
   
 Post subject: Re: Dirt 4's nefs files
PostPosted: Sat Aug 19, 2017 3:17 pm 

Joined: Tue Nov 29, 2016 6:39 pm
Posts: 27
aluigi wrote:
Script 0.2.5, let me know if everything works correctly

Thanks, all files are extracted
But there is only one thing and there is a problem that was in the previous script.


Attachments:
NEFS_2.jpg [64.35 KiB]
Downloaded 1 time
Top
   
 Post subject: Re: Dirt 4's nefs files
PostPosted: Sat Aug 19, 2017 4:27 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6447
Choose R


Top
   
 Post subject: Re: Dirt 4's nefs files
PostPosted: Sat Aug 19, 2017 5:03 pm 

Joined: Tue Nov 29, 2016 6:39 pm
Posts: 27
aluigi wrote:
Choose R

I knew this
I just wanted to tell you
Thank you


Top
   
 Post subject: Re: Dirt 4's nefs files
PostPosted: Sat Aug 19, 2017 6:42 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6447
Ah ok.
Yeah it happens also with other Codemasters games, probably they are duplicated files.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 20 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited