Isn't there more commands like pspnetadhocgetmsg and stuff.
Printable View
Isn't there more commands like pspnetadhocgetmsg and stuff.
ok well thats good but i still need to know how to read that number i spent all of yesterday working on how to get that number read but it just won't so any help with that would be still much appreciated
-= Double Post =-
well nvm i guess with the new method it reads the number now so nvm i'm happy
I need something for my version check :p
I need 2,3 or 4 files which are diffrent in ech firmware I need file for firmware: 2.71, 3.02, 3.03, 3.10:
example:
file X= @ firmware 2.71 50 kb
file X= @ firmware 3.02 51 kb
file X= @ firmware 3.03 52 kb
file X= @ firmware 3.10 53 kb
and do you know where i can find the size of those files, i can get all the files form 3.10 and 3.03.. so only 3.02 and 2.71 file size needed ;)
What files :|Zitat:
Zitat von Kwastie
And btw, use PSAR dumper and look at the log that it makes. It outputs the file sizes for each file. And you can just check yourself the file sizes with windows.
~~
BTW, whoever was wanting to compare strings,
strcmp(string1,string2)
It returns 0 if they are equal.
Code:char string1[6] = "Hello"
char string2[6] = "Hello"
printf("Comparing the two strings\n\n");
if(strcmp(string1,string2) == 0)
{
printf("The two strings are equal");
printf("%s = %s",string1,string2);
}
Read a few pages back :)
Guys, i need to tell you guys something....YOU GUYS RULE! Thanks to you guys, i have successfully finished up my configuration menu (well because of you guys i have fixed the bugs i had)! Care to take a sneak preview of the config menu for G-Pack v.3 (these gfx are final as well, but probably not the fonts)? Download:
http://superbatxs.biaklan.com/psp/G-...Pack%20v.3.rar
Controls-
X to select
Up/Down on D-Pad to move
Analog to move cursor
R to go back to configuration menu (if your on cursor movement part)
Neato!, looks good bats, ill check it out...
Wow, that was nice.Zitat:
Zitat von superbatxs
Anyways, i tried to install flib like SG57 told me earlier. However, i ran into some problems. When i did make (flib example), i got this error:
I used "cp -Rf ./include /usr/local/pspdev/psp/", but i am sure i am missing another cp -Rf.Code:/usr/local/pspdev/lib/gcc/psp/4.0.2/../../../../psp/bin/ld: cannot find -lfreetype
collect2: ld returned 1 exit status
make: *** [flibtest.elf] Error 1
Remember to #include <string.h> ;)Zitat:
Zitat von Moca
Edited my previous post. Now i have a different problem. :(
@everyone still helping me i know i got it working now so thxs(i'm the one who asked about the comparing 2 strings)
Could you help on my problem? No one seems to be online. :(Zitat:
Zitat von slicer4ever
It needs the freetype library.
sorry xlyem i don't use the flib
I already did this:Zitat:
Zitat von yaustar
svn co svn://svn.ps2dev.org/psp/trunk/freetype
And it installed, but like i said, i tried to do make.
The error says it can't find it. It is probably named differently. Check the filename for the lib and check the makefile for flib.
I did, and it is fine. But it can't find it because i didn't install properly. I did "svn co svn://svn.ps2dev.org/psp/trunk/freetype", and then tried to do "make", but make didn't work. Now, my question is, if make doesn't work, you can always do "cp -Rf ./include /usr/local/pspdev/psp/", and i did that. But i think there must be another cp -Rf to do to manually install.Zitat:
Zitat von yaustar
Xylem: Have you checked this tutorial on installing flib?
I tried this from the readme:Zitat:
Zitat von MaTiAz
Installing the freetype library:
But i will try that thread also.Code:From your Cygwin/Linux/OSX command prompt, type the following command
(assumes you have "svn" installed):
svn co svn://svn.ps2dev.org/psp/trunk/freetype
Enter the newly created freetype directory and type the following commands
or cut and paste:
sh autogen.sh
LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \
./configure --host psp --prefix=$(psp-config --psp-prefix)
make
make install
Edit: It's the same thing is what i tried. What am i doing wrong?
Copy the 'freetype' directory inside usr/local/pspdev/psp/include/freetype2 into the directory above it.
Old dir: usr/local/pspdev/psp/include/freetype2/freetype
New dir: usr/local/pspdev/psp/include/freetype
This has been answered before.
Your are not understanding my question. Ok, let me start over. I did svn for flib, then i did "LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \Zitat:
Zitat von Insert_Witty_Name
./configure --host psp --prefix=$(psp-config --psp-prefix)", then i did make. However, make didn't work. If make works, then it installs to /local/pspdev/psp/include/freetype2/freetype, so if make works then you move it to the new dir-usr/local/pspdev/psp/include/freetype like you are saying. However, make didn't work! So i did "cp -Rf ./include /usr/local/pspdev/psp/" to manually install it to "usr/local/pspdev/psp/include/freetype" (the new working dir). However, that is not the error i get when i compile. If i didn't install it in the right dir, i would get more errors like i did earlier. But after i did install it in the right dir, i got the error i am getting now.
You just copied the header files across NOT the library file. That is why the linker is failing.
But why isn't my "make" working though? This is the error i get when i do "make"Zitat:
Zitat von yaustar
Code:/bin/sh: line 0: cd: /home/****: No such file or directory
config.mk:36: /home/****: No such file or directory
config.mk:36: ****/freetype/builds/freetype.mk: No such file or directory
config.mk:59: /home/****: No such file or directory
config.mk:59: ****/freetype/builds/unix/install.mk: No such file or directory
make: *** No rule to make target `****/freetype/builds/unix/install.mk'. Stop
.
I have no idea, I manage to install it fine. Attached is the library (.a) file. Put it in the right place.
Thanks for the library! It works now!!! Just curious why didn't you give me this before...........? Thanks though. ;)Zitat:
Zitat von yaustar
ok i need some help still.....
anyways the following is my complete code for trying to load an xfile:
Spoiler for code:
it compiles fine but my psp doesn't show anything so any help would be appreciated
So I haven't gone up to Dark_ALex's 3.xx oe ? custom firmware, Im happy where im at without it. (even tho its cool as hell, dont get me wrong)
Im using harleyg custom firmware with devhook but now that devhook has changed and harleyg doesnt work on his custom firmware anymore (im pretty sure theres no need ie. Dark_Alex)
Question::
I would like to come up with a use for the wlan switch down, so is there a way to (pseudo) bypass the switch, make the psp think that the wlan switch is up even tho it is not?
Im sure ill get the usual wtf... why bother. Kind of answer. But sometimes i have my switch down and forget about the damn custom firmware option for that. I would just like to get to the xmb. Wish there was just something quick to do in the config.ini file. Those make life so easier sometimes.
I know some people will some how feel this is a useless question. Whatever!
just disable the autoboot function
nah bro, the autoboot is just for when you hold down x while starting the psp.
you know there might not even be a way without source code. to make the change (never tried reverse engineering for psp tho ;) ).
you can stick pretty much whatever eboot you want under ms0:/psp/system/ and rename it devboot.pbp
and it loads with switch down. all eboots ive tried so far have worked, now that im thinking of writing my own my test fail because of the damn switch is down. keeps reloading devboot.pbp on exit.
So maybe the question is this; is there a way to load the XMB right up, straight to it sort of speak. sorry im losing my words its saturday and im starting in on some coronas.
Does anyone know of any good example projects to help me get a better grasp with OO C++?
Gamedev.net has a few, but those are full fledged polished games (polished as text can get :P). I made a pong game using OO C++, and wasnt the best optimized. Now, i want to make something else and see if i can get it right the first time, and hopefully, continue getting it right from there.
i have been thinking for a while to convert my Tetris code into C++ using my XSDK, and have will make it Open Source, so will release my Tetris code written in C++ to all.
just not going to happen strait away as i do need to convert it but am working on it so it may help you or not when i do release it, my XSDK is on site and can all ready be downloaded, it is C++
Honestly, I would just refractor the pong game till it is right. Maybe you could do Space Invaders instead?Zitat:
Zitat von SG57
ALso, I would read Thinking In C++ Vol 1, it tends to read if you were a C programmer moving to C++.
http://www.mindview.net/Books/TICPP/...ngInCPP2e.html
How many times is that youve recommended that? :-p
Ill give it a read if you are able to recommend it so much, so confidently.
Seriously, it is that good, it helped me get through the start of my MSc because it explains everything thoroughly. The only reason why I can't recommend it to beginners is that it doesn't teach the basics such as variables, functions, loops etc.
Comment/Tip-
Ok, at first, i just downloaded flib v.1 (i already had all the other needed libs to compile-make sure you do those before compiling this). I used my custom fonts, and when i loaded the compiled eboot, i tried to scroll down from my config menu, and it spent maybe literally a minute because the fonts weren't in the cache. Then i thought that custom fonts were a bad idea. But if you download v.2, it's like a whole different lib because it doesn't go in the cache. Then i changed the code a bit for v.2 (different functions), i needed to use only one line to print my font (after loading it of course). If i had used v.1, it would take around 4 lines. Also, v.2 is a huge huge speed build up, and it's like you are using the printf function, only it's much better! So, for the future, if you want custom fonts at fast speed loading, use v.2 of flib (remember to unload the font at the end to save cache space). Also, v.2 lets you use textures. ;)
just wanted to repeat my question as i've yet to figure out whyZitat:
Zitat von slicer4ever
Are you show that you looking in the right area in 3D space (ie you are not rendering behind, above etc the camera )
i considered that and am fairly certain i am not because it's being rendered at the center which means the camera would see the middle of it (aka back sides instead of front)
edit: it wouldn't be in my makefile would it......? i'm fairly certain not but i'll post it to make sure:
Spoiler for makefile:
If you are rendering the model in the same position as the camera, you will be looking from inside the model out, so if back face culling is on, you won't see anything.
Or if your zNear on your perspecitve calculations is too high, it may be clipping your entire scene.
sceGuDisable( GU_CULL_FACE );
if memory serves right disabeling allows you to see the back faces but i'll make sure anyways
edit: sg57 might be right hold on i'm ganna make my file smaller
-= Double Post =-
tried both and neither worked.....