SonicDcer
Новичок
Сообщений: 13
Зарегистрирован: 09.08.2011
Рейтинг: 0
Сказал спасибо: 0
Поблагодарили 1 раз(а) в 1 сообщ.
|
Using DreamShell - General user guide?
It would be nice to have some sort of guide of how to use dreamshell, things like How to ADD ICONS on the Desktop, what commands can be executed in them, like os.execute, sdiso, etc.
I Wanted to make GENS4ALL and DreamSnes from HDD with no luck, i placed the folders on the root of the HDD and created an icon like this:
<?xml version="1.0" encoding="UTF-8"?>
<app name="Genesis" 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" />
<font src="../../fonts/ttf/arial_lite.ttf" type="ttf" size="16" name="arial" />
<image src="./images/back.jpg" name="back" />
<image src="./images/play.png" name="play" />
<image src="./images/exit.png" name="exit" />
</resources>
<body x="0" y="0" width="640" height="480" background="back">
<input type="button"
onclick="os.execute(string.format('exec -b -f /ide/gens4all/gens4all.bin', 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 it just gives me Black Screen when i touch play.
I did the same thing to Dreamsnes but didn't work.
or what commands can you use and how to use them on the console would be nice.
(Последний раз сообщение было отредактировано 07.06.2016 в 13:37, отредактировал пользователь SonicDcer.)
|
|
07.06.2016 13:27 |
|