SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   DW Mod Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=196)
-   -   How to rename object names? (https://www.subsim.com/radioroom/showthread.php?t=229386)

Nippelspanner 01-22-17 01:05 PM

How to rename object names?
 
Hello,
I am modifying the game (and RA) to my liking and wonder how I can rename existing platforms/objects.

Example:
In the loading section it always annoys me that some weapons have their correct Nato designation, while others are just called "sunburn" or "mine" etc.

I'd love to give each their correct designation. But how?

Pirate 01-22-17 03:42 PM

There's 2 ways to do that.

1 - Delete the object, go to the respective 3d object and rename it. Create the object again with the new name.
Note: You can't rename a 3d object while it's linked to an object.
Also deleting an object also deletes other records on other tables that are linked to it so you'll also need to recreate them later.

2- Open the following database files in a Hex Editor and change the names there: 3dobject.e3d, entity.eed, object.eod

I prefer and always use method number 2, cause in the end it's just faster.
But it's more risky of breaking the database!

Hope this helps...

Nippelspanner 01-22-17 05:04 PM

That's what backups are for, so method 2 sounds good to me. However, I have no experience with hex, can you recommend a tool I could use?

Pirate 01-23-17 05:47 AM

I use MiTec Hex Editor.

EDIT:
When renaming database objects, you also have to update the links in the USNIData.grp, otherwise you'll end up with broken links in the USNIData to the objects and 3d objects.

Nippelspanner 01-23-17 08:10 AM

Yeah I already had that in mind since I'm re-building the USNI library completely as well - thanks for the heads up though!

Will try the suggested tool today, hope it is rather easy to use.


All times are GMT -5. The time now is 11:01 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.