A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE General Discussion »[BETA RELEASE] Refinery 0.7

Page 3 of 3 Go to page: · 1 · 2 · [3] · Prev
Author Topic: [BETA RELEASE] Refinery 0.7 (79 messages, Page 3 of 3)
Moderators: Dennis

altis94
Joined: Oct 5, 2012

What doesn't ban me makes me stronger


Posted: Oct 1, 2017 02:54 PM    Msg. 71 of 79       
bumpadump


MosesofEgypt
Joined: Apr 3, 2013


Posted: Oct 1, 2017 03:13 PM    Msg. 72 of 79       
Refinery v1.5.1 is out with bug fixes and new features. Run the mek installer's update feature to get it.

New in v1.5.1:

* Ability to perfectly rip scripts with automatic indentation.
Yes, seriously. I ripped a10's scripts and recompiled. Played flawlessly.
I might be exaggerating on the "perfectly" bit, but only time will tell.
* Ability to rip hud_message_text tags back to the .hmt text files they were compiled from.
* Fixes to a decent chunk of bugs that cropped up when I moved modules around during the last big refactor.


EDIT: Actually, it seems one of my optimizations broke something. Dont bother with script extraction till i fix this.....
EDIT2: Fixed the bug. Go ahead and update the mek again. Refinery's version number shouldn't change, but reclaimer's will(you wont see it).

To actually rip scripts and hud_message_text to their source files, load Refinery, change it to data extraction mode(click the button), and add the scenario and hud_message_text files to the queue to be extracted. They'll go into the data folder in the appropriate directory for them to be recompiled with tool.

Mozzarilla v1.0.6 is also out with the ability to load multiple dds images as bitmaps all at once(rather than one at a time). Idky I didn't do this in the first place.

Here is an example of ripping a10's mission hud_message_text:

tutorial_introduction_1=Self-Diagnostic Software Enabled
tutorial_looking_1=Look around
tutorial_looking_2=Look around
tutorial_looking_1l=Look around
tutorial_looking_2l=Look around
tutorial_action_1=Use %action to exit the cryo-tube
tutorial_moving_1=
tutorial_moving_1l=
tutorial_looking_targeted_1=Stand on the red square
tutorial_looking_targeted_2=Target each of the flashing lights
tutorial_looking_targeted_3=Vertical looking is now inverted|nTarget each of the flashing lights
tutorial_looking_choose_1=Vertical looking is now inverted|nLook up and down
tutorial_looking_choose_2=Vertical looking is now inverted|n|nPress %b-button to try it the other way|n|nPress %a-button to leave it like it is
tutorial_looking_choose_3=Vertical looking is now normal|nLook up and down
tutorial_looking_choose_4=Vertical looking is now normal|n|nPress %b-button to try it the other way|n|nPress %a-button to leave it like it is
tutorial_grenade=Use %throw-grenade to throw grenades
hud_shield_1=Energy Shields Charging
hud_shield_2=Energy Shields Charged|n|nPress %a-button to continue
hud_shield_3=Energy Shields Recharging
moving_jump_1=Use %jump to jump over obstacles
moving_crouch_1=Click %crouch to crouch under obstacles
firing_1=Use %primary-trigger to fire your weapon
light_1=Use %integrated-light to use your flashlight
melee_1=Use %use-equipment to break down the door
ladder_1=Look up and move forward to climb ladders
obj_training= Complete training diagnostic
obj_bridge= Find Captain Keyes on the Bridge
obj_escape= Get off the Pillar of Autumn
dia_training= Complete training diagnostic
dia_bridge= Find Captain Keyes on the Bridge
dia_escape= Get off the Pillar of Autumn



Example of ripping a few scripts from svp3_a10:

(script static void fr_regen_update
(begin
(set fr_regen_shield (* (unit_get_shield player0_global) 75))
(set fr_regen_health (+ (* (unit_get_health player0_global) 75) 1))
(if (and (>= (unit_get_shield player0_global) 1) (< (unit_get_health player0_global) 0.59))
(begin
(unit_set_current_vitality player0_global fr_regen_health fr_regen_shield)
(print "visr turned off")
(pp_set_effect_instance_active mission_pp_index_visr_flare false)
(if fr_battery_depletion_on
(sound_impulse_start "cmt\sounds\sfx\powerups\armor_module\fx\armor_module_visr_off" "none" 1)
(pp_set_effect_instance_active mission_pp_index_visr false)
)
(if fr_battery_depletion_on
(pp_set_effect_instance_fade mission_pp_index_visr 1 0 0.5)
)
(set fr_battery_depletion_on false)
(set fr_battery_power_fraction (- fr_battery_power_fraction 0.00000015873))
(set fr_battery_power_fraction (max 0 fr_battery_power_fraction))
(unit_data_set_real player0_global "integrated_light_toggle_power" fr_battery_power_fraction)
)
)
(if fr_flashlight_should_be_on
(unit_data_set_real player0_global "driver_power" 1)
(unit_data_set_real player0_global "driver_power" 0)
)
(unit_data_set_real player0_global "integrated_light_toggle_power" 1)
)
)


(script continuous save_1
(begin
(if (volume_test_objects "bsp2,1" (players))
(game_save)
)
(if (volume_test_objects "airlock_1_trigger_2" (players))
(game_save)
)
(if (volume_test_objects "flank_trigger_1" (players))
(hacky_save)
)
(if (volume_test_objects "airlock_1_trigger_2" (players))
(hacky_save)
)
(if (volume_test_objects "bsp3,2" (players))
(hacky_save)
)
(if (volume_test_objects "airlock_2_trigger_1" (players))
(hacky_save)
)
(if (volume_test_objects "knot_trigger_2" (players))
(if (>= (unit_get_shield (player0)) 1)
(begin
(sleep 30)
(if (>= (unit_get_shield (player0)) 1)
(game_save_totally_unsafe)
)
)
)
)
(if (volume_test_objects "bsp3,4" (players))
(hacky_save)
)
(if (volume_test_objects "lifepod_1_trigger_1" (players))
(hacky_save)
)
(if (volume_test_objects "motiontracker_1" (players))
(hacky_save)
)
(if (volume_test_objects "cryo_search_trigger_1" (players))
(game_save_no_timeout)
)
(sleep 900)
)
)


(script dormant grav_egg
(begin
(sleep 300)
(if (= "easy" (game_difficulty_get_real))
(object_create "gravity_skull")
)
(if (= "impossible" (game_difficulty_get_real))
(object_create "gravity_skull")
)
(sleep_until (and (unit_has_weapon_readied (player0) "cmt\weapons\spv3\multiplayer\ball\gravity_skull") (< (objects_distance_to_object (player0) "gravity_skull") 2)) 60)
(sleep -1 gravity_engineers)
(device_set_position_immediate "keys" 1)
(sleep 10)
(physics_set_gravity 0.05)
)
)


(script static void hacky_save
(if (>= (unit_get_shield (player0)) 1)
(begin
(sleep 15)
(if (>= (unit_get_shield (player0)) 1)
(game_save_totally_unsafe)
)
)
)
)


I plan to eventually incorporate these ripping abilities into Mozzarilla so you can rip scripts and hud_message_text from the tags themselves rather than whole maps.
Edited by MosesofEgypt on Oct 1, 2017 at 04:25 PM


S12Spark
Joined: Apr 25, 2015


Posted: Oct 2, 2017 12:03 AM    Msg. 73 of 79       
I havent had a chance to test it yet but I appreciate you adding script extraction in! I'm going to download it tomorrow and give it a try!


GirtheDoge
Joined: Jul 14, 2017

Been playin Halo since 07


Posted: Oct 2, 2017 11:15 PM    Msg. 74 of 79       
hey MOE i have all of those required folders but i have 1 extra. its called err.yelo will this mess up anything. also what does cheape.yelo mean/ Also i have perfectly extracted all the of the tags from the maps and when I open OS_Sapien on bloodgulch. OS_Sapien crashes immediatly. can I only place the OS tags on a OS map?

Edited by GirtheDoge on Oct 2, 2017 at 11:19 PM
Edited by GirtheDoge on Oct 3, 2017 at 12:24 AM


MosesofEgypt
Joined: Apr 3, 2013


Posted: Oct 3, 2017 02:24 AM    Msg. 75 of 79       
That err.yelo is just an extra map. Also, CMT used special tools to build their scenarios and such. You'll not be able to load their scenarios in sapien. I dont have their tools, so dont ask me. Also, I don't have much experience in sapien, but I do know it's very finicky. Others here with more experience might be able to help you.

Best you can hope for is to throw the ai into a different scenario and work with that. Be warned though, CMT's tags aren't masterpieces of craftsmanship, and are likely broken in subtle ways. Trust me, I've had to fix some of them before. If they crash sapien when throwing them into a scenario, it might be an extraction issue, but it might also be something on CMT's end.
Edited by MosesofEgypt on Oct 3, 2017 at 02:27 AM


EmmanuelCD
Joined: Jan 7, 2015

Esteban se la come


Posted: Oct 3, 2017 03:43 PM    Msg. 76 of 79       
Bump to keep alive HCE until I retire


Christianl831
Joined: Sep 27, 2014


Posted: Yesterday @ 05:48 PM    Msg. 77 of 79       
Amazing tool, I definitely prefer this over HEK. But one thing. I am having problems extracting bitmaps, I mean I can extract other things such as sounds, I'm just having problems extracting bitmaps.

The command prompt displays this when loading resource maps:


Loading resource maps for: spv3a10
Loading -bitmaps.map...
Traceback (most recent call last):
File "C:\Users\Urgetokill\AppData\Local\Programs\Python\Python36-32\lib\site-packages\reclaimer\meta\objs\halo1_map.py", line 749, in load_all_resource_maps
map_path, will_be_active=False)
File "C:\Users\Urgetokill\AppData\Local\Programs\Python\Python36-32\lib\site-packages\reclaimer\meta\objs\halo1_rsrc_map.py", line 77, in load_map
map_data = PeekableMmap(f.fileno(), 0)
OSError: [WinError 8] Not enough storage is available to process this command


I know this problem probably isn't related to your program but I can't do anything with bitmaps because it says I don't have enough storage. I am low on space with 18gb free but wouldn't that seem like enough? Anyways if anyone can help me out, I'd appreciate it.


MosesofEgypt
Joined: Apr 3, 2013


Posted: Yesterday @ 08:33 PM    Msg. 78 of 79       
Uninstall your current version of python3 and install the 64 bit version of it. 32 bit python on 64 bit systems is limited to 2GB of addressable memory. Python is asking the system to reserve space for the entire length of each mapfile refinery is loading(at least that's what I'm assuming is going on, even if it doesnt show up as using that much), which can cause it to run out of memory. 64 bit python doesnt have this limitation.


Christianl831
Joined: Sep 27, 2014


Posted: Today @ 12:43 AM    Msg. 79 of 79       
That seems to have solved my problem, thanks!

 
Page 3 of 3 Go to page: · 1 · 2 · [3] · Prev

 
Previous Older Thread    Next newer Thread







Time: Thu October 19, 2017 3:02 AM 1,125 ms.
A Halo Maps Website