November 6, 200322 yr 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.
November 6, 200322 yr Author 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.
November 6, 200322 yr 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
November 7, 200322 yr 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.
November 7, 200322 yr Both tools can't add files, only edit existing ones. It even stands in their readme's
November 7, 200322 yr There is a way to add files, but its kinda lengthy and cumbersom method. Give me a mo to put together a quick tutorial
November 7, 200322 yr 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
November 7, 200322 yr 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
November 7, 200322 yr 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...
November 7, 200322 yr 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?
November 7, 200322 yr 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 !
November 7, 200322 yr 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.
November 7, 200322 yr Author 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.
November 7, 200322 yr Author 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?
November 7, 200322 yr you have to recalculate the md5sum of the localizationpack.vfs vfstool md5 localizationpack.vfs
November 7, 200322 yr Author 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.
Create an account or sign in to comment