I made a tool to help modders

Discussion in 'Utilities and programming' started by V1rginie, Dec 8, 2019.

  1. V1rginie

    V1rginie
    Expand Collapse

    Joined:
    Sep 26, 2019
    Messages:
    33
    Renaming a mod manually is way too long and error prone. Yet, people seem to do it anyway!

    Even though my script is nothing fancy, I'm confident it can help the modding community by removing redundancy in the process of creating a mod.

    Enjoy! :)



    If you don't feel like watching the video, you can download the script here:
    https://drive.google.com/file/d/1f74IiE_CsCC9d4mpZX5bPNPPuXHzfCLN/view
    It works with a simple installation of Python.
     
    • Like Like x 12
    • Staff Pick Staff Pick x 1
  2. Kueso

    Kueso
    Expand Collapse

    Joined:
    Oct 14, 2016
    Messages:
    4,463
    this is an utter godsend to all map makers
    we thank you!
     
    • Like Like x 1
    • Agree Agree x 1
  3. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,782
    This level of cool is actually called hot, thanks! :)
     
    • Like Like x 1
    • Agree Agree x 1
  4. essej818

    essej818
    Expand Collapse

    Joined:
    Aug 9, 2016
    Messages:
    94
    notepad++ has this feature if you press CTRL F and go to the replace in files tab
     
    • Agree Agree x 2
  5. RobertGracie

    RobertGracie
    Expand Collapse

    Joined:
    Oct 15, 2013
    Messages:
    3,779
    Notepad++ is the most powerful tool you can have its a wonderful bit of software and its well worth it also GIMP photo editing software as well dont forget that for those pesky DDS files that require editing when required too...

    My two programs that I use for peeking into files are:
    Notepad++ - For the code and details behind the cars
    GIMP editor - for looking at DDS files
     
  6. NOCARGO

    NOCARGO
    Expand Collapse

    Joined:
    Apr 1, 2019
    Messages:
    1,514
    It's actually Ctrl + H : Find and Replace. Select a string of characters and choose how to replace them,
    replace, replace next or replace all and if you messed up simply ctrl + z out of it ! :D
     
    • Agree Agree x 1
  7. V1rginie

    V1rginie
    Expand Collapse

    Joined:
    Sep 26, 2019
    Messages:
    33
    To my knowledge, the Find and Replace operation needs to be repeated for every file. Also, I'm not sure if Notepad++ can batch rename files and folders.
     
    • Agree Agree x 2
  8. NOCARGO

    NOCARGO
    Expand Collapse

    Joined:
    Apr 1, 2019
    Messages:
    1,514
    True :)
     
  9. 93Volvo240

    93Volvo240
    Expand Collapse

    Joined:
    Feb 26, 2019
    Messages:
    377
    It seems to give an error when I try to use it.


    P.S How did you do those mods at the end?
     
  10. V1rginie

    V1rginie
    Expand Collapse

    Joined:
    Sep 26, 2019
    Messages:
    33
    Is it WinError something? If so, it seems to be a permission problem between Python and Windows, I haven't found a solution but it seemed to rarely happen. The quickest fix I found was to copy paste the folder and apply the modifications on the new folder.

    About the mods at the end, I mostly modified existing dae files using Blender. This tutorial to make static objects by Nadeox1 might interest you
     
    • Like Like x 1
  11. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,782
    Error about codepage being unknown/unregonized, occurs if there is .dae file in folder, especially .dae file of original game content as those are encoded in ANSI utf-8 and script/python is working with unicode, so it cannot read I guess.

    Best solution is to remove .dae files from folder and then do renaming, afterwards return .dae files back and change them manually if needed.
     
    • Like Like x 1
  12. NOCARGO

    NOCARGO
    Expand Collapse

    Joined:
    Apr 1, 2019
    Messages:
    1,514
    wb @fufsgfen :D
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice