Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Singleplayer maps compiled using single_player_shared.map instead of shared.map crash. #39

Open
General-101 opened this issue Mar 18, 2018 · 0 comments

Comments

@General-101
Copy link

There is a section in H2Codez here

https://github.com/Himanshu-01/H2Codez/blob/H2OS_EK/H2Codez/H2Tool_Commands.cpp#L364

Uncommenting this line causes the compiler to crash whether the map is singleplayer or not. Not sure if bin files might affect anything as you can delete the bin folder and maps will still compile. Here is the log

https://pastebin.com/U6E3PH20

Look at line 106-109. This is what tool says about the missing bin files

file_open('C:\Program Files (x86)\Microsoft Games\Halo 2 Map Editor\bin\ui_shared_resource_header.bin') error 0x00000003 'The system cannot find the path specified. '
file_close('C:\Program Files (x86)\Microsoft Games\Halo 2 Map Editor\bin\ui_shared_resource_header.bin') error 0x00000006 'The handle is invalid. '
file_open('C:\Program Files (x86)\Microsoft Games\Halo 2 Map Editor\bin\multiplayer_shared_resource_header.bin') error 0x00000003 'The system cannot find the path specified. '
file_close('C:\Program Files (x86)\Microsoft Games\Halo 2 Map Editor\bin\multiplayer_shared_resource_header.bin') error 0x00000006 'The handle is invalid. '

Map still functions ingame and seems to suffer no negative effects.

This is a log and dump file with line 364 in H2Tool_Commands.cpp uncommented.

https://pastebin.com/suR0xBzC

https://mega.nz/#!l8kgXD5A!2_0EcCrfn-3FPBjxVcL8FXQvZYrmQfA5fcVYSnFcZac

Same map from before except with that line uncommented packaging fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants