Let's carry that on here.
What is the graphic you are trying to change?
Yes, brilliant idea.
I'm trying to replace the file that starts at 7A9B10 with an upscaled version. I'm still not even really sure if it's a .TEX file or a .TIM file (pretty sure it's a .TIM) -- and could even possibly be a .LZS, but I have no way of telling because I'm a newb.
I used TimViewer to scan the raw .exe for images and it pulled up a lot of images, but the first five files were the images for Triple Triad that I wanted -- located at positions 796A90 (big text/icons), 7A96B0 (small text), 7A9B10 (entire card set as one file), 820B30 (playing grid/mat), and 84AB44 (background). I'm pretty sure they're Tim files because TimViewer had no problem recognizing them and all of their palettes.
The file I wanted to upscale turned out to be at 7A9B10 - so with TimViewer, I extracted it as a TIM - converted it to a .BMP, threw it in photoshop and completely re-did all of the cards in that file with much higher resolution versions (see
above photos for comparison) and then converted it back into a TIM file. It even opens up in TimViewer like a charm... so none of this seems to be my problem.
TimViewer has an option to then re-insert the new TIM file that I've made, but every time I try it causes the .exe to crash. Most likely this is due to the .exe expecting a 1792x256 (449kb) image, and finding a 7168x1024 (7mb) file instead...lol. I guess I shouldn't smash things into .exe's that don't belong there. I was hoping I might be able to find some hex that lets me modify the memory of the .exe to accept a bigger file... or something.
[ EDIT: LOL so I scanned the file again and the size needed for the new TIM makes the current sector need to grow from 487,456 bytes to 7,344,128 -- currently, it's over-writing parts of the .exe and causing my crash. ]
[ EDIT 2: After reading some posts in the Archive, I've run across something interesting. Would there be a way for me to put this TIM at the end of the .exe and then have DLPB Tools redirect the .exe to that TIM file instead of the original?]
Also - as a side note that 5way points out, even if the game could see my new file, it would be looking for images in the wrong pixel locations and I would most likely just get 1/4 of an image in each card in-game, as he did when he attempted an upscale in
this post.Sorry if it's a lot, but I like to be thorough.