RCOXML Texts: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(Created page with "=Description= The texts inside .rco files are indexed in the embedded '''RCOXML''' code of the .rco container under the XML element '''TextTree'''. See Resource Container (R...")
 
m (moved from Languages page)
Line 3: Line 3:


All the texts inside .rco has a localized file for every one of the [[languages]] supported by [[XMB]]. The localized file contains all the translated text strings
All the texts inside .rco has a localized file for every one of the [[languages]] supported by [[XMB]]. The localized file contains all the translated text strings
=Language Modifications=
All modifications made to the '''<language>.xml''' files extracted from [[Resource_Container_(RCO) | RCO]]'s with [[rcomage]] belongs to this category
==How to add custom texts==
Rebug package manager example goes here
==Photosensitive epilepsy text removal/replacement==
Text is located in all <language.xml> files inside [[sysconf_plugin]].rco
It can be blanked (replaced by nothing), or replaced by any other custom text and ASCII art
{{Boxcode|content=<syntaxhighlight lang="xml">
<?xml version="1.0" encoding="utf-8"?>
<!-- This XML was generated by Rcomage v1.1.2 -->
<TextLang>
.
..
...
<Text name="msg_health_warning_start_scee">PHOTOSENSITIVE EPILEPSY
IF YOU HAVE A HISTORY OF EPILEPSY OR SEIZURES, CONSULT A DOCTOR BEFORE USE. CERTAIN PATTERNS MAY TRIGGER SEIZURES WITH NO PRIOR HISTORY. BEFORE USING THIS PRODUCT, CAREFULLY READ THE INSTRUCTION MANUAL.</Text>
...
..
.
</TextLang>
</syntaxhighlight>}}
*Notes
**To make accurate texts that fits to the screen is needed to know the number of characters in width, and number of lines in height (for every TV resolution mode ?)
**Some experiments with ASCII art http://www.ps3hax.net/2013/04/tutorial-how-to-edit-ps3-epilepsy-warning-on-cfw/
**VSH.self is responsible for loading the epilepsy warning screen. To disable it completely use [[Patches#disable_epilepsy_message|this patch]]
==Adding custom language packs==
*[[PS3MFW_Builder#PSheb_project|PS3MFW_Builder::PSheb_project]]. Info about the PSheb project needs to be improved, splitted and moved to several wiki pages:
**Info about .xml modifications moved to [[Languages]] page
**Info about .tcl "language pack" task stays in [[PS3MFW Builder]] page
**Info about replacing or adding characters/glyphs in the official .ttf fonts moved to [[XMB Fonts]] page
==etc...==


{{File Formats}}
{{File Formats}}
<noinclude>[[Category:Main]]</noinclude>
<noinclude>[[Category:Main]]</noinclude>

Revision as of 11:51, 17 November 2015

Description

The texts inside .rco files are indexed in the embedded RCOXML code of the .rco container under the XML element TextTree. See Resource Container (RCO) and RCOXML Structure

All the texts inside .rco has a localized file for every one of the languages supported by XMB. The localized file contains all the translated text strings

Language Modifications

All modifications made to the <language>.xml files extracted from RCO's with rcomage belongs to this category

How to add custom texts

Rebug package manager example goes here

Photosensitive epilepsy text removal/replacement

Text is located in all <language.xml> files inside sysconf_plugin.rco

It can be blanked (replaced by nothing), or replaced by any other custom text and ASCII art

Code Sample


Adding custom language packs

  • PS3MFW_Builder::PSheb_project. Info about the PSheb project needs to be improved, splitted and moved to several wiki pages:
    • Info about .xml modifications moved to Languages page
    • Info about .tcl "language pack" task stays in PS3MFW Builder page
    • Info about replacing or adding characters/glyphs in the official .ttf fonts moved to XMB Fonts page

etc...