TrainzOnline:DLS Cleanup Auran Pages

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(Project Page: interim)
(Adding other searches: interim)
Line 5: Line 5:
 
   
 
   
 
==Adding other searches==
 
==Adding other searches==
[[file:Project_DLS_Cleanup_Auran_Pages_NP++GSAR-example-1|right|thumb|200px|Selecting text across line end in Notepad++ <br/>(NPP editor Shown with default coloration)]]
+
{| style="float:right; align:right; width: 40%; max-width:600px ;"
 +
|
 +
[[File:Project DLS Cleanup Auran Pages NP++GSAR-example-1.png|right|thumb|500px|Selecting text across line end in Notepad++ <br/>(NPP editor Shown with default coloration)]]
 +
|-
 +
| [[File:Project DLS Cleanup Auran Pages NP++GSAR-example-1.png|right|thumb|500px|Selecting text across line end in Notepad++ <br/>(NPP editor Shown with default coloration)]]
 +
|-
 +
| [[File:Project DLS Cleanup Auran Pages NP++GSAR-example-1.png|right|thumb|500px|Selecting text across line end in Notepad++ <br/>(NPP editor Shown with default coloration)]]
 +
|-
 +
|}
 
The technique utilized the search and replace features of Notepad++, a freeware 'programmers text editor' that incidentally can search a whole directory tree and replace identical flaws in a config.txt file collection, all the files under '\editing', for example. Notepad++ has the ability to search multiple lines in any file for the same pattern ACROSS the END OF LINE boundary (escape code is '\n', but the search is pure simple cut and paste!) then replace the text across the text combination found across the end of line boundaries as directed.
 
The technique utilized the search and replace features of Notepad++, a freeware 'programmers text editor' that incidentally can search a whole directory tree and replace identical flaws in a config.txt file collection, all the files under '\editing', for example. Notepad++ has the ability to search multiple lines in any file for the same pattern ACROSS the END OF LINE boundary (escape code is '\n', but the search is pure simple cut and paste!) then replace the text across the text combination found across the end of line boundaries as directed.
  

Revision as of 14:19, 13 July 2013

TrainzOnline Wiki-Projects
 


Contents

Project Page

  • A Searchable List of Auran era assets needing DLS Cleanup

This page is an adjunct to the guideline: Download_Station_Cleanup and the Auran DLS Cleanup web site as it is a list, a compendium of ALL 'unclaimed' assets having a negative user id code in the Kudis— put together from the DLS Cleanup website behind it's secure server. It has been generated, so the remaining 600-800 assets listed with minus Kuid ownership codes (AURAN sourced, in other words) can be more readily assessed and searched out. Community members should feel free to add to the list with other search parameters on the Https:/ site. The assembly required a simple cut, paste and edit process.  

Adding other searches

Selecting text across line end in Notepad++
(NPP editor Shown with default coloration)
Selecting text across line end in Notepad++
(NPP editor Shown with default coloration)
Selecting text across line end in Notepad++
(NPP editor Shown with default coloration)

The technique utilized the search and replace features of Notepad++, a freeware 'programmers text editor' that incidentally can search a whole directory tree and replace identical flaws in a config.txt file collection, all the files under '\editing', for example. Notepad++ has the ability to search multiple lines in any file for the same pattern ACROSS the END OF LINE boundary (escape code is '\n', but the search is pure simple cut and paste!) then replace the text across the text combination found across the end of line boundaries as directed.

Process:

  1. set a search filter {example) on the DLS cleanup menu, Make sure to check Unclaimed — the below technique will fail for any containing a user name.
    1. The search window in the below compilation was set using '<kuid:-#>' where the number was varied from 1 to 9 (-0 and -10 being immaterial, all negative owner codes are listed by -1, -2, ..., -9 in sequence, which is how the table was built.)
    2. Searching <kuid:-2> also finds ALL assets containing a dash-2, similarly so did '-1' through '-nn'
    3. Searching just <Kuid:1> returned nada, if anyone can figure out how to search for all kuids beginning with <kuid:1, <kuid:2, etcetera please let me know ASAP! (at FrankB)
  2. DRAG the mouse cursor from the table lower right corner to upper left short of the title box
  3. [CTRL]-[C] to copy the highlighted text in the table
  4. [ALT]-[TAB] to Notepad++ and Paste ([CTRL]-[V]) into Notepad++
    1. Tidy up the top and bottom so there is no header (one is shown below),
  5. then highlight using mouse dragging from the character before "Claim for repair" down to inside the "<KUID" string in the line below.
    1. [CTRL]-[C] to copy, [CTRL]-[H] (like Notepad) to begin search and replace mode--the heighlighted string will be in the search field window already.
    2. In the replace field type _||_\n|-\n<KUID, where by '_' I mean a space character.
    3. Clicking the [Replace Button]

almost Raw search

This is a raw table produced by using the macro feature in Notepad++ to insert a leading space.
Wikimarkup makes such a 'first-space' line into a psuedo-table as we see in all too many Trainz Wiki official reference pages. (Inserting the space is NOT part of the process, but so the 'page' text here would look as it does.)
  • The Search: set search window for ':1', Unclaimed
  • this is the last of 186 'pages' listed
KUID 	Name 	Description 	Repairer
<KUID:97704:17101> 	Illinois Central 50' Box Car-V 2 	paintshed skin 	Claim for repair
<KUID:97704:17102> 	Illinois Central 50' Box Car-V 3 	paintshed skin 	Claim for repair
<KUID2:97915:150006:1> 	flatcar_rock_island_8898 	Employees Auran's alias flatcar. Originally released by Rene'  N. SteinKamp as SP3 reskin content.... 	Claim for repair
<KUID:98966:100002> 	honeywell 40'_boxcar 	paint shop pro reskin. Contributors (Dependencies): <ul  style="margin-top:0px;margin-bottom:0px"... 	Claim for repair
<KUID:98966:100142> 	FLAME rail lines 	paintshed skin 	Claim for repair
<KUID:98966:100156> 	Honeywell 50ft box car 	paintshed skin 	Claim for repair
<KUID2:98966:263356:1> 	SW1500 Southern Pacific Weathered 	SW1500 Souther Pacific Weathered  http://www.TrainzLocomotiveWorks.com Contributors (Dependencies... 	Claim for repair
<KUID:99054:100005> 	FGW 43 	paintshed skin 	Claim for repair
<KUID:99054:16580986> 	CT Rail 43 	paintshed skin 	Claim for repair
<KUID2:99935:101347:1> 	Currawong Creek 	Old layout to be obsoleted Contributors (Dependencies): <ul  style="margin-top:0px;margin-bottom:... 	Claim for repair
<KUID:9999:10023> 	OBB CAT 50-81 Bmpz-dl 	City Airport Train Doppelstockwagen der Ö³terreichisen Bundesbahnen AG  Based on the DB DBuza 747... 	Claim for repair
<KUID:9999:10024> 	OBB CAT 88-33 controll 	City Airport Train Doppelstockwagen-Steuerwagen der Ö³terreichisen  Bundesbahnen AG Based on the ... 	Claim for repair
<KUID:9999:10025> 	OBB Wiesel 50-81 Bmpz-dl 	City Airport Train Doppelstockwagen der Ö³terreichisen Bundesbahnen AG  Based on the DB DBuza 747... 	Claim for repair
<KUID:9999:10026> 	OBB Wiesel 88-33 controll 	City Airport Train Doppelstockwagen-Steuerwagen der Ö³terreichisen  Bundesbahnen AG Based on the ... 	Claim for repair   

 

Making a compatible table

Personal tools