DC-SWAT Forum
No apps on desktop - Dreamshell Release 4.0 - Версия для печати

+- DC-SWAT Forum (http://www.dc-swat.ru/forum)
+-- Форум: Sega Dreamcast (/forum-2.html)
+--- Форум: English section (/forum-29.html)
+--- Тема: No apps on desktop - Dreamshell Release 4.0 (/thread-4133.html)



No apps on desktop - Dreamshell Release 4.0 - kikeminchas - 14.11.2024 18:35

Hi

First of all thanks a lot dc-swat for your dedication. I have downloaded a set of modified SD isos from archive.org. After copying them to the SD card, all my apps disappear from the Dreamshell desktop. I have done some search and it seems this might have to do with the format of the xml and lua files for each app? To give an example, this is the XML from one of the game apps:

Код:
<?xml version="1.0" encoding="UTF-8"?>
<app name="Aqua_GT" version="1.0" icon="cover.png">
    <resources>
        <module src="../../modules/minilzo.klf" />
        <module src="../../modules/isofs.klf" />
        <module src="../../modules/isoldr.klf" />
        <script type="text/lua" src="./lua/main.lua" />
    </resources>
    <body x="0" y="0" width="640" height="480" background="back">
        <input type="button"
                onclick="os.execute(string.format('exec -b -f sd/Aqua_GT/Aqua_GT.gdi', os.getenv('PATH')));"
                normal="play" highlight="play" pressed="play" disabled="play"
                x="440" y="280" width="200" height="100" name="playbut" />
        <input type="button"
                onclick="console:app -o -n Main"
                normal="exit" highlight="exit" pressed="exit" disabled="exit"
                x="440" y="380" width="200" height="100" name="exitbut" />
    </body>
</app>

and this is the matching lua file:

Код:
local path = os.getenv("PATH");
OpenModule(path .. "/modules/minilzo.klf");
OpenModule(path .. "/modules/isofs.klf");
OpenModule(path .. "/modules/isoldr.klf");
os.execute("isoldr -x 0x8c004000 -e 8 -a -f /sd/GAMES/Aqua_GT/Aqua_GT.gdi");
ShowConsole();

Does someone see anything obviously wrong? To be clear, the apps are inside a folder that matches the name of the folder with the games under /GAMES. All apps are located under /DS/apps. Before adding these games, Dreamshell was working fine, I coudl see all apps and even launch some random games with ISO loader. Thanks


RE: No apps on desktop - Dreamshell Release 4.0 - megavolt85 - 16.11.2024 02:38

to create a shortcut on the desktop, you do not need to create an xml file.
if you do not know how to create shortcuts manually, then just create them in the ISO Loader app


RE: No apps on desktop - Dreamshell Release 4.0 - SWAT - 16.11.2024 06:38

(14.11.2024 18:35)kikeminchas писал(а):  
Код:
onclick="os.execute(string.format('exec -b -f sd/Aqua_GT/Aqua_GT.gdi', os.getenv('PATH')));"

This is a completely wrong command Big Grin
But as megavolt85 already said, you don't need to do this at all. Shortcuts can be made directly in the ISO Loader application.