Basic asset editing: Difference between revisions

no edit summary
Battlepedia>Igorseabra4
(Created page with "==Introduction== In this tutorial, we're going to see how to edit an asset from a level's HIP or HOP file from the unpacked archive. As an example, we'll be editing...")
 
No edit summary
 
(8 intermediate revisions by 4 users not shown)
Line 1:
==Introduction==
In this tutorial, we're going to see how to edit an [[Asset|asset]] from a level's [[HIP|HIP or HOP file]] from the unpacked archive using [[HipHopTool]] and a hex editor. As an example, we'll be editing one or more textures from Bikini Bottom (hub) and moving a few objects around in the level.
 
Note: this tutorial was made before [[Industrial Park (Level Editor)|Industrial Park]] had asset editing features. All of this can be done there in a much easier and more managed way
 
===What you'll need===
Line 20 ⟶ 22:
HipHopTool.exe -extract "C:\spongebob\game\files\hb\hb01.HOP" -dest "C:\spongebob\unpack\hb01_hop_unpacked"
 
Obviously, you should replace the file paths with the path to the HOP you want to extract and the folder you want the files to be extracted to (name the folder something you'll remember, like hb01_hop_unpacked). The "hb01.HOP" file in the hb folder is the HOP file of the main section of Bikini Bottom (you can view a full list of files [[Filesystem (Battle for Bikini Bottom)|here]].
 
3. Double-click unpack.bat to run it. All assets from hb01.HOP should be extracted to the folder you specified.
Line 55 ⟶ 57:
 
==Editing other assets==
Currently, textures are the only asset with an editor specifically for them. However, youYou can use a hex editor to play a bit with other types of assets. You can visit each asset's individual page for a description of the asset's format. Just to know what we can do with a hex editor, let's make some changes to item placement in the level.
 
1. Follow step 1 again, but this time, extract the HIP of Bikini Bottom (hb01.HIP) to a folder with a name like hb01_hip_unpacked.
Line 79 ⟶ 81:
Example of level with edited textures (on HOP) and switched object positions (on HIP):
 
[[File:Tutorial Mod Example.jpg|600px|thumb|center|Asset Dialog]]
''Image goes here''
 
[[Category:Tutorials]]