Extracting base liveries and file names from default liveries

Discussion in 'Automobilista 2 - Modding' started by Wildcat270, Aug 15, 2023.

  1. Wildcat270

    Wildcat270 New Member

    Joined:
    Jan 2, 2017
    Messages:
    11
    Likes Received:
    1
    As the title states, I'm trying to figure out how to extract textures and the file names primarily for the 2020-23 stock cars to edit the glass for custom numbers and names. Thanks in advance for any help.
     
  2. Racinglegend1234

    Racinglegend1234 AMS2 wiki founder AMS2 Club Member

    Joined:
    Jul 28, 2022
    Messages:
    6,087
    Likes Received:
    2,102
    Have You checked the First page of this thread? AMS2 - User Livery Overrides
     
  3. Wildcat270

    Wildcat270 New Member

    Joined:
    Jan 2, 2017
    Messages:
    11
    Likes Received:
    1
    Yes I have. From what i can see there was no window or banner template for the stock cars. Also was wanting to extract the base liveries to use as a guide for sponsors
     
    • Like Like x 1
  4. Malaman

    Malaman New Member

    Joined:
    Jul 20, 2022
    Messages:
    14
    Likes Received:
    5
    Hi there, did you find out how to do this? Wanna do it myself
     
  5. Wildcat270

    Wildcat270 New Member

    Joined:
    Jan 2, 2017
    Messages:
    11
    Likes Received:
    1
    No, still haven't figured it out.
     
  6. john Ellis

    john Ellis The Rectifier of Names AMS2 Club Member

    Joined:
    Mar 18, 2020
    Messages:
    872
    Likes Received:
    1,051
    Go to Automobilista 2\Pakfiles\Vehicles and make a copy of Stock_Corolla_23_Livery.bff, for example.

    Use QuickBMS (with the nfsshift.bms plugin) to extract the livery file ... any window stickers, etc. are in there. Make new ones to spec & repackage for your mod.
     
    Last edited: Dec 3, 2023
    • Informative Informative x 1
  7. SchumiSkins

    SchumiSkins Member

    Joined:
    Jan 8, 2024
    Messages:
    10
    Likes Received:
    56
    Hey there,
    Tried to replicate this and had the following error message :

    offset filesize filename
    ------------------------------

    Error: the specified offset can't be reached


    Are you still able to do it on your own?
     
  8. john Ellis

    john Ellis The Rectifier of Names AMS2 Club Member

    Joined:
    Mar 18, 2020
    Messages:
    872
    Likes Received:
    1,051
    It’s always worked for me, like when the LMDh and new GT3 cars were released during the current beta cycle. Which vehicle’s file are you trying to open?
     
  9. SchumiSkins

    SchumiSkins Member

    Joined:
    Jan 8, 2024
    Messages:
    10
    Likes Received:
    56
    Thanks for your quick reply, I was indeed aiming at LMDhs (BMW) as well as GT3s gen2
     
  10. john Ellis

    john Ellis The Rectifier of Names AMS2 Club Member

    Joined:
    Mar 18, 2020
    Messages:
    872
    Likes Received:
    1,051
    I’m not at my computer and I’m no expert, but I always extract the contents of the file into a different folder than the source file itself. Essentially, I place the source file in an Input folder and extract its contents to an Output folder. Launch quickbms, pick the nfshift script, select the source file (copied to my Input folder) and output to the Output folder
     
  11. SchumiSkins

    SchumiSkins Member

    Joined:
    Jan 8, 2024
    Messages:
    10
    Likes Received:
    56
    That's very strange. I am trying the exact same process but I can't seem to make it work. Frustrating. Is there anywhere i can reach to you? discord?
     
  12. BigYetimane

    BigYetimane New Member

    Joined:
    Jul 3, 2024
    Messages:
    1
    Likes Received:
    0
    I am having the same problem as you when trying to get the Audi R8 Evo 2 skins. Following the process exactly as stated and same error.
     
  13. Emà!!!

    Emà!!! New Member

    Joined:
    Dec 28, 2016
    Messages:
    24
    Likes Received:
    8
    I extract without any problem from the xxx_Livery.bff of both Audi and Lambo (i also see your post on discord), with quickbms and nfsshift.bms
     
  14. Racinglegend1234

    Racinglegend1234 AMS2 wiki founder AMS2 Club Member

    Joined:
    Jul 28, 2022
    Messages:
    6,087
    Likes Received:
    2,102
    Does the extraction just give you the dds files?
     
  15. Emà!!!

    Emà!!! New Member

    Joined:
    Dec 28, 2016
    Messages:
    24
    Likes Received:
    8
    Yes
     
  16. Filetti

    Filetti New Member

    Joined:
    Dec 31, 2024
    Messages:
    3
    Likes Received:
    1
    Hi There,

    I have just tried to do this, but can't seem to get it to work.

    process I used was:
    1. Open Quick BMS
    2. Selected "nfsshift.bms" as the script type
    3. Click on a copy of the "Stock_Corolla_24_Livery" file that is located in \steamapps\common\Automobilista 2\Pakfiles\Vehicles
    4. Selected a location for the Output file & pressed Save
    5. I then get the following errorr on the Quick BMS Application
    ********************************************​
    Error: incomplete input file -3:
    Can't read 27 bytes from offset 000001e6.
    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 -3 100%! 511 486 . offset 000001e6

    Last script line before the error or that produced the error:
    134 getdstring PCARS_KEY 0x1b MEMORY_FILE3
    coverage file 0 0% 313 15977065 . offset 0000012e
    coverage file -1 0% 0 16 . offset 00000000
    coverage file -3 100%! 511 486 . offset 000001e6

    Press ENTER or close the window to quit

    ********************************************​
    No output file gets generated.

    Am I doing something wrong?
     
  17. Christian Wendt

    Christian Wendt Member

    Joined:
    Apr 9, 2024
    Messages:
    44
    Likes Received:
    10
    Same problem

    - GUI mode activated, remember that the tool works also from command-line
    where are available various options like folder scanning, filters and so on

    - select BMS script. type ? for using the content of clipboard like a script
    - select input archives/files, type * for the whole folder and subfolders
    - select output folder where extracting files
    - open input file C:\Users\iR7K2\Downloads\quickbms\Lamborghini_Huracan_GT3_Evo2_Livery.bff
    - open script C:\Users\iR7K2\Downloads\quickbms\nfsshift.bms
    - set output folder C:\Users\iR7K2\Downloads\Neuer Ordner

    offset filesize filename
    --------------------------------------

    Error: incomplete input file -3:
    Can't read 27 bytes from offset 000001e6.
    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 -3 100%! 511 486 . offset 000001e6

    Last script line before the error or that produced the error:
    134 getdstring PCARS_KEY 0x1b MEMORY_FILE3
    coverage file 0 0% 313 12947897 . offset 0000012e
    coverage file -1 0% 0 16 . offset 00000000
    coverage file -3 100%! 511 486 . offset 000001e6

    Press ENTER or close the window to quit
     
    Last edited: Jan 31, 2025
  18. Racinglegend1234

    Racinglegend1234 AMS2 wiki founder AMS2 Club Member

    Joined:
    Jul 28, 2022
    Messages:
    6,087
    Likes Received:
    2,102
    IIRC it worked for someone on discord
     
  19. Christian Wendt

    Christian Wendt Member

    Joined:
    Apr 9, 2024
    Messages:
    44
    Likes Received:
    10
    • Like Like x 1
    • Informative Informative x 1
  20. Filetti

    Filetti New Member

    Joined:
    Dec 31, 2024
    Messages:
    3
    Likes Received:
    1
    Thanks you this - it worked and I can now export the files and open them successfully.

    Can anyone kindly explain the process for re-importing the files?

    Process I used was:
    (1) Run the "reimport" batchfile that is part of the QuickBMS files when you download the app.
    (2) Select the https://aluigi.altervista.org/bms/nfsshift.bms script
    (3) Select the file I want to re-import (just tried it with one file)
    (4) Click on the original copy of the BFF file (in this case "Stock_Cruze_24_Livery.bff"

    I get this error:


    - signature of 4 bytes at offset 0x00000000 doesn't match the one
    expected by the script:

    this one: "DDS "
    44 44 53 20 DDS

    expected: "PAK "
    50 41 4b 20 PAK

    - 0 files reimported in 0 seconds
    coverage file 0 0% 4 11184952 . offset 00000004
     

Share This Page