Adding new stuff with hexediting?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

User avatar
Rends
Sith
Sith
Posts: 1278
Joined: Fri Oct 15, 2004 6:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany
Contact:

Adding new stuff with hexediting?

Post by Rends »

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?
Leviathan
Missing Jedi Admin
Posts: 3277
Joined: Fri Nov 12, 2004 2:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: adding new stuff with hexediting

Post by Leviathan »

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...
Ace_Azzameen_5
Jedi
Jedi
Posts: 1119
Joined: Sat Apr 23, 2005 8:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: adding new stuff with hexediting

Post by Ace_Azzameen_5 »

I think the lvl file can't get any larger, it must have the same amount of characters as it used to.
User avatar
Nimlot
Jedi Admin
Jedi Admin
Posts: 103
Joined: Wed Oct 20, 2004 9:35 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

RE: adding new stuff with hexediting

Post by Nimlot »

Yea, can't get any larger without having to change all the size markers.
Leviathan
Missing Jedi Admin
Posts: 3277
Joined: Fri Nov 12, 2004 2:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: adding new stuff with hexediting

Post by Leviathan »

What are those "size markers" ? :roll:
User avatar
Nimlot
Jedi Admin
Jedi Admin
Posts: 103
Joined: Wed Oct 20, 2004 9:35 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

RE: adding new stuff with hexediting

Post by Nimlot »

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.
Leviathan
Missing Jedi Admin
Posts: 3277
Joined: Fri Nov 12, 2004 2:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: adding new stuff with hexediting

Post by Leviathan »

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 ?
Riley75

Post by Riley75 »

Yes, you can add new objects to a *.lvl file. The link to my documentation is in my signature. ;)
Leviathan
Missing Jedi Admin
Posts: 3277
Joined: Fri Nov 12, 2004 2:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Leviathan »

Thanks to you, Riley'... :wink: (I'm over-excited ! :D )
Bobafett16

Post by Bobafett16 »

Riley75 wrote:Yes, you can add new objects to a *.lvl file. The link to my documentation is in my signature. ;)
oh good so that means u or "we" can mod BF2? cuz if u can hexedit u can do basically anything right? :?
i better get my skills up on the hexediter :wink:
Riley75

Post by Riley75 »

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...
Leviathan
Missing Jedi Admin
Posts: 3277
Joined: Fri Nov 12, 2004 2:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Leviathan »

Actually, we're sure of nothing... :|
Bobafett16

Post by Bobafett16 »

Leviathan wrote:Actually, we're sure of nothing... :|
well then if we are shure of nuthing then how can some one say "BF 2 can not be modded" :? should we not WAIT to see for our selves if it can be or not?
Leviathan
Missing Jedi Admin
Posts: 3277
Joined: Fri Nov 12, 2004 2:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Leviathan »

Yes, I can't contradict you... We'll see whether SWBF II can be modded once it'll be out... :)
Bobafett16

Post by Bobafett16 »

well i suppose we will just have to wait then :wink: :cry:
User avatar
ShadowHawk
Old School Staff
Posts: 1232
Joined: Mon Feb 21, 2005 4:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Heartland, Texas
Contact:

Post by ShadowHawk »

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.
Bobafett16

Post by Bobafett16 »

hehe hoho haha that was um funny(well sort of) but i agrea w/ shadowhawk ANY thing can be modded but the ease of it is not guarranteed.!

good saying "Hawky" :wink:
User avatar
Nimlot
Jedi Admin
Jedi Admin
Posts: 103
Joined: Wed Oct 20, 2004 9:35 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Post by Nimlot »

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.
Bobafett16

Post by Bobafett16 »

well nothing will be hard for GURU the GREAT and NIMLOT the AWSOME,but it is US SMALLER guy's who don't know things as well as u great guy's, so for u nothing will be to hard :wink: :wink:
User avatar
Nimlot
Jedi Admin
Jedi Admin
Posts: 103
Joined: Wed Oct 20, 2004 9:35 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Post by Nimlot »

Think winzip easy. Thats the ultimate goal for us, to make it as easy as possible for everyone.
Post Reply