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.

Error trying to extract from Assetto Corsa .acd files

Featured Replies

  • Author
  • Localization

brh56, posted Fri Jan 12, 2018 4:07 pm (31484)


Good day all.

I just downloaded and extracted quickbms v0.8.2a. I added the 3 required assetto_corsa scripts and tried the extraction:

Code:
C:\Users\Bjoern\Downloads\AssettoCorsa\apps\quickbms>quickbms -e assetto_corsa_acd.bms .\cars\nagp_mercedes_amg_gt .\data

QuickBMS generic files extractor and reimporter 0.8.2a
by Luigi Auriemma
e-mail: [email protected]
web:    aluigi.org
        (Jan  8 2018 - 13:27:53)

                   quickbms.aluigi.org  Homepage
                            zenhax.com  ZenHAX Forum
                               @zenhax  Twitter & Scripts


- start the scanning of the input folder: .\cars\nagp_mercedes_amg_gt
- open input file C:\Users\Bjoern\Downloads\AssettoCorsa\apps\quickbms\cars\nagp_mercedes_amg_gt\.\animations\car_door_L.ksanim
- open script assetto_corsa_acd.bms
- set output folder .\data

  offset   filesize   filename
--------------------------------------
KEY animations -> 51-57-36-177-246-209-74-116

Error: incomplete input file 0: C:\Users\Bjoern\Downloads\AssettoCorsa\apps\quickbms\cars\nagp_mercedes_amg_gt\animations\car_door_L.ksanim
       Can't read 2 bytes from offset 00003ec8.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.

  coverage file 0   100%   16076      16072      . offset 00003ec8

Last script line before the error or that produced the error:
  125 get TMP long



Thanks for your continued work for us sim racers.

Regards,
Bjoern
  • Author
  • Localization

aluigi, posted Fri Jan 12, 2018 4:24 pm (31485)


You must select the file with acd extension as input file.
Your error was to select the whole folder instead of the single file.
  • Author
  • Localization

brh56, posted Fri Jan 12, 2018 5:39 pm (31486)


Of course, sorry about that.
:oops:
  • Author
  • Localization

brh56, posted Fri Jan 12, 2018 11:47 pm (31489)


Now that I have successfully extracted the .ini files and modified one car.ini file, I would like to reimport the file back into data.acd. That didn't seem to work.
So what is wrong with this command:

Code:
quickbms assetto_corsa_acd_rebuilder.bms .\cars\nagp_mercedes_amg_gt\data.acd .\data


Note that the size of the original data.acd file is 248Kb and the data.acd.rebuilt is 2.3Mb, not sure what happened here.


Thank you,

Bjoern
  • Author
  • Localization

aluigi, posted Sat Jan 13, 2018 4:02 am (31495)


No need to reimport the files since they work perfectly if you leave them in the data folder.
Additionally the script can't be used for reimporting.
I made a script for recreating the acd archive but it's not necessary.
  • Author
  • Localization

brh56, posted Sat Jan 13, 2018 5:55 pm (31513)


I don't understand. I changed the car.ini file and it has to be updated into the data.acd file, not so?
  • Author
  • Localization

aluigi, posted Sat Jan 13, 2018 7:28 pm (31516)


It's enough that you move the whole "data" folder where is located the original data.acd file.
I don't remember if you have to delete data.acd for forcing the game to read the data folder.
  • Author
  • Localization

brh56, posted Wed Jan 17, 2018 3:22 am (31624)


aluigi wrote:
It's enough that you move the whole "data" folder where is located the original data.acd file.
I don't remember if you have to delete data.acd for forcing the game to read the data folder.

I have no idea what you mean with those statements. All I want to do is extract the car.ini file from the data.acd file and put it back into the data.acd file, that's it.

Anyone else is welcome to chime in here.
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.