SCS Blender Tools

User avatar
Michaleczeq
Posts: 249
Joined: 12 Dec 2013 23:02
Location: Poland, Sanok
Contact:

Re: SCS Blender Tools

#3521 Post by Michaleczeq » 14 Mar 2025 18:15

You have not provided enough information, but it looks like you are trying to convert tobj from binary format
User avatar
Sigouss89
Posts: 26
Joined: 26 Dec 2021 16:35

Re: SCS Blender Tools

#3522 Post by Sigouss89 » 14 Mar 2025 18:34

Hi, thanks for responding.

I'm not sure. I've imported a SCS trailer bumper as a test and immediatelly pressed export with no edits. Bumper upon import looks fine at a glance in Blender, but I'm a totall beginner.

I've added the error log. Hope its correct file. If you need anything else from me let me know.

I really wanna get Blender with SCS tools & converter working for my mods, been delaying the whole process for some time now.

Code: Select all

************ : log created on : Friday March 14 2025 @ 13:34:14
00:00:01.145 : umat2mat: not found!
00:00:01.145 : [linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a] Massconverting the data (update)
00:00:02.663 : [linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a] Checking 204290 source items @ /
00:00:12.539 : [linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a] Converting 75558 source items @ /
00:00:12.719 : [linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a] tobjcopy /model/parked_trailers/static/curtain/trailer_curtain_sider_ibe_lod3_baked_casa_olivera_dif.tobj 
00:00:12.721 : *** ERROR *** : [texobj parse] syntax error in (<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_ibe_lod3_baked_casa_olivera_dif.tobj) at line 2 - token []

*** ERROR *** : Parse error '<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_ibe_lod3_baked_casa_olivera_dif.tobj'


00:00:12.721 : [linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a] tobjcopy /model/parked_trailers/static/curtain/trailer_curtain_sider_lod3_baked_bspec.tobj 
00:00:12.721 : *** ERROR *** : [texobj parse] syntax error in (<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_lod3_baked_bspec.tobj) at line 2 - token []

*** ERROR *** : Parse error '<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_lod3_baked_bspec.tobj'


00:00:12.721 : [linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a] tobjcopy /model/parked_trailers/static/curtain/trailer_curtain_sider_lod3_baked_canteras_ds_dif.tobj 
00:00:12.722 : *** ERROR *** : [texobj parse] syntax error in (<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_lod3_baked_canteras_ds_dif.tobj) at line 2 - token []

*** ERROR *** : Parse error '<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_lod3_baked_canteras_ds_dif.tobj'


00:00:12.722 : [linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a] tobjcopy /model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_tdc_auto_dif.tobj 
00:00:12.722 : *** ERROR *** : [texobj parse] syntax error in (<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_tdc_auto_dif.tobj) at line 2 - token []

*** ERROR *** : Parse error '<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_tdc_auto_dif.tobj'


00:00:12.723 : [linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a] tobjcopy /model/parked_trailers/static/curtain/trailer_curtain_sider_lod3_baked_blue_light_dif.tobj 
00:00:12.723 : *** ERROR *** : [texobj parse] syntax error in (<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_lod3_baked_blue_light_dif.tobj) at line 2 - token []

*** ERROR *** : Parse error '<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_lod3_baked_blue_light_dif.tobj'


00:00:12.890 : [linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a] tobjcopy /model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_trameri_dif.tobj 
00:00:12.893 : *** ERROR *** : [texobj parse] syntax error in (<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_trameri_dif.tobj) at line 2 - token []

*** ERROR *** : Parse error '<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_trameri_dif.tobj'


00:00:12.900 : [linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a] tobjcopy /model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_yellow_dif.tobj 
00:00:12.900 : *** ERROR *** : [texobj parse] syntax error in (<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_yellow_dif.tobj) at line 2 - token []

*** ERROR *** : Parse error '<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_yellow_dif.tobj'


00:00:12.900 : [linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a] tobjcopy /model/parked_trailers/static/curtain/trailer_curtain_sider_ibe_lod3_baked_agregados_dif.tobj 
00:00:12.901 : *** ERROR *** : [texobj parse] syntax error in (<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_ibe_lod3_baked_agregados_dif.tobj) at line 2 - token []

*** ERROR *** : Parse error '<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_ibe_lod3_baked_agregados_dif.tobj'


00:00:12.901 : [linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a] tobjcopy /model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_transinet_dif.tobj 
00:00:12.901 : *** ERROR *** : [texobj parse] syntax error in (<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_transinet_dif.tobj) at line 2 - token []

*** ERROR *** : Parse error '<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_transinet_dif.tobj'


00:00:12.901 : [linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a] tobjcopy /model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_ts_atlas_dif.tobj 
00:00:12.902 : *** ERROR *** : [texobj parse] syntax error in (<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_ts_atlas_dif.tobj) at line 2 - token []

*** ERROR *** : Parse error '<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_ts_atlas_dif.tobj'


00:00:13.013 : [linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a] tobjcopy /model/parked_trailers/static/curtain/trailer_curtain_sider_lod3_baked_cargo_trans_dif.tobj 
00:00:13.016 : *** ERROR *** : [texobj parse] syntax error in (<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_lod3_baked_cargo_trans_dif.tobj) at line 2 - token []

*** ERROR *** : Parse error '<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_lod3_baked_cargo_trans_dif.tobj'


00:00:13.022 : [linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a] tobjcopy /model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_trans_cab_dif.tobj 
00:00:13.023 : *** ERROR *** : [texobj parse] syntax error in (<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_trans_cab_dif.tobj) at line 2 - token []

*** ERROR *** : Parse error '<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_trans_cab_dif.tobj'


00:00:13.023 : [linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a] tobjcopy /model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_supercesta_dif.tobj 
00:00:13.023 : *** ERROR *** : [texobj parse] syntax error in (<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_supercesta_dif.tobj) at line 2 - token []

*** ERROR *** : Parse error '<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_supercesta_dif.tobj'


00:00:13.023 : [linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a] tobjcopy /model/parked_trailers/static/curtain/trailer_curtain_sider_lod3_baked_el_vesa_dif.tobj 
00:00:13.024 : *** ERROR *** : [texobj parse] syntax error in (<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_lod3_baked_el_vesa_dif.tobj) at line 2 - token []

*** ERROR *** : Parse error '<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_lod3_baked_el_vesa_dif.tobj'


00:00:13.024 : [linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a] tobjcopy /model/parked_trailers/static/curtain/trailer_curtain_sider_lod3_baked_cantera_dif.tobj 
00:00:13.024 : *** ERROR *** : [texobj parse] syntax error in (<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_lod3_baked_cantera_dif.tobj) at line 2 - token []

*** ERROR *** : Parse error '<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_lod3_baked_cantera_dif.tobj'


00:00:13.170 : [linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a] tobjcopy /model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_silver_dif.tobj 
00:00:13.172 : *** ERROR *** : [texobj parse] syntax error in (<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_silver_dif.tobj) at line 2 - token []

*** ERROR *** : Parse error '<C:/conversion_tools_2_18/linked_bt_d4f03d6f71635ae9e26069bec0b4a7e4bc81038a | >/model/parked_trailers/static/curtain/trailer_curtain_sider_8m_lod3_baked_silver_dif.tobj'

mass_convert.log
(219.55 KiB) Downloaded 8 times
User avatar
Michaleczeq
Posts: 249
Joined: 12 Dec 2013 23:02
Location: Poland, Sanok
Contact:

Re: SCS Blender Tools

#3523 Post by Michaleczeq » 14 Mar 2025 19:03

It will be better, if you show one of that tobj cause that error log is this same, as in photo, so it not say anything more.
For sure something wrong with .tobj files.
User avatar
Sigouss89
Posts: 26
Joined: 26 Dec 2021 16:35

Re: SCS Blender Tools

#3524 Post by Sigouss89 » 14 Mar 2025 20:25

Michaleczeq wrote: 14 Mar 2025 19:03 It will be better, if you show one of that tobj cause that error log is this same, as in photo, so it not say anything more.
For sure something wrong with .tobj files.
Its a SCS 1.53 tobj imported straight from the archive. Can that be a problem?
User avatar
Michaleczeq
Posts: 249
Joined: 12 Dec 2013 23:02
Location: Poland, Sanok
Contact:

Re: SCS Blender Tools

#3525 Post by Michaleczeq » 14 Mar 2025 21:23

It depends on what you mean by "straight from the archive". Straight from archive exported by scs_extractor/packer, or opened by converterpixwrapper straight from archive.
As I say - it depends if it's in binary format or not.
If you imported tobj extracted by converterpix/converterpixwrapper it should be in text format.
If you extracted game files by scs_extractor/scs_packer, then it will be in binary file format.

So if you open your .tobj file in text editor and you see something like "map 2d /material/(...) addr repeat repeat" then you have file in text format (OK), but if you have "±p NUL NUL NUL (...) /material/(...)", then it's in binary format (BAD)

But without seeing what is inside of your tobj file, idk what exactly is wrong with it. I need to see, what is inside one of your tobj file mentioned in that log.

It can be also something wrong with your base project path.
User avatar
Schumi
Posts: 2312
Joined: 13 Dec 2015 06:00
Location: Cherepovets/Russia
Contact:

Re: SCS Blender Tools

#3526 Post by Schumi » 15 Mar 2025 04:57

Errors in the log indicate that the game file format tobj is used

@Sigouss89 This is how the tobj file should look like before converting the mod to the game
Attachments
изображение_2025-03-15_075754285.png
Flickr
Youtube
Steam
Discord
Facebook
Mods custom made do not make!!!
User avatar
Sigouss89
Posts: 26
Joined: 26 Dec 2021 16:35

Re: SCS Blender Tools

#3527 Post by Sigouss89 » 15 Mar 2025 07:21

Hi, I'm so sorry I'm really struggling to wrap my head around this. How do I NOT use the game the game file tobj format?

As Michaleczeq said, I've imported SCS box trailer bumper as test, with converterpixwrapper (import -> SCS models - ConverterPIX & BT (*.scs)) straight from archive.

But also, for file project path in blender I have opened base.scs with the SCS_extractor as a folder and linked that folder into Blender? Is this OK?

I've used Zmodeler3 so far with base.scs archive opened by SCS_extractor. Zmodeler3 made TOBJ automatically on export or I edited TOBJ's with the TOBJeditor manually and everything worked fine.

@Michaleczeq if I open TOBJ with notepad its binary :? I've never had anything else to work with but binary so far. How do I make it text and tell Blender to use that?

https://ibb.co/938X1Gg1
https://ibb.co/F9yjBLn
https://ibb.co/Fk6Hxw87
https://ibb.co/mCqDTvq9
User avatar
Schumi
Posts: 2312
Joined: 13 Dec 2015 06:00
Location: Cherepovets/Russia
Contact:

Re: SCS Blender Tools

#3528 Post by Schumi » 15 Mar 2025 12:31

@Sigouss89 I advise you to study the tutorials that are available on the internet before you start working in blender
Flickr
Youtube
Steam
Discord
Facebook
Mods custom made do not make!!!
User avatar
Michaleczeq
Posts: 249
Joined: 12 Dec 2013 23:02
Location: Poland, Sanok
Contact:

Re: SCS Blender Tools

#3529 Post by Michaleczeq » 15 Mar 2025 23:25

But also, for file project path in blender I have opened base.scs with the SCS_extractor as a folder and linked that folder into Blender? Is this OK?
No it's not.
SCS Project Base Path is not intended for these purposes.
Whole SCS Blender Tools plugin is not intended to work with files extracted directly from game archives.
It's intended to works with "intermediate" files. Files that are made by e.g. converterpix.
If you want to work with Blender, you have to forget about how it works in Zmodeler.

First of all. SCS Project Base Path is a path to your PROJECT, not unpacked game. Here you should have only files you working on, in mid-format. To avoid confusion I will name them "mod-something". Be aware. Everything about I'm talking here, is in mid-format, so if I say "from game" I mean exported by e.g. converterpix to mid-format. Not extracted by scs_extractor and copy-paste there. If you import something by PixWrapper, it will be converted to mid-format so you not need to do anything more with it, but if you want to use something from game directly like textures without importing models to blender, you should use ConverterPIX. If you not downloaded it, here it is. https://github.com/mwl4/ConverterPIX


So let's say, that you have somewhere folder named "my_projects", where you have all your mod projects for blender. Inside, you can have:
- Special folder named "base". Everything inside it can be used in your projects from "my_projects" dir (e.g. textures, defs etc. from game), and converter will NOT convert anything from it. You can put here files shared between all of your projects like content of "/material/environment" that you need to use, but don't want to export.
- your "SCS Project Base" folders for your projects (e.g. "mod-my_awesome_trailer", "mod-my_super_truck" etc.). That folders should be used as "SCS Project Base Path" in Blender. Here you should put/export your mod files in mid-format.
- sub-projects - exactly the same as with "my_projects" - folder with your projects, but grouped for better workflow. Here you can also have "base", but only with files specific for your sub-projects. You don't need to duplicate previous base here. You can still use textures from "base", from previous directory.

It should looks like this:

my_projects/
├─ base/
│ ├─ material/

├─ my_landmarks/
│ ├─ base/
│ │ ├─ material/
│ │
│ ├─ mod-france/
│ │ ├─ def/
│ │ ├─ model/
│ │
│ ├─ mod-germany/
│ │ ├─ def/
│ │ ├─ model/
│ │
│ ├─ mod-poland/
│ │ ├─ def/
│ │ ├─ model/

├─ mod-my_awesome_trailer/
│ ├─ def/
│ ├─ vehicle/

├─ mod-my_super_truck/
│ ├─ def/
│ ├─ vehicle/



And now, if you also configure Conversion Helper tab correctly, you will not need to convert models by yourself, by putting files to "base" dir in conversion tool. Everything will be done by blender, and whats more, your mod projects will be exported in separated folders named "linked_bt_..."

But for sure, you should also check Intended workflow graph here: https://modding.scssoft.com/wiki/Docume ... d_workflow
User avatar
Sigouss89
Posts: 26
Joined: 26 Dec 2021 16:35

Re: SCS Blender Tools

#3530 Post by Sigouss89 » 16 Mar 2025 08:10

Dis what I'm talking about, preach away brother!

@Schumi I stopped just short of that. I'll go through tutorial(s) today. But I have read the majority if not all of the SCS Blender Wiki :D to my own surprise.

Have my hopes up, thanks guys!
Post Reply

Return to “General discussion”

Who is online

Users browsing this forum: No registered users