Multiple installations in only one directory

Multiple installations in only one directory; support/discussion/questions

Moderator: thunderchero

Post Reply
User avatar
DOT
Lieutenant-Commander
Lieutenant-Commander
Posts: 100
Joined: Tue Dec 23, 2008 3:00 am
Location: 49°N, 8°E

Multiple installations in only one directory

Post by DOT » Mon May 18, 2009 7:41 am

To use different mods placed together in only one directory, some files have to be renamed.
In trek.exe

- the savegames are named at hex:
0x1760DC, 0x17FF28
(one may see only the savegames created by responding trek.exe, if name of savegame is changed)

- for using different settings INI-File is named at hex:
0x17432C, 0x17AD2C, 0x17E984

- and STBOF.RES-File is named at hex:
0x173E38


For example:
- unchanged vanilla botf v 1.02 is unchanged
- larger map based on vanilla is named "trek-bigmap.exe", saved games are named "sbm_%d" and STBOF.RES is named "ST-BM.RES"
- larger map and some more changes based on vanilla is named "trek-mod2.exe", saved games are named "smm_%d" and STBOF.RES is named "ST-MM.RES"

More space for file naming is not possible without adjusting the offsets in trek.exe.
I didn't look for "sound" or other files changed with BoP and/or UDM...
life long and prosper

User avatar
Peter1981
Rear-Admiral
Rear-Admiral
Posts: 1118
Joined: Tue May 06, 2008 2:00 am
Location: England

Post by Peter1981 » Tue Feb 22, 2011 2:10 pm

intresting stuff Dot -- good work

Post Reply

Return to “Multiple installations in only one directory”

Who is online

Users browsing this forum: No registered users