Homebrew RELEASE Solarus Engine v1.6.4 - gui 0.4 -- now with luaJIT

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
759
Trophies
0
Age
43
XP
1,157
Country
Colombia
Yes! I was playing with the keymap.keys file on the root of solarus and the games. For the Tunics! game I make the attached file (renamed to keymap.keys) and all the functions are accessible and working just fine

Incidentally I discover what the Tunics! game can read joystick buttons (on any solarus engine) but the mapping is hard-coded on scripts so if you do not use a keymap.keys and manually change the Tunics! code also works.

I also find a quirk on the new version solarus-v0_4_3-luajit-1_6_4.zip each time you exit a solarus game, an error happens: «The software was closed because an error occurred.» then you return to home menu. (tested with Zelda Mystery of Solarus XD, Zelda Mystery of Solarus DX, Tunics! and Zelda Return of the Hylian SE)

With exactly the same system, only replace the SD:/switch/solarus/solarus.nro with version solarus-v0_4_2-luajit-1_6_4.zip and exiting any solarus game return to Hbmenu without error ;(
 

Attachments

  • keymap.keys.txt
    240 bytes · Views: 31

capsterx

Well-Known Member
OP
Member
Joined
Oct 14, 2020
Messages
147
Trophies
0
Age
39
XP
425
Country
United States
Yes! I was playing with the keymap.keys file on the root of solarus and the games. For the Tunics! game I make the attached file (renamed to keymap.keys) and all the functions are accessible and working just fine

Incidentally I discover what the Tunics! game can read joystick buttons (on any solarus engine) but the mapping is hard-coded on scripts so if you do not use a keymap.keys and manually change the Tunics! code also works.

I also find a quirk on the new version solarus-v0_4_3-luajit-1_6_4.zip each time you exit a solarus game, an error happens: «The software was closed because an error occurred.» then you return to home menu. (tested with Zelda Mystery of Solarus XD, Zelda Mystery of Solarus DX, Tunics! and Zelda Return of the Hylian SE)

With exactly the same system, only replace the SD:/switch/solarus/solarus.nro with version solarus-v0_4_2-luajit-1_6_4.zip and exiting any solarus game return to Hbmenu without error ;(

I'll look into it, but more than a few of the ports I have done crash when exiting and I have never figured out how to fully debug what is wrong
 

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
759
Trophies
0
Age
43
XP
1,157
Country
Colombia
perfect, thanks for your work, I am trying to learn how to program for the switch. and your code is teaching me a lot :D
 

Ssingledad7

Member
Newcomer
Joined
Aug 25, 2016
Messages
18
Trophies
0
Age
49
XP
318
Country
United States
Getting these errors when trying to build?
 

Attachments

  • CaPX.PNG
    CaPX.PNG
    209.2 KB · Views: 45
General chit-chat
Help Users
    Spring_Spring @ Spring_Spring: and post it uwu