[TOOL] Unlocking info and object knowledge.
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
[TOOL] Unlocking info and object knowledge.
In case you do not want to spend time to unlock info points and install agents via smalltalk, the tool here does it for you.
http://mage-online.com/public/images/xrb.7z
You will see all the zones, sectors, clusters, stations, highways and you will get most of the module info point discoveries on stations.
You will have agent installed to all stations.
This is a command line tool. If you run it without parameter, it tries to load quicksave.xml by default, otherwise it opens the file in the argument.
The original file is never changed, it will always save a new file instead e.g. quicksave.xml is saved as quicksave.xml_ (adds '_' to end)
It works best if you start a new game, wait a minute (so macros at start will finish running) then hit quick save. Go to command line, find your saves, run the tool. Before overwriting the original with the new '_', this is the point when you would take backup.
It should of course work on existing save games as well, but in that case i strongly suggest taking backups.
http://mage-online.com/public/images/xrb.7z
You will see all the zones, sectors, clusters, stations, highways and you will get most of the module info point discoveries on stations.
You will have agent installed to all stations.
This is a command line tool. If you run it without parameter, it tries to load quicksave.xml by default, otherwise it opens the file in the argument.
The original file is never changed, it will always save a new file instead e.g. quicksave.xml is saved as quicksave.xml_ (adds '_' to end)
It works best if you start a new game, wait a minute (so macros at start will finish running) then hit quick save. Go to command line, find your saves, run the tool. Before overwriting the original with the new '_', this is the point when you would take backup.
It should of course work on existing save games as well, but in that case i strongly suggest taking backups.
Last edited by Assailer on Fri, 17. Oct 14, 12:11, edited 1 time in total.
- Earth Ultimatum IV.
- Posts: 5280
- Joined: Mon, 3. May 10, 14:39
Cool! Having just recently started a new game, I really dont feel like getting those trade agents again.
I had one on every possible station of the game, now I dont have any.
Will try this!
But here is a question first:
how are enemy stations handled? Iam enemy with PMC, cause I stole a few things from them, will trade agents be also added on PMC stations?
I had one on every possible station of the game, now I dont have any.
Will try this!
But here is a question first:
how are enemy stations handled? Iam enemy with PMC, cause I stole a few things from them, will trade agents be also added on PMC stations?
Yes, the agents will install and they will report prices in trade window. They will show up in red, so it's only informational, but at least you will see enemy prices and wares
If you wish, i could exclude hostile factions. The only reason this is c++ because python runs forever on 40mb XML... Nothing beats RapidXML & c++ when it comes to speed
Edit: So far, these 3 factions are excluded:
if (strcmp(station->m_owner, "xenon") == 0)
{
}
else if (strcmp(station->m_owner, "familyryak") == 0)
{
}
else if (strcmp(station->m_owner, "reivers") == 0)
{
}
else
{
if (SubscriptionsNode)
{
n = SubscriptionsNode->document()->allocate_node(node_element, "object");
SubscriptionsNode->append_node(n);
a = SubscriptionsNode->document()->allocate_attribute("id", station->m_id);
n->append_attribute(a);
}
}
If you wish, i could exclude hostile factions. The only reason this is c++ because python runs forever on 40mb XML... Nothing beats RapidXML & c++ when it comes to speed
Edit: So far, these 3 factions are excluded:
if (strcmp(station->m_owner, "xenon") == 0)
{
}
else if (strcmp(station->m_owner, "familyryak") == 0)
{
}
else if (strcmp(station->m_owner, "reivers") == 0)
{
}
else
{
if (SubscriptionsNode)
{
n = SubscriptionsNode->document()->allocate_node(node_element, "object");
SubscriptionsNode->append_node(n);
a = SubscriptionsNode->document()->allocate_attribute("id", station->m_id);
n->append_attribute(a);
}
}
-
- Moderator (English)
- Posts: 8074
- Joined: Tue, 30. Mar 04, 12:28
If you wish to compile it for yourself, or make changes to what the tool does, you can get all the source files i used here:
https://github.com/mageonline/xrb
The binary is in the release folder.
Enjoy!
https://github.com/mageonline/xrb
The binary is in the release folder.
Enjoy!
- Earth Ultimatum IV.
- Posts: 5280
- Joined: Mon, 3. May 10, 14:39
- Earth Ultimatum IV.
- Posts: 5280
- Joined: Mon, 3. May 10, 14:39
Doesnt work... Or did i do something wrong?
Found saves, backed up, dropped the exe there, ran it, it made me a new "quicksave" with the _ on its name, removed my old one, removed the _ in the name, launched game and loaded it...
First time in devries but no stations in map, no agents added.
EDIT: it did increase my save size and says certain sectors "info X-time old" like ive been there but i havent.
Found saves, backed up, dropped the exe there, ran it, it made me a new "quicksave" with the _ on its name, removed my old one, removed the _ in the name, launched game and loaded it...
First time in devries but no stations in map, no agents added.
EDIT: it did increase my save size and says certain sectors "info X-time old" like ive been there but i havent.
- Sandalpocalypse
- Posts: 4447
- Joined: Tue, 2. Dec 03, 22:28
-
- Moderator (English)
- Posts: 8074
- Joined: Tue, 30. Mar 04, 12:28
-
- Moderator (English)
- Posts: 8074
- Joined: Tue, 30. Mar 04, 12:28
-
- Moderator (English)
- Posts: 8074
- Joined: Tue, 30. Mar 04, 12:28
Just tested and it is compatible.Assailer wrote:I will check this to be sure. In theory it should be, as it only adds KNOWN flags and rebuilds SCAN data.
Create a fresh teladi start for example, talk through the initial script and scan at least one INFO point before saving, so the tool can find in XML where to add the other info points.
If you start story mode, the unlocks and info scanning is limited as before.
You can run on a 2.5 save which was once loaded and saved as 3.0 to unlock new zones and gates.
-
- Moderator (English)
- Posts: 8074
- Joined: Tue, 30. Mar 04, 12:28
Thanks very much for quick testing
I used the DeVries Freelancer start as a new game in 3.0 but I was unable to use your tool successfully. Probably a mistake on my end.
When I ran the tool from within the default Rebirth directory containing my quicksave, a small black window pops open for a fraction of a second then disappears. A quicksave.xml_ file wasn't created.
DeVries Freelancer start in case relevant:
http://forum.egosoft.com/viewtopic.php?t=369194
I used the DeVries Freelancer start as a new game in 3.0 but I was unable to use your tool successfully. Probably a mistake on my end.
When I ran the tool from within the default Rebirth directory containing my quicksave, a small black window pops open for a fraction of a second then disappears. A quicksave.xml_ file wasn't created.
DeVries Freelancer start in case relevant:
http://forum.egosoft.com/viewtopic.php?t=369194
-
- Posts: 3
- Joined: Sun, 15. Mar 15, 22:53