chuim / texmod

Automatically exported from code.google.com/p/texmod
0 stars 0 forks source link

Less textures #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Play Fifa 12
2.
3.

What is the expected output? What do you see instead?
There are less textures than must be. There are much more textures In version 
0.9b.

What version of the product are you using? On what operating system?
opentextmod beta r18. Windows 7 x64

Please provide any additional information below.

Original issue reported on code.google.com by j8vegaro...@hotmail.com on 22 Oct 2011 at 10:42

GoogleCodeExporter commented 8 years ago
Did you load the mod, while the original texture were loaded by the game (e.g. 
the map was loaded) or did you load the mod before the original texture were 
loaded by the game (e.g. you save the settings, set them as default and restart 
the game, thus the mod is loaded directly at game start)?

If the problem is independent of whether the original texture were loaded 
before or not, I need the log file of the dll. Can you please rerun Fifa 12 
with OpenTexMod V 1.0 Alpha r17. In all Alpha versions the logging mode is 
enabled and I need the log file for further information.

It might be possible, that the hash calculation of some special texture types 
is different from that in the original TexMod, so I need to look through all 
textures that were loaded by the game and their corresponding hash.

Original comment by mar...@koerner-de.net on 23 Oct 2011 at 10:19

GoogleCodeExporter commented 8 years ago
i open texmod, later game, then i go ingame to selection of kits ot the 
teams.All the textures are loaded.
1-with original Texmod it detect 987 textures.
2-whit otm it detect 458 textures.

I want to edit a kit for a team in original texmod it is 0xCA755C00. But in otm 
when i extract all textures or i try to find it individual in dont apear.

The problem is that it dont detect the textures that i want to mod.
otherway i edit another texture that it detect(banners of stadiums) an it were 
well modded ingame.

I cant attach log file cause it dont generate this in r17.

Original comment by j8vegaro...@hotmail.com on 23 Oct 2011 at 11:36

GoogleCodeExporter commented 8 years ago
The numbers are from the texture logging mode? If so, the counter of the 
original TexMod might be higher than of OTM, since I think that the original 
TexMod keep in mind all textures that were loaded by the game (since game 
start). But OTM counts only textures, that are actually loaded.

I try to reflect with my own word:

1) You switched on "save single texture", but you cannot select the texture you 
want to save. That means: you can see the texture on screen, but you cannot 
toggle to it thus it gets not dyed green.
2) You switched on "save all texture", but you cannot find a file with the same 
hash in the save folder AND you do not find a texture that looks the same but 
has a different hash value. 

Original comment by c...@koerner-de.net on 23 Oct 2011 at 11:59

GoogleCodeExporter commented 8 years ago
Sorry i find log file in game folder.

yes the numbers are from loggin mode. 

You reflect well what happend.

Original comment by j8vegaro...@hotmail.com on 23 Oct 2011 at 12:24

Attachments:

GoogleCodeExporter commented 8 years ago
Did the Fifa 12 crash or did you not attach the whole log file?

Can you please use the attached dll. I gather in this dll also textures, which 
are created with POOL_DEFAULT. Now hopefully all textures created by the game 
should be selectable (if "save single texture" is turned on).

Original comment by c...@koerner-de.net on 23 Oct 2011 at 1:10

GoogleCodeExporter commented 8 years ago
I exit fifa12 with alt+f4 and i attach the whole log file.

With the attached dll fifa crash when it start.("save single texture" is turned 
on).

Original comment by j8vegaro...@hotmail.com on 23 Oct 2011 at 1:59

GoogleCodeExporter commented 8 years ago
dammed, I insert a bug in the dll I have attached before (if creating the 
"single texture").

This dll does not crash^^

Original comment by c...@koerner-de.net on 23 Oct 2011 at 2:07

Attachments:

GoogleCodeExporter commented 8 years ago
now it dont crush but i still cant select the texture that i want.
i attach the new log file.

Original comment by j8vegaro...@hotmail.com on 23 Oct 2011 at 4:24

Attachments:

GoogleCodeExporter commented 8 years ago
Sorry, it took a while to find a bug. I needed to change the code of the 
calculation of the hash. New code = new bugs ;)

I hope you can now select your target texture, but since I do not have Fifa 12 
I cannot test it. But I guess, that even if you can now switch to the target 
texture the hash calculated from OTM will differ from the original TM :-(

Original comment by mar...@koerner-de.net on 25 Oct 2011 at 7:41

Attachments:

GoogleCodeExporter commented 8 years ago
I am grateful for your effort but it continues without working.

I know that try to resolve a problem without testing is even harder so thanks 
for your interest.

I can only select the same as before.

Original comment by j8vegaro...@hotmail.com on 25 Oct 2011 at 9:41

GoogleCodeExporter commented 8 years ago
Can you upload the new log file please, I need to know which function fails.

Original comment by c...@koerner-de.net on 26 Oct 2011 at 7:25

GoogleCodeExporter commented 8 years ago
The new log.

Original comment by j8vegaro...@hotmail.com on 26 Oct 2011 at 9:24

Attachments:

GoogleCodeExporter commented 8 years ago
Thank you.

One main problem remain. I only log "normal" textures, but not volume or cube 
textures. And I think, your desired textures might be volume textures. But it 
will take a moment to extend the code...

I attach a dll which will write a log message, if volume or cube texture are 
created. So you can see if these texture types are used.
The messages are:
OTM_IDirect3DDevice9::CreateVolumeTexture
OTM_IDirect3DDevice9::CreateCubeTexture

Original comment by mar...@koerner-de.net on 26 Oct 2011 at 3:40

Attachments:

GoogleCodeExporter commented 8 years ago
the two messages are there.

Original comment by j8vegaro...@hotmail.com on 26 Oct 2011 at 6:08

Attachments:

GoogleCodeExporter commented 8 years ago
I attached a new dll which supports now cube and volume texture. If they are 
loaded by the game and OTM could calculate the hash for these textures, you can 
now toggle them like the "normal" textures. But as I don't have a game using 
volume textures I can't test if it is working (e.g. if the target textures is 
dyed green, if saving works correctly or if you can load modified textures back 
into game).

I hope you can now select your textures. If not please upload the log file.

Original comment by c...@koerner-de.net on 1 Nov 2011 at 12:27

Attachments:

GoogleCodeExporter commented 8 years ago
The game crush when it start.

Original comment by j8vegaro...@hotmail.com on 1 Nov 2011 at 6:17

GoogleCodeExporter commented 8 years ago
Can you please attach the log file. The bug should be in the parts of the 
volume texture :-/

Original comment by mar...@koerner-de.net on 1 Nov 2011 at 6:37

GoogleCodeExporter commented 8 years ago
I found two bugs (both could lead to fatal errors), I hope it does not crash 
any more ...

Original comment by mar...@koerner-de.net on 2 Nov 2011 at 8:58

Attachments: