Editing the stbof file in ECM2

This forum is for outdated or irrelevant Modding Information that may or may not be 3 months old.

Moderator: thunderchero

Post Reply
User avatar
Darth_Windu
Lieutenant-Commander
Lieutenant-Commander
Posts: 156
Joined: Sat Jul 19, 2008 2:00 am

Editing the stbof file in ECM2

Post by Darth_Windu »

Hi folks,

I've just finished the first stage of editing the stbof.res file in the ECM2 Large mod, soon to begin stage two. Anyway I'm wondering if the stbof is essentially the same between ECM2 normal and ECM2 large? I know that the large version is obviously much bigger, but I don't know how big the difference is between the files.

Alternately it's pretty easy to just extract the stbof of both and manually transfer the relevant files, I'd just like to avoid it if possible.
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7963
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: Editing the stbof file in ECM2

Post by thunderchero »

there are no special files between normal and large for the stbof.res unless you installed the extended view.

But UE keeps track of edited files.

but if you added ships nothing will work since trek.exe is completely different story.

so you will have to do your changes in normal version too manually. (just like you did large)

thunderchero
User avatar
Darth_Windu
Lieutenant-Commander
Lieutenant-Commander
Posts: 156
Joined: Sat Jul 19, 2008 2:00 am

Re: Editing the stbof file in ECM2

Post by Darth_Windu »

Ah ok, I think I did install extended view...not sure. At least I can just easily copy over the ship name and description files along with the various text files right?
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7963
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: Editing the stbof file in ECM2

Post by thunderchero »

ok here is what you must do in this order

first backup your stbof.res and trek.exe (normal version)
create new folder for edited files from large version
open large version stbof.res with UE
go to edit/other/list of modified files
select all files and extract to new folder (extended view files will not be extracted)
close UE
open trek.exe (large version) and trek.exe (normal version) with hex editor
go to 0x18f7fc select 3552 bytes starting at 0x18f7fc on large version and normal version (make sure same data area is selected on both trek.exe's)
Copy data in large version and paste to normal version
save normal version
close hex editor
open normal version stbof.res
go to edit/other/files
use add button and select all files you extracted from large stbof.res and add them
go to edit/ships/ship stats
create a copy of any ship then delete the copy you just made (be sure to check any upgrades to and from that ship that it is correct)
next tab over so you can uncheck "appears in screen saver" and recheck.
then save with UE update trek.exe when promoted to do so.

If all went well normal version should match large version changes (if I did not forget any thing)

good luck

thunderchero
Post Reply

Return to “Modding Information Archive”