Adding new stuff with hexediting?
Moderator: Moderators
- Rends
- Sith
- Posts: 1278
- Joined: Fri Oct 15, 2004 6:34 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Germany
- Contact:
Adding new stuff with hexediting?
Well i couldn´t post this in the hex board so i will do it here.
I know you hex changed stuff in SWBF1 but did you also added new stuff?
It just came into my mind that if there are no cockpit views in SWBF2 i could create them and one of the hexgurus bring that into the game.
But this would require to add new stuff and changes to the odf. So what do you think will it be possible?
I know you hex changed stuff in SWBF1 but did you also added new stuff?
It just came into my mind that if there are no cockpit views in SWBF2 i could create them and one of the hexgurus bring that into the game.
But this would require to add new stuff and changes to the odf. So what do you think will it be possible?
-
- Missing Jedi Admin
- Posts: 3277
- Joined: Fri Nov 12, 2004 2:54 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: adding new stuff with hexediting
I thought hex-editing could only change existing stuffs, and not add new ones... 
For info, I've already tried to tweak SWBF's shipped "core.lvl" through an hex-editor, in order to give a longer name to some weapons, and it crashed the game...

For info, I've already tried to tweak SWBF's shipped "core.lvl" through an hex-editor, in order to give a longer name to some weapons, and it crashed the game...
-
- Jedi
- Posts: 1119
- Joined: Sat Apr 23, 2005 8:52 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: adding new stuff with hexediting
I think the lvl file can't get any larger, it must have the same amount of characters as it used to.
- Nimlot
- Jedi Admin
- Posts: 103
- Joined: Wed Oct 20, 2004 9:35 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
RE: adding new stuff with hexediting
Yea, can't get any larger without having to change all the size markers.
-
- Missing Jedi Admin
- Posts: 3277
- Joined: Fri Nov 12, 2004 2:54 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: adding new stuff with hexediting
What are those "size markers" ? 

- Nimlot
- Jedi Admin
- Posts: 103
- Joined: Wed Oct 20, 2004 9:35 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
RE: adding new stuff with hexediting
Take a look at Rileys lvl documentation, but they are basically the 4 bytes following any header. The 4 bytes tell the engine how many bytes follow, or give that chunks size.
-
- Missing Jedi Admin
- Posts: 3277
- Joined: Fri Nov 12, 2004 2:54 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: adding new stuff with hexediting
What's the link to this *.LVL documentation, please ?
PS : If I understand properly, enhancing this hexa-decimal number could allow you to add more stuffs to a *.LVL file. Right ?
PS : If I understand properly, enhancing this hexa-decimal number could allow you to add more stuffs to a *.LVL file. Right ?
-
- Missing Jedi Admin
- Posts: 3277
- Joined: Fri Nov 12, 2004 2:54 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Well... "anything" within the limits of the game engine. And keep in mind that if the data format has changed from Battlefront 1, we'll have to figure out those changes.
Rends, you mean they took out cockpit views entirely? Are we sure they're not an option, the same way you can switch between 3rd-person view and cockpit view in Battlefront 1? I'd been away from all this for a good six months, so I must've missed some things...
Rends, you mean they took out cockpit views entirely? Are we sure they're not an option, the same way you can switch between 3rd-person view and cockpit view in Battlefront 1? I'd been away from all this for a good six months, so I must've missed some things...
-
- Missing Jedi Admin
- Posts: 3277
- Joined: Fri Nov 12, 2004 2:54 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
- Missing Jedi Admin
- Posts: 3277
- Joined: Fri Nov 12, 2004 2:54 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- ShadowHawk
- Old School Staff
- Posts: 1232
- Joined: Mon Feb 21, 2005 4:54 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Heartland, Texas
- Contact:
Anything can be Modded, just the ease of it is not guarranteed.
"In the Beginning God created the Hexguru and the Scriptmonkey. Then he said "Let there be Highspeed internet." and it was. Then he made the C++ of his own kind, and the VB of his own kind, and the .Net of his own kind. Then he created the Silicon Microprocessor from the dust of the earth. He then told the Microprocessor, "I will make you a companion." So he took a piece of silicon from his ribs and created the Motherboard."
I am so going to hell for blaspheming.
"In the Beginning God created the Hexguru and the Scriptmonkey. Then he said "Let there be Highspeed internet." and it was. Then he made the C++ of his own kind, and the VB of his own kind, and the .Net of his own kind. Then he created the Silicon Microprocessor from the dust of the earth. He then told the Microprocessor, "I will make you a companion." So he took a piece of silicon from his ribs and created the Motherboard."
I am so going to hell for blaspheming.
- Nimlot
- Jedi Admin
- Posts: 103
- Joined: Wed Oct 20, 2004 9:35 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Yep, SWBF2 shouldn't be too hard, at least at first glance. Replacing textures and models should be easy, lua's might not be too hard if its set up like SWBF1 was.
On a side note, I have been able to easily extract textures from the game, so it shouldn't be too long until the tool I'm working on now (a lot like winzip, it "extracts" the whole lvl, then you will repack it up) is stable enough to test new mods with.
On a side note, I have been able to easily extract textures from the game, so it shouldn't be too long until the tool I'm working on now (a lot like winzip, it "extracts" the whole lvl, then you will repack it up) is stable enough to test new mods with.
- Nimlot
- Jedi Admin
- Posts: 103
- Joined: Wed Oct 20, 2004 9:35 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact: