Page 1 of 2

Execute .so C-Serie from Internet@TV

Posted: Sun Aug 21, 2011 7:31 pm
by Denny
install/run instructions :

unzip Rel_C_Serie.zip

copy SamyGOTV directory to /mtd_rwcommon/widgets/user/
copy GGame directory to any location in TV or USB device like /mtd_rwcommon/GGame or /dtv/usb/sda/GGame
edit config.xml at positions :

Code: Select all

	<dir>/dtv/usb/sda/GGame</dir>
	<dir>/mtd_rwcommon/GGame</dir>
and replace it with yor directorys where you copy previus the GGame directory.

add manual user widget to config file :

open /mtd_rwcommon/common/WidgetMgr/info.xml and add folow lines bwtween 2 alredy installed widget.

Code: Select all

<widget id="SamyGOTV" 
  name="SamyGO@TV" 
  childlock="false" 
  removable="true" 
  favorite="true" 
  executed="24" 
  installedDate="19700101000116129" >
	<icon type="normal">icon/samy106x87.png</icon>
	<icon type="focus">icon/samy115x95.png</icon>
</widget>
make symbolic link (best way to do it on each TV Boot adding it in SamyGO start script :

Code: Select all

ln -s /mtd_rwcommon/widgets/user/SamyGOTV/game.so /dtv/game.so
reboot TV and Start the Game.

################# end instruction

for game.so located in Rel_C_Serie\SamyGOTV\ source code is included in zip file and it is not bugfree! :oops: .

this is one of 2 possibility without patch exeDSP to execute own games/applications
the 2nd one is which i will forward to developers loading game.so direct from installed directory of signed loader,

i have in GGame include original DBowling game and C serie compiled SamyConsole just for testing of the loader and Game Launcher.

http://db.tt/G9zncKJD

happy developing

Re: Execute .so C-Serie from Internet@TV

Posted: Sun Aug 28, 2011 1:16 pm
by lacibogi
after all steps are done, I start the widget and it just blinks. nothing starts.
am I doing something wrong?

Re: Execute .so C-Serie from Internet@TV

Posted: Sun Aug 28, 2011 10:08 pm
by Denny
lacibogi wrote:after all steps are done, I start the widget and it just blinks. nothing starts.
am I doing something wrong?

Does widget exit or what is exact blinking ?

try to copy samyconsole or Dbowling into SamyGOTV directory , what hapend then ?

Re: Execute .so C-Serie from Internet@TV

Posted: Mon Aug 29, 2011 8:01 am
by lacibogi
Yes, widget starts and ends immediately.
Same situation after copying dowling or samyconsole to SamyGOTV directory.

Maybe the problem is that I have no /mtd_down/widgets/user/Bowling/ directory so Dbowling/config.xml can not call /mtd_down/widgets/user/Bowling/./libDBowling.so

Dbowling/config.xml:

Code: Select all

<contents>/mtd_down/widgets/user/Bowling/./libDBowling.so</contents>
Similar situation with SamyConsole.

I have no directory /mtd_down/widgets/normal/14100099005 so it can not call libmain.so correctly.

SamyConsole/config.xml:

Code: Select all

<contents>/mtd_down/widgets/normal/14100099005/./libmain.so</contents>
Also Ido not understand SamyGOTV/config.xml file.

i think correct should be

Code: Select all

<contents>/mtd_down/widgets/user/SamyGOTV/libmain.so</contents>
instead of

Code: Select all

<contents>/mtd_down/widgets/user/SamyGOTV/./libmain.so</contents>
Hope this will help to solve the problem.

Re: Execute .so C-Serie from Internet@TV

Posted: Mon Aug 29, 2011 1:00 pm
by Denny
<contents>/mtd_down/widgets/user/SamyGOTV/./libmain.so</contents>

is correct, so keep it as it is, and it is importiant to symbolic link game.so to /dtv/game.so

so , keep original config.xml, do not change anything,

copy all files from /dbowling dir to /mtd_down/widgets/user/SamyGOTV/
ln -s /mtd_down/widgets/user/SamyGOTV/game.so /dtv/game.so

btw , make sure, u dont copy config.xml from dbowling directory, this one must be original of SamyGOTV...

for explain : libmain.so.sck, is signed , and it loads /dtv/game.so by entry point Game_Main()...

as in normal way, game.so is decrypted from same directory where libmain.so is located and copied to /dtv/ directory , we just skip this issue by symbolic linking.

Re: Execute .so C-Serie from Internet@TV

Posted: Mon Aug 29, 2011 2:56 pm
by lacibogi
something I am doing wrong allways. it does not work.

I have followed steps in your first post and copied content of Dbowling dir to SamyGOTV dir. config.xml is original frpm SamyGOTV.

Re: Execute .so C-Serie from Internet@TV

Posted: Tue Aug 30, 2011 7:34 pm
by timoo
libmain.so.sck is encrypted libmain.so system decrypt and load it :)