Giter Club home page Giter Club logo

Comments (5)

Archez avatar Archez commented on August 16, 2024

This isn't really possible using the text as it is from the game. There is no such thing as a "title" from the perspective of the game's message system. Just ways to control the color, line breaks, yes/no prompts, etc.

Regarding new lines, there is no difference between a sentence that overflows to another line vs these "titles", so without manually adding extra markers to all text in the entire game (which is infeasible), it can't be handled programmatically.

from shipwright.

sxflynn avatar sxflynn commented on August 16, 2024

This isn't really possible using the text as it is from the game. There is no such thing as a "title" from the perspective of the game's message system. Just ways to control the color, line breaks, yes/no prompts, etc.

Regarding new lines, there is no difference between a sentence that overflows to another line vs these "titles", so without manually adding extra markers to all text in the entire game (which is infeasible), it can't be handled programmatically.

How does it know to draw the purple text as purple? There has to be some kind of marker in the source that does that.

from shipwright.

Archez avatar Archez commented on August 16, 2024

Yes, I said above that there are control codes for colors, new lines, choice prompts, etc.
What does color have to do with anything? Colors are used anywhere in the text, so they cannot be thought of as a "if you see a color, pause the TTS readout". The purple text for example is not something to be used as an indicator for "titles".

And as I said above, new lines also are not indicative of a "pause" either. There is no such control code that is a "header/title" in the OoT message system.

from shipwright.

sxflynn avatar sxflynn commented on August 16, 2024

Could you elaborate on why adding metadata/tags/structure to the text is infeasible? Does it have to do with the fact that none of the original game text is stored in the soh code?

from shipwright.

PurpleHato avatar PurpleHato commented on August 16, 2024

Exactly, SoH doesn't hold any data from the game for legal reasons

The texts, textures, maps, models, sounds, etc are all extracted from the rom and stored into your OTR files

As Archez said it's idealistic to add a marker on all the game text due to how the datas are made and used

from shipwright.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.