[MINOR] Loading screen text is editable

A place to discuss reverse engineering and modding Burnout 3: Takedown.
Post Reply
User avatar
MattKC
Site Admin
Posts: 323
Joined: Mon Aug 22, 2022 1:05 am
Contact:

[MINOR] Loading screen text is editable

Post by MattKC »

Burnout 3's loading screen ordinarily displays like so:
loading1.png
I had actually assumed this was just an image, but it turns out this is just text that's dutifully generated from a font and rendered in real time.

What that means is... the text is editable pepeLaugh
loading2.png
When I thought about it more, having it be editable text made some sense. After all, any user-facing strings may have to be translated to other languages, and at that point it's probably easier to work with text than a bunch of images.

Interestingly, the string is hardcoded to English "LOADING" in the NTSC-U version. I guess it's not unbelievable that this version would only support English.

This also reveals something interesting in that Burnout 3 appears to use UTF-16 throughout - the "LOADING" string is stored and used as a wide string. At first I thought this was just an Xbox thing, since Microsoft/Windows generally have standardized on UTF-16 (the only major desktop OS vendor to do so), however even the PS2 build passes the string through a function called "CGtUnicode::ConvertUTF8toUTF16" before drawing the "LOADING" string on-screen. This implies that regardless of the platform, Burnout 3's code is in fact standardized on UTF-16 strings rather than UTF-8.
User avatar
nugg3t
Posts: 71
Joined: Tue Dec 27, 2022 9:36 pm
Location: My Basement
Contact:

Re: [MINOR] Loading screen text is editable

Post by nugg3t »

MattKC wrote: Sat Jan 07, 2023 10:04 pm Burnout 3's loading screen ordinarily displays like so:
loading1.png
I had actually assumed this was just an image, but it turns out this is just text that's dutifully generated from a font and rendered in real time.

What that means is... the text is editable pepeLaugh
loading2.png
When I thought about it more, having it be editable text made some sense. After all, any user-facing strings may have to be translated to other languages, and at that point it's probably easier to work with text than a bunch of images.

Interestingly, the string is hardcoded to English "LOADING" in the NTSC-U version. I guess it's not unbelievable that this version would only support English.

This also reveals something interesting in that Burnout 3 appears to use UTF-16 throughout - the "LOADING" string is stored and used as a wide string. At first I thought this was just an Xbox thing, since Microsoft/Windows generally have standardized on UTF-16 (the only major desktop OS vendor to do so), however even the PS2 build passes the string through a function called "CGtUnicode::ConvertUTF8toUTF16" before drawing the "LOADING" string on-screen. This implies that regardless of the platform, Burnout 3's code is in fact standardized on UTF-16 strings rather than UTF-8.
Very cool, can you make it say "nugg3t has w rizz"?
If you reply, you INSTANTLY own a 20 inch Symphonic CRT TV. 8-) 8-)
"im back" -me, 11/23/23, 12:46am cst
User avatar
MattKC
Site Admin
Posts: 323
Joined: Mon Aug 22, 2022 1:05 am
Contact:

Re: [MINOR] Loading screen text is editable

Post by MattKC »

nugget.png
Post Reply