The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the newest Gaming News from
QJ.NET in your email each day?




Want to learn more about the team who brings you the QJ news?

Read about them now!

 


Results 1 to 20 of 20

[Release] libVSH v0.15

This is a discussion on [Release] libVSH v0.15 within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; that's right! finally, after weeks of work, I've progressed just a little bit xD I've made some to changes to ...

  
  1. #1
    QJ Gamer Gold
    Points: 9,490, Level: 65
    Level completed: 47%, Points required for next Level: 160
    Overall activity: 0%

    Join Date
    Nov 2008
    Location
    CAD
    Posts
    692
    QJ Pts
    9,490
    Level
    65
    Downloads
    18
    Uploads
    4

    Default [Release] libVSH v0.15

    that's right! finally, after weeks of work, I've progressed just a little bit xD
    I've made some to changes to the lib so that it loads faster and added some functions. I've tried to work on the intraFont functions, they are all done (after all, they're just like 5-6) but don't seem to work, even though everything compiles well. All right, here's the changelog:

    Changelog:
    1. Improved speed
    2. New way of coding
    3. Ability to load other PRXs
    4. vsh_iLoad was added, used to load an image
    5. vsh_blit was fixed just a little bit, it sucks less than the previous one though :P
    6. vsh_putPixel was added
    7. vsh_drawLine was added
    8. vsh_message was fixed
    9. vsh_intraFont functions were added, but don't work


    Spoiler for main.c:
    Code:
    #include <libVSH.h>
    #include <pspdebug.h>
    
    PSP_MODULE_INFO("hello", 0, 1, 1);
    PSP_MAIN_THREAD_STACK_SIZE_KB(20);
    
    int app_main();
    
    int main()
    {
    	vsh(app_main);
    }
    
    int app_main()
    {
    	vsh_init();
    	vsh_start();
    	
    	while(1)
    	{
    	vsh_create();
    	
    	vsh_printr(192,1,"Hello World",0.9,0xFFFFFFFF);
    	vsh_drawLine(0,0,480,272,0xFFFFFFFF);
    	vsh_drawLine(480,0,0,272,0xFFFFFFFF);
    	vsh_putPixel(240,136,0xFF000000);
    	
    	vsh_resume();
    	}
    }


    Spoiler for Makefile:
    Code:
    TARGET = hello_world
    OBJS = main.o
    
    BUILD_PRX = 1
    
    LIBS = -lvsh -lpng
    
    INCDIR = 
    CFLAGS = -O2 -G0 -Wall
    CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
    ASFLAGS = $(CFLAGS)
    
    LIBDIR =
    
    PSPSDK=$(shell psp-config --pspsdk-path)
    include $(PSPSDK)/lib/build.mak


    Spoiler for Outcome:

    the "-lpng" in Makefile is used by the vsh_iLoad function, I will make sure that you won't be needing to add it in the next release ;)

    Download


    Enjoy!
    Last edited by mootjeuh; 11-11-2009 at 09:59 AM.
    That epic dude.

  2. #2
    Lua guy
    Points: 10,655, Level: 68
    Level completed: 52%, Points required for next Level: 195
    Overall activity: 0%

    Join Date
    Jan 2008
    Location
    Wales, cardiff
    Posts
    1,442
    QJ Pts
    10,655
    Level
    68
    My Mood
    Blah
    Downloads
    0
    Uploads
    0

    Default

    Nice

  3. #3
    QJ Gamer Silver
    Points: 6,948, Level: 54
    Level completed: 99%, Points required for next Level: 2
    Overall activity: 0%

    Join Date
    Aug 2007
    Posts
    657
    QJ Pts
    6,948
    Level
    54
    Downloads
    5
    Uploads
    0

    Default

    This is going to be very useful
    Thanks for sharing your work man :)

    EDIT: Is there documentation available for loading other .prx files ect. ??
    PSP: PSP SLIM 2001 TA-088v2
    Custom Firmware: 5.00 M33-6

  4. #4
    QJ Gamer Green
    Points: 3,399, Level: 36
    Level completed: 33%, Points required for next Level: 101
    Overall activity: 0%

    Join Date
    Jul 2008
    Location
    Italy
    Posts
    145
    QJ Pts
    3,399
    Level
    36
    Downloads
    0
    Uploads
    0

    Default

    why don't you write a little documentation about using this library?

  5. #5
    QJ Gamer Gold
    Points: 9,490, Level: 65
    Level completed: 47%, Points required for next Level: 160
    Overall activity: 0%

    Join Date
    Nov 2008
    Location
    CAD
    Posts
    692
    QJ Pts
    9,490
    Level
    65
    Downloads
    18
    Uploads
    4

    Default

    coz i dont feel like it xD
    ill be writing one, after the release of v0.2, which should be anytime soon ;)
    That epic dude.

  6. #6
    QJ Gamer Gold
    Points: 9,490, Level: 65
    Level completed: 47%, Points required for next Level: 160
    Overall activity: 0%

    Join Date
    Nov 2008
    Location
    CAD
    Posts
    692
    QJ Pts
    9,490
    Level
    65
    Downloads
    18
    Uploads
    4

    Default

    as for Mr Shizzy's question, i have no idea wth you're talking about xD
    could you plz explain?
    That epic dude.

  7. #7
    QJ Gamer Silver
    Points: 6,948, Level: 54
    Level completed: 99%, Points required for next Level: 2
    Overall activity: 0%

    Join Date
    Aug 2007
    Posts
    657
    QJ Pts
    6,948
    Level
    54
    Downloads
    5
    Uploads
    0

    Default

    Quote Originally Posted by mootjeuh View Post
    Changelog:
    1. Improved speed
    2. New way of coding
    3. Ability to load other PRXs
    4. vsh_iLoad was added, used to load an image
    5. vsh_blit was fixed just a little bit, it sucks less than the previous one though :P
    6. vsh_putPixel was added
    7. vsh_drawLine was added
    8. vsh_message was fixed
    9. vsh_intraFont functions were added, but don't work



    Enjoy!
    It says in the features, that you can use this lib to load other .prx ect., what are the functions to call for these features ??

    There was no documentation with the download...
    PSP: PSP SLIM 2001 TA-088v2
    Custom Firmware: 5.00 M33-6

  8. #8
    QJ Gamer Gold
    Points: 9,490, Level: 65
    Level completed: 47%, Points required for next Level: 160
    Overall activity: 0%

    Join Date
    Nov 2008
    Location
    CAD
    Posts
    692
    QJ Pts
    9,490
    Level
    65
    Downloads
    18
    Uploads
    4

    Default

    you can just look in the header file, I've made the functions' names pretty obvious.anyway, to load PRXs, call vsh_loadPrx
    That epic dude.

  9. #9
    QJ Gamer Blue
    Points: 2,269, Level: 28
    Level completed: 80%, Points required for next Level: 31
    Overall activity: 0%
    Achievements:
    First 1000 Experience Points

    Join Date
    Jun 2009
    Posts
    34
    QJ Pts
    2,269
    Level
    28
    Downloads
    0
    Uploads
    0

    Default

    Looks cool. Nice work!

    Does it work while in game? or are these VSH only functions?

  10. #10
    QJ Gamer Silver
    Points: 6,948, Level: 54
    Level completed: 99%, Points required for next Level: 2
    Overall activity: 0%

    Join Date
    Aug 2007
    Posts
    657
    QJ Pts
    6,948
    Level
    54
    Downloads
    5
    Uploads
    0

    Default

    I noticed that a .prx compiled with this lib is about 498 kb ! (That's huge for a plugin)

    Also, any progress on this, as far as an update or documentation ??
    PSP: PSP SLIM 2001 TA-088v2
    Custom Firmware: 5.00 M33-6

  11. #11
    QJ Gamer Gold
    Points: 9,490, Level: 65
    Level completed: 47%, Points required for next Level: 160
    Overall activity: 0%

    Join Date
    Nov 2008
    Location
    CAD
    Posts
    692
    QJ Pts
    9,490
    Level
    65
    Downloads
    18
    Uploads
    4

    Default

    nah, I'm kinda busy with some other projects right now. if I have time, I'll make a documentation.
    That epic dude.

  12. #12
    QJ Gamer Gold
    Points: 9,490, Level: 65
    Level completed: 47%, Points required for next Level: 160
    Overall activity: 0%

    Join Date
    Nov 2008
    Location
    CAD
    Posts
    692
    QJ Pts
    9,490
    Level
    65
    Downloads
    18
    Uploads
    4

    Default

    Just to say that I've restarted working on this. here are all the new features:
    1. Ported the project to C++
    2. Now uses Classes (VSH.function)
    3. Added VSH.restart(); which restarts the XMB
    4. Added MP3 Decoder
    5. Added Sony Dialog functions
    6. Maybe Sony OSK.

    release should be next week ;)

  13. #13
    QJ Gamer Silver
    Points: 6,948, Level: 54
    Level completed: 99%, Points required for next Level: 2
    Overall activity: 0%

    Join Date
    Aug 2007
    Posts
    657
    QJ Pts
    6,948
    Level
    54
    Downloads
    5
    Uploads
    0

    Default

    Quote Originally Posted by mootjeuh View Post
    Just to say that I've restarted working on this. here are all the new features:
    1. Ported the project to C++
    2. Now uses Classes (VSH.function)
    3. Added VSH.restart(); which restarts the XMB
    4. Added MP3 Decoder
    5. Added Sony Dialog functions
    6. Maybe Sony OSK.

    release should be next week ;)
    Awesome !!!

    This is by far one of the most interesting projects going on right now. It should allow the biggest of n00bs to work on making their own plugin. :)

    Can't wait for a release.


    ~Shizzy
    PSP: PSP SLIM 2001 TA-088v2
    Custom Firmware: 5.00 M33-6

  14. #14
    QJ Gamer Gold
    Points: 9,490, Level: 65
    Level completed: 47%, Points required for next Level: 160
    Overall activity: 0%

    Join Date
    Nov 2008
    Location
    CAD
    Posts
    692
    QJ Pts
    9,490
    Level
    65
    Downloads
    18
    Uploads
    4

    Default

    thanks
    btw, suggestions are always welcome ;)

  15. #15
    QJ Gamer Silver
    Points: 6,948, Level: 54
    Level completed: 99%, Points required for next Level: 2
    Overall activity: 0%

    Join Date
    Aug 2007
    Posts
    657
    QJ Pts
    6,948
    Level
    54
    Downloads
    5
    Uploads
    0

    Default

    Quote Originally Posted by mootjeuh View Post
    thanks
    btw, suggestions are always welcome ;)
    How is this project going?
    Are you planning on fixing intrafont functions?
    PSP: PSP SLIM 2001 TA-088v2
    Custom Firmware: 5.00 M33-6

  16. #16
    xMod.
    Points: 4,576, Level: 43
    Level completed: 13%, Points required for next Level: 174
    Overall activity: 0%

    Join Date
    Oct 2008
    Location
    Melbourne, Australia
    Posts
    675
    QJ Pts
    4,576
    Level
    43
    My Mood
    Daring
    Downloads
    0
    Uploads
    0

    Default

    Nice man!
    I hate those monkeys ZOMG!
    -~Slasher~-
    http://i18.tinypic.com/4m848p5.gif

  17. #17
    QJ Gamer Silver
    Points: 6,883, Level: 54
    Level completed: 67%, Points required for next Level: 67
    Overall activity: 0%

    Join Date
    Sep 2006
    Location
    Perth, Scotland
    Posts
    1,094
    QJ Pts
    6,883
    Level
    54
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by mootjeuh View Post
    thanks
    btw, suggestions are always welcome ;)
    498KB is really an unacceptable size :/
    I suggest you don't use the pspsdk functions or libc.

  18. #18
    QJ Gamer Gold
    Points: 9,490, Level: 65
    Level completed: 47%, Points required for next Level: 160
    Overall activity: 0%

    Join Date
    Nov 2008
    Location
    CAD
    Posts
    692
    QJ Pts
    9,490
    Level
    65
    Downloads
    18
    Uploads
    4

    Default

    Quote Originally Posted by Mr_Shizzy View Post
    How is this project going?
    Are you planning on fixing intrafont functions?
    I'll actually busy with some other things right now, but I'll try to release v0.2 as soon as I can ;)
    I don't know about the intraFont functions, I've done everything I can but they still don't wanna work

    Quote Originally Posted by Davee
    498KB is really an unacceptable size :/
    I suggest you don't use the pspsdk functions or libc.
    yeah, that's also gonna be fixed in the next release ;)
    but I don't really see a problem with a plugin of 498 KB, it's not like it takes up any space on your MS :/

  19. #19
    QJ Gamer Silver
    Points: 6,883, Level: 54
    Level completed: 67%, Points required for next Level: 67
    Overall activity: 0%

    Join Date
    Sep 2006
    Location
    Perth, Scotland
    Posts
    1,094
    QJ Pts
    6,883
    Level
    54
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by mootjeuh View Post
    i'll actually busy with some other things right now, but i'll try to release v0.2 as soon as i can ;)
    i don't know about the intrafont functions, i've done everything i can but they still don't wanna work

    yeah, that's also gonna be fixed in the next release ;)
    but i don't really see a problem with a plugin of 498 kb, it's not like it takes up any space on your ms :/
    ram?

  20. #20
    x(t)=x_0+v_0t+\frac{1}{2}
    Points: 6,726, Level: 53
    Level completed: 88%, Points required for next Level: 24
    Overall activity: 0%

    Join Date
    Dec 2005
    Location
    Close to the end
    Posts
    208
    QJ Pts
    6,726
    Level
    53
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Davee View Post
    ram?
    Do you think the PRX's physical size reflects the amount of RAM being used?


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





All times are GMT -8. The time now is 09:28 AM.

Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2013, Caputo Media, LLC. All Rights Reserved. Cluster C4.
Contact Us | Free Flash Games | Ad Blockers Suck! Why?