boot: msvcrt.dll!_initterm not implemented — GTA VI (1.0.2.1-CYBERLEEK) crashes at CRT init #168

Closed
opened 2026-11-26 05:35:19 +00:00 by github-bot · 1 comment
Owner

@⁠kikosparreira-prog on GitHub · 2026-11-24 19:24 UTC · original

Summary

VIctory crashes immediately after mapping the game executable because msvcrt.dll!_initterm is not implemented in the HLE layer.

Reproduction

tools/lancer_victory.ps1 <GTA6.Xbox.v1.0.2.1-CYBERLEEK folder>

Last log lines

bound          game_scarlett_master.exe: 88 hle, 427 host, 72 title, 0 missing
ERROR victory_loader::thunks: unimplemented import called dll=msvcrt.dll symbol=_initterm
VIctory: unimplemented import msvcrt.dll!_initterm called

Context

  • Build: GTA VI Xbox Series X 1.0.2.1-CYBERLEEK
  • VIctory commit: a9fa39b (branch anyxboxx/stable)
  • 88 hle + 427 host, 0 missing — exe binds fine; crash is at first CRT call before any GPU work.

Done when

  • msvcrt.dll!_initterm implemented in HLE: iterates [start, end) and calls each non-null function pointer
  • Boot progresses past CRT init on 1.0.2.1-CYBERLEEK
**@⁠kikosparreira-prog** on GitHub · 2026-11-24 19:24 UTC · [original](https://github.com/LooperSalty/AnyXboxX/issues/168) ## Summary VIctory crashes immediately after mapping the game executable because `msvcrt.dll!_initterm` is not implemented in the HLE layer. ## Reproduction ``` tools/lancer_victory.ps1 <GTA6.Xbox.v1.0.2.1-CYBERLEEK folder> ``` ## Last log lines ``` bound game_scarlett_master.exe: 88 hle, 427 host, 72 title, 0 missing ERROR victory_loader::thunks: unimplemented import called dll=msvcrt.dll symbol=_initterm VIctory: unimplemented import msvcrt.dll!_initterm called ``` ## Context - Build: GTA VI Xbox Series X 1.0.2.1-CYBERLEEK - VIctory commit: a9fa39b (branch anyxboxx/stable) - 88 hle + 427 host, 0 missing — exe binds fine; crash is at first CRT call before any GPU work. ## Done when - [ ] `msvcrt.dll!_initterm` implemented in HLE: iterates `[start, end)` and calls each non-null function pointer - [ ] Boot progresses past CRT init on 1.0.2.1-CYBERLEEK
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:35:19 +00:00
Author
Owner

@⁠LooperSalty on GitHub · 2026-11-25 13:41 UTC · original

Ce plantage a été observé avec l'ancienne épingle de VIctory (a9fa39b). Depuis, l'épingle a avancé (#167, #178, #187, lot 9 80d58f8) et les lancements mesurés (#182, #186) passent l'initialisation CRT jusqu'au monde rendu. Je ferme comme obsolète : si msvcrt.dll!_initterm réapparaît avec main à jour (tools/lancer_victory.ps1), rouvrez avec le journal.

**@⁠LooperSalty** on GitHub · 2026-11-25 13:41 UTC · [original](https://github.com/LooperSalty/AnyXboxX/issues/168#issuecomment-7164135204) Ce plantage a été observé avec l'ancienne épingle de VIctory (`a9fa39b`). Depuis, l'épingle a avancé (#167, #178, #187, lot 9 `80d58f8`) et les lancements mesurés (#182, #186) passent l'initialisation CRT jusqu'au monde rendu. Je ferme comme obsolète : si `msvcrt.dll!_initterm` réapparaît avec `main` à jour (`tools/lancer_victory.ps1`), rouvrez avec le journal.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/LooperSalty--AnyXboxX#168
No description provided.