[poll] hypothetical programming/scripting language for patch installers


I’m doing some brainstorming regarding building an alternative to buildfiles that supports writing patch installers in a “real” scripting language.

I only really have two options (Lua and Javascript); as those are the only popular languages I know of that are easy to embed into a single executable (which is what I want to make). I need to know which one to go with early as the architecture of the tool may heavily depend on the choice.

I would probably build an EA-like language on top on whichever one I end up going with.

Which language would you prefer writing hack installers in?
  • Lua
  • Javascript
  • No preference

0 voters

1 Like

CSharpScript :slight_smile:

1 Like

definitely does not fall into the “easy to embed into a small executable” category.

i guess we’re just jumping straight into the “why not just configure in your real host language” phase

I mean you don’t have to make a single executable,

If you are using JS, npm install -g would be a nice endgame

or something like dotnet tool install --global

I vote for Lua, personally, since it’s got broader applications in the modding and emulation scene. Emulators that support external scripts generally support Lua, sometimes exclusively, and in fact Lua is what Nintendo uses on the Virtual Console emulators for real-time modifications (e.g. Pokemon Yellow VC changing Jynx to be purple, dimming the screen during flashing animations, all the game-specific stuff they had to do for the N64 VC on WiiU/NSO etc). There have even been, for better or worse, AAA games done mostly or entirely in Lua (looking at you Sonic '06).

Additionally, there are a few Lua tools already written for the GBAFE scene, including Stan’s very own proc tree display script and MisakaMikoto’s world map routes inserter. I think there’s practical value in keeping down the number of languages one has to know to do a hobby. There’s less overhead from having to install a whole new environment and compiler just to edit one line in one script.

Finally, purely personal bias, but I’d rather not have to use JS in my hobbies when I usually use it in a work context


Which language would you prefer writing hack installers in?
Which language do you know?

BTW “No preference” = Both + Neither

Acturally I prefer python XD