Adding new stuff with hexediting?
Moderator: Moderators
but then again, we can all start hex-editing, but one thing that i've learned while hex-editing, is MAKE BACKUPS, i must of had to hove re-installed demo's and games 5 times in the past 4 days, and it gets annoying :p.
The scripting cannot be that hard, they all look the same, just get familiar with the script in swbf, the engine for SWBF II is said to be the same as SWBF I.
So lets get modding gtpwn
Metal On
Darthlarrious
The scripting cannot be that hard, they all look the same, just get familiar with the script in swbf, the engine for SWBF II is said to be the same as SWBF I.
So lets get modding gtpwn
Metal On
Darthlarrious
- 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:
-
- 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
-
- 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
-
- First Lance Corporal
- Posts: 132
- Joined: Mon Oct 03, 2005 7:08 pm
-
- 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
Direct me towards Hex info.?
Hey guys, I'm having trouble finding tutorials/info. on Hex editing. It doesn't seem to be in the SWBF2 portion of the forums?
Can someone direct me where to go to find the info.?
Thanks!
Can someone direct me where to go to find the info.?
Thanks!
-
- 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: Direct me towards Hex info.?
The hex-editing is a large domain. In fact, you won't be able to learn all its specificities, and moreover, it'll depend of what you want to tweak through this method...
- guru
- Jawa Admin
- Posts: 2390
- Joined: Thu Oct 14, 2004 8:45 pm
- Projects :: swbf 1 vanilla
RE: Direct me towards Hex info.?
Pinx I use ultraedit32 freeware (google it).
I open up the .lvl files for swbf2 and look for things like vehicle or cps and simply copy and paste words over the exisitng (making sure to keep a backup of originals)
In most cases the words need to be the same length , so you can copy inf_wookie_rebelassmaster over say something like inf_wookie_reb , if there are more characters in a level file then when you started it will most likely crash to desktop.
so 1st get the app, then go look at the files. You can experiment and post on the site and we can feedback you if your new to hex editing.
Another secret i use is when i want to put a smaller name in a place of a larger one I fill the blank spots with 00000 (zeroz which as youll see in hex are periods ....) these keep the file at exactly the release size.
I open up the .lvl files for swbf2 and look for things like vehicle or cps and simply copy and paste words over the exisitng (making sure to keep a backup of originals)
In most cases the words need to be the same length , so you can copy inf_wookie_rebelassmaster over say something like inf_wookie_reb , if there are more characters in a level file then when you started it will most likely crash to desktop.
so 1st get the app, then go look at the files. You can experiment and post on the site and we can feedback you if your new to hex editing.
Another secret i use is when i want to put a smaller name in a place of a larger one I fill the blank spots with 00000 (zeroz which as youll see in hex are periods ....) these keep the file at exactly the release size.
RE: Direct me towards Hex info.?
Cool - thanks Guru, definitely some key info. to start with. The only thing I've edited, I believe are the money you start with for the Sims - lmao. I couldn't get into so I thought I'd see if I could with more money. Nope.
I think I used HexEditor last time, but I'll go grab ultraedit32 and play around with that for a while.
BTW, was there not a tutorial or something by Eddie on the GT site before or am I crazy?
Come on the TAW servers boys - there's a ton of people and I think we have all game modes up...
EDIT: Just realized that was a shameless self promotion....sorry.
Cheers
I think I used HexEditor last time, but I'll go grab ultraedit32 and play around with that for a while.
BTW, was there not a tutorial or something by Eddie on the GT site before or am I crazy?
Come on the TAW servers boys - there's a ton of people and I think we have all game modes up...
EDIT: Just realized that was a shameless self promotion....sorry.

Cheers
RE: Direct me towards Hex info.?
could someone either give me a copy of an unaltered mission.lvl or give me the piece from the coruscant map with mace and maul as heroes. I made an error and can't reverse it easily and i accidentily overwrote my unaltered mission.lvl
Edit. Nevermind. I fixed it.
Edit. Nevermind. I fixed it.
- guru
- Jawa Admin
- Posts: 2390
- Joined: Thu Oct 14, 2004 8:45 pm
- Projects :: swbf 1 vanilla
RE: Direct me towards Hex info.?
yeah 1st step , make backups
np, taw is welcome to post semi spams here , they my buds and I know they are a huge part of the swbf1 and 2 world!
See you in the battlefield , im having so much fun playing , modding is taking a backseat , lol.

np, taw is welcome to post semi spams here , they my buds and I know they are a huge part of the swbf1 and 2 world!
See you in the battlefield , im having so much fun playing , modding is taking a backseat , lol.
RE: Direct me towards Hex info.?
Cool Guru - I didn't mean to spam per se, but I thought I'd put the word out on our servers, we usually have 4 or 5 up at once and you can usually find one of us playing around. We also have one server that's usually Hunt/Celeb DM only...
Good times with Bandu and geoman last night on the TAW servers...except when the other team couldn't spawn...lmao
I'm the same right now, it's hard to put the game down and try the hex stuff...there's still so much to learn as far as classes and maps...they did well with this product, but I would have liked to see Cloud City changed to be more accurate instead of Felucia...everything else is very cool though...
Good times with Bandu and geoman last night on the TAW servers...except when the other team couldn't spawn...lmao
I'm the same right now, it's hard to put the game down and try the hex stuff...there's still so much to learn as far as classes and maps...they did well with this product, but I would have liked to see Cloud City changed to be more accurate instead of Felucia...everything else is very cool though...
Nimlot sent me over the mission.lvl from the demo (neither of us have bought BF2 yet). I just wanted to mention that they are using Lua 5.0 now for the scripts. And the actual mission scripts look like they let you do much more than before.
Nimlot pointed out that there is an open-source project called LuaDec that decompiles Lua 5.0 code. I'll be putting together a byte-by-byte description of the Lua 5 byte-code format; and will be testing out the use of LuaDec on some of the BF2 scripts.
Nimlot pointed out that there is an open-source project called LuaDec that decompiles Lua 5.0 code. I'll be putting together a byte-by-byte description of the Lua 5 byte-code format; and will be testing out the use of LuaDec on some of the BF2 scripts.