Dragon Age: Inquisition Modding Tools

All about modding tools for Dragon Age: Inquisition
It is currently Fri Jun 23, 2017 11:55 pm

All times are UTC



Welcome
Welcome to the Dragon Age Modding tools forum

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!


Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 38 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Current Injection tests
PostPosted: Sat Dec 06, 2014 2:10 am 
Offline
Site Admin
User avatar

Joined: Fri Dec 05, 2014 3:43 am
Posts: 629
Has thanked: 14 time
Have thanks: 751 time
Hi All,

I will update this thread with all my injection tests and how it went, and screenshots of ingame.

So as we know I was able to replace the texture data of an ingame character, as per my last updates. Well now I have not only replaced the characters texture, but I changed its format and increased its resolution

Attachment:
TextureReplacement05.jpg
TextureReplacement05.jpg [ 450.76 KiB | Viewed 6782 times ]


That is a 4096x4096 DXT1 texture that has been applied. So this involved replacing the texture data chunk and the itexture resource.


Top
 Profile  
 
 
 Post subject: Re: Current Injection tests
PostPosted: Sat Dec 06, 2014 2:19 am 
Offline
Site Admin

Joined: Fri Dec 05, 2014 12:05 pm
Posts: 179
Has thanked: 35 time
Have thanks: 212 time
cool progress! is there a description of the steps you went to get this?

greetz WV

PS: enabled "thankyou" function and that thanks show up

_________________
Always backup your files!
WarrantyVoider has been thanked by:


Top
 Profile  
 
 Post subject: Re: Current Injection tests
PostPosted: Sat Dec 06, 2014 2:24 am 
Offline
Site Admin
User avatar

Joined: Fri Dec 05, 2014 3:43 am
Posts: 629
Has thanked: 14 time
Have thanks: 751 time
Currently the steps involved are as follows:

- Generate new cas file (cas_22.cas) with new compressed data
- Update cas.toc to append new sha1 entries to the end of the file, and as a safety measure, modify the existing sha1 entries (The ones you plan to replace) to point to the new cas
- Search through all TOC/SB files finding existing references to the above sha1's and modify to point to the new sha1's (And replace other data as required, ie. Chunks have rangeStart, rangeEnd, logicalOffset, logicalSize)
- Modify the associated TOC offsets and sizes if the SB changes size
- Search through all update files and do the same thing.
- Test in game.

Eventually I will test creating a new patch and not actually replacing any data.
Ehamloptiran has been thanked by:


Top
 Profile  
 
 Post subject: Re: Current Injection tests
PostPosted: Sat Dec 06, 2014 2:30 am 
Offline
Site Admin
User avatar

Joined: Fri Dec 05, 2014 4:21 am
Posts: 145
Has thanked: 208 time
Have thanks: 78 time
Now that's freaking awesome! Good to know we can get away doing stuff like that without conflicts with the engine. Have you still kept the cas size under a certain amount, or is the size increase not enough to matter?


Top
 Profile  
 
 Post subject: Re: Current Injection tests
PostPosted: Sat Dec 06, 2014 2:34 am 
Offline
Site Admin
User avatar

Joined: Fri Dec 05, 2014 3:43 am
Posts: 629
Has thanked: 14 time
Have thanks: 751 time
Im creating a new cas file, so I dont have to worry about existing sizes. And I haven't gone near the 1GB size to be able to test what happens yet.
Ehamloptiran has been thanked by:


Top
 Profile  
 
 Post subject: Re: Current Injection tests
PostPosted: Sat Dec 06, 2014 2:36 am 
Offline
Site Admin
User avatar

Joined: Fri Dec 05, 2014 4:21 am
Posts: 145
Has thanked: 208 time
Have thanks: 78 time
Yea, that's what I was referring to. The size limit ;p Wait a second..you created a completely new cas? @_@


Top
 Profile  
 
 Post subject: Re: Current Injection tests
PostPosted: Sat Dec 06, 2014 2:37 am 
Offline
Site Admin

Joined: Fri Dec 05, 2014 12:05 pm
Posts: 179
Has thanked: 35 time
Have thanks: 212 time
so the keys in the toc files dont matter? that will ease up alot^^

greetz WV

_________________
Always backup your files!


Top
 Profile  
 
 Post subject: Re: Current Injection tests
PostPosted: Sat Dec 06, 2014 2:40 am 
Offline
Site Admin
User avatar

Joined: Fri Dec 05, 2014 3:43 am
Posts: 629
Has thanked: 14 time
Have thanks: 751 time
Silvist wrote:
Yea, that's what I was referring to. The size limit ;p Wait a second..you created a completely new cas? @_@


Yes cas_22.cas is what I am using. Created by me

WarrantyVoider wrote:
so the keys in the toc files dont matter? that will ease up alot^^

greetz WV


The keys at the top of the TOC files? I was worried about them, but yeah, doesn't seem like they do anything, maybe some kind of initial digital signature for performing delta's during development or something
Ehamloptiran has been thanked by:


Top
 Profile  
 
 Post subject: Re: Current Injection tests
PostPosted: Sat Dec 06, 2014 2:54 am 
Offline
Site Admin
User avatar

Joined: Fri Dec 05, 2014 4:21 am
Posts: 145
Has thanked: 208 time
Have thanks: 78 time
That's even more awesome news, I must have missed that important little tid bit when you posted before. Thanks for the clarification!


Top
 Profile  
 
 Post subject: Re: Current Injection tests
PostPosted: Sat Dec 06, 2014 10:35 am 
Offline
Site Admin
User avatar

Joined: Fri Dec 05, 2014 3:43 am
Posts: 629
Has thanked: 14 time
Have thanks: 751 time
Okay I have had success in getting things to work with update files instead of modifying base files. Caveat is, it has to be a patch, and it has to override the existing patch (Not physically, but its set as a patch override). So the idea would be to merge existing data from the patch into the new patch so you dont loose anything and then append the new data. Anything that is not a patch override is considered a DLC and requires a license of some kind.
Ehamloptiran has been thanked by:


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 38 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred