32-bit mode hook
Moderator: JeremyaFr
Re: 32-bit mode hook
- blue_max
- Posts: 2264
- Joined: Wed Mar 20, 2019 5:12 am
I agree with Jeremy: the fix would be to modify the .mat file to also use the same "_fg_" suffix for the affected textures.
Your focus determines your reality.
- Master Qui-Gon
- Posts: 1349
- Joined: Tue Oct 23, 2001 11:01 pm
I tried adding this line...with and without the c in fg..
[Tex00000,Tex00000_fg_0,Tex00001,Tex00002,Tex00003]
NormalMap = Effects\SlaveOne.dat-0-1
No luck
Your focus determines your reality.
- blue_max
- Posts: 2264
- Joined: Wed Mar 20, 2019 5:12 am
Just to close this question, the solution was to name the textures with the format:
TEXNNNNN_fg_M_SKINNAME
in the .mat file. For this example, they look like this:
[Tex00000_fg_0_Default,Tex00000_fg_1_Default,Tex00000_fg_2_Default,Tex00000_fg_3_Default]
NormalMap = Effects\SlaveOne.dat-0
and a different section has to be added for each skin.
TEXNNNNN_fg_M_SKINNAME
in the .mat file. For this example, they look like this:
[Tex00000_fg_0_Default,Tex00000_fg_1_Default,Tex00000_fg_2_Default,Tex00000_fg_3_Default]
NormalMap = Effects\SlaveOne.dat-0
and a different section has to be added for each skin.
- JeremyaFr
- Posts: 3603
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
Hello,
Since all the texture markings share the same normal map, it might be better to have only:
Code: Select all
[Tex00000]
NormalMap = Effects\SlaveOne.dat-0
- blue_max
- Posts: 2264
- Joined: Wed Mar 20, 2019 5:12 am
Yeah, that would work, and then if someone wants to add a custom normal map for a specific skin, they can add new lines to do the override. Yeah, that's a great suggestion, Jeremy.JeremyaFr wrote: ↑Thu Jan 05, 2023 7:19 pmHello,
Since all the texture markings share the same normal map, it might be better to have only:Then from the Effects DDraw code, search in the texture name the string "_fg_" to get the texture base name.Code: Select all
[Tex00000] NormalMap = Effects\SlaveOne.dat-0
- JeremyaFr
- Posts: 3603
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
UPDATE
Hello,
I've updated the 32bpp hook.
I've fixed a crash with compressed skins.
Hello,
I've updated the 32bpp hook.
I've fixed a crash with compressed skins.
- JeremyaFr
- Posts: 3603
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
Hello,
If the game is working fine for you then it is not necessary to update the hooks.
If the game is working fine for you then it is not necessary to update the hooks.