DELTICS CORRUPTED & DISAPPEARED

Post Reply
rackwick
New Starter
Posts: 13
Joined: Wed Feb 27, 2013 5:44 pm
Trainz Version: Trainz 12
Trainz Build: 47452

DELTICS CORRUPTED & DISAPPEARED

Post by rackwick »

I have a few different Deltics but recently when downloading another locomotive something went wrong and has messed up a file and the Deltics are gone.

I think a Deltic called BR Deltic Blue is a basic part of TS12, but so long since I installed I cant remember. There suddenly seems to be issues with the pm/im thing but I know how to sort this. Main big problem seems to be connected with a basic, possibly built-in file called Gen_deltic kuid number 25:993. Content Manager cant seem to fix it. First it tells me:

Error: The tag interior controls-type is not permitted within a container of type "interior".

When I delete the red box and re-commit it doesn't work. Try again and next error:

Error: The tag camera-1 is not permitted within a container of type "interior".

When I delete this it still does not fix, and that camera error just keeps repeating. Reverting does nothing. So no Deltics. Can anyone please suggest how this might be repaired. Thanks.
User avatar
Nexusdj
Forum Veteran
Posts: 3097
Joined: Sun Dec 12, 2010 3:02 pm
Trainz Version: TRS22
Trainz Build: 123794
Author KUID: 45317
Location: West Midlands
Contact:

Re: DELTICS CORRUPTED & DISAPPEARED

Post by Nexusdj »

2 updated built-in cab files where released to the DLS the other day which included this new tag : interior controls-type .
The tag itself is only currently compatible with build 3.8 which is Trainz mac 2 and the tag is NOT compatible with any version of TS12 .
The 2 cabs should have been uploaded as build 3.8 not 2.9 .

One of the files was "Gen_Deltic" kuid:-25:993 .
The other is "F7 Interior MPH RHD" kuid:-25:984
Both are used by a lot of Built-in and third party content and whilst they are flagged red the dependant content will not work .

To fix the problem you need to remove the Interior controls-type tag line completely , BUT only that entry and nothing else !!!

This is the complete config for the Gen_Deltic with that entry removed . It is now error free in my copy of TS12 SP1

Code: Select all

kind                                    "interior"
trainz-build                            2.9
category-class                          "ZI"

cameralist
{
  camera0                               0.737,-0.288,0.435,7.689,-0.102
  camera1                               0.838,-0.261,0.631,0,-0.7
  camera2                               0.722,0,0.631,0,-0.245
  camera3                               0.66,-0.212,0.726,0,0.032
  camera4                               -0.844,-0.291,0.667,0.12,0.096
  camera5                               -0.245,0.451,0.517,5.17,-0.119
}
cameradefault                           2

mesh-table
{
  default
  {
    mesh                                "deltic_cab.im"
    auto-create                         "1"
  }
  
  independantbrake_lever
  {
    kind                                "lever"
    mesh                                "air_brake_lever.im"
    att                                 "a.air_brake_lever"
    limits                              0,32
    angles                              0,0.9
    notches                             0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1
    notchheight                         1,2,2,2,2,2,2,2,2,2,1
    mousespeed                          -1
    auto-create                         "1"
    att-parent                          "default"
  }
  
  ampmeter_needle
  {
    kind                                "needle"
    mesh                                "ampmeter_needle.im"
    att                                 "a.ampmeter_needle"
    limits                              0,1500
    angles                              0,1.91
    auto-create                         "1"
    att-parent                          "default"
  }
  
  bptrainbrakecylinder_needle
  {
    kind                                "needle"
    mesh                                "double_needle.im"
    att                                 "a.brake_cyl_pressure_1"
    angles                              0,3.14
    limits                              0,1000
    auto-create                         "1"
    att-parent                          "default"
  }
  
  bptrainbrakecylinder2_needle
  {
    kind                                "needle"
    mesh                                "double_needle.im"
    att                                 "a.brake_cyl_pressure_2"
    angles                              0,-3.14
    limits                              0,1000
    auto-create                         "1"
    att-parent                          "default"
  }
  
  _vac_pressure_1
  {
    kind                                "needle"
    mesh                                "double_needle.im"
    att                                 "a.vac_pressure_1"
    angles                              0,3.14
    auto-create                         "1"
    att-parent                          "default"
  }
  
  _vac_pressure_2
  {
    kind                                "needle"
    mesh                                "double_needle.im"
    att                                 "a.vac_pressure_2"
    angles                              0,-3.14
    auto-create                         "1"
    att-parent                          "default"
  }
  
  bploco_equaliser
  {
    kind                                "needle"
    mesh                                "double_needle.im"
    att                                 "a.vac_pressure_1"
    limits                              0,1000
    angles                              0,3.14
    auto-create                         "1"
    att-parent                          "default"
  }
  
  bptrainbrakepipe_needle
  {
    kind                                "needle"
    mesh                                "double_needle.im"
    att                                 "a.vac_pressure_2"
    limits                              0,1000
    angles                              0,-3.14
    auto-create                         "1"
    att-parent                          "default"
  }
  
  boiler_pressure
  {
    kind                                "needle"
    mesh                                "double_needle.im"
    att                                 "a.boiler_pressure_needle"
    limits                              0,1
    angles                              0,3.14
    value                               0.75
    auto-create                         "1"
    att-parent                          "default"
  }
  
  steam_pressure
  {
    kind                                "needle"
    mesh                                "double_needle.im"
    att                                 "a.steam_pressure_needle"
    limits                              0,1
    angles                              0,-3.14
    value                               0.5
    auto-create                         "1"
    att-parent                          "default"
  }
  
  trainbrakelap_lever
  {
    kind                                "lever"
    mesh                                "brake_valve_lever.im"
    att                                 "a.brake_valve_lever"
    limits                              0,4
    angles                              0,-1
    notches                             0,0.25,0.5,0.75,1
    notchheight                         1,1,1,1,1
    auto-create                         "1"
    att-parent                          "default"
  }
  
  reverser_lever
  {
    kind                                "lever"
    mesh                                "power_controller_lever.im"
    att                                 "a.master_switch_lever"
    limits                              0,2
    angles                              -1.2,0
    notches                             0,0.5,1
    notchheight                         1,1,1
    auto-create                         "1"
    att-parent                          "default"
  }
  
  throttle_lever
  {
    kind                                "lever"
    mesh                                "power_controller_lever.im"
    att                                 "a.power_controller_lever"
    limits                              0,8
    angles                              0,-1.2
    notches                             0,0.125,0.25,0.375,0.5,0.625,0.75,0.875,1
    notchheight                         1,1,1,1,1,1,1,1,1
    mousespeed                          -1
    auto-create                         "1"
    att-parent                          "default"
  }
  
  bplocomain_needle
  {
    kind                                "needle"
    mesh                                "res_pressure_needle.im"
    att                                 "a.res_pressure_needle"
    limits                              0,1000
    auto-create                         "1"
    att-parent                          "default"
  }
  
  handbrake_wheel
  {
    kind                                "lever"
    mesh                                "handbrake_wheel.im"
    att                                 "a.handbrake_wheel"
    limits                              0,8
    angles                              0,-6.8
    mousespeed                          -1
    auto-create                         "1"
    att-parent                          "default"
  }
  
  speedo_needle
  {
    kind                                "needle"
    mesh                                "speedo_needle.im"
    att                                 "a.speedo_needle"
    limits                              0,48.299999
    auto-create                         "1"
    att-parent                          "default"
  }
  
  horn
  {
    kind                                "lever"
    mesh                                "horn.im"
    att                                 "a.horn"
    limits                              0,1
    angles                              0,-0.45
    notches                             0,1
    notchheight                         3,3
    radius                              0.16
    mousespeed                          2
    auto-create                         "1"
    att-parent                          "default"
  }
  
  windows
  {
    kind                                "lever"
    mesh                                "windows.im"
    opacity                             0.2
    auto-create                         "1"
    att-parent                          "default"
  }
  
  wheelslip_light
  {
    kind                                "light"
    mesh                                "wheelslip.im"
    auto-create                         "1"
    att-parent                          "default"
  }
  
  light_switch
  {
    kind                                "lever"
    att                                 "a.switch0"
    mesh                                "light_switch.im"
    limits                              0,1
    angles                              0,1.5
    notches                             0,1
    notchheight                         0,0
    mousespeed                          -1
    auto-create                         "1"
    att-parent                          "default"
  }
}

thumbnails
{
  0
  {
    image                               "thumbnail1.jpg"
    width                               "240"
    height                              "180"
  }
}
kuid                                    <kuid:-25:993>

obsolete-table
{
  0                                     <kuid:-10:169>
  1                                     <kuid:-25:56>
}
username                                "Gen_deltic"
username-cz                             "Gen_deltic"
username-hu                             "Gen_deltic"
username-pl                             "Gen_deltic"
username-ru                             "Gen_deltic"
username-it                             "Gen_deltic"
username-nl                             "Gen_deltic"
username-es                             "Gen_deltic"
username-fr                             "Gen_deltic"
username-de                             "Gen_deltic"

kuid-table
{
}


High visibility pixels must be worn when on or about the line !!
rackwick
New Starter
Posts: 13
Joined: Wed Feb 27, 2013 5:44 pm
Trainz Version: Trainz 12
Trainz Build: 47452

Re: DELTICS CORRUPTED & DISAPPEARED

Post by rackwick »

Hi there Nexusdj,

Thanks very much indeed - that worked brilliantly - all Deltics now back in the engine shed! Amazing how such a simple little thing like that can cause mahem. Mirrors the real world I suppose. My own fault probably. Maybe if I was to stop mucking about in CM downloading stuff I likely don't need the risk of issues like that happening might be less. But then we all love the goodies on the DLS!

Anyway that's great. I could not have fixed that myself so thanks again for your assistance, I greatly appreciate it.

Cheers
User avatar
Nexusdj
Forum Veteran
Posts: 3097
Joined: Sun Dec 12, 2010 3:02 pm
Trainz Version: TRS22
Trainz Build: 123794
Author KUID: 45317
Location: West Midlands
Contact:

Re: DELTICS CORRUPTED & DISAPPEARED

Post by Nexusdj »

Glad its sorted . It's not your fault , a lot of the established users will have downloaded them as well believing they are error free updates to Built-in content provided by N3V . You'd expect the big guns to get it right , especially when they spend most of their time telling the content providers how to upload content to a certain standard :lol:
High visibility pixels must be worn when on or about the line !!
User avatar
cyberdonblue
Forum Veteran
Posts: 1578
Joined: Mon Mar 31, 2014 6:41 pm
Trainz Version: 2006 2012 T:ANE SP3
Trainz Build: 105766
Author KUID: 214658
Location: West Midlands

Re: DELTICS CORRUPTED & DISAPPEARED

Post by cyberdonblue »

I think they're too busy flapping about trying to get stuff to work with T:ANE Dave. There's a whole heap of problems at the moment importing Trainz 2012 stuff into T:ANE and trying to get it to work.

Dave
clam1952
Forum Veteran
Posts: 1528
Joined: Sun Dec 12, 2010 3:16 pm
Trainz Version: TRS22
Trainz Build: 116243
Author KUID: 425700
Location: Crewe, Cheshire, UK

Re: DELTICS CORRUPTED & DISAPPEARED

Post by clam1952 »

Depends what you are trying to import into T:ANE. It's not got a full compliment of builtins or libraries yet so some things simply won't work yet. Those updates should have probably been for 3.9, wouldn't have been an issue then............
Cheers

Malc

Member of Trainz Carriage and Wagon Works
http://www.trainz-carriage-wagon-works.com/
rackwick
New Starter
Posts: 13
Joined: Wed Feb 27, 2013 5:44 pm
Trainz Version: Trainz 12
Trainz Build: 47452

Re: DELTICS CORRUPTED & DISAPPEARED

Post by rackwick »

T:ANE - Trainz - A New Era. I'd no idea what that was until I looked it up. I think I have enough on my plate keeping abreast of what I've got without worrying too much about that.

However talking updates I notice most of you chaps have build 61388. You will see I have build 47452 - the very first when I installed TS12. I read on Shane Turner's site that updating/patching can be risky. For instance he says if patching goes wrong you might have to re-install the program. Now I have a vast amount of Trainz material downloaded over the years since I bought it, none of it independently backed up because I just don't have the huge amount of extra storage I'd need. I presume it would all be lost if you had to re-install? Or would it? Would all the downloaded material remain and Trainz only install over the top of its basic files only. (I have graphic software that does this - it re-installs only the basic files but your downloaded stuff remains and is not lost).

I must admit I had looked forward to the "merge routes" fix which updating would provide. But when it came out I thought the better of it for the above reasons. I thought - be content with what you've got and not worry about it - TS12 runs, even if I have had a number of issues with it - not least of all Quickdrive which seems to have worked inconsistantly since I bought the software. So about patching/updating does anyone have views - is patching worth opening a possible can of worms?
shaneturner12
Past 250!
Posts: 284
Joined: Tue Jan 08, 2013 10:17 pm
Trainz Version: TS12/TANE CE
Trainz Build: 61388
Author KUID: 234888
Contact:

Re: DELTICS CORRUPTED & DISAPPEARED

Post by shaneturner12 »

TS12 has made some changes in terms of the patching process - it may well have rolled back to the build you had prior to attempting the patch.

Shane
User avatar
Mightyena
Forum Veteran
Posts: 1320
Joined: Wed Jul 11, 2012 8:08 pm
Trainz Version: T:ANE
Trainz Build: 105766
Author KUID: 688183
Location: London, England

Re: DELTICS CORRUPTED & DISAPPEARED

Post by Mightyena »

rackwick wrote:T:ANE - Trainz - A New Era. I'd no idea what that was until I looked it up. I think I have enough on my plate keeping abreast of what I've got without worrying too much about that.

However talking updates I notice most of you chaps have build 61388. You will see I have build 47452 - the very first when I installed TS12. I read on Shane Turner's site that updating/patching can be risky. For instance he says if patching goes wrong you might have to re-install the program. Now I have a vast amount of Trainz material downloaded over the years since I bought it, none of it independently backed up because I just don't have the huge amount of extra storage I'd need. I presume it would all be lost if you had to re-install? Or would it? Would all the downloaded material remain and Trainz only install over the top of its basic files only. (I have graphic software that does this - it re-installs only the basic files but your downloaded stuff remains and is not lost).

I must admit I had looked forward to the "merge routes" fix which updating would provide. But when it came out I thought the better of it for the above reasons. I thought - be content with what you've got and not worry about it - TS12 runs, even if I have had a number of issues with it - not least of all Quickdrive which seems to have worked inconsistantly since I bought the software. So about patching/updating does anyone have views - is patching worth opening a possible can of worms?
I would recommend patching, at least to build 49922 (personal experience only, me and SP1 don't get along!). As for re-installing, I believe all your content would be preserved, since it is stored in the <trainz install directory>/userdata/local and /userdata/original folders, which I believe are kept (no promises though, it's been a while since I had to reinstall and I always keep a backup anyways). A solution if you don't have much space might be to temporarily move those folders (as in, cut and paste them somewhere else like My Documents), reinstall Trainz and then move them back afterwards, and run a database repair
James M, creator of the
Image
network
rackwick
New Starter
Posts: 13
Joined: Wed Feb 27, 2013 5:44 pm
Trainz Version: Trainz 12
Trainz Build: 47452

Re: DELTICS CORRUPTED & DISAPPEARED

Post by rackwick »

Thanks for that. I may try patching to the version you suggest. I never thought about copying over the folders temporarily like that, though I should have as I have probably done it elsewhere with other software. But Trainz complexity seems to somehow discourage lateral thinking, well for me anyway. Do you reckon the folders/files you mention are the only ones you would need to copy or could there be others just to be safe?
Post Reply