hmmm... sorry, but I don't really have good news.
Except those ati2-ones, I#ve now managed to get every graphic to dxt5 but it seems to make no difference.
I changed from ImageMagick to nconvert for the conversion but same result.
I'm running out of options here.
Either there is something else wrong with the gfx, other than the compression method
Or it is something very different
Scul, you sayed that you where talking to the scs-people and they knew what would be wrong.
So, can you give a more precise description what to look for or how to fix a single broken file? Are there special color-maps or dimentions not working? Is this "end-marker" somwhere inside the file not beeing part of the dds-format?
[SOLVED] Textures going C-R-A-Z-Y!!!
Well I'm starting to suspect that the problem may not be within the textures themselves (although it's good the broken ones are fixed), but possibly in the TOBJ files that point to the textures, and maybe include a space or character that then "trips" the 3D engine.
To analyse all TOBJ files will take me some more time
To analyse all TOBJ files will take me some more time
I am Dutch living in New Zealand and I speak EN DE SE FR
hi Scul,
I had the same suspicion and tried to work out a test.
So I went to "pink world" by deleting every dds-file in the mod and starting it.
As you can see. At least the map is still broken since there is anything on these roads but not a a workshop. Even the white squares appear and red and pink roads didn't appear at first.
Can SCS help with that? In the end there is one example needed. It's not that a big deal to scan all the tobj-textfiles if I know what to look for.
I had the same suspicion and tried to work out a test.
So I went to "pink world" by deleting every dds-file in the mod and starting it.
As you can see. At least the map is still broken since there is anything on these roads but not a a workshop. Even the white squares appear and red and pink roads didn't appear at first.
Can SCS help with that? In the end there is one example needed. It's not that a big deal to scan all the tobj-textfiles if I know what to look for.
- Attachments
-
- ets2_00006.jpg (163.21 KiB) Viewed 2436 times
As far as I know the correct TOBJ format for ETS2 works as following:
Header:
01 0A B1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 03 03 03 00 02 02 00 00 00 00 00 01 00 00 2A 00 00 00 00 00 00 00
where 2A equals the length of the path to the file following;
in this case:
/model/sign/traffic/traffic_signs_se_2.dds
is 42 characters long which equals 2A in hex.
So the total file then becomes:
01 0A B1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 03 03 03 00 02 02 00 00 00 00 00 01 00 00 2A 00 00 00 00 00 00 00 2F 6D 6F 64 65 6C 2F 73 69 67 6E 2F 74 72 61 66 66 69 63 2F 74 72 61 66 66 69 63 5F 73 69 67 6E 73 5F 73 65 5F 32 2E 64 64 73
The older TOBJ format can have a different header:
01 0A B1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 03 03 03 00 02 02 00 00 00 00 00 88 39 00 28 00 00 00 00 00 00 00
(here 28 is the length)
The main difference here are the bits with 88 39. So basically if you can identify TOBJ files that have faulty headers you could track them down..
Header:
01 0A B1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 03 03 03 00 02 02 00 00 00 00 00 01 00 00 2A 00 00 00 00 00 00 00
where 2A equals the length of the path to the file following;
in this case:
/model/sign/traffic/traffic_signs_se_2.dds
is 42 characters long which equals 2A in hex.
So the total file then becomes:
01 0A B1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 03 03 03 00 02 02 00 00 00 00 00 01 00 00 2A 00 00 00 00 00 00 00 2F 6D 6F 64 65 6C 2F 73 69 67 6E 2F 74 72 61 66 66 69 63 2F 74 72 61 66 66 69 63 5F 73 69 67 6E 73 5F 73 65 5F 32 2E 64 64 73
The older TOBJ format can have a different header:
01 0A B1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 03 03 03 00 02 02 00 00 00 00 00 88 39 00 28 00 00 00 00 00 00 00
(here 28 is the length)
The main difference here are the bits with 88 39. So basically if you can identify TOBJ files that have faulty headers you could track them down..
I am Dutch living in New Zealand and I speak EN DE SE FR
Files with bad header:
But you should know that half the files don't match your 'good header' exactly
Enjoy: http://goo.gl/HeFNyH
Code: Select all
./model/sign/reflective_post_no.tobj
./model/sign/navigation/board_fi2.tobj
./model/sign/navigation/symbol_dk.tobj
./model/sign/navigation/board_fi3.tobj
./model/sign/navigation/symbol_fi.tobj
./model/sign/navigation/dk_sr_round.tobj
./model/sign/navigation/no_sr_round.tobj
./model/sign/navigation/symbol_se.tobj
./model/sign/navigation/se_sr_round.tobj
./model/sign/navigation/symbol_no.tobj
./model/sign/traffic/traffic_signs_fi_2.tobj
./model/sign/traffic/traffic_signs_fr_3.tobj
./model/sign/traffic/traffic_signs_ie_2.tobj
./model/sign/traffic/traffic_signs_dk.tobj
./model/sign/traffic/traffic_signs_se.tobj
./model/sign/traffic/traffic_signs_es.tobj
./model/sign/traffic/traffic_signs_fr_4.tobj
./model/sign/traffic/traffic_signs_dk_3.tobj
./model/sign/traffic/traffic_signs_es_2.tobj
./model/sign/traffic/traffic_signs_no.tobj
./model/sign/traffic/traffic_signs_dk_2.tobj
./model/sign/traffic/traffic_signs_es_3.tobj
./model/sign/traffic/traffic_signs_fi.tobj
./model/sign/reflective_post_dk.tobj
./model/panorama/denmark/kobenhavn.tobj
./material/ui/map/road/road_se_rv44.tobj
./material/ui/map/road/road_fi_vt3.tobj
./material/ui/map/road/road_fi_vt9.tobj
./material/ui/map/road/road_se_rv40.tobj
./material/ui/map/road/road_se_rv26.tobj
./material/ui/map/road/road_se_e20.tobj
./material/ui/map/road/road_fi_e12.tobj
./material/ui/map/road/road_se_rv50.tobj
./material/ui/map/road/road_fi_e18.tobj
./material/ui/map/road/road_se_rv49.tobj
./material/ui/map/road/road_se_e4.tobj
./material/ui/map/road/road_dk_e45.tobj
./material/ui/map/road/road_fi_vt1.tobj
./material/ui/map/road/road_dk_e47.tobj
./material/ui/map/road/road_se_e45.tobj
./material/ui/map/road/road_dk_o3.tobj
./material/ui/map/road/road_dk_e55.tobj
./material/ui/map/road/road_dk_n11.tobj
./material/ui/map/road/road_fi_e63.tobj
./material/ui/map/road/road_dk_e20.tobj
./material/ui/map/road/road_dk_e39.tobj
./material/ui/map/road/road_se_e6.tobj
./material/ui/map/road/road_se_e18.tobj
./material/ui/lp/sweden/rear.tobj
./material/ui/lp/denmark/rear.tobj
./material/ui/lp/ireland/rear.tobj
./material/ui/lp/norway/rear.tobj
Enjoy: http://goo.gl/HeFNyH
Last edited by LA-MJ on 24 Jan 2014 06:42, edited 1 time in total.
Headers found in base.scs:
Varying bytes (from 0): 22, 24, 26-28, 30-33, 38
If we exclude the bad headers, promods content has additional varying bytes (00 vs 01) at 20 and 37.
Code: Select all
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 01 00 03 03 02 00 02 00 00 01 00 00 00 01 00 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 00 00 02 00 00 00 00 01 00 00 00 01 01 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 00 00 02 00 02 02 00 00 00 00 00 01 00 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 00 00 02 00 02 02 00 01 00 00 00 01 00 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 00 00 02 00 02 02 00 01 00 00 00 01 01 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 01 01 02 00 02 02 00 01 00 00 00 01 00 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 01 01 02 00 02 02 00 01 00 00 00 01 01 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 03 03 02 00 00 00 00 00 00 00 00 01 00 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 03 03 02 00 00 00 00 00 00 00 00 01 01 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 03 03 02 00 00 00 00 01 00 00 00 01 00 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 03 03 02 00 00 00 00 01 00 00 00 01 01 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 03 03 02 00 00 02 00 01 00 00 00 01 01 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 03 03 02 00 02 00 00 01 00 00 00 01 01 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 03 03 02 00 02 02 00 00 00 00 00 01 00 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 03 03 02 00 02 02 00 00 00 00 00 01 01 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 03 03 02 00 02 02 00 01 00 00 00 01 00 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 03 03 02 00 02 02 00 01 00 00 00 01 01 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 03 03 03 00 00 00 00 00 00 00 00 01 00 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 03 03 03 00 00 00 00 00 00 00 00 01 01 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 03 03 03 00 00 00 00 01 00 00 00 01 00 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 03 03 03 00 00 00 00 01 00 00 00 01 01 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 03 03 03 00 00 02 00 00 00 00 00 01 00 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 03 03 03 00 00 02 00 01 00 00 00 01 00 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 03 03 03 00 02 00 00 00 00 00 00 01 00 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 03 03 03 00 02 02 00 00 00 00 00 01 00 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 03 03 03 00 02 02 00 00 00 00 00 01 01 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00 03 03 03 00 02 02 00 01 00 00 00 01 00 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 05 00 03 03 02 00 02 02 02 00 00 00 00 01 00 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 05 00 03 03 02 00 02 02 02 01 00 00 00 01 00 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 05 00 03 03 03 00 02 02 02 00 00 00 00 01 00 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 02 00 03 03 03 00 00 00 00 01 00 00 00 01 01 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 02 00 03 03 03 00 02 02 00 01 00 00 00 01 01 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 02 00 03 03 02 00 00 00 00 00 00 00 00 01 00 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 02 00 03 03 02 00 02 02 00 00 00 00 00 01 00 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 02 00 03 03 03 00 00 00 00 00 00 00 00 01 00 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 02 00 03 03 03 00 02 02 00 00 00 00 00 01 00 00
01 0a b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 02 00 03 03 03 00 02 02 00 01 00 00 00 01 00 00
If we exclude the bad headers, promods content has additional varying bytes (00 vs 01) at 20 and 37.
Right... So I flipped 88 39 to 01 00 in all files and updated my archive with good versions of dds and tobj files and presto:
Started a trip from Denmark to Sweden and haven't seen a broken texture in 10 minutes of gameplay
Made my day
Although noticed a weird rendering glitch:
Not sure if related.
Started a trip from Denmark to Sweden and haven't seen a broken texture in 10 minutes of gameplay
Made my day
Although noticed a weird rendering glitch:
Not sure if related.
- MandelSoft
- Lead Developer
- Posts: 3835
- Joined: 08 Aug 2013 10:48
- Location: Delft [NL]
That last bug is not related. I've seen this too in the Windows version with Direct X.
Excellent work on tracking the texture bug
Excellent work on tracking the texture bug
Your daily dose of wisdom!
╔═══╗────╔═╗╔═╗────╔╗
║╔═╗║────║║╚╝║║────║║
║╚═╝╠═╦══╣╔╗╔╗╠══╦═╝╠══╗
║╔══╣╔╣╔╗║║║║║║╔╗║╔╗║══╣
║║──║║║╚╝║║║║║║╚╝║╚╝╠══║
╚╝──╚╝╚══╩╝╚╝╚╩══╩══╩══╝
Don't ask us for a release date; we don't know either.
╔═══╗────╔═╗╔═╗────╔╗
║╔═╗║────║║╚╝║║────║║
║╚═╝╠═╦══╣╔╗╔╗╠══╦═╝╠══╗
║╔══╣╔╣╔╗║║║║║║╔╗║╔╗║══╣
║║──║║║╚╝║║║║║║╚╝║╚╝╠══║
╚╝──╚╝╚══╩╝╚╝╚╩══╩══╩══╝
Don't ask us for a release date; we don't know either.
I am Dutch living in New Zealand and I speak EN DE SE FR
-
- Information
-
Who is online
Users browsing this forum: No registered users and 8 guests