![]() |
|
#1
|
|||
|
|||
![]() This is the final version of NervOS for the psp-hacks competition. I have worked this week on 2.0.5 so here it is. Changes/Additions: *Added new icons to menu (main: Applications | sub: Calculator, Text Editor, Web Browser and USBHostFS) *Fixed 2 bugs in recovery menu. *Improved Calculator *Fixed memory issues *From now on, file browser displays ICON0.PNG when you are highlighting a PBP/CSO/ISO file *Removed NervOS Boot PBP and replaced by Main PBP. *Added Scripting System - this scripting system was made by me and it is still under creation, a lot of functions will be added on future releases and the parser will be improved. The scripting system was made to allow users with no programming knowledge to create their own games or programs. Of course this is the first version of the scripting system so a lof things are missing and some bugs may be found. Screenshot (the new icons) ![]() To run scripts at 80% speed, make sure you use 333mhz. Here's a small sample. Code:
NervOS_Script("NervOS*Script*File");
background = LoadImage("ms0:/NervOS/themes/Original/background.png");
smallicon = LoadImage("ms0:/NervOS/themes/Original/exit.png");
StartLoop();
DisplayImage(0, 0, background);
DisplayImage(100, 100, smallicon);
IfPressButton(CIRCLE);
Then EndScript();
EndLoop();
EndScript();
![]() Remember this is the first version of the script and it's slow. Only a few functions are available but its all I could do this week. May have some bugs of course. DisplayImage(X,Y(integer variable here won't work), imgname); Here's the documentation of NervOS Script: http://www.consoleworld.net/nervos/i...ting_Functions [Download: NervOS 2.0.5] [Mirror: NervOS 2.0.5] [Download: Theme Pack 1.5] Note: some themes included in v1.0 are not in v1.5 due to NervOS 2.0.5 incompatibility. |
|
#2
|
||||
|
||||
|
Nice work. On the spoiler issue, you can't use a code tag inside a spoiler tag as it will then not hide the spoiler. To fix it, just edit out the code tags from within the spoiler.
__________________
Want to become a PSP Dev the easy way? Check out my tutorial for the PSP here www.psp-hacks.com/forums/viewtopic.php?id=65403 Want to learn how to create your own games on the PSP? Check out my tutorial here http://www.psp-hacks.com/forums/view...693884#p693884 Want to learn how to program C++ ? Check out that tutorial here www.psp-hacks.com/forums/viewtopic.php?id=28694 |
|
#3
|
|||
|
|||
|
oh you did the icon0 thing? i remember saying that kinda but im sure you thought about that before
__________________
|
|
#4
|
||||
|
||||
|
Damn, you made your own scripting engine? Thats some sweet stuff, mad work Pirata :)
__________________
The PSP Programming and Development Mega Thread VDrum downloaded over 10000 times! PSN: Xsjado7
|
|
#5
|
|||
|
|||
|
Rather then reinvent hte wheel Pirata, incorporate liblua and script with that :) Tons of documentation online for lua scripting for those who would wnat to script for this (rather then learn a whole new scripting language :P). Think of it as a cutdown, custom, in-control luaplayer :(
__________________
...you'll never know what it's like...spending your whole life in a dream... Checkout my site for a majority of my projects (too lazy to keep updating) |
|
#6
|
|||
|
|||
|
@psdonkey, thanks for telling me that :)
@blade_punk, yeh I made it this week but as I aid its not perfect. @SG57, I wanted to give it a try and create my own, its always good to learn how to create this things thanks |
|
#7
|
|||
|
|||
|
Nice update ,and its the only version that actually worked for me.
I just wanna point out something. That isn't scripting system , it looks more like a parser with more cases that require parsing, that's why its slow. Scripting engine = Parser,Lexer,Compiler(to build "code" into bytecode), Virtual Machine(executes bytecode,increases program counter..etc),and other advanced stuff(eg:more than 1 instructions packed into 1..etc)... |
|
#8
|
|||
|
|||
|
yes its a parser
|
|
#9
|
|||
|
|||
|
Well, great job!:twothumbs:
That's so nice to see that even on those days when we see hundreds of lua shells a day, some people still do awesome one's. Not as good as irshell yet, but I think that it will one day (for the moment it's normal, irshell has quite a lot of releases behind it...) |
|
#10
|
|||
|
|||
|
yeh its not so cool as iRShell but oh well I did my best for 3 months.
thanks! |
![]() |
|
|
|||
|
|||
|
|
| Thread Tools | |
| Display Modes | |
|
|