How to get RW to read ap files?

Post your problems and installation issues here!

How to get RW to read ap files?

Unread postby stresstool » Fri Jan 20, 2017 7:01 pm

Anybody know the secret that prevents Railworks from reading .ap files? I've had this problem on RW for quite a while. It survived through the update from Windows 7 to 10. It is becoming a problem since my game disk is getting full. What I have to do whenever I get anything from steam in an .ap file is run RW_Tools and have it unpack the file. Until I do that, no new DLC shows up in any RW menu. Most recently noticed with the acquisition of the SN route but it also happens with any steam RW DLC. So my game disk has two copies of everything.

It must be some entry in the Windows registry. My laptop which is also running Windows10 does not experience the problem. I was hoping for a simple fix. I got nothing more than an acknowledgment of a query from DTG support.

A re-install of Windows 10 on my desktop just does not appeal to me. I know I'd be looking at least one whole day but probably more to do that and get all my apps running as they are supposed to.
User avatar
stresstool
 
Posts: 44
Joined: Mon Feb 16, 2009 7:10 pm

Re: How to get RW to read ap files?

Unread postby Ericmopar » Fri Jan 20, 2017 7:12 pm

It would be something in the game's core program.

Make a backup of your Content and Assets folders, then do a complete delete and reinstall of Train Simulator 2017. Then use the backups to reinstall your mods, routes etc.
New build. i7-7700k, MSI Z270 Gaming M5 Mobo, Hyper 212 Evo, Corsair DDR4 3200 Mhz RAM, Klipsch Pro Mediea 2.1 Speakers, Samsung 850 Evo SSD, HAF XM Case, Asus Strix GTX 1070 and Cooler Master Storm XT Keyboard.
Slick with Pretty Rainbow Colors.
User avatar
Ericmopar
 
Posts: 2814
Joined: Mon May 13, 2013 12:35 am
Location: Henderson NV.

Re: How to get RW to read ap files?

Unread postby stresstool » Fri Jan 20, 2017 8:53 pm

I should have mentioned the things I've tried already over the last few months without success.

Move everything in the steam folder to a separate disk and delete the folder and everything in it. De-install Steam. Reboot. Re-install steam. Let Steam re-download everything into an empty folder. Open RW. Only a tiny fraction of stuff available to play. Not completely empty of routes and equipment, but mostly. Open RW_Tools. Let'er rip unpacking all .ap files it finds. Open RW again: Viola! All my DLC is there once again.

It has been a few months since I last did this. I can try it again. But isn't that the definition of insanity? Doing the same thing again and again expecting different results?
User avatar
stresstool
 
Posts: 44
Joined: Mon Feb 16, 2009 7:10 pm

Re: How to get RW to read ap files?

Unread postby Chacal » Sat Jan 21, 2017 12:18 pm

I thought it was the definition of marriage. !**conf**!

Anyway, also try to remove in Windows any file association to the .ap file extension.
I'm really grabbing at straws here, I know.
Throwing science at the wall and seeing what sticks.
Over the hill and gathering speed
Chacal
Site Admin
 
Posts: 6471
Joined: Tue Jul 05, 2011 1:11 pm
Location: Quebec, Canada

Re: How to get RW to read ap files?

Unread postby buzz456 » Sat Jan 21, 2017 1:18 pm

I think Eric's idea is different from what you have been doing. In other words only save the asset and content to somewhere else then do your new copy of TS. Then put your old Asset and Content folders back into the new TS and everything should show up.. I've done it that way several times now and have never had a problem with anything not showing up.
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 20911
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: How to get RW to read ap files?

Unread postby stresstool » Sat Jan 21, 2017 3:35 pm

buzz456 wrote:I think Eric's idea is different from what you have been doing. In other words only save the asset and content to somewhere else then do your new copy of TS. Then put your old Asset and Content folders back into the new TS and everything should show up.. I've done it that way several times now and have never had a problem with anything not showing up.


Thanks, but not quite the same thing. The recent purchase of the SN reminded me once again of this problem. After it was downloaded and installed, neither it nor any of the included equipment appeared in any of the RW menus as being available. Not until I unpacked the two new .ap files that comprised the SN route and equipment did anything about them show up in the RW menus.

In the past, Steam and DTG (or RW) has issued an update to some route, equipment or core code and, without notice or fanfare, deleted all the unpacked files and replaced the .ap files with new ones. It was only some days, weeks or months later when I started up RW to find some of my stuff has gone missing that my thought process becomes: "I thought I bought that route/engine/kit long ago. Did I imagine it? Maybe I didn't? What happened to it? Oh yeah, now I remember, there must have been an update so I have to unpack ap files again to get my stuff to show up". The RW_Tools ap file manager often shows a whole bunch of .ap files listed in red meaning they hadn't (yet) been unpacked so they are the ones that got updates. It gets old. But, worse, is it is gobbling up too much disk space.
User avatar
stresstool
 
Posts: 44
Joined: Mon Feb 16, 2009 7:10 pm

Re: How to get RW to read ap files?

Unread postby buzz456 » Sat Jan 21, 2017 4:28 pm

What I'm trying to say is that something is probably borked in your RailWorks folder. That's why doing what Eric suggested copying and saving your Assets and Content folder somewhere then delete your whole RailWorks folder. Reacquire that through Steam and then put your saved Assets and Content back into your new installation. Normally Railworks can read .ap files with no problem.
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 20911
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: How to get RW to read ap files?

Unread postby robbit » Sat Jan 21, 2017 6:23 pm

buzz456 wrote:What I'm trying to say is that something is probably borked in your RailWorks folder. That's why doing what Eric suggested copying and saving your Assets and Content folder somewhere then delete your whole RailWorks folder. Reacquire that through Steam and then put your saved Assets and Content back into your new installation. Normally Railworks can read .ap files with no problem.

I believe he s talking about rw tools not railworks if I read the original post correctly.
robbit
 
Posts: 839
Joined: Fri Jul 15, 2011 11:29 am
Location: Maine

Re: How to get RW to read ap files?

Unread postby trev123 » Sat Jan 21, 2017 6:36 pm

I agree with Buzz, something wrong with the OPs version of TS2017. Another thing if the OP called RW, TS which it is now called would save people confusion when you also mention RW Tools. I don't have to unpack my AP files for TS to work and I would imagine all of us here don't either. Hope I'm on the right track here. *!rolleyes!*
Intel i5-10600K CPU, Asus TUF GAMING Z490-Plus (Wi-Fi) MB, Graphics Asus RTX 3060 TI 8GB OC TUF gaming card Windows 11 Home 64 bit, 16 GB Corsair Vengeance DDR4 ram, Viewsonic VX2728 LED 1080P FHD Monitor, Samsung 1TB SSD + other conventional drives, Corsair 750W PSU.
User avatar
trev123
 
Posts: 2312
Joined: Mon May 19, 2014 9:40 pm
Location: Home Of The Americas Cup

Re: How to get RW to read ap files?

Unread postby peterhayes » Sat Jan 21, 2017 6:38 pm

To the OP
I would do as Eric suggested
Just a thought, I would also delete the RVDBCache.bin and the SDBCache.bin files and the corresponding .MD5 files from the \Railworks\Content folder.
When TS opens it will rebuild both these databases.
This would remove any "corruption" in the route and scenario databases (and these files are not changed by cache verification, but are produced/scanned when TS2017 starts).
Before I started I would also remove any Workshop scenarios - just in case and reinstall them later.
If you don't want to do any serious editing in RW_Tools just extracting the routeproperties.xml folder is all you need and that is a much smaller option.
Regards
pH
User avatar
peterhayes
 
Posts: 807
Joined: Sun Oct 02, 2011 12:34 am
Location: Antipodes

Re: How to get RW to read ap files?

Unread postby buzz456 » Sat Jan 21, 2017 6:53 pm

robbit wrote:
buzz456 wrote:What I'm trying to say is that something is probably borked in your RailWorks folder. That's why doing what Eric suggested copying and saving your Assets and Content folder somewhere then delete your whole RailWorks folder. Reacquire that through Steam and then put your saved Assets and Content back into your new installation. Normally Railworks can read .ap files with no problem.

I believe he s talking about rw tools not railworks if I read the original post correctly.


If he's talking about RWTools he's not making himself very clear.
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 20911
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: How to get RW to read ap files?

Unread postby Chacal » Sat Jan 21, 2017 7:06 pm

He's not.
@Stresstool: PeterHayes' solution sounds really good to me.
Over the hill and gathering speed
Chacal
Site Admin
 
Posts: 6471
Joined: Tue Jul 05, 2011 1:11 pm
Location: Quebec, Canada

Re: How to get RW to read ap files?

Unread postby stresstool » Sun Jan 22, 2017 6:19 pm

To be clear, I have already done as other has suggested.

I moved the existing files to a temporary external disk and deleted all the files in the working steam folder. Then I un-installed Steam completely. Then rebooted. Then re-installed Steam. Then let Steam re-download all the Railworks files into an empty folder (it takes a few hours). No extra cruft in there. Should be fresh as it would be on a brand new system. Then I start RAILWORKS and only see a very tiny subset of things that should be there. It is not completely empty of routes and engines, but none of my purchased DLC is present and not even all the default stuff is in there. I take note that even though all the DLC is present in the steamapps/common/railworks folders, only the things that are not present in .ap files show up in the Railworks menus as available to use or play.

So this is where the application RW_Tools comes into play. I open that tool, and let its .ap file unpacker loose on the freshly installed Railworks files. Once RW_Tools is done, all the .ap files have been unpacked (and taking up twice the disk space which is the main problem I want fixed). I can open Railworks and viola!, all the default stuff and all my purchased DLC is right where it is supposed to be.

Since, it seems, both Steam and Railworks have been de-installed from the registry and re-installed along with all their files into empty folders, one would expect whatever cruft that might have been leftover in the registry (if that's where this problem lives) would have been flushed out during this procedure. But it seems that isn't the case.

In any case, it appears nobody here knows what is going on and nobody at DTG support has any idea either. Thanks anyway. I'll keep struggling with it until I bite the bullet and re-install Windows 10.
User avatar
stresstool
 
Posts: 44
Joined: Mon Feb 16, 2009 7:10 pm

Re: How to get RW to read ap files?

Unread postby peterhayes » Sun Jan 22, 2017 6:44 pm

ST
(and taking up twice the disk space which is the main problem I want fixed).

Did you try just unpacking the "routeproperties.xml" files only and not all of the .ap files?
Does that work?

In the "assets" folder there are several .ap files for locos/assets for routes, etc are any of these visible in the TS menus or do you have to extract these as well?
pH
User avatar
peterhayes
 
Posts: 807
Joined: Sun Oct 02, 2011 12:34 am
Location: Antipodes

Re: How to get RW to read ap files?

Unread postby Ericmopar » Sun Jan 22, 2017 9:35 pm

To the OP
Have you tried adding the Steam folder to your security exceptions and given it a firewall exception?
I'm thinking at this point, that something is actually blocking the opening of .ap folders.
New build. i7-7700k, MSI Z270 Gaming M5 Mobo, Hyper 212 Evo, Corsair DDR4 3200 Mhz RAM, Klipsch Pro Mediea 2.1 Speakers, Samsung 850 Evo SSD, HAF XM Case, Asus Strix GTX 1070 and Cooler Master Storm XT Keyboard.
Slick with Pretty Rainbow Colors.
User avatar
Ericmopar
 
Posts: 2814
Joined: Mon May 13, 2013 12:35 am
Location: Henderson NV.

Next

Return to Problems and Peculiarities

Who is online

Users browsing this forum: No registered users and 4 guests