1. ArgentoVivo

    ArgentoVivo Newbie
    Newcomer

    Joined:
    Jan 12, 2015
    Messages:
    8
    Country:
    Italy
    Rinnegatamante

    ita
    Forse dovresti creare una versione già compilata, almeno questo faciliterebbe il test a più persone
    eng
    maybe it's better if You can provide the compiled versione. it will be easier for people
     
  2. Rinnegatamante

    OP Rinnegatamante GBAtemp Psycho!
    Member

    Joined:
    Nov 24, 2014
    Messages:
    3,161
    Country:
    Italy
    Yes, i used private libctru functions. You need to add their prototype in CSND header in libctru.

    For compiled version, some compiled version of lpp-3ds can be found with my homebrews. The latest "public" release can be taken by ORGANIZ3D v.0.4 release (both 3DSX and 3DS version).
     
    piratesephiroth and ArgentoVivo like this.
  3. piratesephiroth

    piratesephiroth I wish I could read
    Member

    Joined:
    Sep 5, 2013
    Messages:
    3,422
    Country:
    Brazil
    Ah nice, still had to fix a little bit on main.cpp for the latest ctrulib but got it compiled fine.
     
  4. Slushie3DS

    Slushie3DS Cold Beverage Lover
    Member

    Joined:
    Jan 9, 2015
    Messages:
    707
    Country:
    United States
    Where do you see this going in the long run, Rinne?
     
  5. Rinnegatamante

    OP Rinnegatamante GBAtemp Psycho!
    Member

    Joined:
    Nov 24, 2014
    Messages:
    3,161
    Country:
    Italy
    What do you mean?
    Final goal of LPP is to provide an environment to create every kind of homebrew (games, apps etc,,,) directly in LUA.
     
    ArgentoVivo likes this.
  6. Slushie3DS

    Slushie3DS Cold Beverage Lover
    Member

    Joined:
    Jan 9, 2015
    Messages:
    707
    Country:
    United States
    Okay, that's the kind of answer I was looking for. I was unsure if you were just programming without meaning.
     
  7. Rinnegatamante

    OP Rinnegatamante GBAtemp Psycho!
    Member

    Joined:
    Nov 24, 2014
    Messages:
    3,161
    Country:
    Italy
    Added extdata support to I/O functions and also other 2 functions to move between extdata archives (System.scanExtdata and System.listExtdataDir).
    Added audio streaming to Video module: Now BMPV reproduction is not a RAM killer (before this, for a 1:30 min video 400x240 you allocate 64/65 MB, now for the same video you allocate 2,5 MB). Maybe a fix for very short videos (0:05-0:10) must be done, today i'll work on it.
    Also speedup BMPV loading.

    Best of this without possibility to make secondary thread i think is impossible for video reproduction.
     
  8. Rinnegatamante

    OP Rinnegatamante GBAtemp Psycho!
    Member

    Joined:
    Nov 24, 2014
    Messages:
    3,161
    Country:
    Italy
    Some news in LPP.

    A lot of different functions are now available (like CIA managing functions, ZIP extraction etc...)
    I also started to work to Online and Adhoc features (Network module).

    To finish, i updated the samples in GitHub repository with the newest LPP syntax.
     
    ArgentoVivo likes this.
  9. DrDaxxy

    DrDaxxy Member
    Newcomer

    Joined:
    Jan 24, 2015
    Messages:
    13
    Country:
    Gambia, The
    Do you take patches?

    I might look at implementing support for some audio codecs.
     
  10. Rinnegatamante

    OP Rinnegatamante GBAtemp Psycho!
    Member

    Joined:
    Nov 24, 2014
    Messages:
    3,161
    Country:
    Italy
    Yes, any help is accepted :)
     
  11. V3NUS_M1NER

    V3NUS_M1NER GBAtemp Fan
    Member

    Joined:
    Nov 27, 2014
    Messages:
    391
    Country:
    United States
    I'm getting errors writing code for this -_-

    My code:

    function Boot(boot)
    Screen.debugPrint(0,0,"TestBrew!",white,TOP_SCREEN)
    end
    elseif (Controls.check(pad,KEY_START)) then
    GarbageCollection()
    Screen.freeImage(bg)
    Sound.term()
    System.exit()
    end
    end
     
  12. Rinnegatamante

    OP Rinnegatamante GBAtemp Psycho!
    Member

    Joined:
    Nov 24, 2014
    Messages:
    3,161
    Country:
    Italy
    If this is your code, there are several errors.

    Line 1: You call a function Boot which have one argument (boot) and you not use this argument (In C compilation this is called a Warning)
    Line 2: white variable is not declared
    Line 4: You have not a if statement begin. You cannot init an if statement with an "elseif".
    Line 4: pad variable is not declared
    Line 5: GarbageCollection function is not declared
    Line 6: bg variable is not declared
    Line 7: You try to end Sound service but you never initialized it

    Code Errors:
    You have not a main cycle so this code will be executed only one time and, after this, lpp will be closed and you'll return to HB Menu
     
  13. Rinnegatamante

    OP Rinnegatamante GBAtemp Psycho!
    Member

    Joined:
    Nov 24, 2014
    Messages:
    3,161
    Country:
    Italy
    Added JPG images support and JPGV video support.

    Starting from now, you can find an updated compiled version of the interpreter in GitHub repository in ELF and 3DSX formats.
     
    ArgentoVivo likes this.
  14. Rinnegatamante

    OP Rinnegatamante GBAtemp Psycho!
    Member

    Joined:
    Nov 24, 2014
    Messages:
    3,161
    Country:
    Italy
    Great news on the road!

    I need few hours and LPP will be updated to LUA 5.3.0 which provides some cool news like LUA_INTEGER type implementation (this means a HUGE speedup for interpreter cause we used always double values which are slower to read if compared to u32 integers), Bitwise operators (which means simpler methods to manage some circumstances like Controls checking) and UTF-8 support (for this, i have to investigate which functions are affected from this).

    http://www.lua.org/manual/5.3/readme.html#changes

    EDIT: Now lpp-3ds runs under LUA 5.3.0!
     
  15. DarkFlare69

    DarkFlare69 GBAtemp Guru
    Member

    Joined:
    Dec 8, 2014
    Messages:
    5,128
    Country:
    United States
    Good job, that's cool
     
  16. yodamerlin

    yodamerlin Bok bok.
    Member

    Joined:
    Apr 1, 2014
    Messages:
    322
    Country:
    United Kingdom
    In LPP, are the screens rotated like they are normally? Or did you correct this?
     
  17. Rinnegatamante

    OP Rinnegatamante GBAtemp Psycho!
    Member

    Joined:
    Nov 24, 2014
    Messages:
    3,161
    Country:
    Italy
    Screen coordinates for images, videos and graphics functions are 400x240 and 320x240 (rotations are applicated by lpp)
     
  18. pdapanda

    pdapanda GBAtemp Advanced Fan
    Member

    Joined:
    Nov 19, 2014
    Messages:
    726
    Country:
    Switzerland
  19. Rinnegatamante

    OP Rinnegatamante GBAtemp Psycho!
    Member

    Joined:
    Nov 24, 2014
    Messages:
    3,161
    Country:
    Italy
    It depends on what interpreter it uses. ONElua, luaDEV, PGE use a different syntax if compared to lpp.
    LPHM, LP Euphoria, lpp use a similar syntax so you can adapt LUA scripts with lpp syntax ( http://rinnegatamante.netsons.org/lpp-3ds_doc.html ) and adapt screen sizes from PSP to 3DS ones.
     
  20. pdapanda

    pdapanda GBAtemp Advanced Fan
    Member

    Joined:
    Nov 19, 2014
    Messages:
    726
    Country:
    Switzerland
    Thank you
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Interpreter, Player, First