Jump to content


Photo

Setting mutiple categories at once - hack


  • Please log in to reply
4 replies to this topic

#1 wolverine2710

wolverine2710

    Mod Author

  • Contributors
  • PipPipPipPipPipPip
  • 441 posts

Posted 22 December 2013 - 03:54 PM

To make sure this good piece of information is preserved and it can be put on the wiki later on I have created a thread for it here. Setting mutiple categories at once - hack is explained in thread "By sonicp. How can I find out what the modid for a mod is?", post number #4 by GSDFan.

Out of the Box, no there isn't a way to do that, but thinking out of the box you can enter all of the needed Nexus id numbers in the new mod category and clear out all the id numbers from the other categories. This will allow new mods to go to that category. You can then do the right click set category and set primary category to assign them later on. Sort of a six of one, half a dozen of another fix. This is a hack and worked in my test. No telling if it will break anything.

EDIT: 2014/10/03 By GSDFan Fix broken link.


  • 0

#2 MilesTeg

MilesTeg

    Citizen

  • Members
  • Pip
  • 91 posts

Posted 23 December 2013 - 06:26 PM

wrote a simple script "cat.py" (needs python (version 2.7): http://www.python.or...ython-2.7.6.msi) It goes through all .meta files (in the same directory) and changes the categoryID to a new one. Just copy all .meta's that should be changed in a seperate directory together with cat.py and run the script. And use it with care! It creates backups, but hasn't been tested that much yet.

Attached Files

  • Attached File  cat.zip   938bytes   4 downloads

  • 0

#3 wolverine2710

wolverine2710

    Mod Author

  • Contributors
  • PipPipPipPipPipPip
  • 441 posts

Posted 23 December 2013 - 11:38 PM

MT. GREAT. It looks as if the hard work with SASTEP pays off. Could be rather useful for some ppl. Why not create a normal thread in the main forum in which you announce this small util. Here it will likely be rather invisible. Not sure if this util makes changes quicker then doing it manually with the MO GUI or GSDFan's hack but it is certainly appreciated. Keep up the good work.
  • 0

#4 MilesTeg

MilesTeg

    Citizen

  • Members
  • Pip
  • 91 posts

Posted 24 December 2013 - 02:24 AM

MT. GREAT. It looks as if the hard work with SASTEP pays off.

Yes, it does :)
Once I can release s.th. more substancial I will open up a post in the main forum.
  • 0

#5 wolverine2710

wolverine2710

    Mod Author

  • Contributors
  • PipPipPipPipPipPip
  • 441 posts

Posted 24 December 2013 - 02:33 AM

I will (iim)patiently wait. I've looked at the NMM importer and its amazing how many things you get for free. The hard work like creating a new mod in the NMM importer and filling it is already done by the MO API. You also have access to all kinds of info from MO. Haven't delved in deep enough to know if some info is missing. But as Tannin stated, if something is missing it can/will be added if needed (sounds perfect). Parsing the installog.xml of NMM is a snap btw. Curious how easy it will be to create an XML file based upon the current enabled/installed mods. (creating it manually or by using an XML marshaller/unmarshaller (serializes stuff). If easy this would mean 'potential' for another kind of SASSTEP/ASI, namely a purely MO plugin based.
  • 0


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users