Search found 5 matches

Go to advanced search

by Beefy
Tue Oct 29, 2024 1:22 am
Forum: MAME Discussion
Topic: Can MAME be compiled so the LUA interpreter allows the use of dynamic libraries?
Replies: 3
Views: 29753

Re: Can MAME be compiled so the LUA interpreter allows the use of dynamic libraries?

Compiling using

CFLAGS="-DLUA_USE_MACOSX". (or pick your particular OS)

... will allow the use of dynamic libraries.
by Beefy
Tue Oct 29, 2024 1:21 am
Forum: MAME Discussion
Topic: MAME Lua compile options
Replies: 0
Views: 26846

MAME Lua compile options

Stack overflow question https://stackoverflow.com/questions/79135379/my-working-lua-program-fails-when-run-from-the-mame-lua-interpreter-with-the-run . I think I have stumbled upon a problem with Lua object file discordance. Maybe an issue with compiler option differences as used in MAME makefile an...
by Beefy
Fri Oct 25, 2024 6:35 pm
Forum: MAME Discussion
Topic: Can MAME be compiled so the LUA interpreter allows the use of dynamic libraries?
Replies: 3
Views: 29753

Re: Can MAME be compiled so the LUA interpreter allows the use of dynamic libraries?

Communicate via socket from MAME Lua interpreter to another process, a Python server. I got a simple model working. It's a Lua client and a Python server communicating under Mac OS. Both Lua and Python are installed locally. Now that it works, I want to execute the Lua code from the MAME interpreter...
by Beefy
Thu Oct 24, 2024 4:25 pm
Forum: MAME Discussion
Topic: Can MAME be compiled so the LUA interpreter allows the use of dynamic libraries?
Replies: 3
Views: 29753

Can MAME be compiled so the LUA interpreter allows the use of dynamic libraries?

I am seeing this under mac os: mame 0.268 Copyright (C) Nicola Salmoria and the MAME team Lua 5.4 Copyright (C) Lua.org, PUC-Rio [MAME]> dofile("/Users/user_name/proj/ast/luaclient.lua") error: error loading module 'socket.core' from file '/Users/user_name/.luarocks/lib/lua/5.4/socket/core...
by Beefy
Fri Oct 18, 2024 7:49 pm
Forum: MAME Discussion
Topic: Interprocess communication? MAME + Python via socket
Replies: 1
Views: 17275

Interprocess communication? MAME + Python via socket

Hello MAME Folks, I've been using your stuff since the late 1990's. Thank you :-) More recently, I have been looking into interprocess communication between MAME's Lua scripting and the OS (Happens to be Python under Windows 10). I haven't found much in the way of working examples. Can you recommend...

Go to advanced search