mustang60348 Posted June 1, 2007 Posted June 1, 2007 I am looking to develop a program (assuming there already isn't one) that would allow me to run the weaponeditor on an existing .ini file to create a new weapondata.dat file iow, I have a custom weapon , I have created an .ini file for it, I want to have an external program that will add the .ini file to the end of the weapondata.ini file, save the weapondata.ini file , then run (non interactively) the weaponeditor and create the new weapondata.dat file. Quote
Guest Saganuay82 Posted June 1, 2007 Posted June 1, 2007 Ah yeah, its called the Weapon Editor and Gun Editor and they come with the patches. Look for a folder in your main game folder. Its been around for awhile. Quote
mustang60348 Posted June 1, 2007 Author Posted June 1, 2007 Ah yeah, its called the Weapon Editor and Gun Editor and they come with the patches. Look for a folder in your main game folder. Its been around for awhile. I think you misunderstood, I want to use the programs you mentioned in a non interactive way. IOW< run those programs with a command line parameter that will automatically create the weapondata.dat file. Quote
Guest Saganuay82 Posted June 1, 2007 Posted June 1, 2007 Well when you open the weapondata.ini and click Save in it, it creates a new dat. Isn't that what what you want? Quote
mustang60348 Posted June 1, 2007 Author Posted June 1, 2007 Well when you open the weapondata.ini and click Save in it, it creates a new dat. Isn't that what what you want? Except that is interactive, I want to do it non interactive by simply passing it a command line parameter which includes the name of the weapondata.ini file, it then creates the weapondata.dat Quote
+MigBuster Posted June 1, 2007 Posted June 1, 2007 (edited) Sorry no idea - You could ask TK at ThirdWire(Maybe?) - think they developed them. It normally only takes a few secs to merge inis together and create the dat files manually so I would b surprised if anyone has looked into this. Edited June 1, 2007 by CoolHand29 Quote
mustang60348 Posted June 1, 2007 Author Posted June 1, 2007 (edited) Why? I am writing an installer for an aircraft release. It has custom weapons and I want it to be 100% seamless for the users therefore I don't the users to have to edit any files, or manipulate .ini files in way. Of course I don't want it to interfere with any other installations either. My theory being that I will load the current weapondata.ini , add my custom stuff to the end, read the last weapon number, make the appropriate changes to the ini and then create the .dat file from that. Edited June 1, 2007 by mustang60348 Quote
mustang60348 Posted June 1, 2007 Author Posted June 1, 2007 Sorry no idea - You could ask TK at ThirdWire(Maybe?) - think they developed them. It normally only takes a few secs to merge inis together and create the dat files manually so I would b surprised if anyone has looked into this. I agree, but this release 'needs' to be seamless for the users. Quote
Guest Saganuay82 Posted June 1, 2007 Posted June 1, 2007 Ahhhhh I see now. Good idea and good luck if you get it to work. I don't know about most users but anything in this community that tries to do it for me, I shy away from. Too many chances to screw up my install. Even the Mirage factory auto installers I point to a blank folder on the desktop and drop it in there first. Quote
mustang60348 Posted June 1, 2007 Author Posted June 1, 2007 Ahhhhh I see now. Good idea and good luck if you get it to work. I don't know about most users but anything in this community that tries to do it for me, I shy away from. Too many chances to screw up my install. Even the Mirage factory auto installers I point to a blank folder on the desktop and drop it in there first. Normally I agree, but this release needs this. Quote
Guest Saganuay82 Posted June 1, 2007 Posted June 1, 2007 Well what is it then? What is so special it needs a special weapons editor? Quote
mustang60348 Posted June 1, 2007 Author Posted June 1, 2007 Well what is it then? What is so special it needs a special weapons editor? Check PM Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.