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 Technical / Map Design »Having trouble editing CE maps

Author Topic: Having trouble editing CE maps (8 messages, Page 1 of 1)
Moderators: Dennis

Kaleidescoop
Joined: Jun 2, 2017


Posted: Jun 2, 2017 05:20 PM    Msg. 1 of 8       
Sorry if this has already been addressed, but I couldn't find anything online. I've been trying to edit the campaign maps but nothing's working. I have no idea what I'm doing wrong (or doing at all), but after extracting tags and stuff from the maps I can't seem to open them up in Sapien or Tool. Debug.txt gives me this:


06.02.17 14:06:42 sapien pc 01.00.00.0609 ----------------------------------------------
06.02.17 14:06:42 reference function: _write_to_error_file
06.02.17 14:06:42 reference address: 401b13
06.02.17 14:06:42 Couldn't read map file './sapienbeta.map'
06.02.17 14:06:42 CreateDevice succeeded with refresh rate = 0
06.02.17 14:06:43 Sound card doesn't meet minimum hardware requirements. Disabling hardware option.
06.02.17 14:06:44 Increasing sound decompression buffer size to 1048576 bytes
06.02.17 14:06:44 tag data 'hs_syntax_data_definition' too large.
06.02.17 14:06:44 failed to load scenario tag 'levels\a10\a10'
06.02.17 14:06:44 need to get the following tags:
06.02.17 14:06:44
06.02.17 14:06:44 game_load() failed.


Can anyone tell me what I'm doing wrong?


DeadHamster
Joined: Jun 8, 2014


Posted: Jun 2, 2017 08:38 PM    Msg. 2 of 8       
Quote: --- Original message by: Kaleidescoop

06.02.17 14:06:44 tag data 'hs_syntax_data_definition' too large.
06.02.17 14:06:44 failed to load scenario tag 'levels\a10\a10'




The scripts you have contain too much data for stock Halo. The OpenSauce engine extension allow you to have a lot more script data. If you're trying to modify anything made by CMT you will need to work within OpenSauce to do that. If you wrote the scripts yourself you added way too many commands.


Kaleidescoop
Joined: Jun 2, 2017


Posted: Jun 4, 2017 01:54 AM    Msg. 3 of 8       
Quote: --- Original message by: DeadHamster
Quote: --- Original message by: Kaleidescoop

06.02.17 14:06:44 tag data 'hs_syntax_data_definition' too large.
06.02.17 14:06:44 failed to load scenario tag 'levels\a10\a10'




The scripts you have contain too much data for stock Halo. The OpenSauce engine extension allow you to have a lot more script data. If you're trying to modify anything made by CMT you will need to work within OpenSauce to do that. If you wrote the scripts yourself you added way too many commands.


Where are the scripts located, and how do I edit them? I just extracted everything from the ported Halo CE campaign maps. I tried using OS_Sapien but that crashed too.


sparky
Joined: Jun 27, 2009

Death does not bring you any closer to God.


Posted: Jun 29, 2017 03:21 PM    Msg. 4 of 8       
Scripts are in the .scenario tag. You can actually open the tag with a text editor such as Notepad++ and delete everything that looks like it is besides the script text. Scroll down to the bottom of the file and look for "(script ", which indicates the start of .hsc script text. The end of the collective script text is the first NUL character thereafter. Delete all invisible glyphs such as NUL, as they appear in Notepad++.

Save the resulting text file with the file extension ".hsc" into your Halo Custom Edition "data" folder and put it into a "scripts" folder located in the corresponding directory path to your .scenario tag.

Your script text file can contain one-byte characters (between 0x01 and 0xFF, meaning non-fancy UTF8 is OK) and can contain up to 262143 characters -- it can be up to 262143 bytes in length. However, if you open your .scenario tag in Kornman's version of Guerilla, note that the multi-line text field it uses to display the script text will cause Guerilla to crash if the script is over 8191 characters. You can have up to 8 script files, and the sum total characters including all of them must be at most 262143 characters / bytes. Scripts will be compiled in file name alphabetical order, up to a maximum of 8 entries, which you can see towards the bottom of the .scenario tag in default Guerilla.

Load the .scenario in Sapien and do File -> Compile Scripts.

http://hce.halomaps.org/index.cfm?fid=2879
http://hce.halomaps.org/index.cfm?fid=2567

Edited by sparky on Jun 29, 2017 at 03:47 PM


DeadHamster
Joined: Jun 8, 2014


Posted: Jun 29, 2017 03:51 PM    Msg. 5 of 8       
Quote: --- Original message by: sparky

Scripts are in the .scenario tag.



He extracted the scenario tags from a .mapfile, the scripts are stripped from the scenario and recompiled when building a map.


sparky
Joined: Jun 27, 2009

Death does not bring you any closer to God.


Posted: Jun 29, 2017 03:58 PM    Msg. 6 of 8       
I haven't really investigated this, but I'd like more information about what happens to the script text data in a scenario tag when the map cache file is generated.


afD2345
Joined: Apr 2, 2011

I am the real afD from Teletubbies.


Posted: Jun 29, 2017 05:54 PM    Msg. 7 of 8       
try the bug free sp tags

Edit1: zteam's sp scripts (i am not sure if these are the vanilla scripts). copy the scripts (.hsc files) to data\levels\*level_name*\scripts . don't copy the .scenario tags
Edited by afD2345 on Jun 29, 2017 at 06:05 PM


Ling Ling Lang
Joined: Jul 26, 2016

Are you finding Ling Ling?


Posted: Jun 30, 2017 09:27 AM    Msg. 8 of 8       
If its more convenient, scripts for Halo CE can also be found in this github.

 

 
Previous Older Thread    Next newer Thread





Time: Fri September 22, 2017 9:41 AM 532 ms.
A Halo Maps Website