https://www.gta5-mods.com/tools/weapon- ... oad/180215
weapon-merger
Script to merge weapons data files in GTA V for modding. - Version 1.2 | GitHub
What this script does
TLDR: Merge all vanilla `weapon*.meta` and `pickups.meta` to a single file. Merged files included.
1. Crawl list of all DLCs from latest `dlclist.xml`
2. Crawl list of all DLC patches from latest `extratitleupdatedata.meta`
3. Scan for all content.xml, weapon.meta, pickups.meta files in all dlc archives
____+ Other filetypes can be adapted by writing new parser in `./resources/parser.py`
4. Merge all vanilla `weapon*.meta` files and export to `outputs/merged/update/update.rpf/common/data/ai/weapons.meta`
5. Merge all vanilla `pickups.meta` files and export to `outputs/merged/update/update.rpf/common/data/pickups.meta`
6. Patch `content.xml` in every processed DLCs to deactivate loading of old weapon-.meta and pickups.meta and export them to `./outputs/merged/update/update.rpf/dlc_patch`
7. Export documents on list of dlcs, and list of weapons/ammos/pickups by DLC.
Why/How it helps modding
+ GTA V weapons mods require tampering `weapon*.meta` and `pickups.meta` in every individual DLCs and their patches.
+ This means changes need to be made across multiple DLC archives, whichs makes modding extremely vulnerable to manual errors and costs huge amount of cloned/modded archives.
+ By merging them all to a single file/a few files, edits can be made in one place. Thus, less error and less wasted space.
+ This also makes patching multiple weapon mods together easier.
How to run
1. For end-users (who do not necessarily need this mod): Copy everything in `./composed/merged/update/update.rpf` to `GTA V/mods/update/update.rpf`.
____+ This does not make any changes to vanilla weapons in-game.
2. For developers (target users of this mod):
____1. (Optional, Recommended): Install miniconda
____2. (Optional, Recommended): With installed conda, create environment from terminal `conda env create -f environment.yaml`
____3. (Optional, Recommended): Activate environment: `conda activate weapon-merger`
____4. Extract `weapons-pickups-meta-backup-1.70.7z` to current folder (same level as this file).
____5. Open `./main.ipynb` and run everything in one go. Merged files will be exported to `./outputs/merged`
3. Patch for LCPP: Copy `./composed/patch-lcpp/update/update.rpf/dlc_patch/mpheist4/content.xml` to `GTA V/mods/update/update.rpf/dlc_patch/mpheist4`
Uninstall
1. Extract `weapons-pickups-meta-uninstall-1.70.7z` to current folder (same level as this file).
2. Open the `./composed/uninstall-content-dlcpatch.yaml` - This is the instruction to handle `content.xml` in each `dlc_patch`
3. Copy everything in `./uninstall/update/update.rpf` to `GTA V/mods/update/update.rpf`
____+ These should have reverted the DLCs under `to-patch` in `./composed/uninstall-content-dlcpatch.yaml`
4. For the remaining DLCs, i.e. under `to-delete` in `./composed/uninstall-content-dlcpatch.yaml`, you can safely delete the `content.xml` file manually.
____+ Originally these files do not exist in the vanilla version
Weapons Meta Merger 1.2
OpenIV, CodeWalker, convertoare de modele.
- greenie
- Full Member

- Posts: 2642
- Joined: Sun Nov 21, 2021 4:55 pm
- Jucator SA:MP ?: Nu
- Nick:: greenie
- Jucator CS ?: Da
Weapons Meta Merger 1.2
π΄ππππ πππ π¬ππππ ππ πππ π―πππ ππ π¨ππππππ π·πππππ... 
GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Jump to
- Inregistreaza-te pe Zonek Telecom ca sa vezi toate Subiectele
- Regulile Forumului & Descriere
- ↳ Regulament Forum
- ↳ Prezentare
- ↳ Cereri Parteneriate
- ↳ Intri si tu in reteaua zonek??
- ↳ Sugestiile voastre
- ↳ Raportare bug-uri/probleme forum
- Mica Publicitate & Reclama
- ↳ Reclama diverse siteuri & servere de Counter-Strike
- ↳ Vand
- ↳ Cumpar
- ↳ SCAMMER ALERT
- Servere Comunitare NON-STOP
- ↳ Discord Server Zonek Telecom
- ↳ GO.ZONEK.RO
- ↳ ARENA.ZONEK.RO
- ↳ AWP.ZONEK.RO
- ↳ Bucuresti Create Server
- ↳ Evidenta redirect
- ↳ Clan TAG
- Counter-Strike 2
- ↳ Tutoriale CS2
- ↳ Counter-Strike Sharp CS2
- ↳ Scripting CS2
- ↳ Addons-uri si Moduri CS2
- ↳ Discutii CS2
- ↳ Harti / Maps CS2
- zonek.ro - Counter Strike Global Offensive
- ↳ SourceMod Plugins
- ↳ Admin Commands
- ↳ Fun Stuff
- ↳ Gameplay
- ↳ General Purpose
- ↳ Server Management
- ↳ Statistical
- ↳ Technical/Development
- ↳ Tutoriale
- ↳ Probleme la servere si Jocul Counter-Strike: Global Offensive
- Jocuri & Resurse Counter Strike
- ↳ Tutoriale cs 1.6- Server
- ↳ Tutoriale Moduri Counter - Strike [NOU]
- ↳ Tutoriale cs - Install Counter-Strike & HLDS
- ↳ Scripting
- ↳ Mapping / Harti
- ↳ Cereri Tutoriale
- ↳ Download pluginuri
- ↳ Discutii legate de plugin-uri - Cereri Plugin-uri
- ↳ Download zone
- ↳ AdminMod
- ↳ AmxModX
- ↳ Admin Commands
- ↳ General Purpose
- ↳ Statistical
- ↳ Gameplay
- ↳ Event Related
- ↳ Server Management
- ↳ Fun Stuff
- ↳ Technical/Development
- ↳ AmxMod
- ↳ Addons-uri Counter Strike
- ↳ Addonsuri AmxModX
- ↳ Addonsuri AdminMod
- ↳ Addonsuri AmxMod
- ↳ Cereri addonsuri
- ↳ Probleme tehnice
- ↳ HLDS
- ↳ Client 1.6
- ↳ Alte jocuri
- FiveM Romania
- ↳ Server Development
- ↳ Server Plugins
- ↳ Server Resources
- ↳ Mods
- ↳ Tools
- ↳ Paint Jobs
- ↳ Vehicles
- ↳ Weapons
- ↳ Scripts
- ↳ Player
- ↳ Maps
- ↳ Misc
- San Andreas Multi Player
- ↳ Discutii Scripting
- ↳ Probleme GodFather
- ↳ Tutoriale
- ↳ Cerere Tutoriale
- ↳ Salonul Scripturilor
- ↳ Plugins
- ↳ Maps
- ↳ Gamemode
- ↳ FilterScript
- ↳ News Development
- ↳ Ajutor Servere
- Diverse
- ↳ Discutii diverse
- ↳ Realitatea Baptista Castellon
- ↳ Arta
- ↳ Studentie
- ↳ Auto / Moto
- ↳ Fashion
- ↳ Sanatate
- Photoshop
- ↳ Photoshop
- ↳ Creatii
- ↳ Gifts
- ↳ Graphic Battle
- ↳ Tutoriale
- ↳ Competitii: - SOTW
- ↳ Resurse
- ↳ Ripperi
- ↳ Cereri Photoshop
- ↳ Da LIKE pe FaceBook si castigi 10 euro saptamanal!!
- Filme & Muzica
- ↳ Filme
- ↳ Muzica
- Minunile Lumii Antince
- ↳ Cele 7 Minuni ale Lumii
- ↳ Minuni uitate ale Lumii Antice
- LOVE & SEX
- ↳ Love & Sex
- ↳ Contraceptia
- ↳ Dragostea
- Hubul dc.zonek.ro al serverelor de Counter-Strike
- ↳ Totul despre hubul dc.zonek.ro
- Culturi si Mistere
- ↳ Culturi ascunse, mistere si fapte inexplicabile
- ↳ Magie
- ↳ Lumea Viselor
- |Messenger| & Curiozitatii
- ↳ <|Mesaje tampite care se dau pe mess|>
- ↳ Intrebari fara raspuns
- ↳ Stiati ca ?
- ↳ Pentru cei nemultumiti
- Manage Holidays/Sarbatori si Zile Onomastice
- ↳ Manage Holidays / Sarbatori si Zile Onomastice
- Recycle Bin
- ↳ Recycle Bin
- ↳ HaoS.ZoneK.Ro [ Public Server ]
- ↳ Regulament
- ↳ Anunturi
- ↳ Cafenea Admini
- ↳ Staff
- ↳ Cerere Admin
- ↳ Cerere Slot
- ↳ Cerere UnBan
- ↳ Reclamatie Admini
- ↳ Lista Banuri
- ↳ Redirecte
- ↳ djs.zonek.ro
- ↳ Regulament
- ↳ Cereri admin / slot pe djs.zonek.ro
- ↳ Cerere UnBan
- ↳ Reclamatii admini / playeri
- ↳ Campionat 2 vs 2
- ↳ Discutii Libere
- ↳ Clanu Dj's
- ↳ Ballas
- ↳ Nortenos
- ↳ Surenos
- ↳ Taxele serverului
- ↳ Vanzari - Cumparari
- ↳ Afaceri
- ↳ Servicii
- ↳ Case
- ↳ Politia Romana
- ↳ Discutii generale despre factiuni
- ↳ Pompieri si Medici
- ↳ Serviciul Roman de informatii
- ↳ Armata Romana
- ↳ Clanul Frusin
- ↳ Clanul Racean
- ↳ Guvernator San Andreas
- ↳ Asasini Platiti
- ↳ Reporteri ProTV
- ↳ Transport Company
- ↳ Instructori
- ↳ Clanul Camataru
- ↳ Job-uri secundare
- ↳ Tow Car Company
- ↳ Tutoriale GTA SA:MP
- ↳ freerunners.zonek.ro
- ↳ Admins only
- ↳ Regulament
- ↳ Anunturi
- ↳ Donatii
- ↳ Echipa nord
- ↳ Cereri admin/slot
- ↳ Cereri unban
- ↳ De ce am dat ban
- ↳ Cine face abuz de admin
- ↳ Discutii libere
- ↳ Evidenta redirecte
- ↳ Ghenaaaaaa.....!!!
- ↳ Grove Street
- ↳ Ballas Family
- ↳ Mayor
- ↳ The Triads
- ↳ The Mafia
- ↳ Varios Los Aztecas
- ↳ License Faction
- ↳ Los Santos Vagos
- ↳ News Reporter
- ↳ Taxi Company
- ↳ National Guard
- ↳ Police Departament
- ↳ Federal Bureau of Investigaton
- ↳ Medics
- ↳ Hitman Agency
- ↳ furien.zonek.ro
- ↳ Regulament Server
- ↳ Anunturi
- ↳ Cerere Admin / Slot
- ↳ Cerere UnBan
- ↳ Cerere Ban
- ↳ Reclamatii
- ↳ Echipa furien.zonek.ro
- ↳ Mariri / degradari
- ↳ Redirecte
- ↳ Discutii Generale
- ↳ Download Redirecte
- ↳ FAN.ZONEK.RO # Fan Curier Server
- ↳ intrudersWOW - www.zonek.ro
- ↳ Announcements / Server info
- ↳ International Zone
- ↳ Romanian
- ↳ German
- ↳ English
- ↳ Requests
- ↳ Ban \ Mute Request
- ↳ Unban / Unmute requests
- ↳ Bug Report
- ↳ Items
- ↳ Other
- ↳ Fixed bugs
- ↳ General Discussion
- ↳ Ze.Zonek.Ro # Intruders Zombie
- ↳ Stream name: ...::: CooLFM :::... - Cel mai tare Radio
- ↳ I'm in love!
- ↳ Request
- ↳ Events - Radio CooLFM
- ↳ Cautam Dj`eitze si DJ-eii
- ↳ Personal Top Ten (?)
- ↳ Zonek SA:MP Official Server
- ↳ Informatii
- ↳ Sugestii
- ↳ Update's
- ↳ Factiuni
- ↳ Police Depatament
- ↳ Federal Bureau of Investigations
- ↳ National Guard
- ↳ Fireman/Paramedics
- ↳ The Mafia
- ↳ The Triads
- ↳ The Mayor
- ↳ Hitman Agency
- ↳ News Reporter
- ↳ Taxi Company
- ↳ License Faction
- ↳ Los Santos Vagos
- ↳ Varios Los Aztecas
- ↳ Ballas
- ↳ Grove Street
- ↳ NFS Club
- ↳ NRG Club
- ↳ Plangeri
- ↳ Admin's Zone
- ↳ Diverse
- ↳ Buguri
- ↳ Statistici WEB
- ↳ LIGHT.ZONEK.RO | Anti-Cheat | Skins |
- ↳ DM.ZONEK.RO
- ↳ WAR3.ZONEK.RO
- ↳ ELITE.ZONEK.RO
