Seite 315 von 340 ErsteErste ... 215 265 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 ... LetzteLetzte
Zeige Ergebnis 9.421 bis 9.450 von 10174

C/C++ Programming Help Thread

This is a discussion on C/C++ Programming Help Thread within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; yea but then how would i accept input? :Cry:...

  
  1. #9421
    xMod.
    Points: 4.576, Level: 43
    Level completed: 13%, Points required for next Level: 174
    Overall activity: 0%

    Registriert seit
    Oct 2008
    Ort
    Melbourne, Australia
    Beiträge
    675
    Points
    4.576
    Level
    43
    My Mood
    Daring
    Downloads
    0
    Uploads
    0

    Standard

    yea but then how would i accept input? :Cry:



  2. #9422
    I'm back!
    Points: 8.236, Level: 61
    Level completed: 29%, Points required for next Level: 214
    Overall activity: 99,0%

    Registriert seit
    Feb 2007
    Ort
    England
    Beiträge
    902
    Points
    8.236
    Level
    61
    Downloads
    0
    Uploads
    0

    Standard

    As I said, search the forums for the lastpad method, it covers everything you need here.

    -Aura
    Last.fm | Deviant Art | First working OS picture

    Zitat Zitat von nickxab Beitrag anzeigen
    I will beat myself. :p

  3. #9423
    Heroes never die
    Points: 8.645, Level: 62
    Level completed: 65%, Points required for next Level: 105
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    ...........
    Beiträge
    1.323
    Points
    8.645
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    When I call sceMp3InitResource()
    it returns error: 0x8002013A

    how can I fix that? what's the problem?

  4. #9424
    I'm back!
    Points: 8.236, Level: 61
    Level completed: 29%, Points required for next Level: 214
    Overall activity: 99,0%

    Registriert seit
    Feb 2007
    Ort
    England
    Beiträge
    902
    Points
    8.236
    Level
    61
    Downloads
    0
    Uploads
    0

    Standard

    Check the SDK documentation, its on there what the problem is:

    SCE_KERNEL_ERROR_LIBRARY_ NOT_YET_LINKED = 0x8002013a

    You've not loaded the module needed to access the function.

    -Aura
    Last.fm | Deviant Art | First working OS picture

    Zitat Zitat von nickxab Beitrag anzeigen
    I will beat myself. :p

  5. #9425
    QJ Gamer Bronze
    Points: 8.045, Level: 60
    Level completed: 48%, Points required for next Level: 105
    Overall activity: 0%

    Registriert seit
    Aug 2007
    Ort
    Australia
    Beiträge
    659
    Points
    8.045
    Level
    60
    Downloads
    0
    Uploads
    0

    Standard

    Code:
    sceUtilityLoadModule(PSP_MODULE_AV_AVCODEC);
    sceUtilityLoadModule(PSP_MODULE_AV_MP3);

  6. #9426
    Heroes never die
    Points: 8.645, Level: 62
    Level completed: 65%, Points required for next Level: 105
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    ...........
    Beiträge
    1.323
    Points
    8.645
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Xsjado7 Beitrag anzeigen
    Code:
    sceUtilityLoadModule(PSP_MODULE_AV_AVCODEC);
    sceUtilityLoadModule(PSP_MODULE_AV_MP3);
    Then I get SCE_KERNEL_ERROR_MODULE_M GR_BUSY (0x80020143) , module manager is busy , how do I fix that?

    thnx for the link btw;)

  7. #9427
    xMod.
    Points: 4.576, Level: 43
    Level completed: 13%, Points required for next Level: 174
    Overall activity: 0%

    Registriert seit
    Oct 2008
    Ort
    Melbourne, Australia
    Beiträge
    675
    Points
    4.576
    Level
    43
    My Mood
    Daring
    Downloads
    0
    Uploads
    0

    Talking

    Zitat Zitat von Auraomega Beitrag anzeigen
    Check my post for some shortening code bits...

    Search on here for lastpad methods, or you could use sceKernelDelayThread(int delay); although that method still leaves chance for an exceptionally slooooooow person to still hit the button.

    My question was about a function defined already, its asking for module_start which is define in both the source and the exports already. Re-read the post to see my problem.

    -Aura
    yea that code is much smaller thx

  8. #9428
    Developer
    Points: 7.577, Level: 58
    Level completed: 14%, Points required for next Level: 173
    Overall activity: 0%

    Registriert seit
    Mar 2006
    Beiträge
    1.026
    Points
    7.577
    Level
    58
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von hallo007 Beitrag anzeigen
    Then I get SCE_KERNEL_ERROR_MODULE_M GR_BUSY (0x80020143) , module manager is busy , how do I fix that?

    thnx for the link btw;)
    There's a sample in the SDK, follow that.

    Check out my homebrew & C tutorials at http://insomniac.0x89.org/
    Coder formerly known as Insomniac197

    tshirtz: what is irshell ??
    Atarian_: it's where people who work for the IRS go when they die

  9. #9429
    xMod.
    Points: 4.576, Level: 43
    Level completed: 13%, Points required for next Level: 174
    Overall activity: 0%

    Registriert seit
    Oct 2008
    Ort
    Melbourne, Australia
    Beiträge
    675
    Points
    4.576
    Level
    43
    My Mood
    Daring
    Downloads
    0
    Uploads
    0

    Wink

    ive been looking at lua lately,
    where EXACTLY is the IDStorage held in?
    i know its in the nand "SomeWhere" but i dont know where?
    and exact answer would be much apprechiated!


    ~!SlasheR~!

  10. #9430
    QJ Gamer Blue
    Points: 5.672, Level: 48
    Level completed: 61%, Points required for next Level: 78
    Overall activity: 32,0%

    Registriert seit
    Dec 2007
    Ort
    Netherlands
    Beiträge
    148
    Points
    5.672
    Level
    48
    Downloads
    0
    Uploads
    0

    Standard

    Ok, I'm looking for somebody who can help me over MSN with patching functions.
    So, if I have questions I can ask.
    [SIZE="1"][color=#D1D1FF]______________________________________________________________[/color]
    [i]Last edited by basfreak; 01-01-1990 at [color=#666686]12:00 PM[/color][/i].[/SIZE]

  11. #9431
    Heroes never die
    Points: 8.645, Level: 62
    Level completed: 65%, Points required for next Level: 105
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    ...........
    Beiträge
    1.323
    Points
    8.645
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Insert_Witty_Name Beitrag anzeigen
    There's a sample in the SDK, follow that.
    That sample returns me the same error code , the module manager is bussy !

  12. #9432
    Developer
    Points: 7.577, Level: 58
    Level completed: 14%, Points required for next Level: 173
    Overall activity: 0%

    Registriert seit
    Mar 2006
    Beiträge
    1.026
    Points
    7.577
    Level
    58
    Downloads
    0
    Uploads
    0

    Standard

    What firmware are you trying to run this on?

    Check out my homebrew & C tutorials at http://insomniac.0x89.org/
    Coder formerly known as Insomniac197

    tshirtz: what is irshell ??
    Atarian_: it's where people who work for the IRS go when they die

  13. #9433
    Heroes never die
    Points: 8.645, Level: 62
    Level completed: 65%, Points required for next Level: 105
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    ...........
    Beiträge
    1.323
    Points
    8.645
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    5.00 M33

    I'm using dark alex sdk for his custom firmware

    Code:
    sceKernelLoadModuleByID(PSP_MODULE_AV_AVCODEC , 0 , NULL);
    and
    sceKernelLoadModule("flash0:/kd/avcode.prx" , 0 , NULL);
    return both the error code 0x80020149 , module manager is bussy

  14. #9434
    QJ Gamer Green
    Points: 3.567, Level: 37
    Level completed: 45%, Points required for next Level: 83
    Overall activity: 0%

    Registriert seit
    May 2008
    Ort
    The Netherlands
    Beiträge
    330
    Points
    3.567
    Level
    37
    Downloads
    0
    Uploads
    0

    Standard

    Can someone help me? I follow Tutorial 4 of PSP-Programming; image processing,
    and when I compile the code it compiles with no errors, but if I want to
    start the eboot on my PSP my screen stays black and my PSP crashes.

    I deleted the code a while ago so i don't have it on my computer but does
    somebody know where to find another sample or a tutorial about loading
    a background?
    [spoiler=My Releases So Far]
    PSP_Operator v2.0 Final (and earlier; stopped with this one)
    Mario's Road v2.0 (working on 2.5:D)
    UMD_Operator v0.0.2 (and earlier; stopped with this one)
    PSP-Quiz v0.1 (working on v0.2 already:D)
    [/spoiler]

  15. #9435
    QJ Gamer Gold
    Points: 17.453, Level: 84
    Level completed: 21%, Points required for next Level: 397
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Ort
    everywhere
    Beiträge
    3.526
    Points
    17.453
    Level
    84
    Downloads
    1
    Uploads
    0

    Standard

    look into oslib, or tri engine, or learn the pspgu, the tutorial's on psp-programming that your referring to are fairly out of date, and the reason why it isn't working, i'd suggest would be because it didn't contain:

    PSP_HEAP_SIZE_KB(20480);

    however from what i understand an fully updated toolchain would be:

    PSP_HEAP_SIZE_KB(-1024);
    1. Failed....again...
    2. http://slicer.gibbocool.com/ stay updated on all my projects
    3. it'll be 5 years in june, that's nearly 1/4 of my life on this planet that i've visited these forums, what a ride it has been

  16. #9436
    I'm back!
    Points: 8.236, Level: 61
    Level completed: 29%, Points required for next Level: 214
    Overall activity: 99,0%

    Registriert seit
    Feb 2007
    Ort
    England
    Beiträge
    902
    Points
    8.236
    Level
    61
    Downloads
    0
    Uploads
    0

    Standard

    slicer is correct. Those tutorials are both old and designed for compiling elfs which have access to all the memory (check online there a good description of the difference between elfs and prxs memory allocation). When that guide was written people were still developing 1.50 applications and thus used elfs in their pbps, you can't load elfs on 2.00+ firmwares correctly, so prxs are used, but the default allocation to a prx is 32kb I believe.

    -Aura
    Last.fm | Deviant Art | First working OS picture

    Zitat Zitat von nickxab Beitrag anzeigen
    I will beat myself. :p

  17. #9437
    xMod.
    Points: 4.576, Level: 43
    Level completed: 13%, Points required for next Level: 174
    Overall activity: 0%

    Registriert seit
    Oct 2008
    Ort
    Melbourne, Australia
    Beiträge
    675
    Points
    4.576
    Level
    43
    My Mood
    Daring
    Downloads
    0
    Uploads
    0

    Standard

    where abouts is the idstorage kept in the nand??


    ~!SlasheR~!

  18. #9438
    Heroes never die
    Points: 8.645, Level: 62
    Level completed: 65%, Points required for next Level: 105
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    ...........
    Beiträge
    1.323
    Points
    8.645
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    There's an idstorage example in the sdk


    Zitat Zitat von hallo007 Beitrag anzeigen
    5.00 M33

    I'm using dark alex sdk for his custom firmware

    Code:
    sceKernelLoadModuleByID(PSP_MODULE_AV_AVCODEC , 0 , NULL);
    and
    sceKernelLoadModule("flash0:/kd/avcode.prx" , 0 , NULL);
    return both the error code 0x80020149 , module manager is bussy
    ?

  19. #9439
    Developer
    Points: 7.577, Level: 58
    Level completed: 14%, Points required for next Level: 173
    Overall activity: 0%

    Registriert seit
    Mar 2006
    Beiträge
    1.026
    Points
    7.577
    Level
    58
    Downloads
    0
    Uploads
    0

    Standard

    Code:
    sceUtilityLoadModule(PSP_MODULE_AV_AVCODEC);
    sceUtilityLoadModule(PSP_MODULE_AV_MP3);
    If you still get the errors you're doing something weird that you're not telling us about.

    Check out my homebrew & C tutorials at http://insomniac.0x89.org/
    Coder formerly known as Insomniac197

    tshirtz: what is irshell ??
    Atarian_: it's where people who work for the IRS go when they die

  20. #9440
    xMod.
    Points: 4.576, Level: 43
    Level completed: 13%, Points required for next Level: 174
    Overall activity: 0%

    Registriert seit
    Oct 2008
    Ort
    Melbourne, Australia
    Beiträge
    675
    Points
    4.576
    Level
    43
    My Mood
    Daring
    Downloads
    0
    Uploads
    0

    Standard

    i know about the sample my question is not "how can i use the idstorage?"
    its "WHERE is the idstorage kept?"

    ~!SlasheR~!

  21. #9441
    QJ Gamer Gold
    Points: 17.453, Level: 84
    Level completed: 21%, Points required for next Level: 397
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Ort
    everywhere
    Beiträge
    3.526
    Points
    17.453
    Level
    84
    Downloads
    1
    Uploads
    0

    Standard

    search flash, i believe it's located at: flash0:/vsh/kd/idstorarge.prx

    but i'd need to double check that to make sure and i don't have my psp on me atm
    1. Failed....again...
    2. http://slicer.gibbocool.com/ stay updated on all my projects
    3. it'll be 5 years in june, that's nearly 1/4 of my life on this planet that i've visited these forums, what a ride it has been

  22. #9442
    xMod.
    Points: 4.576, Level: 43
    Level completed: 13%, Points required for next Level: 174
    Overall activity: 0%

    Registriert seit
    Oct 2008
    Ort
    Melbourne, Australia
    Beiträge
    675
    Points
    4.576
    Level
    43
    My Mood
    Daring
    Downloads
    0
    Uploads
    0

    Wink

    no im not talking about the plugin,
    the "actual" idstorage.

    ~!SlasheR!~

  23. #9443
    QJ Gamer Gold
    Points: 17.453, Level: 84
    Level completed: 21%, Points required for next Level: 397
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Ort
    everywhere
    Beiträge
    3.526
    Points
    17.453
    Level
    84
    Downloads
    1
    Uploads
    0

    Standard

    ahh, my bad, not something i've ever looked into modifying, so i'm no help than
    1. Failed....again...
    2. http://slicer.gibbocool.com/ stay updated on all my projects
    3. it'll be 5 years in june, that's nearly 1/4 of my life on this planet that i've visited these forums, what a ride it has been

  24. #9444
    xMod.
    Points: 4.576, Level: 43
    Level completed: 13%, Points required for next Level: 174
    Overall activity: 0%

    Registriert seit
    Oct 2008
    Ort
    Melbourne, Australia
    Beiträge
    675
    Points
    4.576
    Level
    43
    My Mood
    Daring
    Downloads
    0
    Uploads
    0

    Standard

    thx 4 replying,
    thats ok...

    if any1 knows where it is?

    !~SlasheR~!

  25. #9445
    QJ Gamer Blue
    Points: 5.672, Level: 48
    Level completed: 61%, Points required for next Level: 78
    Overall activity: 32,0%

    Registriert seit
    Dec 2007
    Ort
    Netherlands
    Beiträge
    148
    Points
    5.672
    Level
    48
    Downloads
    0
    Uploads
    0

    Standard

    May I ask why you want to know that?
    [SIZE="1"][color=#D1D1FF]______________________________________________________________[/color]
    [i]Last edited by basfreak; 01-01-1990 at [color=#666686]12:00 PM[/color][/i].[/SIZE]

  26. #9446
    xMod.
    Points: 4.576, Level: 43
    Level completed: 13%, Points required for next Level: 174
    Overall activity: 0%

    Registriert seit
    Oct 2008
    Ort
    Melbourne, Australia
    Beiträge
    675
    Points
    4.576
    Level
    43
    My Mood
    Daring
    Downloads
    0
    Uploads
    0

    Standard

    does it really matter?
    i want to print the ascii characters to a file for each key.

    Spoiler for SECRET:
    and another secret ;)


    ~!SlasheR!~
    Geändert von slasher101 (01-01-2009 um 04:30 PM Uhr)

  27. #9447
    I'm back!
    Points: 8.236, Level: 61
    Level completed: 29%, Points required for next Level: 214
    Overall activity: 99,0%

    Registriert seit
    Feb 2007
    Ort
    England
    Beiträge
    902
    Points
    8.236
    Level
    61
    Downloads
    0
    Uploads
    0

    Standard

    I think some people get a little worried when others mess around with IDStorage because of the irrepairable damage it can cause.

    However, in reply to your question, I believe its stored in a seperate partition of the NAND, idstorage:/ but I may be thinking of the IPL, its been too long since I did any major coding on the PSP to be certain.

    -Aura
    Last.fm | Deviant Art | First working OS picture

    Zitat Zitat von nickxab Beitrag anzeigen
    I will beat myself. :p

  28. #9448
    QJ Gamer Bronze
    Points: 5.594, Level: 48
    Level completed: 22%, Points required for next Level: 156
    Overall activity: 0%

    Registriert seit
    Aug 2008
    Ort
    thugz mansion
    Beiträge
    875
    Points
    5.594
    Level
    48
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Auraomega Beitrag anzeigen
    I think some people get a little worried when others mess around with IDStorage because of the irrepairable damage it can cause.

    However, in reply to your question, I believe its stored in a seperate partition of the NAND, idstorage:/ but I may be thinking of the IPL, its been too long since I did any major coding on the PSP to be certain.

    -Aura
    im not sure but doesnt dc v8 fix idstorage
    Zitat Zitat von SuperBatXS
    I use my psp all the time in the plane. I was masturbating once while watching some lesbian videos when a fat lady beside me was sleeping and her really hot daughter next to her was getting ready for my dong to shove up her ding. Then, her daughter and I were about to go to the bathroom together but, the air hostess came to tell me i should stop right now. I swear this happened. I am never taking my psp to the plane again. Always got my iPod though...hehe. ;)

  29. #9449
    QJ Gamer Silver
    Points: 8.475, Level: 62
    Level completed: 9%, Points required for next Level: 275
    Overall activity: 0%

    Registriert seit
    Sep 2006
    Ort
    Perth, Scotland
    Beiträge
    1.094
    Points
    8.475
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von BlackBurd Beitrag anzeigen
    im not sure but doesnt dc v8 fix idstorage
    Not completely.

  30. #9450
    xMod.
    Points: 4.576, Level: 43
    Level completed: 13%, Points required for next Level: 174
    Overall activity: 0%

    Registriert seit
    Oct 2008
    Ort
    Melbourne, Australia
    Beiträge
    675
    Points
    4.576
    Level
    43
    My Mood
    Daring
    Downloads
    0
    Uploads
    0

    Standard

    Aura im not putting it into FixItPSP i just want to play with mine (ive got PLENTY on nand dumps)


    Anyways do the guys talking 'bout DC8, id say it regenerates 95% of the keys, the only keys it cant fix are the magicgate ones for some reason!


    ~!SlasheR!~


 

Tags for this Thread

Forumregeln

  • Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
  • Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
  • Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
  • Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.
  •  





Alle Zeitangaben in WEZ -8. Es ist jetzt 09:12 PM Uhr.

Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © , Caputo Media, LLC. All Rights Reserved. Cluster .