Saraphima 34 Posted April 16, 2014 Share Posted April 16, 2014 I was wondering if it's possible to mod the inventory. I was thinking something like making the characters inventory box to have a < > arrows so you could have pages of items. Personally I'm an item hoarder but I like to collect all the set item parts but there isn't enough room for them in characters inventory. If this could be done would it be possible for the chest as well? Link to comment
SX255 630 Posted April 16, 2014 Share Posted April 16, 2014 You can back up the "for all" chest contents by simply copying the "chest.sacred2chest" file in your save game directory. Link to comment
Saraphima 34 Posted April 16, 2014 Author Share Posted April 16, 2014 true but me and copy paste doesn't work to well I would hate to wipe out a chest. This idea is a little different to where you don't have to do that and can do it all in game. Link to comment
Malachor 11 Posted April 17, 2014 Share Posted April 17, 2014 I think it is possible. From my research, there are two areas to be changed: 1) the inventory ui, which is pretty easy. This is in skin-xml.zip 2) the actual code defining the inventory. In either a .dll file, or a .exe file. This is the part where I got stuck. What I tried was increasing the size of the stash, so it was the same height as the other ui components. Then I used IDA to disassemble s2logic.dll, and sacred2.exe and looked through them for anything relating to the inventory, noting the height and width(from ingame). The problem I got to was, now that I had, or thought I had the correct spot, how do I relate that to the .dll file(IDA creates a .idb file when it disassembles a file). And since my knowledge of this wasn't very good, and my google fu wasn't either, I basically gave up on it, hoping someone else would look into it. Link to comment
Saraphima 34 Posted April 18, 2014 Author Share Posted April 18, 2014 That sounds like it could be a good start I guess. I'm not a programmer so I have no clue if this could be done. I also thought about this idea as well, instead of saying you get 10 pages of empty space of your items plus the two sections of the chest, would it be possible to make an item like the book item that could expand all 3? The main point of this is not so you can collect every single item in the game but to mostly give room to be able to collect at least all the set items. Also on the inventory save files. Would it be possible to mod the game so each item page could be a separate file for example chest 1 file for page 1 and chest 2 file for page 2 but in game it loads them so when you turn pages it loads each file. Link to comment
AngelShade 53 Posted April 21, 2014 Share Posted April 21, 2014 Probably this would be possible for the guys that made the community patch they have tools far superior to those that are released. Link to comment
Saraphima 34 Posted April 22, 2014 Author Share Posted April 22, 2014 Maybe. It would be great if someone from the team could say if this is a possibility. Link to comment
Silver_fox 397 Posted April 22, 2014 Share Posted April 22, 2014 Well, I'm not a big part of the CM patch team, I participate in CM development only as a translator, but I know enough about CM and Sacred modding to say this much: It's a myth that CM devs have far superior tools denied to everybody else. The only editor CM devs actively use that was never released to general public is for in-game texts. All other things in CM and other mods are accomplished through editing the same txt and xml scripts than everybody else can access. The things that require disassembling and reassembling any dll and exe files are just as impossible for CM devs as they are to you. Which is why there are many known bugs that are repeatedly reported to CM bugtrecker and that remain unfixed, just because they are not in scripts and changing the hard code is impossible. 1 Link to comment
Saraphima 34 Posted April 22, 2014 Author Share Posted April 22, 2014 Thanks for clarifying that Silver Link to comment
AngelShade 53 Posted April 23, 2014 Share Posted April 23, 2014 Thank you fox for clearing that up, I thought they had tools wich they made for themselvs. Link to comment
grimwold 28 Posted April 29, 2014 Share Posted April 29, 2014 a shame really. I do think malachor might have been along the right lines. Sadly I have no experience of this. Link to comment
Saraphima 34 Posted March 20, 2015 Author Share Posted March 20, 2015 sorry for the late bump but has anybody attempted to mod inventory space since the tools were released? Link to comment
Malachor 11 Posted March 23, 2015 Share Posted March 23, 2015 What tools are you talking about? Link to comment
Popular Post Flix 5,116 Posted March 23, 2015 Popular Post Share Posted March 23, 2015 Silver Fox already definitively answered this almost a year ago. 2 Link to comment
Saraphima 34 Posted March 23, 2015 Author Share Posted March 23, 2015 right but that was asked before the res editor was released. I know there was some side playing with the chest part a while back as well. Any extra luck with that as well? Link to comment
Saraphima 34 Posted March 27, 2015 Author Share Posted March 27, 2015 (edited) hey just asking. Relax Has there been any attempt on increasing the stacks of potions to 99 instead of 20? I also remember there was some play with adding tabs to the chests in the past. I played with that in the past before the editor was released but couldn't get it to work before. I was thinking of retying it, has there been any luck with that as well? Edited March 28, 2015 by Saraphima Link to comment
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