xboxscene.org forums

Pages: [1] 2

Author Topic: Hce Ini Editor  (Read 88 times)

XBOX War3z

  • Archived User
  • Hero Member
  • *
  • Posts: 587
Hce Ini Editor
« on: January 29, 2004, 05:28:00 AM »

k it's finally finished
it uses an 'advanced' tongue.gif template system
it maybe hard in the beginning but it will pay off once you start using it
I made a little tutorial here

The template system uses BOLL's files (the links are in the tutorial)
to get all the info (names, values, offsets, meta offsets)
and the commands in the template to build the ini file
you can use if and case
you can nest if but no you can't nest case yet  rolleyes.gif
the items are sorted automaticly
just add the pages in the correct order and add items to pages that already exists

so dont do
CODE

Add "Something" To "Level"
AddPage "Level"


check out the default template (you can open it up with notepad)
if you still have questions just leave them here


this is for all the ini creators here on X-S
just build some templates and have the program get alll the tags from each level wink.gif

you can also post templates here offcourse or request anything for the program


[EDIT]oops had a small type, the save all wouldn't work, it's fixed and the file is reuploaded wink.gif
Logged

XBOX War3z

  • Archived User
  • Hero Member
  • *
  • Posts: 587
Hce Ini Editor
« Reply #1 on: January 29, 2004, 06:05:00 AM »

k I'll get this started:

Collision:

CODE
AddPage "Collision"
 CheckBlock "Collision Model"
   SearchFor "*"
     Change %Name To %Path(3)
     Add "%FixName = %Offset, %Value" To "Collision"
   EndSearch
 EndCheck


this generated for bg pal:
QUOTE
[Collision]
Active Camoflage = 0x2343c18, 0xA47C9580
Assault Rifle = 0x233d658, 0xF00B8180
Assault Rifle Ammo = 0x233dbd8, 0x8C178380
Boulder = 0x233b8f8, 0xC86F6F80
Boulder Crouch = 0x233b9d8, 0x148C6F80
Boulder Doublewide = 0x233ba98, 0xD4B26F80
Boulder Large Grey = 0x233bb38, 0x54D46F80
Cyborg = 0x233cd38, 0x20ED7F80
Flag Base = 0x233c8d8, 0x788A7280
Flamethrower = 0x2346cd8, 0x78E6A280
Flamethrower Ammo = 0x2347058, 0x8C57A480
Healthpack = 0x2343d18, 0x18909580
Needler = 0x23473f8, 0xA0C3A480
Needler Ammo = 0x2347778, 0xF029A680
Pistol = 0x233f2f8, 0x38608580
Pistol Ammo = 0x233f698, 0x08638780
Plant Broadleaf Short = 0x233bd98, 0x68767080
Plasma Pistol = 0x23457d8, 0x04D79B80
Plasma Rifle = 0x23435b8, 0xA8459380
Rock Large = 0x233c178, 0x48BB7180
Rocket Launcher = 0x2344118, 0x40E69580
Rocket Launcher Ammo = 0x23443d8, 0xD0C19780
Shotgun = 0x2342af8, 0xC0859080
Shotgun Ammo = 0x2342e38, 0x60C89180
Sniper Rifle = 0x2344a98, 0xD8839880
Sniper Rifle Ammo = 0x2344e38, 0xF4309A80
Teleporter Base = 0x233c4d8, 0x58447280
Tree Desert Dead = 0x233bfd8, 0x28B27080
Tree Desert Whitebark = 0x233c0b8, 0x501D7180
Tree Leafy Fallentrunk = 0x233bed8, 0x4C917080
Tree Leafy Stump Crouch = 0x233bf38, 0x249E7080
Warthog = 0x2340638, 0x00028A80
Ghost = 0x2342118, 0xE8CB8E80
Scorpion = 0x23414b8, 0x20138D80
Ball = 0x2347d58, 0x10DBA680
Over Shield = 0x2343b58, 0x0C669580
Logged

onlyme

  • Archived User
  • Sr. Member
  • *
  • Posts: 336
Hce Ini Editor
« Reply #2 on: January 29, 2004, 08:12:00 AM »

im not geeting anywhere fast this is what i get in the log

CODE
Error: Block Sky not found.
Error: Block Projectile not found.
Error: Block Scenery not found.
Error: Block Weapon not found.
Error: Block Equipment not found.
Error: Block Physics not found.
Error: Block Vehicle not found.
Error: Block Damage not found.
Error: Block Model not found.
Error: Block Biped not found.
Error: Block Weapon HUD Interface not found.
Took 1s to load pal_a10_the_pillar_of_autumn.html (1.54 MB)
"C:HCEPALMAPa10.ini" saved
Logged

XBOX War3z

  • Archived User
  • Hero Member
  • *
  • Posts: 587
Hce Ini Editor
« Reply #3 on: January 29, 2004, 10:58:00 AM »

damn it found the prob
I was using older files  rolleyes.gif sorry

fixed now
redownload the rar here
Logged

onlyme

  • Archived User
  • Sr. Member
  • *
  • Posts: 336
Hce Ini Editor
« Reply #4 on: January 29, 2004, 11:06:00 AM »

yeah works a treat great work once again smile.gif
Logged

XBOX War3z

  • Archived User
  • Hero Member
  • *
  • Posts: 587
Hce Ini Editor
« Reply #5 on: January 29, 2004, 11:20:00 AM »

QUOTE (onlyme @ Jan 29 2004, 10:06 PM)
yeah works a treat great work once again smile.gif

nice smile.gif
now get those extras in the template files biggrin.gif
Logged

onlyme

  • Archived User
  • Sr. Member
  • *
  • Posts: 336
Hce Ini Editor
« Reply #6 on: January 29, 2004, 11:31:00 AM »

well i just tried my first template (well modified the Collision one)

its for the sounds it gets a few items but misses alot i think its my template

CODE
AddPage "Sound"
CheckBlock "Sound"
  SearchFor "*"
    Change %Name To %Path(3)
    Add "%FixName = %Offset, %Value" To "Sound"
  EndSearch
EndCheck


suggestions??(errors??)

[edit] seems more like its the list as i changed it to do weapons and Weapon HUD Interface and it worked fine smile.gif
Logged

onlyme

  • Archived User
  • Sr. Member
  • *
  • Posts: 336
Hce Ini Editor
« Reply #7 on: January 29, 2004, 11:36:00 AM »

also on in the default template it get the proj data in this format

CODE
A30 = 0xf89cab8, 0xC4740A81 (proj|0x105866c4 - 0x10587e87)


will (proj|0x105866c4 - 0x10587e87) work in HCE or will we have to remove it?
Logged

mastertito4

  • Archived User
  • Hero Member
  • *
  • Posts: 617
Hce Ini Editor
« Reply #8 on: January 29, 2004, 11:41:00 AM »

paths r kinda tricky, in the version i dled it goes ntsc/full_class/[files] so could there be a fix for that? besides me movin the files into ntsc/?
Logged

mastertito4

  • Archived User
  • Hero Member
  • *
  • Posts: 617
Hce Ini Editor
« Reply #9 on: January 29, 2004, 11:43:00 AM »

ps crosshairs was all me baby!!!!!!!!!!!!!
Logged

XBOX War3z

  • Archived User
  • Hero Member
  • *
  • Posts: 587
Hce Ini Editor
« Reply #10 on: January 29, 2004, 11:48:00 AM »

QUOTE (onlyme @ Jan 29 2004, 10:36 PM)
also on in the default template it get the proj data in this format

CODE
A30 = 0xf89cab8, 0xC4740A81 (proj|0x105866c4 - 0x10587e87)


will (proj|0x105866c4 - 0x10587e87) work in HCE or will we have to remove it?

it's not gonna work in hce
where did you get that?
about the sound you can always check the files to see if it lists everything
or check the log if it doesnt give any duplicate items for the sound page
if that is the case you will have to change the part
Change %Name To %Path(3)
Logged

onlyme

  • Archived User
  • Sr. Member
  • *
  • Posts: 336
Hce Ini Editor
« Reply #11 on: January 29, 2004, 12:21:00 PM »

QUOTE
where did you get that?


i opened the ini editor and set the paths then clicked change and clicked bloodgulch then ok and this is what comes into the text box

CODE
[Projectiles]
Assault Rifle = 0x233dbf8, 0xD81F8380 (proj|0x27c75d8 - 0x27c8d0b)
Flamethrower = 0x2347078, 0xA065A480 (proj|0x29dbba0 - 0x29dd14b)
Needler = 0x2347798, 0xE434A680 (proj|0x29f8ae4 - 0x29fa237)
Pistol = 0x233f6b8, 0x546B8780 (proj|0x280c154 - 0x280d83f)
Plasma Pistol = 0x2345a58, 0xAC9A9D80 (proj|0x296f0ac - 0x297082b)
Plasma Rifle = 0x2343858, 0xA0FC9480 (proj|0x28e52a0 - 0x28e6ba3)
Rocket Launcher = 0x2344438, 0x60D19780 (proj|0x2912760 - 0x2913fa3)
Shotgun = 0x2342e58, 0xACD19180 (proj|0x28b27ac - 0x28b3e97)
Sniper Rifle = 0x2344e58, 0x883A9A80 (proj|0x2939088 - 0x293a7bb)
Frag Grenade = 0x2346358, 0xEC8E9F80 (proj|0x298e4ec - 0x298fc87)
Plasma Grenade = 0x23464f8, 0xB0C49F80 (proj|0x2991ab0 - 0x299328b)
Warthog Bullet = 0x23408d8, 0xA4D58A80 (proj|0x2842ba4 - 0x28442d7)
Ghost Bolt = 0x2342238, 0x30298F80 (proj|0x2887f30 - 0x2889833)
Scorpion Bullet = 0x2341df8, 0x38508E80 (proj|0x287a638 - 0x287bd6b)
Master Chief = 0x2348798, 0xF03EA880 (bipd|0x2a194f0 - 0x2a19f1f)


does the same with weapons,Vehicles,Vehicle Physics and Projectile Damage
it could be because on bolls lists the offset is set like
CODE
[0x287e8e4 - 0x287f263]
Logged

llghostll

  • Archived User
  • Newbie
  • *
  • Posts: 33
Hce Ini Editor
« Reply #12 on: January 29, 2004, 12:35:00 PM »

ok i dled the runtime files but im still gettign an error any suggestions or maybe a link to the runtime files

btw this is a tool to alow you to edit more in hce right??
Logged

mastertito4

  • Archived User
  • Hero Member
  • *
  • Posts: 617
Hce Ini Editor
« Reply #13 on: January 29, 2004, 12:42:00 PM »

llghostll, it uses templates to generate inis for hce so now we dont have to manually figure out all the offsets for each level and all that crap. in other words, it saves hours.
Logged

XBOX War3z

  • Archived User
  • Hero Member
  • *
  • Posts: 587
Hce Ini Editor
« Reply #14 on: January 29, 2004, 12:47:00 PM »

ok had to fix this before I went to bed
stupid me, better checked the new files from boll before letting you use them rolleyes.gif
anyways checked everything over
meta offsets are fixed (BOLL now gives the begin and end offset)
the path is fixed

get it here

about the runtime files, check on www.microsft.com
Logged
Pages: [1] 2