I had a thought...

#6
It should be doable without a hex editor. There are only a few things that could cause a wrong file size error when you re-insert a TIM: the image's dimension have been changed, bits-per-pixel has been changed (16 color to 256 color etc), or the number of palettes attached to the TIM has been changed. All of those problems can be fixed by using the right procedure. ‎ 

I usually use TimViewer and the procedure I use is:

- Drag the file with the TIMs off the disk (MIX.TIM in KFJ) to the desktop. You can also use ‎  CDMage to extract the file from the BIN/CUE by opening the cue, then right-clicking on the file to extract and ‎  select "Extract Files" > "Extract" ‎ 
- In TimViewer use "File > Scan Raw File" to scan MIX.TIM
- In TimViewer use "File > Save Multiple Files" to ‎  extract all TIMs from MIX.TIM
- In TimViewer use "Convert > TIM to BMP" to convert all the extracted TIMS to bitmaps
- Edit the BMPs as desired, but make sure the final image is the same size and BPP as the original TIM
- In TimViewer use "Convert > BMP to TIM" to convert the edited textures back to TIMs
- In TimViewer use "File > Insert TIM file(s)" to reinsert the edited TIMs into MIX.TIM
- Use CDMage to reinsert the edited MIX.TIM into the BIN/CUE file (Right-click on file > "Import File")

Looking at the weapons/items from KFJ, I'd say most of them don't use textures, but have the colors applied directly to the 3D models polygons. ‎  There are some exceptions like the wood texture handles or stone textures on the Dragon Sword and Dungeon key. I would expect those are somewhere in the regular TIM files.

In King's Filed Japan, it looks like the enemy textures are the last TIM in the MIX.TIM files. I see the skeleton's shield texture there and also the Man Trap's skin and mouth insides, mummy bandages etc.


Attached Files
.bmp   8.bmp (Size: 65.05 KB / Downloads: 578)
Reply



Messages In This Thread
I had a thought... - by StolenBattenberg - 2013-08-04, 04:45 PM
Re: I had a thought... - by HwitVlf - 2013-08-04, 10:30 PM
Re: I had a thought... - by HwitVlf - 2013-08-04, 10:46 PM
Re: I had a thought... - by StolenBattenberg - 2013-08-05, 10:23 AM
Re: I had a thought... - by StolenBattenberg - 2013-08-05, 12:08 PM
Re: I had a thought... - by HwitVlf - 2013-08-05, 08:46 PM
Re: I had a thought... - by StolenBattenberg - 2013-08-05, 10:41 PM
Re: I had a thought... - by StolenBattenberg - 2013-08-05, 11:40 PM
Re: I had a thought... - by HwitVlf - 2013-08-06, 12:25 AM
Re: I had a thought... - by StolenBattenberg - 2013-08-06, 02:09 AM
Re: I had a thought... - by StolenBattenberg - 2013-08-06, 02:14 AM
Re: I had a thought... - by HwitVlf - 2013-08-07, 02:29 AM
Re: I had a thought... - by StolenBattenberg - 2013-08-07, 05:54 PM
Re: I had a thought... - by Guyra - 2013-08-07, 07:01 PM
Re: I had a thought... - by StolenBattenberg - 2013-08-07, 09:04 PM
Re: I had a thought... - by StolenBattenberg - 2013-08-07, 11:01 PM
Re: I had a thought... - by HwitVlf - 2013-08-08, 01:14 AM
Re: I had a thought... - by HwitVlf - 2013-08-08, 03:55 AM
Re: I had a thought... - by StolenBattenberg - 2013-08-08, 10:48 AM
Re: I had a thought... - by HwitVlf - 2013-08-11, 09:03 PM
Re: I had a thought... - by StolenBattenberg - 2013-08-16, 02:08 PM
Re: I had a thought... - by HwitVlf - 2013-08-16, 07:44 PM
Re: I had a thought... - by StolenBattenberg - 2013-08-19, 12:37 PM
Re: I had a thought... - by StolenBattenberg - 2013-09-21, 07:27 PM
Re: I had a thought... - by HwitVlf - 2013-09-22, 04:27 AM
Re: I had a thought... - by StolenBattenberg - 2013-09-22, 04:53 PM
Re: I had a thought... - by Hguols - 2013-09-23, 01:26 PM
Re: I had a thought... - by HwitVlf - 2013-09-23, 11:15 PM



Users browsing this thread:
11 Guest(s)