Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
503 views
in Technique[技术] by (71.8m points)

xna - Using DD to write data from one file, to a specific address of another file

So I am working on a tool to allow for Custom Camo textures inside a XNA / MonoGame First Person Shooter called False Front. Firstly, I've checked to make sure this does not violate their Terms. I have also contacted a studio head to be safe. I've managed to extract the games files (in .XNB format) and using XNBCli have been able to access the .PNGs. Until now to reinsert the file back into the game, I've had to do so manually by replacing the bytes with HxD. I was looking for new alternatives when I stumbled upon DD. How would I go about inserting all the data inside "X800_green_T.xnb" to "ContentFile.scc" at B224BE6C. I've had absolutely no experience with DD (aside from hearing about it previously on Linux), so any help is greatly appreciated! I've explored the usage of batch files to do it but I haven't been able to find a decent alternative. If you believe you have something that may work better than DD, please let me know. Thanks!

question from:https://stackoverflow.com/questions/65930310/using-dd-to-write-data-from-one-file-to-a-specific-address-of-another-file

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...