Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Dirt 4's nefs files

Featured Replies

  • Author
  • Localization

phoenix, posted Fri Jun 09, 2017 7:27 am (23964)


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)
  • Author
  • Localization

aluigi, posted Fri Jun 09, 2017 11:08 am (23970)


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 :)
  • Author
  • Localization

phoenix, posted Fri Jun 09, 2017 12:09 pm (23971)


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.
  • Author
  • Localization

rallyart04, posted Fri Jun 09, 2017 1:49 pm (23973)


Hi Aluigi. I have the same problem...
  • Author
  • Localization

phoenix, posted Sat Jun 10, 2017 10:09 am (23996)


Hi, what should be the command for injecting the modded file back using packzip ?
Thank you.
  • Author
  • Localization

aluigi, posted Sat Jun 10, 2017 11:24 am (24000)


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.
  • Author
  • Localization

phoenix, posted Sun Jun 11, 2017 12:29 am (24017)


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...
  • Author
  • Localization

BelReed71, posted Tue Jun 13, 2017 3:17 pm (24073)


may I ask if it is fixed too?

same problem here. :cry:

waiting for the reply
  • Author
  • Localization

aluigi, posted Tue Jun 13, 2017 3:59 pm (24076)


No way to fix it.
  • Author
  • Localization

zissakos, posted Wed Jun 28, 2017 12:55 pm (24339)


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?
  • Author
  • Localization

aluigi, posted Wed Aug 16, 2017 3:12 pm (25601)


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.
  • Author
  • Localization

jadugar, posted Wed Aug 16, 2017 3:21 pm (25603)


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,
  • Author
  • Localization

aluigi, posted Sat Aug 19, 2017 2:27 pm (25731)


Script 0.2.5, let me know if everything works correctly
  • Author
  • Localization

jadugar, posted Sat Aug 19, 2017 3:17 pm (25734)


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.
  • Author
  • Localization

aluigi, posted Sat Aug 19, 2017 4:27 pm (25737)


Choose R
  • Author
  • Localization

jadugar, posted Sat Aug 19, 2017 5:03 pm (25739)


aluigi wrote:
Choose R

I knew this
I just wanted to tell you
Thank you
  • Author
  • Localization

aluigi, posted Sat Aug 19, 2017 6:42 pm (25741)


Ah ok.
Yeah it happens also with other Codemasters games, probably they are duplicated files.
  • Author
  • Localization

makc_ar, posted Fri Aug 25, 2017 2:32 pm (25857)


Hi aluigi! Where .lng files?
  • Author
  • Localization

aluigi, posted Fri Aug 25, 2017 2:32 pm (25858)


No idea, I don't have the game.
  • Author
  • Localization

AMG, posted Wed Oct 04, 2017 7:44 pm (27045)


I get an error when unpacking a car package of the Lancia 037 and the Audi S1 (037.nefs / aqe.nefs).
It unpacks just the interior, not the rest of the stuff.
Let me know if you need a sample of these (each file weights 100 MBs).
  • Author
  • Localization

aluigi, posted Thu Oct 05, 2017 10:36 am (27053)


Yes I need one of them
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.