手機 - Blackberry Passport - 如何更換RetroArch的字型



步驟如下:

$ unzip RetroArch-1_3_6_3-ES3.bar -d bar
$ cd bar/native
    assets/assets/glui/font.ttf

$ diff bar-descriptor.xml
21,38c21,23
<     <asset path="${workspace_loc:/RetroArch_/media/assets}">assets/assets</asset>
<     <asset path="${workspace_loc:/RetroArch_/media/overlays}">assets/overlays</asset>
<     <asset path="../../../dist/info">assets/info</asset>
<     <asset path="cores">assets/cores</asset>
<     <asset path="${workspace_loc:/RetroArch_/media/retroarch-96x96.png}">retroarch-96x96.png</asset>
<     <asset path="${workspace_loc:/RetroArch_/media/canvas.png}">canvas.png</asset>
<     <configuration name="ES2-Debug">
<        <platformArchitecture>armle-v7</platformArchitecture>
<        <asset path="ES2-Debug/RetroArch" entry="true" type="Qnx/Elf">RetroArch</asset>
<     </configuration>
<     <configuration name="ES3-Debug">
<        <platformArchitecture>armle-v7</platformArchitecture>
<        <asset path="ES3-Debug/RetroArch" entry="true" type="Qnx/Elf">RetroArch</asset>
<     </configuration>
<     <configuration name="ES2-Release">
<        <platformArchitecture>armle-v7</platformArchitecture>
<        <asset path="ES2-Release/RetroArch" entry="true" type="Qnx/Elf">RetroArch</asset>
<     </configuration>
---
>     <asset path="assets">assets</asset>
>     <asset path="retroarch-96x96.png">retroarch-96x96.png</asset>
>     <asset path="canvas.png">canvas.png</asset>
41c26
<        <asset path="ES3-Release/RetroArch" entry="true" type="Qnx/Elf">RetroArch</asset>
---
>        <asset path="RetroArch" entry="true" type="Qnx/Elf">RetroArch</asset>

$ blackberry-nativepackager -package retroarch.bar bar-descriptor.xml -devMode -debugToken ${HOME}/.rim/debugtoken.bar

更換前


更換後