android
Prev Previous Post   Next Post Next
  #4  
Old 11-30-2011, 05:36 AM
Kalle Kula Kalle Kula is offline
Junior Member
 
Join Date: May 2010
Posts: 39
Thumb Up Standalone App

I have been able to do a love-version of my chess app and the speed improvements compared to the ADK simulator is amazing.

The standalone app fails and maybe It's not necessary to have that, anyway if you got some clue how to solve it.
I get the same errors in Linux, Linux-Wine and Windows XP:

Quote:
[toti@koket Dokument]$ ./ChessX
Warning, quality setting failed! (Result: buffers: 0, samples: 0)
Error: [string "loveCompatibility/io2.lua"]:57: Could not set write directory.
stack traceback:
[C]: in function 'open'
[string "loveCompatibility/io2.lua"]:57: in function '_copyLoveFile'
[string "loveCompatibility/io2.lua"]:109: in function 'open'
[string "main.lua"]:618: in function 'RestoreFromFile'
[string "main.lua"]:643: in main chunk
[C]: in function 'require'
[string "boot.lua"]:1: in function <[string "boot.lua"]:1>
[C]: in function 'xpcall'
[toti@koket Dokument]$
Quote:
function RestoreFromFile()
local f = io.open("fen.fen","r")
if f ~= nil then
local s = f:read("*all")
if s ~= nil and string.len(s) > 0 then
InitializeFromFen(s)
c_usebook = false
end
f:close()
end
end
And as I said the love-version working fine.
Reply With Quote

 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 04:12 AM.