Problems changing an Asset on MML

Are you stuck making RailWorks work? Don't be afraid to ask your questions here, we were all beginners once!

Moderator: Moderators

User avatar
749006
Very Active Forum Member
Posts: 9862
Joined: Fri Mar 30, 2012 11:17 am
Location: England
Contact:

Re: Problems changing an Asset on MML

Post by 749006 »

gptech wrote:Quick and dirty solution:

Peter, paste the contents of this .zip archive into your ..\Content\Routes\00000034-d000-0000-0000-000000002014 folder.

https://ln.sync.com/dl/1c5facfd0#jy8apv ... r-9i4k2zb5

If you've already extracted the contents of the .ap archive, rename the existing ..\Content\Routes\00000034-d000-0000-0000-000000002014\Networks\Tracks.bin file to Tracks.bin.ORIGINAL or whatever else makes sense to you---I would recommend though that any renaming be after the .bin extension so that the game doesn't even bother trying to read it, and also makes it obvious what it was to start with.

That doesn't fix the issue of not being able to select the sign though, so that still needs investigating.
Thanks Gary - That solves the first part of the problem :)

I thought about your comments about working thru the track view and the last view before normal I noticed the TPWS grids and their links to the Signals.
I cannot move or do anything with those either - are they interlinked?

Peter
http://peter749.piwigo.com/
My Railway Pictures
gptech
Very Active Forum Member
Posts: 19585
Joined: Fri Oct 10, 2008 5:48 pm
Location: Wakefield, West Yorkshire

Re: Problems changing an Asset on MML

Post by gptech »

749006 wrote:I noticed the TPWS grids and their links to the Signals.I cannot move or do anything with those either - are they interlinked?
Yes, all these are linked in some way, so all track linked objects would seem to be unselectable for you--so that would cover TPWS, AWS, speed limit signs, signals, and probably other stuff. As you can accomplish this in other routes it isn't something global and must be specific to MML.

Have you extracted the contents of the ..\Content\Routes\00000034-d000-0000-0000-000000002014\MainContent.ap archive, and if so, why?
User avatar
749006
Very Active Forum Member
Posts: 9862
Joined: Fri Mar 30, 2012 11:17 am
Location: England
Contact:

Re: Problems changing an Asset on MML

Post by 749006 »

gptech wrote:
749006 wrote:I noticed the TPWS grids and their links to the Signals.I cannot move or do anything with those either - are they interlinked?
Yes, all these are linked in some way, so all track linked objects would seem to be unselectable for you--so that would cover TPWS, AWS, speed limit signs, signals, and probably other stuff. As you can accomplish this in other routes it isn't something global and must be specific to MML.

Have you extracted the contents of the ..\Content\Routes\00000034-d000-0000-0000-000000002014\MainContent.ap archive, and if so, why?
I extracted the scenarios from .ap file so I could use RW Tools to change a few things.
More recently I extracted the other folder to see if that made a difference - which it did not so I deleted all except the Network & Scenarios folder.

With you mentioning the track all seemed to be linked together I went beyond Bedford and tried laying a bit of track on empty ground.
The yellow box with arrow appears, I stretch out the track outline and when I let go with the mouse the system freezes and it's Ctrl+Alt+Del to bomb out Railworks.exe - twice.

Not had that with a route before.

Peter
http://peter749.piwigo.com/
My Railway Pictures
gptech
Very Active Forum Member
Posts: 19585
Joined: Fri Oct 10, 2008 5:48 pm
Location: Wakefield, West Yorkshire

Re: Problems changing an Asset on MML

Post by gptech »

749006 wrote:I extracted the scenarios from .ap file so I could use RW Tools to change a few things. More recently I extracted the other folder to see if that made a difference - which it did not so I deleted all except the Network & Scenarios folder.
Nothing really wrong there, but as all your woes are track related that's where we should be looking.

Cut everything except the MainContent.ap archive out of the route folder, pasting them some where safe for now, and see if you can select a signal/speed sign/ lay track etc in what would be a default installation.
User avatar
749006
Very Active Forum Member
Posts: 9862
Joined: Fri Mar 30, 2012 11:17 am
Location: England
Contact:

Re: Problems changing an Asset on MML

Post by 749006 »

gptech wrote:Cut everything except the MainContent.ap archive out of the route folder, pasting them some where safe for now, and see if you can select a signal/speed sign/ lay track etc in what would be a default installation.
Having done that I deleted the speed sign and created a new version with the track link it the correct location so it shows 100mph.
I thought something else had gone wrong as the vegetation between the fast and slow lines was missing - until I saved the route and it reappeared.

I wonder why extracting the .ap file locked up the track and signals?

Peter
http://peter749.piwigo.com/
My Railway Pictures
gptech
Very Active Forum Member
Posts: 19585
Joined: Fri Oct 10, 2008 5:48 pm
Location: Wakefield, West Yorkshire

Re: Problems changing an Asset on MML

Post by gptech »

I don't think extracting the contents of the .ap archive locked things, but rather something related to the previous editing. A pause whilst saving the change could have thrown something awry.
Don't do it, but the next obvious test would be to try with the stuff in the .ap extracted.
User avatar
749006
Very Active Forum Member
Posts: 9862
Joined: Fri Mar 30, 2012 11:17 am
Location: England
Contact:

Re: Problems changing an Asset on MML

Post by 749006 »

I've not done anything else apart from copying the Scenarios folder back in to the game as I have a number of modified runs using a proper loco ;)
Screenshot_MML - London St Pancras to Bedford_51.94507--0.49584_08-14-40.jpg
Screenshot_MML - London St Pancras to Bedford_52.11576--0.47904_08-01-38.jpg
Thanks for the help Gary - much appreciated in getting a solution. :)
Just not sure why the extracted .ap files lock up the track properties ?

Peter
http://peter749.piwigo.com/
My Railway Pictures
gptech
Very Active Forum Member
Posts: 19585
Joined: Fri Oct 10, 2008 5:48 pm
Location: Wakefield, West Yorkshire

Re: Problems changing an Asset on MML

Post by gptech »

749006 wrote:Just not sure why the extracted .ap files lock up the track properties ?
They don't, or at least shouldn't. That's why I suspect something went awry when you started editing, or the save operation threw a wee wobbler to cause the problem.
As I posted above, the way to find out is to extract the contents from the .ap again and see what happens---but as I also said above, I'm not advocating that you do as you've just back to something that works!!
brysonman46
Very Active Forum Member
Posts: 2047
Joined: Sun Jul 21, 2013 10:30 am
Location: Larbert Central Scotland

Re: Problems changing an Asset on MML

Post by brysonman46 »

gptech wrote:
749006 wrote:Just not sure why the extracted .ap files lock up the track properties ?
They don't, or at least shouldn't. That's why I suspect something went awry when you started editing, or the save operation threw a wee wobbler to cause the problem.
As I posted above, the way to find out is to extract the contents from the .ap again and see what happens---but as I also said above, I'm not advocating that you do as you've just back to something that works!!
I tried the following. MML backed up elsewhere. Using the vanilla copy (no extractions), edited bits of track, road, lofts, scenery. Saved. Out and back in again to TS. All my amendments were in place, and I could edit further. The new folders containing the edited tiles were sitting nicely alongside the .ap file. Removed them, and then checked to see if the original was there - yes, all amendments had gone and original restored.
I then extracted the network and scenery folders, and tried again. This time, as with Peter, I could not select anything, so could not amend anything. Removed this copy, and restored the original.
Moral of the story - when amending, do not extract, let TS do it for you!

Nick
gptech
Very Active Forum Member
Posts: 19585
Joined: Fri Oct 10, 2008 5:48 pm
Location: Wakefield, West Yorkshire

Re: Problems changing an Asset on MML

Post by gptech »

I'll give that a go myself when I'm home---very odd though!
brysonman46
Very Active Forum Member
Posts: 2047
Joined: Sun Jul 21, 2013 10:30 am
Location: Larbert Central Scotland

Re: Problems changing an Asset on MML

Post by brysonman46 »

gptech wrote:I'll give that a go myself when I'm home---very odd though!
That's what I thought
User avatar
749006
Very Active Forum Member
Posts: 9862
Joined: Fri Mar 30, 2012 11:17 am
Location: England
Contact:

Re: Problems changing an Asset on MML

Post by 749006 »

brysonman46 wrote:
749006 wrote:Just not sure why the extracted .ap files lock up the track properties ?
I tried the following. MML backed up elsewhere. Using the vanilla copy (no extractions), edited bits of track, road, lofts, scenery. Saved. Out and back in again to TS. All my amendments were in place, and I could edit further. The new folders containing the edited tiles were sitting nicely alongside the .ap file. Removed them, and then checked to see if the original was there - yes, all amendments had gone and original restored.
I then extracted the network and scenery folders, and tried again. This time, as with Peter, I could not select anything, so could not amend anything. Removed this copy, and restored the original.
Moral of the story - when amending, do not extract, let TS do it for you!

Nick
Thanks Nick - nice to know it's not just me :)

Peter
http://peter749.piwigo.com/
My Railway Pictures
gptech
Very Active Forum Member
Posts: 19585
Joined: Fri Oct 10, 2008 5:48 pm
Location: Wakefield, West Yorkshire

Re: Problems changing an Asset on MML

Post by gptech »

Also happens here, not only on MML but just tried Bristol - Cardiff to see if it was just specific to MML.
brysonman46 wrote:when amending, do not extract, let TS do it for you!
As the only reason we extract things from .ap archives is to allow RW Tools to *see* them, and that all that's needed out of the archive for a route is the RouteProperties.xml file, there should be no need for asnybody to extract anything more.

Peter; you deleted and replaced the sign---another 'no need' step, simply clicking on the sign to show the track link and moving that link a foot or so towards the tunnel is all that's needed.

If noting else, this thread does show the sense in retaining (even if archived out of the game) the .ap archives.
I suppose the next test should be to extract the contents of a .ap, remove the .ap, and see if stuff is selectable then.....gimme 15 minutes :wink:

15 minutes later.....

Still doesn't work by removing the archive after extracting, not even if the 'Archive' attribute is removed when doing the extraction.
User avatar
749006
Very Active Forum Member
Posts: 9862
Joined: Fri Mar 30, 2012 11:17 am
Location: England
Contact:

Re: Problems changing an Asset on MML

Post by 749006 »

gptech wrote:Peter; you deleted and replaced the sign---another 'no need' step, simply clicking on the sign to show the track link and moving that link a foot or so towards the tunnel is all that's needed.
Daft as it sounds I could not see where the link was because of the tunnel occlusion thingy.
Plus my being able to delete and put a new board was a good way, to me, of proving the assets were unlocked :)
http://peter749.piwigo.com/
My Railway Pictures
markpullinger
Very Active Forum Member
Posts: 3105
Joined: Sun Jun 08, 2003 6:24 pm

Re: Problems changing an Asset on MML

Post by markpullinger »

Had the extracted files/folders had the read only attribute removed? Sometimes it needs to be set then unset to clear it if windows thinks there is a problem.
Locked

Return to “[TS] Help for Beginners”