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

User avatar
Nico
Founder
Posts: 3480
Joined: 01 Aug 2013 09:40
Location: Nijmegen, Gelderland

03 Jun 2014 17:45

No you don't.

You have all the files just in the archive.

You will need to make folders to match the base structure. For example: /material/overlay/road_se_rv27.tobj
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

04 Jun 2014 12:15

I have it, I have do a def and just SweMod... and there material/overlay/ and then the files: dds,tobj, mat exactly as ProMods...
and in the def...

I have a def map and then world/ and there is the locate sii-file

but the mat is written like this:

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

Send a finish file If you do not want to nag/talk more! :!:

User avatar
Nico
Founder
Posts: 3480
Joined: 01 Aug 2013 09:40
Location: Nijmegen, Gelderland

04 Jun 2014 13:21

True I actually don't want to talk in the thread anymore. No offence but I have no idea how to make it any clearer to you. Seems like this is to hard.
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

04 Jun 2014 16:57

... :( ...

I HOPE someone can send a finish file, then I can learn and check out what's wrong...

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

04 Jun 2014 17:38

OK, here's everything what you did wrong in the file you sent us. Hold your breath, because it's quite an extensive list.
1. You packed everything in a RAR file. ETS2 can't read RAR files. Try ZIP or SCS (just rename the ZIP extension to SCS)
2. There's no folder structure present at all in your RAR file. You dropped everything in the root folder.

Your current folder structure is like this:

Code: Select all

/overlay.SuperMod.sii
/road_se_rv27.dds
/road_se_rv27.tobj
/se_rv27.mat
The structure should be like this:

Code: Select all

/def/
    ../world/
        ../overlay.SuperMod.sii
/material/
    ../overlay/
        ../road_se_rv27.dds
        ../road_se_rv27.tobj
        ../se_rv27.mat
3. You have not properly edited your TOBJ file, so it actually refers to:

Code: Select all

/material/overlay/road_se_rv27.d
Instead of:

Code: Select all

/material/overlay/road_se_rv27.dds
This is not visible in Notepad or other text editors, but it is visible to applications that can read TOBJ files. Check for the tool I referenced earlier. That may give a proper TOBJ file.

4. Your mat file contains no correct path. Your current code:

Code: Select all

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
}
The correct code:

Code: Select all

material : "eut2.sign" {
	texture[0] : "/material/overlay/road_se_rv27.tobj"
	texture_name[0] : "texture_base"
	diffuse : { 1 , 1 , 1 }
	specular : { 0 , 0 , 0 }
	shininess : 4
	add_ambient : 0
}
OK, that's the whole deal. If you don't understand it now, I'm afraid you never will...

Best,
MandelSoft
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

06 Jun 2014 21:38

I understand, I can even send the files again. But it crash... And ye, Now you do not even know you what the problem is, the only way I know is to send finished files. But as you might have other things to do than my problems so... -.-

__________________________________________________________________________________
Intel(R) Core(TM)2 Quad CPU @2.40GHz 2.40 GHz
(RAM) 8,00 GB
64-bit operational

(2007-year model) But upgraded feb 2014...

[Windows 7]

User avatar
n4gix.bill.leaming
Posts: 1196
Joined: 07 Aug 2013 18:22
Donation rank:
Location: Hammond, Indiana
Contact:

06 Jun 2014 22:06

Edwin, I had absolutely no problem understanding those quite clear instructions. If you are having continued trouble, then I suggest doing something a bit less challenging... ;)
Fr. Bill
Global Moderator

Interests: Gauge Programming - 3d Modeling for Milviz

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

07 Jun 2014 13:16

But! I can already everything I need and to make a texture... But WHY it crash!!!!!!!!!! :|

(But I cannot send a picture...)

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

07 Jun 2014 13:21

Again, check the log for errors...
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

07 Jun 2014 14:02

First I test "Map Overlay", Then I test on a sign...

game.log:

00:00:10.778 : Map '/map/europe.mbd' loading started ....
00:00:12.494 : Map successfully loaded.
00:00:12.494 : Map sectors loading started ....
00:00:17.826 : Map sectors loading finished ....
00:00:17.890 : Map load time: 7112ms (337 MB)
00:00:17.891 : Map post load initialization started ....
00:00:17.891 : Map post load initialization finished.
00:00:17.892 : Building kdop tree for all sectors.
00:00:18.141 : Sectors' trees finished.
00:00:18.200 : <ERROR> Buildings item (uid: 0xEE75C83980014F) is too small !
00:00:18.200 : <ERROR> Buildings item (uid: 0xEE75C83980014F) is too small !
00:00:18.200 : <ERROR> Buildings item (uid: 0xEE7606E590015D) is too small !
00:00:18.200 : <ERROR> Buildings item (uid: 0xEE7606E590015D) is too small !
00:00:18.201 : <ERROR> Buildings item (uid: 0x10913F82FB4015B) is too small !
00:00:18.201 : <ERROR> Buildings item (uid: 0x10913F82FB4015B) is too small !
00:00:18.201 : <ERROR> Buildings item (uid: 0x109190865E4018E) is too small !
00:00:18.201 : <ERROR> Buildings item (uid: 0x109190865E4018E) is too small !
00:00:18.201 : <ERROR> Buildings item (uid: 0x109190FA4340196) is too small !
00:00:18.201 : <ERROR> Buildings item (uid: 0x109190FA4340196) is too small !
00:00:18.201 : <ERROR> Buildings item (uid: 0x10919B3BEA401A7) is too small !
00:00:18.201 : <ERROR> Buildings item (uid: 0x10919B3BEA401A7) is too small !
00:00:18.201 : <ERROR> Buildings item (uid: 0x1091A1489C401B5) is too small !
00:00:18.201 : <ERROR> Buildings item (uid: 0x1091A1489C401B5) is too small !
00:00:18.201 : <ERROR> Buildings item (uid: 0x1091BB0712401E7) is too small !
00:00:18.201 : <ERROR> Buildings item (uid: 0x1091BB0712401E7) is too small !
00:00:18.201 : <ERROR> Buildings item (uid: 0x109214E0DB40240) is too small !
00:00:18.201 : <ERROR> Buildings item (uid: 0x109214E0DB40240) is too small !
00:00:18.202 : <ERROR> Buildings item (uid: 0x10922FD79A40252) is too small !
00:00:18.202 : <ERROR> Buildings item (uid: 0x10922FD79A40252) is too small !
00:00:18.202 : <ERROR> Buildings item (uid: 0x1092304F344025C) is too small !
00:00:18.202 : <ERROR> Buildings item (uid: 0x1092304F344025C) is too small !
00:00:18.202 : <ERROR> Buildings item (uid: 0x10A62C971340465) is too small !
00:00:18.202 : <ERROR> Buildings item (uid: 0x10A62C971340465) is too small !
00:00:18.202 : <ERROR> Buildings item (uid: 0x10A637AD7740476) is too small !
00:00:18.202 : <ERROR> Buildings item (uid: 0x10A637AD7740476) is too small !
00:00:18.202 : <ERROR> Buildings item (uid: 0x10A63C984D4047E) is too small !
00:00:18.202 : <ERROR> Buildings item (uid: 0x10A63C984D4047E) is too small !
00:00:18.202 : <ERROR> Buildings item (uid: 0x10A6933028404DD) is too small !
00:00:18.202 : <ERROR> Buildings item (uid: 0x10A6933028404DD) is too small !
00:00:18.202 : <ERROR> Buildings item (uid: 0x10A72C60DA40569) is too small !
00:00:18.202 : <ERROR> Buildings item (uid: 0x10A72C60DA40569) is too small !
00:00:18.202 : <ERROR> Buildings item (uid: 0x10A72CDA914056D) is too small !
00:00:18.202 : <ERROR> Buildings item (uid: 0x10A72CDA914056D) is too small !
00:00:18.202 : <ERROR> Buildings item (uid: 0x10A738EA3940580) is too small !
00:00:18.202 : <ERROR> Buildings item (uid: 0x10A738EA3940580) is too small !
00:00:18.202 : <ERROR> Buildings item (uid: 0x10A73961EC40582) is too small !
00:00:18.202 : <ERROR> Buildings item (uid: 0x10A73961EC40582) is too small !
00:00:18.202 : <ERROR> Buildings item (uid: 0x10A746AFF940589) is too small !
00:00:18.203 : <ERROR> Buildings item (uid: 0x10A746AFF940589) is too small !
00:00:18.203 : <ERROR> Buildings item (uid: 0x10A746F9B04058D) is too small !
00:00:18.203 : <ERROR> Buildings item (uid: 0x10A746F9B04058D) is too small !
00:00:18.203 : <ERROR> Buildings item (uid: 0x10A750D56140599) is too small !
00:00:18.203 : <ERROR> Buildings item (uid: 0x10A750D56140599) is too small !
00:00:18.203 : <ERROR> Buildings item (uid: 0x10A7513B224059D) is too small !
00:00:18.203 : <ERROR> Buildings item (uid: 0x10A7513B224059D) is too small !
00:00:18.203 : <ERROR> Buildings item (uid: 0x10CEC54B9140149) is too small !
00:00:18.203 : <ERROR> Buildings item (uid: 0x10CEC54B9140149) is too small !
00:00:18.203 : <ERROR> Buildings item (uid: 0x10CEC57CD24014D) is too small !
00:00:18.203 : <ERROR> Buildings item (uid: 0x10CEC57CD24014D) is too small !
00:00:18.203 : <ERROR> Buildings item (uid: 0x10CED0408040152) is too small !
00:00:18.203 : <ERROR> Buildings item (uid: 0x10CED0408040152) is too small !
00:00:18.203 : <ERROR> Buildings item (uid: 0x10CED0446C40150) is too small !
00:00:18.203 : <ERROR> Buildings item (uid: 0x10CED0446C40150) is too small !
00:00:18.205 : <ERROR> Buildings item (uid: 0x157BFA899420067) is too small !
00:00:18.205 : <ERROR> Buildings item (uid: 0x157BFA899420067) is too small !
00:00:18.205 : <ERROR> Buildings item (uid: 0x157BFA8E3D20065) is too small !
00:00:18.205 : <ERROR> Buildings item (uid: 0x157BFA8E3D20065) is too small !
00:00:18.205 : <ERROR> Buildings item (uid: 0x157C02ADD420085) is too small !
00:00:18.205 : <ERROR> Buildings item (uid: 0x157C02ADD420085) is too small !
00:00:18.207 : <ERROR> Buildings item (uid: 0x19F802208740241) is too small !
00:00:18.207 : <ERROR> Buildings item (uid: 0x19F802208740241) is too small !
00:00:18.207 : <ERROR> Buildings item (uid: 0x19F80246FE40243) is too small !
00:00:18.207 : <ERROR> Buildings item (uid: 0x19F80246FE40243) is too small !
00:00:18.218 : <ERROR> Buildings item (uid: 0x266B319C1B000B1) is too small !
00:00:18.218 : <ERROR> Buildings item (uid: 0x266B319C1B000B1) is too small !
00:00:19.879 : <ERROR> Material index 3 requested for model which has only 3 materials: '/prefab/ew/2a_0_fork.pmd'
00:00:39.796 : Building kdop tree for all sectors.
00:00:39.798 : Sectors' trees finished.
00:00:51.528 : Building kdop tree for all sectors.
00:00:51.530 : Sectors' trees finished.
00:00:51.536 : <ERROR> [fs] Failed to open file "/material/ui/map/road/road_se_rv27.mat" in the read_only mode
00:00:51.536 : <ERROR> [material] Can not open '/material/ui/map/road/road_se_rv27.mat'
00:00:54.885 : Map successfuly exported ....
00:00:54.892 : Building kdop tree for all sectors.
00:00:54.894 : Sectors' trees finished.
00:00:57.274 : <ERROR> Material index 3 requested for model which has only 3 materials: '/prefab/ew/2a_0_fork.pmd'
00:01:02.218 : <ERROR> [fs] Failed to open file "/automat/9c/732b8149c0729cc780dc52ba7b0020cbf647b6.mat" in the read_only mode
00:01:02.218 : <ERROR> [resource_task] Can not open '/automat/9c/732b8149c0729cc780dc52ba7b0020cbf647b6.mat'
00:01:14.851 : <ERROR> [zipfs] The was an error while decoding (road_se_rv27.tobj)
00:01:14.851 : <ERROR> [zipfs] Failed to decode data! (road_se_rv27.tobj).
00:01:14.851 : <ERROR> [fs] cached read - buffer update failed (/material/overlay/road_se_rv27.tobj)
00:01:14.851 : <ERROR> [tobj] Can not read '/material/overlay/road_se_rv27.tobj'
00:01:14.924 : <ERROR> [tobj] NULL texture data
00:01:14.924 : <ERROR> [tobj] NULL texture data
00:01:14.924 : <ERROR> [dx9] Failed to create texture in hw_load().
00:01:14.924 : <ERROR> FIXME: Texture update failed (/material/overlay/road_se_rv27.tobj)
00:01:14.924 : <ERROR> [tobj] NULL texture data
00:01:14.924 : <ERROR> [tobj] NULL texture data
00:01:14.925 : <ERROR> [dx9] Failed to create texture in hw_load().



Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest