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 fromQJ.NET in your email each day? Want to learn more about the team who brings you the QJ news?

## [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 ...

 Tweet
1. ## [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
5. vsh_blit was fixed just a little bit, it sucks less than the previous one though :P
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);

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 ;)

Enjoy!

2. Nice

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

EDIT: Is there documentation available for loading other .prx files ect. ??

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

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

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

7. Originally Posted by mootjeuh
Changelog:
1. Improved speed
2. New way of coding
3. Ability to load other PRXs
5. vsh_blit was fixed just a little bit, it sucks less than the previous one though :P
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 ??

9. Looks cool. Nice work!

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

10. 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 ??

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

12. 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
6. Maybe Sony OSK.

release should be next week ;)

13. Originally Posted by mootjeuh
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
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

14. thanks
btw, suggestions are always welcome ;)

15. Originally Posted by mootjeuh
thanks
btw, suggestions are always welcome ;)
How is this project going?
Are you planning on fixing intrafont functions?

16. Nice man!

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

18. Originally Posted by Mr_Shizzy
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

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. Originally Posted by mootjeuh
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. Originally Posted by Davee
ram?
Do you think the PRX's physical size reflects the amount of RAM being used?

#### 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