Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Random Image
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Who's Online
66 user(s) are online (17 user(s) are browsing Forum)

Members: 0
Guests: 66

more...
Collapse/Expand Donations
Monthly costs: -30€
Income (ads): +5€
Donations (last month): +0€

Current balance: 55€
(last updated 04/2021)

Please make a donation if you want to help keeping The-Starport online:

Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 69 users playing Freelancer on 45 servers.
May. 22, 2022

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



Save converter
Home away from home
Joined:
2008/5/4 21:00
Group:
Registered Users
Senior Members
Posts: 554
Offline
I forgot all about this, until recently when I was messing around.

I don't know whether other applications give similar functionality, but between versions of Evolutions we often made some changes to the available items a user may have.

To prevent issues for server admins that this would cause, Accushot programmed up a little application - the save converter. It is for download here, but misses a description.

Essentially the save converter allows you to specify what to search the servers character files for and remove. So, an example is:

Quote:

[Operation]
Type = RemoveEquip
Var1 = NOMAD_TURRET01_MARK01
Var2 = 2000

[Operation]
Type = RemoveReplaceEquip
Var1 = TE_FIGHTER_POWER03
Var2 = GE_FIGHTER_POWER01


The operation is to remove equipment from the players ship (if it exists) and renumerate them by 2000 credits, or replace with another item.

This is removing a reference to a wreck (visited, known, whatever)
Quote:

[Operation]
Type = RemoveObject
Var1 = FP7_LSF_SUPRISE_LIBERATOR_WRECK


This is stripping a hardpoint of a specific ship (I think).
Quote:
[Operation]
Type = RemoveHardpoint
Var1 = HpNew03
Var2 = player_li_elite3


Putting stuff onto a hardpoint.
Quote:
[Operation]
Type = AddEquipmentToHp
Var1 = RAVEN
Var2 = HpThruster02
Var3 = INVIS_THRUSTER



The thing is you put all this into a single file (an example is included in the download) in one go, so it runs once and performs a large number of changes. I think our script replaced items on about 18 ships, removed lots of items and locations - all very quickly. It also backs up the files before carrying out changes too.

Just thought that as mods evolve over time, such functionality to mass convert player files accordingly may be useful if something doesn't already do it, and people may not be aware of this application!

Posted on: 2010/11/23 22:53
Top
Re: Save converter
Just can't stay away
Joined:
2010/2/2 13:57
Group:
Registered Users
$$$ Supporters $$$
Posts: 351
Offline
Thanks, that might be useful.

Posted on: 2010/11/25 16:09
Top