gil-unx / GEBCS

MIT License
4 stars 1 forks source link

More .res function #12

Closed DarkGD123 closed 3 weeks ago

DarkGD123 commented 4 weeks ago

Is it possible to add more files into a .res file?

Like a GUI or some sort to view a .res file content considering the .xml version of them is kinda hard to understand, and which you can just check the contents of the .res files, like the file name, file size, file offset. but not showing their images/models and such. and the tool could do some cool things like adding new files or replacing existing file or just simply viewing it.

~Dark

gil-unx commented 3 weeks ago

It seems a bit difficult, because the files in res are nested, like xx.res/xx.res/xx.res. if you edit a local file in res, you have to update the size pointer associated with that file, and so on until you get to system.res

nachotacos69 commented 3 weeks ago

so, basically in the .json file for one .res file, we have to adjust certain offsets here and there to add a new file?

DarkGD123 commented 3 weeks ago

IF the .json has more deeper explanation, it would be nice that we can add files in that method anyways

nachotacos69 commented 3 weeks ago

yeah, but i think gil-unx should be sufficient for now