PSX-SCENE Forum Discussion for Sony PlayStation/PsOne/PS2/PS3/PSP/PS VITA
  • UPDATE - NoRSX 0.1.1 - Homebrew Developer Library

    UPDATE: deroad has released NoRSX v0.1.1, as well as annoucned NoRSX Emulator for the PC (Note: Not a PS3 Emulator!). See the bottom of this page for details about the update. Winner of March's PSX-SCENE monthly contest, deroad aka wargio, is back today with NoRSX 0.0.9; now with added TTF support. This means users will now be able to load different fonts, while using this program to help them create their own various homebrews. The next step for this application is to make it faster via a SPU implementation; afterwards, this project should be done and ready to have more features added to it.


    My lib has been updated to allow people to use *.ttf files instead of my old experimental font.
    You can use any ttf loaded from memory or from hdd and print any kind of text as you want.
    an example
    This is the function that needs to be called to load a font from memory:
    PHP Code:
    Font(u32 Coloru32 Size, const void *MemFontu32 MemFont_sizeMinimum *min); 
    so for example if my font is Andale.ttf, and i want to load it from memory, i would call:
    PHP Code:
    #include "Andale_ttf.h" //This file will be created from the Makefile. just put your Andale.ttf inside the "data" folder
    int main(){
            
    NoRSX gfx();
            
    Font A(COLOR_WHITE40Andale_ttfAndale_ttf_size, &gfx); //this will allow you to print on the screen a White text with the Andale ttf and with a size of 40 pixel.
            //to print any kind of text i've added a printf function:
            
    A.Printf(100,300,"This is an example %i"10); //This will print on the screen a text at the position (100,300) on the screen, with written "This is an example 10".

    you can also load ttf loaded from hdd (as i said before).
    just change the function
    PHP Code:
    Font A(COLOR_WHITE40Andale_ttfAndale_ttf_size, &gfx); 
    with this one:
    PHP Code:
    Font A(COLOR_WHITE40"/dev_hdd0/game/NORSX0000/Andale.ttf", &gfx); 
    This will load the font from the hdd. (you can use also the ps3 fonts already included with your ps3 ).
    Now the only thing that i need to implement is make it faster (it needs a spu implementation). once done, the lib will be finally done and i will be able to add more objects and other stupid stuff that now isn't necessary.

    Direct Download (source code as of 6/05/12)

    GIT: github.com/wargio/NoRSX

    Guide: PS3 Tutorials

    deroad's Website: devram0.blogspot.com

    And also, be sure to stop by his mega hacking guide!

    [UPDATE]

    The new update has lots of performance patches (thanks also to KDSBest) and allows more things. It can directly use the original PS3 fonts if you want by telling the lib to use them. Uou now are able also to predefine the resolution of you homebrew.

    Added Screen Size Support. now you can choose the resolution of your homebrew (RESOLUTION_1920x1080, RESOLUTION_1280x720, RESOLUTION_720x576, RESOLUTION_720x480), added Performance Patch by KDSBest and Deroad, Added PS3 Font Support (LATIN2, JPN, KOR, CGB, KANA) and fixed fonts chroma key.

    The next moth will be released a NoRSX PC Emulator, to help people to develop apps with NoRSX also without PS3.

    Here are some preview pictures of the NoRSX PC Emulator:

    Click to View!




    LIKE/VOTE for this Entry in this month's Contest!
    Comments 7 Comments
    1. tthousand's Avatar
      tthousand -
      Thanks deroad for all of your wonderful PS3 support (and even PS Vita!!!)

      ([Mega-Thread] HACKING a PS3 - Tutorials and Explanations)Be sure to stop by his ultimate hacking guide!
    1. tthousand's Avatar
      tthousand -
      This program has been updated, and also the next project announced.

      http://psx-scene.com/forums/content/...-library-2297/
    1. Demonchild's Avatar
      Demonchild -
      Might want to fix the spoiler tags. The /spoiler tag needs fixing.
    1. tthousand's Avatar
      tthousand -
      Thanks. I should have realized that when I still saw the photos in the article without clicking the spoiler button.
    1. TizzyT's Avatar
      TizzyT -
      Hmm nice to see he released it.
    1. hashim97's Avatar
      hashim97 -
      If some could run Xbox games on PS3 it will be great
      for people who has PS3 and Xbox together
    1. JudasRein's Avatar
      JudasRein -
      Nice work man. I remember seeing this a while back, but paid no attention, as I haven't really been into the PS3 scene. But this is perfect. Summer is the time of developing and I left my PS3 back at home. Gotta get that emulator out.