inferno Posted November 6, 2003 Share Posted November 6, 2003 since i downloaded the vfs packer i have been trying to see how easy it is to add new things like weapons etc... to start off i thought i would add new armor called disruptor armor (yes i know its from x-com). To make it simple all i have done is copied the bio armor and given it a new name. My prob is im having a hard time getting it to show up in the game, i have edited a bunch of files which all containg something to do with bio armour, and added new entrys for my armor, but no luck. Has anyone else been able to do it? here are the files i have modified and created. strategic\configs\r&d\ *all 3 files*strategic\configs\ufopedia\listofglossary.txtstrategic\videos\ufopedia\ *added disruptor armour mfg.bik*strategic\models\interface\ufopedia\video\ *added disruptor armour mfg.txt*strategic\models\interface\r&d\video\ *added disruptor armour mfg.txt*strategic\textures\interface\r&d\anim\technology\ *added disruptor armour mfg.anim*strategic\textures\interface\ufopedia\anim\ *added disruptor armour mfg.anim* tactical\configs\game\listofarmor.txttactical\textures\alien_shield\ *added new folder with textures \02-purple\*tactical\textures\alien_shield\ *added alien_shield02-purple.anim*tactical\models\effects\alien_shield\ *added alien_shield02-purple.txt* Can anyone tell me if i have missed some files or to check that a certain thing is modified etc. I will keep u updated with my progress. Link to comment Share on other sites More sharing options...
inferno Posted November 6, 2003 Author Share Posted November 6, 2003 ok just a quick update. it seems that i was packing it wrong. u have to put the tactical folder and strategic folder in another one i.e mod, then pack it to over write the ones in the gamedata.vfs. Now when i load the game it crashes so i guess im getting abit further. Now to find out y its crashing. Link to comment Share on other sites More sharing options...
Slaughter Posted November 6, 2003 Share Posted November 6, 2003 I don't know why it's crashing, but have you tried the other editor? The one made by flux. You should try both I guess, to make sure you, and not the tool is to blame Link to comment Share on other sites More sharing options...
Llama8 Posted November 7, 2003 Share Posted November 7, 2003 When does it crash (start up, when trying to load an old game, when starting a new game, in the squad screen/etc...)? I use siggert's vfstool & it works fine for me, although I have yet to try to add anything new. Link to comment Share on other sites More sharing options...
Aralez Posted November 7, 2003 Share Posted November 7, 2003 Both tools can't add files, only edit existing ones. It even stands in their readme's Link to comment Share on other sites More sharing options...
Fnurg Posted November 7, 2003 Share Posted November 7, 2003 There is a way to add files, but its kinda lengthy and cumbersom method. Give me a mo to put together a quick tutorial Link to comment Share on other sites More sharing options...
Llama8 Posted November 7, 2003 Share Posted November 7, 2003 So we can "only" add new stuff that uses existing art/etc? Link to comment Share on other sites More sharing options...
sigget Posted November 7, 2003 Share Posted November 7, 2003 My tool should be able to add new files, its designed to do this. I have to admit it didnt go through enough testing before i released it. Ill just have to do some more tests and see what the problems could be. Dont hesitate on giving me error reports. // sigget Link to comment Share on other sites More sharing options...
Fnurg Posted November 7, 2003 Share Posted November 7, 2003 yea. sigget, im still having trouble with it. had use my old workaround btw, i've posted a topic that should explain how to get around this problem Link to comment Share on other sites More sharing options...
sigget Posted November 7, 2003 Share Posted November 7, 2003 argh, how frustrating this is, i should've fixed this several days ago, when you first complained about it fnurg the code reads sorta like this:if( exists(filename) ) delete(filename);f=create(filename)write(f,data)close(f); as you see there shouldnt be any trouble... maybe this has some connection to the fields we havent cracked yet... Link to comment Share on other sites More sharing options...
Fnurg Posted November 7, 2003 Share Posted November 7, 2003 complain? me? i mearly promted mabey its the elusive unknown1 come back to haunt us it seems to be some kinda problem with cluster allocation. do you update the usedclusters field and the cluster table (etc) when a new file is added? Link to comment Share on other sites More sharing options...
sigget Posted November 7, 2003 Share Posted November 7, 2003 absolutely, ive built vfs's from scratch and browsed them using my beta gui tool, i didnt have the game read them though. looking forward to hours of debugging :-/ my library is complete enough to allow for full editing of the vfs files, after all i built it primarily for my GUI tool. so renaming, deleteing, moving, extraction of individual files is all there... it even has support for file locks :-D damn that unknown1 ! Link to comment Share on other sites More sharing options...
Fnurg Posted November 7, 2003 Share Posted November 7, 2003 hehe. well, it was a bit of a shot in the dark on my part wonder what it could be then :dontgetit: if you need any help testing your vfs gui tool, gimme a shout. Link to comment Share on other sites More sharing options...
inferno Posted November 7, 2003 Author Share Posted November 7, 2003 hey people, it crashes when its loading a saved game.. aint tried a new game yet so i will go do it in a sec. i just read the modding guide which has some files that i aint edited yet so im gonna mess with them to see if it solves anything. Link to comment Share on other sites More sharing options...
inferno Posted November 7, 2003 Author Share Posted November 7, 2003 ok i also edited file in localizationpack.vfs and used sigget's tool to insert it back in. now i get this message ver: UFO:AM RELEASE 1.2 file C:\ufo_src\ASL\kvfs.cpp line:116 "Localization/LocalizationPack.vfs": bad CRC Sigget do u know what this could be? i haven't added any new files just modified a file by added text. is this CRC check anything to do with file size cause its gone from 188kb to 189kb? Link to comment Share on other sites More sharing options...
Fnurg Posted November 7, 2003 Share Posted November 7, 2003 you have to recalculate the md5sum of the localizationpack.vfs vfstool md5 localizationpack.vfs Link to comment Share on other sites More sharing options...
sigget Posted November 7, 2003 Share Posted November 7, 2003 did you recalculate the md5sum? Link to comment Share on other sites More sharing options...
inferno Posted November 7, 2003 Author Share Posted November 7, 2003 hehe u know what i knew i forgot something ??? anyhow here is my latest info. i can load a mission but something strange has happend. on some of my men, their health bar has stretched accross the screen. if i load the game the other way to the geosphere, it crashe once it gets to 100% i think i may have to undo what i have done and try again but do it more at one step at a time. oh and creating a new game don't work either. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now