Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[solved] can launch *.opensesame file with its engine (Non GUI part)?

dyedye
edited January 2014 in OpenSesame

I am a new user to opensesame and very interested in its powerful GUI-based experiment design style.

I have the following question:
For example, we design many experiments with openSesame GUI environment. After that we would like to play these experiment files(*.opensesame) without using openSesame GUI environment that was used to create them. Just like in E-Prime, E-studio is used to create paradigms, you can launch paradigms with E-run engine. Is there a similiar engine in openSesame?

Thanks,

Ye

Comments

  • edited 10:47PM

    Hi Dye,

    Thank you for your interest in OpenSesame!

    OpenSesame includes a program called opensesamerun that does what you're looking for. If you're on Windows, it's located as opensesamerun.exe in the OpenSesame folder.

    There's not really any benefit over using the GUI, though, so I don't personally use it much. But if you prefer opensesamerun over the GUI, it's there!

    Kindest regards,
    Sebastiaan

  • dyedye
    edited 10:47PM

    Sebastiaan,
    Thank your help. What I am planning to do is to integrate the opensesamerun.exe with my own application to launch existed opensesame paradigms on the fly(i.e. users can select any available opensesame paradigm at runtime via my own GUI), and somehow let my application to communicate with and control the different states of opensesame paradigms while it is played in openSesamerun or its play engine. So I would like to setup an interface between my application and openSesame by socket/tcp.

    thanks,

    Ye

  • dyedye
    edited 10:47PM

    Do you have any suggestion/direction on my above plan?
    thanks.

  • edited 10:47PM

    Hi Ye,

    Right, I see. Cool idea. The two easiest way to do this are probably:

    Using opensesamerun

    Have your own software call opensesamerun and specify all relevant parameters on the command line (see opensesamerun.exe --help for a list of options).

    Use OpenSesame as a Python module

    You could also write a Python script to listen for incoming connections, run experiments, etc. All functionality is available through the libopensesame module. You can find an example of how to run an experiment this way in this discussion. This approach is much more flexible, of course, so it seems like the way to go in your case. The downside is that you will need a full Python environment on each system, because you can't use the binary packages.

    Hope this helps!

    Regards,
    Sebastiaan

  • dyedye
    edited 10:47PM

    Hello Sebastiaan,

    Is it possibe to rewrite opensesamerun with C/C++? so that we don't need to install a full Python evenironment at all.

    Thanks, and

    Best regards,

    Ye

  • edited 10:47PM

    Hi Ye,

    No, I'm afraid not. OpenSesame is pure Python. What you could do is develop your own client, perhaps based on OpenSesamerun, and build an .exe file using py2exe. This essentially means that you will get a standalone package that includes a full Python environment, which is also how the regular OpenSesame packages work. This package can then be distributed without requiring users to install all kinds of stuff.

    On GitHub you will find a py2exe setup script in the win32-resources folder:
    link

    Good luck!

    Sebastiaan

  • dyedye
    edited 10:47PM

    Hi Sebastiaan,

    Can we use OpenSesame in a commercial product?

    thanks,

    Ye

  • edited 10:47PM

    Hi Dye,

    OpenSesame is released under the GNU General Public License. This allows for particular uses in commercial products, but there are many restrictions. Notably, you can use OpenSesame as long as it's unmodified and a clearly separable module. So, for example, you would be allowed to call opensesamerun from an external program, but not to modify the code of opensesamerun and distribute it in a commercial product. So basically, if you decide to use OpenSesame in a commercial product, please make sure that the GPL is not violated. For more information on the GPL, see here: http://www.gnu.org/licenses/gpl-faq.html

    Alternatively, you could explain exactly what you want to do and I (as the developer) could provide explicit permission. I must say that I would only be inclined to do this if there is a really good reason, because I strongly prefer the open source route!

    Kindest regards,
    Sebastiaan

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games