I can't do a .tobj (please help)

Swedish
User avatar
edde479
Posts: 82
Joined: 29 Dec 2013 20:04
Donation rank:
Location: Östergötland, Sweden

30 May 2014 11:32

Whait I have the bak file also in the overlay map! aha!


Whait I test again!

User avatar
edde479
Posts: 82
Joined: 29 Dec 2013 20:04
Donation rank:
Location: Östergötland, Sweden

30 May 2014 11:37

(Sorry for double post!)

This is the game.log again:

00:00:50.893 : Building kdop tree for all sectors.
00:00:50.895 : Sectors' trees finished.
00:00:50.900 : <ERROR> [fs] Failed to open file "/material/ui/map/road/road_se_rv27.mat" in the read_only mode
00:00:50.900 : <ERROR> [material] Can not open '/material/ui/map/road/road_se_rv27.mat'
00:00:54.301 : Building kdop tree for all sectors.
00:00:54.303 : Sectors' trees finished.
00:01:13.469 : <ERROR> [zipfs] The was an error while decoding (road_se_rv27.tobj)
00:01:13.469 : <ERROR> [zipfs] Failed to decode data! (road_se_rv27.tobj).
00:01:13.469 : <ERROR> [fs] cached read - buffer update failed (/material/overlay/road_se_rv27.tobj)
00:01:13.469 : <ERROR> [tobj] Can not read '/material/overlay/road_se_rv27.tobj'
00:01:13.540 : <ERROR> [tobj] NULL texture data
00:01:13.540 : <ERROR> [tobj] NULL texture data
00:01:13.540 : <ERROR> [dx9] Failed to create texture in hw_load().
00:01:13.540 : <ERROR> FIXME: Texture update failed (/material/overlay/road_se_rv27.tobj)
00:01:13.540 : <ERROR> [tobj] NULL texture data
00:01:13.540 : <ERROR> [tobj] NULL texture data
00:01:13.540 : <ERROR> [dx9] Failed to create texture in hw_load().


WHAT DOES "null"! Why can't ETS2 not read the tobj file!



Can anyone send a finished tobj file! or something...

User avatar
MandelSoft
Lead Developer
Posts: 3835
Joined: 08 Aug 2013 10:48
Location: Delft [NL]

30 May 2014 11:49

How exactly did you edit your TOBJ file?
Your daily dose of wisdom!
╔═══╗────╔═╗╔═╗────╔╗
║╔═╗║────║║╚╝║║────║║
║╚═╝╠═╦══╣╔╗╔╗╠══╦═╝╠══╗
║╔══╣╔╣╔╗║║║║║║╔╗║╔╗║══╣
║║──║║║╚╝║║║║║║╚╝║╚╝╠══║
╚╝──╚╝╚══╩╝╚╝╚╩══╩══╩══╝
Don't ask us for a release date; we don't know either.

User avatar
edde479
Posts: 82
Joined: 29 Dec 2013 20:04
Donation rank:
Location: Östergötland, Sweden

30 May 2014 13:29

With HxD!

..±p.................................... ......./material/overlay/road_se_rv27.dds

Those other numbers behind, I can't copy with the...
Last edited by edde479 on 30 May 2014 13:46, edited 1 time in total.

User avatar
ScuL
Founder
Posts: 10585
Joined: 31 Jul 2013 23:51
Location: Auckland, New Zealand

30 May 2014 13:34

The TOBJ format also includes the length of the filename so if you renamed it from something that was also 2 charachters (like road_se_rv80.dds) or something it would be fine. But if you would take it from a single char (road_se_rv7.dds) you would need to adapt the length position. It's stored in hex value.
I am Image Dutch living in Image New Zealand and I speak Image EN Image DE Image SE Image FR
Image

User avatar
MandelSoft
Lead Developer
Posts: 3835
Joined: 08 Aug 2013 10:48
Location: Delft [NL]

30 May 2014 13:36

Have you tried the other TOBJ editor I linked?
Your daily dose of wisdom!
╔═══╗────╔═╗╔═╗────╔╗
║╔═╗║────║║╚╝║║────║║
║╚═╝╠═╦══╣╔╗╔╗╠══╦═╝╠══╗
║╔══╣╔╣╔╗║║║║║║╔╗║╔╗║══╣
║║──║║║╚╝║║║║║║╚╝║╚╝╠══║
╚╝──╚╝╚══╩╝╚╝╚╩══╩══╩══╝
Don't ask us for a release date; we don't know either.

User avatar
edde479
Posts: 82
Joined: 29 Dec 2013 20:04
Donation rank:
Location: Östergötland, Sweden

30 May 2014 13:52

What, have I done wrong?

(If so: what?) :|

User avatar
Nico
Founder
Posts: 3534
Joined: 01 Aug 2013 09:40
Donation rank:
Location: Apeldoorn, Gelderland

30 May 2014 13:57

First of all you are missing the .mat file....


Secondly your .tobj file seems to be corrupt. At least it doesn't contain any texture data.
Am I developing at the moment?
Image
STDS, ETS2, ATS Beta Tester
Main Developer of ProMods and Moderator.

User avatar
edde479
Posts: 82
Joined: 29 Dec 2013 20:04
Donation rank:
Location: Östergötland, Sweden

30 May 2014 14:03

.mat file (in notepad++):

material : "eut2.sign" {
texture[0] : "road_se_rv27.tobj"
texture_name[0] : "texture_base"
diffuse : { 1 , 1 , 1 }
specular : { 0 , 0 , 0 }
shininess : 4
add_ambient : 0
}



.tobj file (in HxD):

..±p.................................... ......./material/overlay/road_se_rv27.dds


.dds file (in Paint.NET):

(I don't know how to send a picture/image)


Can anyone see a fail??

User avatar
Nico
Founder
Posts: 3534
Joined: 01 Aug 2013 09:40
Donation rank:
Location: Apeldoorn, Gelderland

30 May 2014 14:11

What is the name of the mat file and where did you locate it in the mod?
Am I developing at the moment?
Image
STDS, ETS2, ATS Beta Tester
Main Developer of ProMods and Moderator.



Locked

Return to “Svenska”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 10 guests