Создать ответ 
 
Рейтинг темы:
  • Голосов: 0 - Средняя оценка: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Help with LUA scripting.
Автор Сообщение
MastaG Не на форуме
Пользователь
**

Сообщений: 87
Зарегистрирован: 13.04.2011
Рейтинг: 0
Сказал спасибо: 31
Поблагодарили 12 раз(а) в 12 сообщ.
Сообщение: #8
RE: Help with LUA scripting.
Okay so I got a bit further.
In src/main.c I've only commented out the startup sound.
It seems ShowLogo(); is required after InitVideoHardware();


Now in lua/startup.lua:

I've only added network init and trying to start gta3:
Код:
        self:InstallingApps(path .. "/apps");
        self.initialized = true;
        os.execute("net --init");
        isoldr -i -a -x 0x8c004000 -f /ide/GTA3/regta3dc.ds.iso -o 1 -h 0
        OpenApp(os.getenv("APP"));

Also the following modules are enabled: http, minilzo, isofs and isoldr.

But the isoldr command right before the OpenApp seems to hang the console.
09.08.2024 19:28
Найти все сообщения Цитировать это сообщение
Создать ответ 


Сообщения в этой теме
Help with LUA scripting. - MastaG - 07.08.2024, 12:31
RE: Help with LUA scripting. - MastaG - 07.08.2024, 13:09
RE: Help with LUA scripting. - SWAT - 08.08.2024, 05:57
RE: Help with LUA scripting. - MastaG - 08.08.2024, 11:59
RE: Help with LUA scripting. - MastaG - 08.08.2024, 14:23
RE: Help with LUA scripting. - SWAT - 09.08.2024, 06:11
RE: Help with LUA scripting. - MastaG - 09.08.2024, 18:40
RE: Help with LUA scripting. - MastaG - 09.08.2024 19:28
RE: Help with LUA scripting. - MastaG - 09.08.2024, 19:44
RE: Help with LUA scripting. - MastaG - 12.08.2024, 11:56
RE: Help with LUA scripting. - SWAT - 13.08.2024, 06:51

Переход:


Пользователи просматривают эту тему: 3 Гость(ей)