• Home
  • Downloads
  • EBOOT Fixes
  • Forums
  • New Posts
  • Register
    • Welcome, Register Now! 
    • Premium VIP Membership
    • PS3 Sticky
      • PS3 CFW & MFW
      • PS3 Debug Firmware
      • PS3 Decrypted PSN Links for CFW
      • PS3 Downloads
      • PS3 EBOOT.BIN Original File Links
      • PS3 Firmware
      • PS3 Game Releases List
      • PS3 Guides & Tutorials
      • PS3 Hacking Guides and Tutorials
      • PS3 Hacks & JailBreak
      • PS3 Help & Support
      • PS3 JailBreak Game Compatibility List
      • PS3 JB2 / True Blue (TB) Game Links
      • PS3 multiMAN Updates
      • PS3 Resources
      • PS3 Reviews
      • PS3 Save Files Repository
      • PS3 Themes
      • PS3 Trophies List
      • PS3 Videos
      • PS Vita Trophies List
    • Quick Links
      • Affiliates
      • Contact Us
      • FAQ
      • Post News
      • Site Rules
      • Tag Cloud
 

NoRSX PS3 2D Graphic PSL1ght SDK Library Updated, TTF Support

Category: PS3 Hacks & JailBreak  By: PS3 News - (devram0.blogspot.com)
Tags: norsx ps3 ps3 2d graphic library psl1ght sdk library updated ps3 ttf support ps3 hacks

54w ago - It's been a few months since his initial release, and today PlayStation 3 developer deroad has updated the NoRSX PS3 2D Graphic Library for the PSL1ght homebrew SDK to include TTF support.

Download: NoRSX PS3 2D Graphic PSL1ght SDK Library with TTF Support / NoRSX PS3 2D Graphic PSL1ght SDK Library with TTF Support (Mirror) / GIT

To quote from his blog: 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:

Font(u32 Color, u32 Size, const void *MemFont, u32 MemFont_size, Minimum *min);
so for example if my font is Andale.ttf, and i want to load it from memory, i would call:

    #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_WHITE, 40, Andale_ttf, Andale_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

Font A(COLOR_WHITE, 40, Andale_ttf, Andale_ttf_size, &gfx);
with this one:

Font A(COLOR_WHITE, 40, "/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.

Update: Deroad has released NoRSX v0.1.1, as well as announced NoRSX Emulator for the PC. 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. You 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 month will be released a NoRSX PC Emulator, to help people to develop apps with NoRSX also without PS3. Below are some preview pictures of the NoRSX PC Emulator.

NoRSX Changelog:

v0.1.1:

  • Added Change Screen Size.
  • Screen Size Supported:
  • RESOLUTION_1920x1080
  • RESOLUTION_1280x720
  • RESOLUTION_720x576
  • RESOLUTION_720x480

They needs to be initialized as this Example: NoRSX GFX(RESOLUTION_1280x720);

v0.1.1b:

  • Fixed Screen Size bugs.

v0.1.1c:

  • Performance Patch by KDSBest (Just for Images).
  • Added DrawIMGtoBitmap function for JPG (I forgot this one!)

v0.1.1d:

  • Added PS3 Font PATHS

v0.1.1e:

  • Font Size..

v0.1.2:

  • Fixed Font ChromaKey. now fonts are better displayed

Hi everyone! deroad is here (again) to release a good tool to allow people to work with my NoRSX Library on pc. i have ported and coded the ps3 version to PC. What it does? well it has the same functions of the ps3 version.

NoRSX PC Emulator FAQ:

Is it a PS3 Emulator? NO IT ISN'T. It's a port.

Who coded it? Me, Deroad.

What it does? The same things as the PS3 version.

Will it updated when NoRSX (PS3 Version) will have an update? Yes, it will be updated with the same updates as the PS3 one.

What Libs it requires? you need SDL, SDL_image and freetype2.

What i can do with it? i already have the PS3 version! Well i wrote it, since some time i don't have the PS3 and i need something to allow me to continue to work on this lib. this is why i created it; but for you can be a useful tool to test the graphics of your homebrew if you used NoRSX as the default lib; it will save you lot of time.

Authors: Deroad, KDSBest (for his performance patches).

Review by PsDev: I got the honors of testing Deroads (wargio, NoRSX emulator. although at first I had trouble with compiling, that was my own fault as my Linux was outdated and I didn't have the required SDL and freetype2 library. after getting that done I started it and it looked nice, Had a middle png image and fps (frames per second) rate shown and a nice little exit message.

Once you download you will notice the main.cpp this is what you're gonna use to write your NoRSX programs and that's what the NoRSX Emulator going to run. The way he has coded it is great, it's simple to make your own homebrew, from changing image, font, or rearranging the bitmap to your liking. One bit of code that I enjoyed was this snippet below

NoRSX *GFX = new NoRSX(RESOLUTION_1280x720); 
that line of code basically allows you to set the screen resolution from 720x480, 720x576 and 1280x720. This is great cause you can choose the size of the screen! another simple piece of code is

Font F2("data/Sans.ttf" ,GFX);
        IMG.LoadPNG("data/PsDev.png", &png);
        u32 imgX =(GFX->width/2)-(png.width/2), imgY = (GFX->height/2)-(png.height/2);
These snippets are the font and image changer. These are located in the Data folder and allow easy change for the middle image(or in your own code to be where ever you choose on bitmap)or the font type, so this emulator is giving good flexibility and have it your way.

Anyway, in conclusion, I hope you enjoy this emulator as much as I do and make sure to thank deroad (KDS for improvement patches) for his hardwork, because it's really paying off! thanks bye -PsDev

Download: NoRSX PC Emulator / GIT








Stay tuned for more PS3 Hacks and PS3 CFW news, follow us on Twitter and be sure to drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene updates and homebrew releases!

Comments 4 Comments - Go to Forum Thread »

Errors

The following errors occurred with your submission

Okay

Quick Reply Quick Reply

  • Decrease Size
    Increase Size
  • Wrap [QUOTE] tags around selected text
Posting Quick Reply - Please Wait Posting Quick Reply - Please Wait
PS3 News's Avatar
#4 - PS3 News - 11w ago
Reply
Following up on the previous updates, this weekend PlayStation 3 developer deroad has released a NoRSX 0.3.0 mandatory PS3 update for developers with details below.

Download: https://github.com/wargio/NoRSX/archive/master.zip / https://github.com/wargio/NoRSX

To quote: I have updated NoRSX to 0.3.0 THIS IS A MANDATORY UPDATE! Rebuild all your works, because there was a huge memory leak problem!

There was a problem with Font implementation. i forgot to free va_list and Freetype2 glyph and that caused a really hi memory corruption.

So please, update to this version!


More PlayStation 3 News...

PS3 News's Avatar
#3 - PS3 News - 40w ago
Reply
Following up on his last revision, this weekend PlayStation 3 homebrew developer deroad has updated the NoRSX PS3 graphic PSL1ght SDK library to v0.1.8 followed by v0.1.9, v0.2.0 and v0.2.2, v0.2.9 and NoRSX PC emulator to v0.0.4 followed by v0.0.5 with details from the changelog outlined below.

Download: https://github.com/wargio/NoRSX/zipball/master / https://github.com/wargio/NoRSX/tarball/master (Mirror) / https://github.com/wargio/NoRSX/zipball/master / https://github.com/wargio/NoRSX/tarball/master (Mirror) / https://github.com/wargio/NoRSX/zipball/master / https://github.com/wargio/NoRSX/tarball/master (Mirror) / https://github.com/wargio/NoRSX/archive/master.zip / https://github.com/wargio/NoRSX__PCEMU/zipball/master / https://github.com/wargio/NoRSX__PCEMU/tarball/master (Mirror) / https://github.com/wargio/NoRSX / https://github.com/wargio/NoRSX__PCEMU

NoRSX Changelog (via pastie.org/private/hpawzlhfvgjovn77wxf36w):

PC Emulator:

1) Added PS3 Controller emulator (quite simple. it only has the main buttons but not analogic & axis sensors)
2) Fixed PNG loading.
3) Added Animation.cpp and Animation.h to allow any kind of animations
4) New Bitmap Functions
5) Fixed some stuff for MSG_dialog

PS3 Library Changelog:

1) Added Animation.cpp and Animation.h to allow any kind of animations
2) New Bitmap Functions

To be added soon for PS3:

1) Hardware Surface Transformation. this will allow to write an HD app that works on SD TVs. an example: 720p to 576p. you will work on 720p surface, but you will blit a 576p surface.
2) fix XMB in-game problems. I know this problem. I need to understand how to use gcmSetSecondVHandler() if anybody knows how it works, I will appreciate.

NoRSX Changelog:


- 0.0.1 -
PNG/JPG support
- 0.0.2 -
Now it loads everything correctly.
- 0.0.3 -
Background support.
Can generate an object like rectangles
- 0.0.4 -
Added Msg dialog.
Added Sperimental Text (NO FONTS for now).
Added Partial Image function.
- 0.0.5 -
Added Printf to the Sperimental Text function.
Added Pixel.
- 0.0.5b -
Added Circle.
Added Pixel4.
- 0.0.5c -
Added AlphaBlending (15 fps).
- 0.0.6 -
Added line.
- 0.0.7 -
Added AlphaBlending (30 fps).
- 0.0.8 -
Added TTF support (be careful when using it! it's still sperimental).
- 0.0.9 -
Now TTF support is perfect!
Removed old font support.
- 0.0.9b -
Added a few options!.
- 0.1.0 -
Added Bitmap!.
- 0.1.0b -
Fixed Bitmap when exit.
- 0.1.0c -
Performance Patch by KDSBest (thanks for them. most of the stuffs that go to 24 FPS, now go to 30 FPS).
- 0.1.0d -
Performance Patch by Deroad/Wargio ~40 FPS.
- 0.1.1 -
Added Change Screen Size.
Screen Size Supported:
RESOLUTION_1920x1080
RESOLUTION_1280x720
RESOLUTION_720x576
RESOLUTION_720x480
They needs to be initialized as this Example: NoRSX GFX(RESOLUTION_1280x720);
- 0.1.1b -
Fixed Screen Size bugs.
- 0.1.1c -
Performance Patch by KDSBest (Just for Images).
Added DrawIMGtoBitmap function for JPG (I forgot this one!)
- 0.1.1d -
Added PS3 Font PATHS
- 0.1.1e -
Font Size..
- 0.1.2 -
Fixed Font ChromaKey. now fonts are better displayed
- 0.1.5 -
Now it's a real lib. to use it you will need to add in the Makefile the -lNoRSX flag
New Header. now to include NoRSX inside your code, you will need to add the new header
Added EventHandler. it is included with you don't need to use it. it's already configured by the lib.
- 0.1.6 -
Added gradient for background color.
- 0.1.8 -
Added Animation.cpp and Animation.h to create animations
New Bitmap Functions
- 0.1.9 -
Added Spu.cpp to use spu stuff
Added NoRSX error list (incomplete)
- 0.2.0 -
Text rendering improved with performance test
Fixed XMB Flip. Now is much more better.
Added Printf functions.

just initialize it: init_print(path_to_directory);
write something to file: print("Hello World!\n");
close the file: end_print();

Added XMB Status
Performance Patches for Font functions
NoRSX Emulator Changelog:


- 0.0.4 -
Added -I flag to the Makefile
Fixed PNG loading
Added Animation.cpp and Animation.h to allow animations
New Bitmap Functions
- 0.0.3 -
Fixed MsgDialog
Added PS3 Controller Emulation
*DELETE ->BUTTON_START
*BACKSPACE ->BUTTON_SELECT
*UP ->BUTTON_UP
*DOWN ->BUTTON_DOWN
*LEFT ->BUTTON_LEFT
*RIGHT ->BUTTON_BTN_RIGHT
*Left ALT ->BUTTON_SQUARE
*RSHIFT ->BUTTON_TRIANGLE
*ESCAPE ->BUTTON_CIRCLE
*RETURN ->BUTTON_CROSS
*1 ->BUTTON_R1
*2 ->BUTTON_R2
*3 ->BUTTON_R3
*4 ->BUTTON_L1
*5 ->BUTTON_L2
*6 ->BUTTON_L3
- 0.0.2 -
Added MSG Dialog
- 0.0.1 -
Initial version, based on NoRSX for PS3 version 0.1.1e
NoRSX v0.2.2 & NoRSX PC Emulator v0.0.5 Changes:

I have just updated both NoRSX versions (PS3 and PC) have fun!

PS3 changelog 0.2.2:

• Added Image Resize Algorithm
• Fixed various problems

PC changelog 0.0.5:

• Rewritten Makefile
• Added Image Resize
• Added NoRSX PS3 Version Performance Patches

How to use Example:


pngData *mypng = new pngData; //define a pngData pointer
NoRSX *GFX = new NoRSX(); //initialize NoRSX
Image IMG(GFX); //initialize NoRSX Image Lib

IMG.LoadPNG("path_to_your.png", mypng);

png = IMG.ResizeImage(mypng, 500, 300); //Resize the image to this dimension: width = 500 and height = 300 and take the image from mypng, then return the new pointer to mypng.

IMG.DrawIMG(10,50,png); //draw the png on the screen at x = 10 and y = 50
JPG support will be added later.

Update: NoRSX 0.2.9 Fixed XMB Glitch (via devram0.blogspot.com/2013/03/norsx-029-fixed-xmb-glitch.html) - Well, finally i have fixed the XMB glicth. now everything should work without any problem! i suggest to update your NoRSX copy, if you use my lib. have fun

i have added also Software Rescaling. do not expect great thing on this version. Rescaling is too much slow from virtual SD screen to real HD screen.


More PlayStation 3 News...

PS3 News's Avatar
#2 - PS3 News - 49w ago
Reply
Following up on his previous revisions, today PlayStation 3 homebrew developer deroad has updated NoRSX to version 0.1.5 which he states is now a real PSL1GHT library.

Download: https://github.com/wargio/NoRSX/zipball/master / https://github.com/wargio/NoRSX/tarball/master (Mirror) / https://github.com/wargio/NoRSX/downloads

To quote from his blog: Finally I setup my lib to be built as a real lib. In fact it will build now a libNoRSX.a

This lib will be installed inside the PORTLIBS directory. It uses also a new header #include (it will include always all the functions)

I noticed also that all the homebrews built with this lib will be also less heavier then the old one! To install it, just run make. It will build also the example. This has been tested with the latest PSL1GHT version.

To include this lib, just add into the Makefile the -lNoRSX flag (if you have problems, give a look into the NoRSX Example folder).

THIS LIB IS JUST FOR PSL1GHT V2

This doesn't work on v1. but it can be ported easily.


More PlayStation 3 News...

PS3 News's Avatar
#1 - PS3 News - 66w ago
Reply
Today PlayStation 3 developer http://devram0.blogspot.com/2012/03/norsx.html has made available NoRSX for developers - a PS3 2D graphic library for the PSL1ght homebrew SDK.

Download: http://uploadmirrors.com/download/PH5UZPY0/wargio-NoRSX-b2a5a9d.zip / http://www.mediafire.com/?r9d6krc506zih6h / http://www.mediafire.com/?y0ztyb7b16po116 / https://github.com/wargio/NoRSX

To quote: This lib is still under development, but it can give you ~60 fps.. for now it allows you to build Homebrews without configuring tons of things.

Right now it allows you to use JPG/PNG files, select a defined background, generate rectangles where you want. It works perfectly with images, but text functions are not ready to be released.

This lib is perfect to build really simple HBs, also if you are not a great dev. my lib can be download the src from my git: https://github.com/wargio/NoRSX

Here is a simple Wiki where you can find a simple tutorial: https://github.com/wargio/NoRSX/wiki/How-To-Start

This lib works only with PSL1GHT V2.

UPDATE 1: I've updated the lib with some cool functions.

UPDATE 2: I've updated again the lib with a sperimental text! if you want to a text on the screen, you MUST write in UPPERCASE.
I added also a simple message dialog function.. this is an example:




More PlayStation 3 News...

Page 1 of 1 1

Related PS3 News and PS3 CFW Hacks or JailBreak Articles

• PS3 EDAT Devklic Bruteforcer v1.0 / v1.1 By JjKkYu is Released
• MAME 0125 (Multiple Arcade Machine Emulator) for PS3 Release 1 Out
• PS3 Game List by Nullptr PlayStation 3 Homebrew App is Released
• MultiMAN v04.40.00 PS3 Server and Showtime Edition Updates Out
• ScummVM 1.6.0 PlayStation 3 Emulator Updated, +4 to Engines
• PSN Tool v1.0 and PSN Tool Creator v1.0 to Combat PSN Bans Arrive
Affiliates  NewsNow  Privacy  PS3 CFW & MFW  PS3 Hacks & JailBreak  PS3 Reviews  PS3 Videos  © 2013 PlayStation 3 News

PlayStation 3 Links

• Contact Us E-Mail
• PS3 Affiliates
• PS3 CFW & MFW
• PS3 Debug Firmware
• PS3 Decrypted PSN Links for CFW
• PS3 Downloads
• PS3 EBOOT.BIN Original File Links
• PS3 Firmware
• PS3 Game Releases List
• PS3 Guides & Tutorials
• PS3 Hacking Guides and Tutorials
• PS3 Hacks & JailBreak
• PS3 Help & Support
• PS3 JailBreak Game Compatibility List
• PS3 JB2 / True Blue (TB) Game Links
• PS3 multiMAN Updates
• PS3 News Forums
• PS3 News Site FAQ
• PS3 News Site Advertising FAQ
• PS3 News Site Posting FAQ
• PS3 News Site Privacy FAQ
• PS3 News Site Rules
• PS3 News Site Tag Cloud
• PS3 News Site Terms
• PS3 Resources
• PS3 Reviews
• PS3 Save Files Repository
• PS3 Themes
• PS3 Trophies List
• PS3 Videos
• PS Vita Trophies List

PlayStation 3 News Discussions
New PS3 Firmware 3.56+ Downgrade Method is Detailed - 20m ago

bullet1534's Avatar
Quote Does this really work like wtf i'm trying to find out...
By bullet1534 with
 79 Comments »
PS3 External Hard Drive help? - 51m ago

sparker781's Avatar
Quote Did a copy of a game from my External drive to my internal PS3 hard drive. now my external is not recognized by mm or ps3. i do have some games on t...
By sparker781 with
 0 Comments »
Replace hdd and upgrade PS3 cfw help? - 59m ago

Liongooder's Avatar
Quote Downgrade to Kmeaw 3.55 first then back up, i did this a long time ago when there was only Kmeaw, so do it & tell me....
By Liongooder with
 4 Comments »
Introductions: Hello Everyone, I'm New at PS3News.com! - 2h ago

PS3 News's Avatar
Quote Yes, or just meet the criteria for being promoted to a Contributor class user as outlined in #4 here: http://www.ps3news.com/forums/console-news/notic...
By PS3 News with
 7168 Comments »

Latest PlayStation 3 Trophies
Dungeons & Dragons: Daggerdale: The Big Stick
Dungeons & Dragons: Daggerdale: Four of a Kind
Dungeons & Dragons: Daggerdale: Man at Arms
Dungeons & Dragons: Daggerdale: Solid Gold

Latest PlayStation Vita Trophies
Jak II (Vita): The Collectationator!
Jak II (Vita): The Collectivist
Jak II (Vita): The Collector
Jak II (Vita): Head Master

Latest PlayStation 3 Releases
Le Tour De France 2013 PS3-STRiKE - 06-18-2013
MotoGP 13 PS3-COLLATERAL - 06-17-2013
Remember Me USA PS3-ANTiDOTE - 06-17-2013
The Last of Us ASiA MULTi3 PS3-Kirin - 06-14-2013

Latest PlayStation 3 Themes
The Last of Us PS3 Theme - 06-14-2013
God Of War 3 (Unofficial V1/V2) PS3 Theme - 06-12-2013
Heavy Rain (Official) Dynamic PS3 Theme - 06-11-2013
PlayStation Classic PS3 Theme - 06-11-2013
  • Contact Us
  • -
  • PS3 News