0 of 0

File information

Last updated

Original upload

Created by

MsZelia

Uploaded by

MsZelia

Virus scan

Safe to use

128 comments

  1. MsZelia
    MsZelia
    • premium
    • 89 kudos
  2. eshowers
    eshowers
    • member
    • 0 kudos
    I get this error

    C:\Python>python inventOMatic-Parser.py --help
    Traceback (most recent call last):
      File "C:\Python\inventOMatic-Parser.py", line 3, in <module>
        import aiohttp
    ModuleNotFoundError: No module named 'aiohttp'

    C:\Python>python inventOMatic-Parser.py -f itemsmod.ini > output.txt
    Traceback (most recent call last):
      File "C:\Python\inventOMatic-Parser.py", line 3, in <module>
        import aiohttp
    ModuleNotFoundError: N
    1. MsZelia
      MsZelia
      • premium
      • 89 kudos
      Step 4 in installation shows command to install that module.
    2. eshowers
      eshowers
      • member
      • 0 kudos
      So it turns out I was getting a C++ error when trying to install aiohttp.  After a bunch of troubleshooting, I was able to resolve that error using the VS build tools and selectively installing MSVC and the newest Windows 10 SDK

      Installation went correctly (finally), and it was able to parse out the items into a text file. 

      Thanks for your help!
    3. MsZelia
      MsZelia
      • premium
      • 89 kudos
      You're welcome. Thanks for posting, might help someone in the future.
  3. Mjcollins
    Mjcollins
    • premium
    • 0 kudos
    dose anyone know a way to add the ammo box and scrap box from fallout 1st 
    1. MsZelia
      MsZelia
      • premium
      • 89 kudos
      Extract feature from invent o matic should work in ammo and scrap box as well.
  4. KaotikPaladin
    KaotikPaladin
    • member
    • 3 kudos
    Is it possible to put a column for "item_desc" complete (with "\n" substitution with "") for weapon and armors?
    like "50% armor penetration/replenish 15 action points/100% faster movement speed"
    1. MsZelia
      MsZelia
      • premium
      • 89 kudos
      Sure, here's a quick fix, it will show description in column after (now mostly missing) legendary effects.
      "\n" is replaced with "|" and it will show whole description, not just legendary stars - that means effects like "+10 carry weight" if armor has deep pocketed mod...
      Not made to work with price checking since fed76 prices are obsolete due to new legendary system.

      https://pastebin.com/raw/XVpBMYbc
    2. KaotikPaladin
      KaotikPaladin
      • member
      • 3 kudos
      Thank You very much! This can be very usefulm at least for me :)
  5. rocan2022
    rocan2022
    • member
    • 0 kudos
    Great work thank you for this.

    I'm not a Python guy, but I was able to make a few changes to add two columns for Inventory Weight and Stash Weight.  I learned a ton about python just doing that simple change.

    My question is, I see that the dump contains a bunch of other data, would it be possible to add all of this to the output of the parser, and then just let people filter out what data they don;t want?

    Maybe another parse flag for standard (default) and All?

    Having two separate columns for the two weight types was incredibly helpful for trying to organize and clean up multiple stashes, as not all of my mules have weight saving perks.
    1. MsZelia
      MsZelia
      • premium
      • 89 kudos
      Thanks,
      it would be possible but a lot of the data in file is either irrelevant (like isSpoiled, containerID...) or is obsolete - like some nuclear winter data that is removed and will always be the same value (itemCategory, rarity...) so I don't think it will be added.

      Even price checking will soon be obsolete since new legendary system is coming out.

      However if you wanted to list all data in table format there are some converters online (https://www.convertcsv.com/json-to-csv.htm) - convert from json to csv
    2. rocan2022
      rocan2022
      • member
      • 0 kudos
      Thanks, I'll check this out.
  6. hotnts
    hotnts
    • member
    • 0 kudos
    I can't quite get this working. I use a mod that changes tag names for sorting.

      Is there a workaround or am I stuck having to choose the tag mod or the parser mod?
    1. MsZelia
      MsZelia
      • premium
      • 89 kudos
      What specifically is not working?
      Which mod are you using?
    2. hotnts
      hotnts
      • member
      • 0 kudos
      This is the tags mod - https://www.nexusmods.com/fallout76/mods/743

      I copied over the items file from the extraction into the parser folder I made.  When I click to run the parser I get a flash of a window open then it closes without any change to the itemsmod.ini file.
    3. MsZelia
      MsZelia
      • premium
      • 89 kudos
      Mod should be compatible.
      Did you run script with -f parameter? Check installation and usage in description
    4. hotnts
      hotnts
      • member
      • 0 kudos
      I think so?  

      "InventOMatic-Parser: error: unrecognized arguments: [-s separator=\t] [-l language=en] [-e encoding=utf8] [-pc]"

      Forgive me, this stuff is somewhat foreign to me.
    5. MsZelia
      MsZelia
      • premium
      • 89 kudos
      Well there are examples further down in description, such as:
      python inventOMatic-Parser.py -f itemsmod.ini > output.txt
  7. PatetheGreat
    PatetheGreat
    • member
    • 0 kudos
    Odd request but I'm trying to have a column for weight so that i can sort by scrip value divided by weight. My goal is to be able to quickly decide which legendarys to store for future scripping while using up little stash space. I can't figure out how to import weight into my excel sheet but if that is possible easily then I would appreciate it.
    1. MsZelia
      MsZelia
      • premium
      • 89 kudos
      Item weights aren't included in output data, it would need to be added.
    2. MsZelia
      MsZelia
      • premium
      • 89 kudos
      Just a quick edit to file, you can edit py file with notepad, in lines 1361 and 1431:
      Instead of
      item_text]
      set this and save file:
      item_text, item['weight']]

      This will add weights for weapon and armor in column after "Full item name"
    3. PatetheGreat
      PatetheGreat
      • member
      • 0 kudos
      Bummer. I wonder if there is a way to import that info or some kindof workaround. It probably ends up being a guesstimation situation otherwise.
    4. MsZelia
      MsZelia
      • premium
      • 89 kudos
      I meant, just the parser isn't writing that data to output, itemsmod file still has it. Check my comment above for quick fix
    5. PatetheGreat
      PatetheGreat
      • member
      • 0 kudos
      Oh awesome. I edited the lines as you recommended. It seems that it works as long as there is no Fed76 price. If there is then it ignores the weight value. I'm not sure if there is an easy way to add a column or maybe I would have to run the script without Fed76 pricing.
    6. MsZelia
      MsZelia
      • premium
      • 89 kudos
      Yeah, there's few more places that would need to be edited to shift those columns to right...
      Here, I won't upload it on nexus since it's not localized: https://pastebin.com/raw/H0Q3Qmeb
    7. PatetheGreat
      PatetheGreat
      • member
      • 0 kudos
      Wow that worked perfectly. Thank you so much for the help and thank you for responding so quickly.
    8. almegaopha
      almegaopha
      • member
      • 0 kudos
      06 July 2024, 7:29PM 
      Yeah, there's few more places that would need to be edited to shift those columns to right...
      Here, I won't upload it on nexus since it's not localized: https://pastebin.com/raw/H0Q3Qmeb
      Came here interested in this same subject matter.  Can I bother you to refresh that expired link?  Thanks! 
    9. MsZelia
      MsZelia
      • premium
      • 89 kudos
      https://pastebin.com/raw/GkKM0GeU
    10. almegaopha
      almegaopha
      • member
      • 0 kudos
      TYVM! <3
  8. Drahmads
    Drahmads
    • member
    • 0 kudos
    Help:
    I got the following error and output file is only the items without prices
    PS C:\Users\ahmad\OneDrive\Desktop\InventOMatic-Parser-2285-1-3-5-1718651196> python inventOMatic-Parser.py -f itemsmod.ini -pc >> output.txt
    Traceback (most recent call last):
      File "C:\Users\ahmad\OneDrive\Desktop\InventOMatic-Parser-2285-1-3-5-1718651196\inventOMatic-Parser.py", line 1618, in <module>
        main()
      File "C:\Users\ahmad\OneDrive\Desktop\InventOMatic-Parser-2285-1-3-5-1718651196\inventOMatic-Parser.py", line 1501, in main
        conn = aiohttp.TCPConnector(limit_per_host=100, limit=0, ttl_dns_cache=300)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\ahmad\AppData\Local\Programs\Python\Python312\Lib\site-packages\aiohttp\connector.py", line 784, in __init__
        super().__init__(
      File "C:\Users\ahmad\AppData\Local\Programs\Python\Python312\Lib\site-packages\aiohttp\connector.py", line 234, in __init__
        loop = loop or asyncio.get_running_loop()
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
    RuntimeError: no running event loop
    1. MsZelia
      MsZelia
      • premium
      • 89 kudos
      Seems like it's new version of aiohttp, you'll have to downgrade to older version.
      Open command prompt (cmd) and run these 2 commands:
      pip uninstall aiohttp
      pip install aiohttp==3.9.5
    2. Drahmads
      Drahmads
      • member
      • 0 kudos
      Thanks a lot, it worked
  9. gmancrib
    gmancrib
    • premium
    • 1 kudos
    It took me a bit of trouble shooting to get Invent O Matic up and running but this works perfectly! Importing all the data to a Google sheet and searching across all my mules. I keep tons of stuff because I'm new and learning the economy.  Excellent work!!!!!
  10. RD29031999
    RD29031999
    • supporter
    • 0 kudos
    https://ibb.co/0QDkDdr

    i'm getiing this error. Any idea how to fix?
    1. MsZelia
      MsZelia
      • premium
      • 89 kudos
      Similar issue here: https://stackoverflow.com/questions/38132755/importerror-no-module-named-encodings

      You might need to reinstall python and select Add Python to environment variables in Advanced Options
  11. nister69
    nister69
    • member
    • 0 kudos
    (Update 1.3) Supported translations/localization:
    Will do it when I find time, request languages you want me to translate first
    If you could translate it into Spanish it would be great!!
    1. MsZelia
      MsZelia
      • premium
      • 89 kudos
      Okay, it's 2nd on priority list now.
    2. MsZelia
      MsZelia
      • premium
      • 89 kudos
      Do you have itemsmod.ini file in Spanish by any chance? SFE isn't updated yet, so I would need it for testing.
    3. nister69
      nister69
      • member
      • 0 kudos
      Hi, where can i get it? I have looked in the fallout 76 installation folder and in documents/my games/fallout 76 and I don't see it. Could you tell me where it should be?

      I'm not involved in the topic of creating mods but I think I could help you with the translation if you need it, send me a DM and I'll add you to discord for example
    4. MsZelia
      MsZelia
      • premium
      • 89 kudos
      It will be in fallout 76/data folder only if you ever used "Extract Items" feature of this mod
    5. nister69
      nister69
      • member
      • 0 kudos
      Since it is not in English I had never used it but if by doing that I generate it, I am going to download it and install it so that it generates that file and so I can give it to you.

      EDIT : oh wow, I think to generate the file I need SFE
    6. MsZelia
      MsZelia
      • premium
      • 89 kudos
      Yeah, that's why I mentioned SFE being out of date. Can't generate it now, have to wait for SFE update
    7. nister69
      nister69
      • member
      • 0 kudos
      I'm sorry I can't help you
    8. MsZelia
      MsZelia
      • premium
      • 89 kudos
      Translated most of it, it's in optional files. I don't speak or understand Spanish so any feedback is appreciated.
    9. nister69
      nister69
      • member
      • 0 kudos
      mil gracias!!!!!
    10. MsZelia
      MsZelia
      • premium
      • 89 kudos
      Added weapons as well, price checking should work now
    11. nister69
      nister69
      • member
      • 0 kudos
      Hello, I am trying to install it with the Spanish language, I am going through step 5 of the installation (run the script).
      I have sent the command: python inventOMatic-Parser.py --help
      Then I copied the itemsmod.ini file from the data folder and pasted it into the parser folder.

      Parser folder: 
      inventOMatic-Parser.py
      itemsmod.ini
      lang_en.json
      lang_es.json

      and here comes my question:

      Do I have to put this command?
      python inventOMatic-Parser.py -f itemsmod.ini -l ES -pc

      it's right? This way I will get a list in Spanish and with price check

      When I press enter, a file called PlanList.xlsx is created in the folder
      and there the names continue in English
    12. MsZelia
      MsZelia
      • premium
      • 89 kudos
      [ ] is for optional arguments, so [-l language=en] means default value for argument language is "en" - English, if you want to specify Spanish you would write something like this:
      python inventOMatic-Parser.py -f itemsmod.ini -l es
    13. MsZelia
      MsZelia
      • premium
      • 89 kudos
      See examples in Usage section, steps 3, 4, 5
    14. nister69
      nister69
      • member
      • 0 kudos
      f*#@ me xD

      I didn't see your response and edited my post. with this:

      Do I have to put this command?
      python inventOMatic-Parser.py -f itemsmod.ini -l ES -pc

      it's right? This way I will get a list in Spanish and with price check

      When I press enter, a file called PlanList.xlsx is created in the folder
      and there the names continue in English



      so I wrote this command :

      python inventOMatic-Parser.py -f itemsmod.ini -l ES -pc >> output.txt

      and I get this


      The spaces are wrong, can I get a excel so the names look right?
    15. MsZelia
      MsZelia
      • premium
      • 89 kudos
      Yes, that looks right.
      Price checking currently can't be done on recipes/plans for languages other than English, only on weapons and armor. Plan and recipe database from which script fetches data is English only, and there are 1500+ plans
    16. MsZelia
      MsZelia
      • premium
      • 89 kudos
      Maybe if I find a way to get translation data directly from game files it could be done
    17. nister69
      nister69
      • member
      • 0 kudos
      Could I get an excel instead of a txt so that it would look correctly? how would it be? and by the way, I don't know how to thank you for everything, you are a phenomenon!

      EDIT : ok, copying the text from the .txt file and pasting it into an excel works. I imagine that you cannot directly obtain a Excel file, right?
    18. MsZelia
      MsZelia
      • premium
      • 89 kudos
      Yeah, copy-paste, it is possible, maybe one day it will be implemented
    19. nister69
      nister69
      • member
      • 0 kudos
      Regarding the translation, it is almost perfect. The only thing I would change would be that the translation of "plan" (english word) is not "nota", it is "PLANO" (spanish word).

      Nota is like something you write down so you don't forget it

      example : pick up my son from school

      It is a "nota"
    20. MsZelia
      MsZelia
      • premium
      • 89 kudos
      That's in 3rd column? It's supposed to be "notes" in English, so not just plans - it's also used for recipes, maps, notes...
    21. nister69
      nister69
      • member
      • 0 kudos
      Yes, the 3rd column

      A note is something you write on this.

      

      It is more familiar to me to read the word "plano" to refer to something that if I read it I can learn it. (weapons, recipes, maps...)
    22. MsZelia
      MsZelia
      • premium
      • 89 kudos
      Yes? It's a category in pipboy/stash called NOTES, between HOLO and JUNK?
    23. MsZelia
      MsZelia
      • premium
      • 89 kudos
      This is from lang_es file:
      "FILTER_FLAGS": {
              "WEAPON": "ARMAS",
              "ARMOR": "ARMADURA",
              "APPAREL": "ATUENDO",
              "FOOD_DRINK": "COMIDA/AQUA",
              "AID": "AYUDA",
              "NOTE": "NOTA",
              "MISC": "MISC",
              "JUNK": "CHATARRA",
              "MODS": "MODULOS",
              "AMMO": "MUNICIÓN",
              "HOLO": "HOLO",
              "SCRAP": "CHATARRA"
          },
    24. nister69
      nister69
      • member
      • 0 kudos
      Yes, unfortunately the translation of Fallout 76 into Spanish is not very good.

      The spoken dialogues are good but the writing in the game not so much.

      In the example you give of the lang_es file, scrap translates it as junk and it is not the same, scrap should be "desguazar" in Spanish.

      It is an action, a verb, not a word like "Chatarra"

      It was just an observation, it's not important either.
    25. MsZelia
      MsZelia
      • premium
      • 89 kudos
      I can easily change it in lang file but I'm just making sure you understand "Notas" is name for whole category, not just for plans
    26. nister69
      nister69
      • member
      • 0 kudos
      This is actually a dilemma, what would be better: 

      1- leave it in "notas" like the translation that Bethesda did.

      2- change it to its more correct name (Planos) but in the pipboy it would still appear as notes

      I think it doesn't matter, you can leave it as it is now.

      I'm not sure how the word "plan" works in English, but for me, the word "plano de fabricación" (manufacturing plan) encompasses recipes, weapons, maps, armor... anything you can create following written instructions.
    27. MsZelia
      MsZelia
      • premium
      • 89 kudos
      Oh okay. As I understand it, plan is step-by-step guide for accomplishing something, in this game's case, how-to build something. Note is information written on paper, so any plan can be considered note. Well, at least in this game
    28. nister69
      nister69
      • member
      • 0 kudos
      -Oh okay. As I understand it, plan is step-by-step guide for accomplishing something.

      In Spain we call this having a plan. (Tener un plan)

      -in this game's case, how-to build something.

      we call this "plano" with a "o". It is different from the word "plan".

      -Note is information written on paper, so any plan can be considered note. Well, at least in this game.

      Yes, except that I understand by note something written on a small piece of paper, an annotation, a short message.
      I'm using the help of a translator because my English is somewhat poor, so I don't know if I'm explaining myself well.
      The thing is, it doesn't matter. Bethesda puts it as a "NOTA"  in the pipboy so it's the same. Thank you for your work!
    29. MsZelia
      MsZelia
      • premium
      • 89 kudos
      Okay, I understand. You're welcome