[Reference/Tool] Prop DLC Manager
How's it goin? Not so good since AddonProps is starting to grind your gears, eh? Well look no furthe--- Ok, ok, yeah. This is a tutorial on how to use a tool I made. It's pretty basic so don't get your hopes up. Source code linked below.
What does it do?
- Allows you to create dlc packs for props on-the-fly
Will there be updates?
- Maybe not. I don't have a lot of time these days, but if there's a terrible bug, then I'll be sure to try and fix it.
(Now that that's out of the way let's get started!)
Build your dlc into an installer.
Name your dlc (this is not to be confused with the name of the dlcpack which will be important later).
Enter the name in the
CMap Namefield at the top of the app.
Now, let's build the dlc by clicking the build button at the top of the app.
Select your Output Directory. I'll choose my desktop.
Click OK and give a name to the dlcpack. I'll use
Click OK and the package will be built under the name
PropInstall.oivin your Output Directory.
Install the dlc.
Double click the .oiv file and OpenIV should begin to load.
Once inside the OIV Package Installer, click the Install button, and choose
"mods" folderif you don't want to lose original files. (You can read the description to see what this package replaces/edits.)
IF THE SAME PACKAGE HAS BEEN PREVIOUSLY INSTALLED, THE INSTALLATION WILL FAIL BUT IT WILL STILL WORK
- Go back to the Prop DLC Manager. Here you can see I have a folder of .ydr files (all embedded) that I'd like to add to the manager. All I have to do is
Select All > Drag Into The Data Grid View.
Now we select a preset for our items. Leave the
TextureDictfield blank if you wish to use the prop name as the dict.
Click Done when finished. You can configure your props from the manager if you would like to tweak values.
- Now click
File > Exportto export your props to a ytyp.xml file.
Once you've exported your file, with OpenIV navigate to your new dlc props folder.
Drag and Drop your ytyp.xml file into the rpf folder. (OpenIV will import it as "open format" and create a ytyp file from it.
Now we just drag all of our .ydr files into the dlc folder, and our prop dlc should look like this:
Now that we're done, make sure to keep your [namehere].ytyp.xml in a folder somewhere for later use. This is just like addonprops in the sense that you can add props to the xml file by creating new entries in the data grid. You can also open other ytyp.xml files and edit those as well. You don't need to rebuild every time, just exporting the data to ytyp.xml and dragging it into OpenIV is enough.
You can get the C# Soruce Code here.
Hope you enjoy!
- Fixed prop flags and texture types not correctly saving.
- Fixed null reference errors.
- Added automatic value assignment when new prop entry is added.
Updated again. This might be the final release for awhile.
- Fixed small spelling mistake that causes the program to crash.
This release is stable, and has no known bugs.
@sollaholla when I drag and drop props, the preset window appear, so I set it and press done but nothing happen ;S any idea from what it could come ?
Also, was thinking starting as admin will solve the issue, but the drag and drop don''t work in admin mode xS
@Shaezbreizh I have to push the changes for the new version and package it, I added a lot more features and fixed more bugs.
- Change texture dictionary field to text box for different dictionary names.
- Added ability to read text files with prop names and create rows from that.
- Added bound definitions to ytyp file.
- Fixed program breaking bug, not allowing user to export or build files.
Why isnt this tool on the main site?
@kinghippo2000 Probably cuz it's still getting worked on??
@krashadam i wasnt tryin to antagonize man i was just asking because it seems like a great tool. if its not ready its not ready aint even got to be all that
@kinghippo2000 ...wtf made you think I was thinking you were trying to antagonize? i was well aware you weren't, dude. o__o
@krashadam nothing did i jus seen it an figured id clarify. since u put two question marks. an now u say wtf before. jus kinda seems like it might be touchy subject for u wouldnt want to offend anybody
@krashadam since u put two question marks.
...you gotta be fucking kidding. the fact I put 2 question marks shouldn't mean DICK.
@krashadam jus kinda seems like it might be touchy subject for u
uh... fuck nvm...
@krashadam yeah but it does and u know it does thats why you do it. Fishing for someone to overreact or be new to english so u or eshenk can condescend on them. Eeeeeverybody sees what ur doing dude. Its not constructive and is just poor use of your own time, nevermind the person awaiting a response, no matter how terrible of a question it may be. How you treat others safely from the internet reflects on who you deep down truly are as a person. We all go through hard times and seek ways to cope but two negatives dont make a positive. Im here if you ever need someone to talk to friend.
@krashadam yeah but it does and u know it does thats why you do it. Fishing for someone to overreact or be new to english so u or eshenk can condescend on them. Eeeeeverybody sees what ur doing dude. Its not constructive and is just poor use of your own time, nevermind the person awaiting a response, no matter how terrible of a question it may be. How you treat others safely from the internet reflects on who you deep down truly are as a person.
Please don't compare me to eshenk. You know full well I'm nothing like him. I at least admit I can be a dick at times unlike him.
I wasn't trying to antagonize anybody by the way, it's you who sees it that way.