SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   Hex editing help (https://www.subsim.com/radioroom/showthread.php?t=102875)

bigboywooly 12-30-06 09:48 AM

Hex editing help
 
Whats the best way to delete bytes from a dat

example

NPC_Black_Swan needs remaning to
NFF_River as you can see I need to get rid of some bytes - I can rename to
NFF_RiverClass so uses the same amount of bytes but would rather have it just as NFF_River

Am using Ultraedit 32
If I delete the bytes and save the dat it doesnt open in Pack3d so there is obviously a problem

Need advice on how to add bytes too
Same problem

Real noob on Hexediting so any help is handy

ref 12-30-06 10:48 AM

Quote:

Originally Posted by bigboywooly
Whats the best way to delete bytes from a dat

example

NPC_Black_Swan needs remaning to
NFF_River as you can see I need to get rid of some bytes - I can rename to
NFF_RiverClass so uses the same amount of bytes but would rather have it just as NFF_River

Am using Ultraedit 32
If I delete the bytes and save the dat it doesnt open in Pack3d so there is obviously a problem

Need advice on how to add bytes too
Same problem

Real noob on Hexediting so any help is handy

In the label chunks it's easy (the blocks starting with 08000000)
you have this
http://img150.imageshack.us/img150/1659/labelse8.jpg

If you change the string size you must also change the size entry, just be sure to include the ID and null termination byte on the size.

The problem is with the propellers/rudders, if you change the label size in the dat file, you must also change it on the sim file, but on the sim file the label is under two substructure levels, so you need to calculate the substructure size changes also, I recommend that you mantain the propellers/rudders names lengths as in the original file to make things simpler.

Ref

bigboywooly 12-30-06 10:54 AM

Ahhh

:o :o

I knew there was a reason I keep asking you to do it


:rotfl: :rotfl:

Will have a go at that mate
Thanx Ref - as usual

Will I need to reclone after ?

ref 12-30-06 11:08 AM

Quote:

Originally Posted by bigboywooly
Ahhh

:o :o

I knew there was a reason I keep asking you to do it


:rotfl: :rotfl:

Will have a go at that mate
Thanx Ref - as usual

Will I need to reclone after ?

No, just be carefull with the ID bytes, I've ruined a lot of editing sesions just by changing an ID, they produce bugs that are hard to catch.

Ref

bigboywooly 12-30-06 11:16 AM

Thanx Ref
Think will save that pleasure for when I have a free week
:rotfl:

Mush Martin 12-30-06 10:15 PM

Wow
 
do I feel Like a pain generating machine now buddy.MM.

Madox58 12-31-06 02:35 AM

This is one of the thing I'm writing into a new tool.:up:
Playing with the Air Ship proved to me that I need it!!:nope:

bigboywooly 12-31-06 10:57 AM

Quote:

Originally Posted by priater
This is one of the thing I'm writing into a new tool.:up:
Playing with the Air Ship proved to me that I need it!!:nope:

Well crack on mate
You will save me a world of hurt
:rotfl: :rotfl:

No seriously hurry up

J\K


All times are GMT -5. The time now is 02:28 AM.

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