Delete Route/Package a Route

General discussion about Rail Simulator that doesn't really fit in to any specific category. A good place to start if you're not sure what category it should fit in to as well.

Moderator: Moderators

Locked
User avatar
mikesimpson
Very Active Forum Member
Posts: 6361
Joined: Mon Dec 03, 2001 12:00 am
Location: Southern Hemisphere Penal Colonies
Contact:

Delete Route/Package a Route

Post by mikesimpson »

I have added a couple of new options to my KRS_Bin_Editor in a new Tools menu.

1. Delete a Route - Brings up a list of installed Routes along with their Folders, so that you can at last see which folder holds which route. Just select the route and click the Delete button and it deletes the folder AND makes the appropriate amendment to the Routes.xml file.

2. Package a Route, brings up the same list, select a Route and you are shown the Folder name which you will have to add to your zip file and also produces a text file which includes text which will have to be pasted into the user's Routes.xml file and tells him where to paste it.

Usual comments about backing up Routes.xml first do apply :-)
Mike in OZ - Author of TS-Tools & Route-Riter.
http://www.agenetools.com
I'm not arguing (just explaining why I'm right).
User avatar
drwho200
Well Established Forum Member
Posts: 537
Joined: Sun Oct 21, 2007 3:19 pm
Location: UK
Contact:

Re: Delete Route/Package a Route

Post by drwho200 »

That sounds great! I think I am going to release my first route soon, just a standard little route with around 20% of the work done. Where can we get the Download?
Current Projects: Cross Country Major for RailWorks http://uktrainsim.com/filelib-info.php? ... leid=21553
User avatar
karma99
Very Active Forum Member
Posts: 2329
Joined: Wed Oct 17, 2007 8:21 pm
Location: Portsmouth, UK

Re: Delete Route/Package a Route

Post by karma99 »

:cry:

Oh well, my route remover app had a good if short life I guess :wink:

Mike, I was looking at the exporting of routes as well for it though obviously not required now, what did you make of the UUID tags in the xml? I was concerned that this might be connected with the user/user's RS install who created the route and might effect the adding/editing of an exported route?
Image
Links: Shop <> Blog <> Facebook
User avatar
drwho200
Well Established Forum Member
Posts: 537
Joined: Sun Oct 21, 2007 3:19 pm
Location: UK
Contact:

Re: Delete Route/Package a Route

Post by drwho200 »

RichTx32.ocx is not registering under Vista, how do I get into Administrator rights for command prompt?

Code: Select all

The module "richtx32.ocx" was loaded but the call to DLLRegisterServer failed with error code 0x8002801c. 
What should I do?
Current Projects: Cross Country Major for RailWorks http://uktrainsim.com/filelib-info.php? ... leid=21553
User avatar
johny
Very Active Forum Member
Posts: 2609
Joined: Fri Dec 07, 2001 12:00 am
Location: N. Warks, UK.

Re: Delete Route/Package a Route

Post by johny »

drwho200 wrote:RichTx32.ocx is not registering under Vista, how do I get into Administrator rights for command prompt?

Code: Select all

The module "richtx32.ocx" was loaded but the call to DLLRegisterServer failed with error code 0x8002801c. 
What should I do?
Start>Programs>Accessories. Right click Command Prompt and click Run as Administrator.

John
Technical Authors Do It Manually

#WolvesAyWe
User avatar
drwho200
Well Established Forum Member
Posts: 537
Joined: Sun Oct 21, 2007 3:19 pm
Location: UK
Contact:

Re: Delete Route/Package a Route

Post by drwho200 »

Thanks! :wink: Great Software! I will upload my route soon.
Current Projects: Cross Country Major for RailWorks http://uktrainsim.com/filelib-info.php? ... leid=21553
pauls
Very Active Forum Member
Posts: 1477
Joined: Wed Jan 14, 2004 6:47 pm

Re: Delete Route/Package a Route

Post by pauls »

Hi Mike,

This is the only version I've had problems with.
If I try to use either Delete or Package Route I get :-

Run-time error '9':
Subscript out of range


Cheers
Paul
User avatar
mikesimpson
Very Active Forum Member
Posts: 6361
Joined: Mon Dec 03, 2001 12:00 am
Location: Southern Hemisphere Penal Colonies
Contact:

Re: Delete Route/Package a Route

Post by mikesimpson »

karma99 wrote::cry:

Oh well, my route remover app had a good if short life I guess :wink:

Mike, I was looking at the exporting of routes as well for it though obviously not required now, what did you make of the UUID tags in the xml? I was concerned that this might be connected with the user/user's RS install who created the route and might effect the adding/editing of an exported route?
Sorry Pete, I did not realise someone else had written a Route remover. I guess mine will have an even shorter life, as I would imagine when the Developer Tools appear (only 8 days now, maybe :-) ), then neither will be required.

The export bit was also only intended for those who wished to swap routes with friends in the short term. I do not know what the UUID items do, however I have copied the bits from the .xml to three PCs here and they all ran just the same. They do not appear to be connected to the author or his PC, or otherwise I would have thought all Routes built on the same PC would have the same UUID ? Which they do not have.
Mike in OZ - Author of TS-Tools & Route-Riter.
http://www.agenetools.com
I'm not arguing (just explaining why I'm right).
User avatar
mikesimpson
Very Active Forum Member
Posts: 6361
Joined: Mon Dec 03, 2001 12:00 am
Location: Southern Hemisphere Penal Colonies
Contact:

Re: Delete Route/Package a Route

Post by mikesimpson »

pauls wrote:Hi Mike,

This is the only version I've had problems with.
If I try to use either Delete or Package Route I get :-

Run-time error '9':
Subscript out of range


Cheers
Paul
Hi Paul,

How many routes do you have installed, and what is the path for your Rail Simulator?
The editor checks the Registry for the RailSim path, and may give strange results if this is different to where you have it?
Mike in OZ - Author of TS-Tools & Route-Riter.
http://www.agenetools.com
I'm not arguing (just explaining why I'm right).
pauls
Very Active Forum Member
Posts: 1477
Joined: Wed Jan 14, 2004 6:47 pm

Re: Delete Route/Package a Route

Post by pauls »

Hi Mike,

Its just the standard c:/Program Files/Rail Simulator

I have 5 routes - 4 standard and 1 experimental

Cheers
Paul
mikesimpson wrote:
pauls wrote:Hi Mike,

This is the only version I've had problems with.
If I try to use either Delete or Package Route I get :-

Run-time error '9':
Subscript out of range


Cheers
Paul
Hi Paul,

How many routes do you have installed, and what is the path for your Rail Simulator?
The editor checks the Registry for the RailSim path, and may give strange results if this is different to where you have it?
User avatar
karma99
Very Active Forum Member
Posts: 2329
Joined: Wed Oct 17, 2007 8:21 pm
Location: Portsmouth, UK

Re: Delete Route/Package a Route

Post by karma99 »

mikesimpson wrote:
karma99 wrote::cry:

Oh well, my route remover app had a good if short life I guess :wink:

Mike, I was looking at the exporting of routes as well for it though obviously not required now, what did you make of the UUID tags in the xml? I was concerned that this might be connected with the user/user's RS install who created the route and might effect the adding/editing of an exported route?
Sorry Pete, I did not realise someone else had written a Route remover. I guess mine will have an even shorter life, as I would imagine when the Developer Tools appear (only 8 days now, maybe :-) ), then neither will be required.

The export bit was also only intended for those who wished to swap routes with friends in the short term. I do not know what the UUID items do, however I have copied the bits from the .xml to three PCs here and they all ran just the same. They do not appear to be connected to the author or his PC, or otherwise I would have thought all Routes built on the same PC would have the same UUID ? Which they do not have.
No worries mate, as long as the community can do what it needs to make KRS better than that's all that counts.
That's cool that you tried the exported routes on another machine, I wasn't able to do that, and that it worked out fine. I was dreading that the UUID's were some kind of encryption based on the user's install and the route GUID, but I guess not..
so I wonder what they are then? *cue X-File's music* :D
Image
Links: Shop <> Blog <> Facebook
User avatar
mikesimpson
Very Active Forum Member
Posts: 6361
Joined: Mon Dec 03, 2001 12:00 am
Location: Southern Hemisphere Penal Colonies
Contact:

Re: Delete Route/Package a Route

Post by mikesimpson »

pauls wrote:Hi Mike,

Its just the standard c:/Program Files/Rail Simulator

I have 5 routes - 4 standard and 1 experimental

Cheers
Paul
Hi Paul,

I have not had any more reports of this, and cannot see what woud cause it, I will keep fiddling, but by the time I find the problem the Developer Tools will be out (I hope) :-)
Mike in OZ - Author of TS-Tools & Route-Riter.
http://www.agenetools.com
I'm not arguing (just explaining why I'm right).
User avatar
drwho200
Well Established Forum Member
Posts: 537
Joined: Sun Oct 21, 2007 3:19 pm
Location: UK
Contact:

Re: Delete Route/Package a Route

Post by drwho200 »

I wonder exactly what they will contain though. We don't yet know.
Current Projects: Cross Country Major for RailWorks http://uktrainsim.com/filelib-info.php? ... leid=21553
Locked

Return to “[RS] General RS Discussion”