View unanswered posts | View active topics It is currently Sat Feb 08, 2025 9:30 pm



Reply to topic  [ 3 posts ] 
 Do you ever export your planet list? 
Author Message
Chief Warrant Officer

Joined: Sun Mar 06, 2011 12:22 am
Posts: 189
Unread post Do you ever export your planet list?
I prefer seeing each planet on its own line.
When I did this in Word, I needed search and replace No Citadel and Levels 1-6, which was 7 steps.
Word doesn't allow using wildcards with special characters, so you can't search for "Level ?^p."
However, if you enable wildcards, ^13 is the paragraph symbol, so:
Code:
{2,}Level ?^13

would search for "Level" with one or more spaces before it and a carriage return afterward, and:
Code:
^tLevel ?^t

would insert tabs.
Supposedly,
" ({2,})(Level ?|No Citadel)^13"
would search for "Level ?" or "No Citadel," but I couldn't get it to work.

In Notepad++, if you pull up Search and Replace, select Regular expression, and paste
Code:
\s+(No Citadel|Level \d)\r\n
into Find what and
Code:
\1\t
into Replace with, it will replace the spaces before No Citadel or Level ? with a tab and replace the line break with another tab, allowing you to see each planet's data in one row! :D

_________________
Photons away!


Sun Jan 12, 2025 4:08 am
Profile
Ensign

Joined: Wed Nov 06, 2002 3:00 am
Posts: 270
Unread post Re: Do you ever export your planet list?
Is that a planet list export from the Tradewars game itself or from a helper like SWATH or TWXProxy Grey? Whichever it is, that is useful information for data organization for scripting or gameplay use either one. Thanks for posting that!


Fri Jan 31, 2025 3:52 pm
Profile
Chief Warrant Officer

Joined: Sun Mar 06, 2011 12:22 am
Posts: 189
Unread post Re: Do you ever export your planet list?
I copy and paste from SWATH, but you could use any terminal.
I am glad that you found it helpful! :)

_________________
Photons away!


Sun Feb 02, 2025 1:50 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: Bing [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.