PVSnesLib for Snes 20th birthday :D !

Discussion in 'Other Consoles & Oldies' started by alekmaul, Apr 12, 2012.

Apr 12, 2012
  1. alekmaul
    OP

    Member alekmaul GBAtemp Regular

    Joined:
    Nov 5, 2002
    Messages:
    104
    Location:
    Blois
    Country:
    France
    Hello,
    Not sure that it will be usefull but i want to share with you this new try to have a generic C lib for Snes (We need homebrew for this really nice console, it's its birthday :D).
    Here is the wiki entry I made about it, of course **it is a beta version** and it really need more work to have something that be ok with all Snes functionnalities (no sound, no mode 7 currently, some bugs with sprites handling for example ...).

    http://www.portabledev.com/wiki/doku.php

    If you want to help me (but you need to have a Snes & C knowledge I think), please PM me !
     
    2 people like this.


  2. Foxi4

    Reporter Foxi4 On the hunt...

    pip
    Joined:
    Sep 13, 2009
    Messages:
    22,705
    Location:
    Gaming Grotto
    Country:
    Poland
    If this actually works and compiles then damn, good job and about damn time - someone should've done this years ago.

    I'm on mobile so I can't really check it out, is this just a wrap-around of assembly functions or a full-blown implementation of the likes of devkitPro libraries?
     
  3. alekmaul
    OP

    Member alekmaul GBAtemp Regular

    Joined:
    Nov 5, 2002
    Messages:
    104
    Location:
    Blois
    Country:
    France
    yes, examples compile of course, just need to improve them.
    Documentation is linked to examples also, and is automatically generated when I compile libSnes.
     
  4. the_randomizer

    Member the_randomizer The Temp's official fox whisperer

    Joined:
    Apr 29, 2011
    Messages:
    17,298
    Location:
    Unknown
    Country:
    United States
    Ah, the good ol' Snes, undoubtedly Nintendo's best. Console. Ever.
     
    2 people like this.
  5. Rydian

    Member Rydian Resident Furvertâ„¢

    Joined:
    Feb 4, 2010
    Messages:
    27,883
    Location:
    Cave Entrance, Watching Cyan Write Letters
    Country:
    United States
    This already exists and is already called libsnes? :P
    https://github.com/Themaister/libsnes

    Not that I'm saying this is bad, but just to foxi that it seems to be done, and the name is in use.
     
  6. alekmaul
    OP

    Member alekmaul GBAtemp Regular

    Joined:
    Nov 5, 2002
    Messages:
    104
    Location:
    Blois
    Country:
    France
    OK for the name problem, will change name to PVSnesLib to avoid confusion :)
    A google search told me that no one uses this name
     
  7. YoshiInAVoid

    Member YoshiInAVoid GBAtemp Advanced Fan

    Joined:
    Jan 10, 2011
    Messages:
    560
    Country:
    United Kingdom
    This is just like PAlib! A french dude starts an easy and simple to use libary in C for his favourite handheld / console and uses the same template for the wiki page!

    Awesome!
     
  8. Foxi4

    Reporter Foxi4 On the hunt...

    pip
    Joined:
    Sep 13, 2009
    Messages:
    22,705
    Location:
    Gaming Grotto
    Country:
    Poland
    I was not aware of that, that's pretty cool. :D
     
  9. alekmaul
    OP

    Member alekmaul GBAtemp Regular

    Joined:
    Nov 5, 2002
    Messages:
    104
    Location:
    Blois
    Country:
    France
    You understood my goal ! Something easy to learn and to use.
    I will publish a new version with the new name "PVSneslib" This week end, with new examples.
    Will also add references to guys who made this library possible (snes sdk, mic, byuu, and so on ...).
    The next goal is to add more examples and sound/ mode 7 support.
     
    1 person likes this.
  10. YoshiInAVoid

    Member YoshiInAVoid GBAtemp Advanced Fan

    Joined:
    Jan 10, 2011
    Messages:
    560
    Country:
    United Kingdom
    Best of luck! I started an SNES Game Maker a while back but I never got very far since it used assembly which I didn't understand.
     
  11. alekmaul
    OP

    Member alekmaul GBAtemp Regular

    Joined:
    Nov 5, 2002
    Messages:
    104
    Location:
    Blois
    Country:
    France
    Please, an admin can change libSnes to PVSnesLib in title ?
    Thanks ;-)
     
  12. alekmaul
    OP

    Member alekmaul GBAtemp Regular

    Joined:
    Nov 5, 2002
    Messages:
    104
    Location:
    Blois
    Country:
    France
    Thanks for the topic update ;-)
    Also, I updated wiki with new procedure to explain how to install kit and library.
    just tell me if it is understable.
     
  13. YoshiInAVoid

    Member YoshiInAVoid GBAtemp Advanced Fan

    Joined:
    Jan 10, 2011
    Messages:
    560
    Country:
    United Kingdom
    I just remembered that I had a similer idea a while back:

    http://www.neoflash.com/forum/index.php/topic,7221.0.html?PHPSESSID=8a30k9aqtv5s2n3cv21rhma136

    If you need any help, I will be happy to program some stuff, I'm pretty good with C.
     
  14. alekmaul
    OP

    Member alekmaul GBAtemp Regular

    Joined:
    Nov 5, 2002
    Messages:
    104
    Location:
    Blois
    Country:
    France
    Well, yes, some help can be useful for some stuff :)
    For example, i need a tool like gfx2gba to convert graphics to snes format (sprites, map, mode7, and so on).
    Currently, i'm using lot's of tools to do some stuff and I still have bug (just take a look at AnimatedSprites demo).
    I also need help for sound and wiki, to update it with tutorials.
    Just PM me with your wishes, we will talk about that.
     
  15. alekmaul
    OP

    Member alekmaul GBAtemp Regular

    Joined:
    Nov 5, 2002
    Messages:
    104
    Location:
    Blois
    Country:
    France
  16. Costello

    Administrator Costello Headmaster

    Joined:
    Oct 24, 2002
    Messages:
    12,030
    thank you for your work Alekmaul, and it's a great honor to have you on our forums :) (since november 2002 actually haha)
    I should probably say to still have you here... :)
     
  17. alekmaul
    OP

    Member alekmaul GBAtemp Regular

    Joined:
    Nov 5, 2002
    Messages:
    104
    Location:
    Blois
    Country:
    France
    Yep, will be here for 10 years, a birthday too :P
    I hope this library will help guys doing some great SNES games !
     
  18. YoshiInAVoid

    Member YoshiInAVoid GBAtemp Advanced Fan

    Joined:
    Jan 10, 2011
    Messages:
    560
    Country:
    United Kingdom
    I installed this a while ago but am not entirely sure how to use it, I've managed to get it to compile the template but how do I use sprites, backgrounds, or sound? If you build some functions for this, then I can help write some tutorials on your site.

    EDIT: I'm using an older version, I'll update soon.
     
  19. alekmaul
    OP

    Member alekmaul GBAtemp Regular

    Joined:
    Nov 5, 2002
    Messages:
    104
    Location:
    Blois
    Country:
    France
    Hello ,
    Sound is not yet supported, i'm trying to add snesmod to the lib.
    About sprites & background, the last version of PVSnesLib is ok with them, just check examples.
    I even did a mario like example ;-)
    Also, i updated wiki with a new tutorial, more to come soon. Http://www.portabledev.com/wiki/
     
  20. alekmaul
    OP

    Member alekmaul GBAtemp Regular

    Joined:
    Nov 5, 2002
    Messages:
    104
    Location:
    Blois
    Country:
    France
    Double post to inform you version 1.0 is now available. In fact, there now everything to do a project, even sound support, so i changed version to version 1.0 :)
    Available here: http://www.portabled...rrentversion_en

    Here are the updates for this version :
    Let's do now homebrews for the SNES :yay:
     
    2 people like this.

Share This Page