Jump to content

SillyMonkey982

★ Moderator ★
  • Posts

    19
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by SillyMonkey982

  1. Removing Mesh Textures from the game.

    This is useful if you want to say for example remove the bed cap from the fire pickup truck or any other model/mesh.

    Doing this could break your game, depending on what you remove.

     

    Needed Programs

    UABEA

    https://nightly.link/nesrak1/UABEA/workflows/dotnet-desktop/master/uabea-windows.zip (Found here: https://github.com/nesrak1/UABEA)
    AssetStudioGUI

    https://github.com/Perfare/AssetStudio/releases/tag/v0.16.47

    (Found here: https://github.com/Perfare/AssetStudio)

     You may need this program depending on the method.

    UABEA Examples

    https://github.com/nesrak1/AddressablesTools/releases (Found here: https://github.com/nesrak1/AddressablesTools)

     

    This may break your game if you remove the wrong thing or don't follow the steps. If you want to revert these steps I would follow this on how to verify the game files again.

    Quote

    Steam verifying: - Go to steam library - right click on ''Flashing Lights'' - Select ''Properties'' - Head to ''Local Files'' - Select ''Verify integrity of game files...'

     

    Step 1:

    Open AssetStudioGUI and load data.unity3d

    image.thumb.png.0ad52363a33dfaa314d677660f023cb0.png

     

    This file is located in Wherever your steam libray is stored "SteamLibrary\steamapps\common\Flashing Lights\flashinglights_Data"

    image.png.0ca6ad4b30392e5911cc3c81ee62f5c9.png

     

    OR - If the mesh / texture isn't showing in the file above, follow the below. If it is follow the steps below but with data.unity3d file.

     

    Step 1:

    Open AssetStudioGUI and load folder and select the StandaloneWindows64 folder. Located here: "SteamLibrary\steamapps\common\Flashing Lights\flashinglights_Data\StreamingAssets\aa\StandaloneWindows64"

    image.thumb.png.3aec3c3d93bd45648522446357a33c31.png

    image.png.0c5474d998b16f4fa16d8e2414a8fce4.png

     

    Loading either folder or the file, it should take a little bit.

    Step 2:

    Now Select Asset List then Filter Type > Mesh

    image.thumb.png.af085f67388184317002c7f898074211.png

     

    Step 3:

    Now Search for your desired mesh in the list it shows you. I'm looking for the F600 Bedcap.

    image.thumb.png.3f8abd03f1ba08a6bf56d1ab9637e07f.png

     

    Step 4:

    Right click on the mesh you have found and click show original file.

    image.png.d55cae9f81cdda0b0eaea41a8fdd488b.png

     

    Copy this file onto another folder of your choosing.

    image.thumb.png.bbd75ae634fbd9218dc2ec00aa8bb5dd.png

     

    image.thumb.png.4ad6c2c7d5928f943d0e9014b4731bf7.png

     

    Step 5:

    Open UABEA and then open the file you just saved above.
    image.png.22b1cbef908fa105b35290a84ee3662f.png

    Click Save to Memory

    image.png.e537441d416f1d88b9fe44f65a4149da.png

     

    Step 6:

    Click Info and then search for the mesh you found earlier.

    image.png.1dc76d9d520353bd61792246bbd9f569.png

    Find the mesh you found earlier and click remove.

    If you are doing the truck cap, also remove the TruckCap_Door mesh

    image.png.75ae5e4307c7331a0b1bc8d744dea407.png

    Step 7:

    Save the file.

    image.png.97a40d113650a463e6eaab5b11a155df.png 

    Save the bundle

    image.png.594451665d877acdd824b3590c708bc6.png

    Close UABEA

     

    Step 8:

    Open UABEA again and open the bundle you just saved.

     

    Once you have reopened the file again, compress it.

    image.png.6107c6d1040c5a6045c315aef51bddc5.png

     

    Save the compress file with the SAME NAME AS THE BUNDLE (AKA FILE YOU SAVED PREVIOUSLY) and save it in a new folder.

     

    image.png.3ccc35593eb048c925b6033af7a44b76.png

    Click on LZ4 if it asks you this.

     

    Step 9:

     

    Next navigate to the "SteamLibrary\steamapps\common\Flashing Lights\flashinglights_Data\StreamingAssets\aa\StandaloneWindows64" folder

    and then drag and drop the file you just saved previously.

    image.thumb.png.f31f7bd8bce4db19076fcc7d17531cff.png

     

    Click on replace the file in the destination

    image.png.8b5e046cf199e9a1f06511a5221e236b.png

     

    IF YOU USED DATA.UNITY3D FILE TO EDIT THE MESH/TEXTURE SKIP THE BELOW AND TEST YOUR MOD!

     

    Step 10:

    Navigate back to "SteamLibrary\steamapps\common\Flashing Lights\flashinglights_Data\StreamingAssets\aa" and drag the Example program you downloaded. This is in the top of this guide. Your folder should look like this. 

    image.png.40d00862db9bda5aa5044ec377bb75dd.png

     

    Step 11:
    Create a shortcut from the Example.exe application. 

    If you are on Windows 10, Right click example.exe and create shorcut

    If you are on Windows 11, Right Click example.exe and click show more options then create shortcut.

     

    Step 12:

    You will need to modify the shortcut. To do this right click and click properties. You will then want to add this string into the end of your Target. "patchcrc catalog.json"

    image.png.a427cbdcee341fc9770ec1e252cffa0d.png

     

    After doing this, click apply and ok and then run the shortcut. It should open a command prompt and then close automatically.

     

    Step 13:

    Your directory should now look like this.

    image.png.12d10fdd424516c7862ec1f728efefeb.png

     

    Rename the catalog.json to catalog.json.old and then rename the catalog.json.patched to catalog.json

     

    Step 14:

    Feel free to load up the game and test your mod! 

     

    image.png?ex=6620dd93&is=660e6893&hm=bce52b7e7aaab284971574e86a7f7b21679f6da93adc2699dbe52cae33d61038&

     

     

     

     

     

     

    • Like 1
  2. 16 hours ago, Hille said:

     

    The first version will probably be just my app running through the steps automatically. Don't think that a live preview like in FL is worth the effort. 
    Just save the export in my app and import it in FL - it's 4 sec worth of effort 😉

    Agreed, looking forward to the project being updated! Makes me want to learn c#.. I'll probably use this project to learn a bit..

  3. 7 hours ago, unknown_bre12 said:

    Really interesting im hoping to see a way to preview the light pattern soon. keep up the good work.


    Not sure how that would be intirely possible without creating a Unity project that uses the game's files, which aren't too hard to get anyways but you get my point. But overall, a great program and I'll be happy to contribute.

×
×
  • Create New...