Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ jobs:
LOVEJS_API_PLAYER_BASE_URL: https://raw.githubusercontent.com/MrcSnm/Love.js-Api-Player/refs/heads/master
run: |
pushd ${{ env.OUTPUT_FOLDER }}
sed -i 's|</head>|<script src="consolewrapper.js"></script><script src="globalizeFS.js"></script><script src="webdb.js"></script></head>|' index.html
sed -i 's|</head>|<script src="consolewrapper.js"></script><script src="webdb.js"></script></head>|' index.html
wget ${{ env.LOVEJS_API_PLAYER_BASE_URL }}/consolewrapper.js
wget ${{ env.LOVEJS_API_PLAYER_BASE_URL }}/globalizeFS.js
wget ${{ env.LOVEJS_API_PLAYER_BASE_URL }}/webdb.js
Expand Down
2 changes: 1 addition & 1 deletion Zenitha
Submodule Zenitha updated 2 files
+366 −0 bitop.lua
+10 −5 init.lua
4 changes: 2 additions & 2 deletions assets/fmod20221/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ do -- Load library
local suc
suc,M.C=pcall(ffi.load,STRING.repD(path,'fmod'))
if not suc then
MSG.new('error',"Loading FMOD lib:"..M.C)
-- MSG.new('error',"Loading FMOD lib:"..M.C)
M.C=nil
elseif not M.C then
MSG.new('error',"Error in Loading FMOD lib")
end

suc,M.C2=pcall(ffi.load,STRING.repD(path,'fmodstudio'))
if not suc then
MSG.new('error',"Loading FMODstudio lib:"..M.C2)
-- MSG.new('error',"Loading FMODstudio lib:"..M.C2)
M.C2=nil
elseif not M.C2 then
MSG.new('error',"Error in Loading FMODstudio lib")
Expand Down
6 changes: 5 additions & 1 deletion conf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ function love.conf(t)

local fs=love.filesystem
fs.setIdentity(identity)
do -- Load grapgic settings from conf/settings

print('Loading settings from conf.lua')
if fs.getInfo('conf/settings') then -- Save graphic settings to conf/settings
print('Loading settings from conf/settings')
local fileData=fs.read('conf/settings')
print(fileData)
if fileData then
msaa=tonumber(fileData:match('"msaa":(%d+)')) or 0
portrait=mobile and fileData:find('"portrait":true') and true
Expand Down