Content folders

Discussion about RailWorks route design.

Content folders

Unread postby SAR704 » Fri Mar 06, 2015 6:37 am

Just wondering, how do you identify the content folder for a route without going into the actual content folder?

I've found the assets folder for an old route which i made a small start on a couple of years ago. However, I can't seem to find the content folder for it. Is there anything in the blueprints or whatever that tells you the name of this folder so that i can move it back to content and try and get it working again?
Geforce GTX 1060
16GB RAM
Intel Core i5-3350 3.10ghz
Win te(n) Home
SAR704
 
Posts: 716
Joined: Tue Jun 21, 2011 9:48 am
Location: Adelaide, South Australia

Re: Content folders

Unread postby artimrj » Fri Mar 06, 2015 8:18 am

There is a utility in the Railworks folder called namemyroute.exe. It displays the real name instead of numbers of the route. However, if the route is newer and has stuff in an .AP, the utility cannot read it. Otherwise you have to go in each folder and open the route properties.xml and see what thename of it is.
Bob Artim - Generation X²
I don't have a PHD, I have a DD214... Freedom carries sacrifice
I'm crawling in the dark looking for the answer
User avatar
artimrj
 
Posts: 4722
Joined: Sun Jan 31, 2010 3:07 pm
Location: Beaver, Pennsylvania

Re: Content folders

Unread postby yymot » Sat Mar 07, 2015 11:37 am

You could install RWInfo - the latest installer package is available at railsim.de

RWInfo can (beside other things like showing a route map) export a nice list of all routes with identifiers without unpacking an .ap files.
yymot
 

Re: Content folders

Unread postby Ericmopar » Sun Mar 08, 2015 7:00 am

yymot wrote:You could install RWInfo - the latest installer package is available at railsim.de

RWInfo can (beside other things like showing a route map) export a nice list of all routes with identifiers without unpacking an .ap files.


That's interesting.
I mean, could whoever wrote that program know what Mike Simpson needs to know to get RWs tools to be able to read and maybe write to .ap files?
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: 2797
Joined: Mon May 13, 2013 12:35 am
Location: Henderson NV.

Re: Content folders

Unread postby Chacal » Sun Mar 08, 2015 3:47 pm

It is not that he doesn't know, I've talked to Mike about that long ago, it's the massive changes to RW-Tools that it would require, along with the risk to break everything. At the time he felt it wasn't worth it, and I'm guessing now wouldn't be a good time to ask him about it.
Over the hill and gathering speed
Chacal
Site Admin
 
Posts: 6498
Joined: Tue Jul 05, 2011 1:11 pm
Location: Quebec, Canada

Re: Content folders

Unread postby yymot » Sun Mar 08, 2015 6:02 pm

I have to support the reply from @Chacal.

Obviously Mike Simpson knows how to read .ap files - otherwise he could not have written the ap file manager.

IMHO the problem is the technology behind RW_Tools. AFAIK it is still written in VB6 and that limits the possibilities for working with ZIP files directly (and .ap files are nothing more than ZIP files in disguise)

For example RWInfo contains this module RWFileSystem.

RWFileSystem provides an unified view of the files within the railworks folder - whether these files reside in an .ap file or in the windows filesystem itself.

RWFileSystem returns path objects that the other modules can use to read the file contents (and RWFileSystem unpacks the file on the fly if necessary).

In Java this is not all to difficult - but in VB6 this is nearly impossible.
yymot
 


Return to Route Design

Who is online

Users browsing this forum: No registered users and 2 guests