Homebrew [Release] Sunshell - A powerfull shell for 3DS

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
is there a possibilityto implement a weather app / widget with Yahoo Weather? :)

E.G.
- The evaluation is performed by a web server: Output = Contition Code
- The 3DS get the condition code via internet connection
- The recion code / ZIP Code for the country / city could set in the config file of sunshell.?
- Sunshell has a "if / case"- query to show the right img rom Sunshell dir: e.g. the 3DS gets the contitioncode 16, so Sunshell looks for picture nr. 16 and the accompanying description (in this case its "snow" to show it on the screen

Made a little test, for me it works but don't know if the API i'm using is compatible with a good amount of cities.
If someone wants to test, please replace original sun_index.lua and 3dsx file with this: http://rinnegatamante.it/sun_index.rar
Open sun_index.lua with a Text reader and search for this piece of code:

Code:
-- BETATEST: Wheater Api test
function explode(div,str)
    pos = 0
    arr = {}
    for st,sp in function() return string.find(str,div,pos,true) end do
        table.insert(arr,string.sub(str,pos,st-1))
        pos = sp + 1
    end
    table.insert(arr,string.sub(str,pos))
    return arr
end
 
Screen.refresh()
country = "it"
zipcode = "40138"
if Network.isWifiEnabled() then
    weather_info = Network.requestString("http://rinnegatamante.it/weather_api.php?z="..zipcode.."&c="..country)
    ShowWarning(weather_info)
    parser_index = 1
    info_offset = 1
    size = string.len(weather_info)
    if weather_info == "//-274" then
        ShowError("Unknown city for weather widget.")
    else
        weather_strings = explode("/",weather_info)
        ShowWarning("City: "..weather_strings[3].." - Temp: "..weather_strings[4].." - Weather: "..weather_strings[1].." ("..weather_strings[2]..")")
    end
end

Ediy country and zipcode with your info and start Sunshell with WiFi on.
During startup you must see a warning with weather info about your city.

Please report me if it works correctly.
 

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
Weather API implemented in Main menu:
Sunshell_17.jpg
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,449
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,832
Country
United States
So...Any ETA on getting 3D videos working? I saw you posted something earlier mentioning you got this working somehow. I await to see it. Is JPGV format have comparable quality as the video format used by the 3DS Camera App? Does JPGV use the same amount of space as the other or does it take up more space at a given quality level compared to the 3DS Camera App. I won't really play around with this till it has 3D functionality. :P
 

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
So...Any ETA on getting 3D videos working? I saw you posted something earlier mentioning you got this working somehow. I await to see it. Is JPGV format have comparable quality as the video format used by the 3DS Camera App? Does JPGV use the same amount of space as the other or does it take up more space at a given quality level compared to the 3DS Camera App. I won't really play around with this till it has 3D functionality. :P

3D reproduction cause a huge frame drop, anyway, lpp-3ds is fully working with 3D videos.
When i release v.0.3.1, i release also an update for vid2jpgv for 3D support.
 

stomp_442

New Member
Member
Joined
Jul 29, 2009
Messages
1,830
Trophies
1
XP
738
Country
United States
How come I get an error when trying to launch this for the first time? I'm using v 0.3, and trying to launch it with a gateway.

Error: [string "?"]:35: attempt to index a nil value (global 'Font')


edit
I was able to load it from the homebrew menu via ninjahx, works great. But still I couldn't launch the 3DS file via gateway. Also, I hate to ask but the movie converter app is 64-bit only?
 

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
How come I get an error when trying to launch this for the first time? I'm using v 0.3, and trying to launch it with a gateway.

Error: [string "?"]:35: attempt to index a nil value (global 'Font')


edit
I was able to load it from the homebrew menu via ninjahx, works great. But still I couldn't launch the 3DS file via gateway. Also, I hate to ask but the movie converter app is 64-bit only?

Seems you imported an old version of lpp-3ds. Try to re-download v.0.3 and check if re-importing CIA could solve the problem.

For video converter, currently i have only a 64 bit OS and my VMware Workstation license expired so i cannot compile for other systems.
Anyway, you can find sources in vid2jpgv RAR archive so you can easily compile it by yourself with gcc.
 

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
I read somewhere that someone makes a new graphic lib with more speed
try it

Using GPU for dynamic rendering is shitty cause you have first to decode JPEG frame with CPU, after you have to convert it to GPU texture and after you have to blend it on framebuffers. Is slower than CPU rendering.
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,034
Country
United States
Using GPU for dynamic rendering is shitty cause you have first to decode JPEG frame with CPU, after you have to convert it to GPU texture and after you have to blend it on framebuffers. Is slower than CPU rendering.
There is a pull request for ctrulib that adds some block encode flags to the gx buffer transfer functions. I am wondering if these can be used to transfer textures and or frame buffers. Have not tried it myself.
 

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
There is a pull request for ctrulib that adds some block encode flags to the gx buffer transfer functions. I am wondering if these can be used to transfer textures and or frame buffers. Have not tried it myself.

Probably the only way to make GPU rendering faster for these things is to decode frames directly through GPU and not through CPU but at this stage is kinda impossible.
 

kheldar

Well-Known Member
Member
Joined
Jul 4, 2014
Messages
522
Trophies
0
XP
420
Country
Hey a dumb question which is probably answered before but why I can't run this on my n3ds emunand which is on 9.5? I installed the cia file and all i get is a black screen then i have to force shut down the console.
 

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
Hey a dumb question which is probably answered before but why I can't run this on my n3ds emunand which is on 9.5? I installed the cia file and all i get is a black screen then i have to force shut down the console.

Have you read the readme for installation?
 

samux

New Member
Newbie
Joined
Jan 30, 2008
Messages
1
Trophies
1
XP
226
Country
France
I have a strange bug with the video player
if i do not play a video in vorbis stereo before any other video, sunshell freeze
Tested with an .avi and .mp4

[email protected] HQ, 2ch Vorbis 44100 = OK
[email protected] HQ, 2ch PCM 44100 = Freeze with audio looping
[email protected] HQ, 1ch Vorbis 44100 = Freeze + An error has occurred forcing the software to close. The system will now restart
[email protected] HQ, 1ch PCM 44100 = Freeze and no video
[email protected] LQ, 2ch Vorbis 44100 = OK
[email protected] LQ, 2ch PCM 44100 = Freeze with audio looping
[email protected] LQ, 1ch Vorbis 44100 = Freeze + An error has occurred forcing the software to close. The system will now restart
[email protected] LQ, 1ch PCM 44100 = Freeze and no video


System : O3DS 9.0.0-20E
Ninjhax 1.1b
Sunshell 0.3
 
  • Like
Reactions: Rinnegatamante

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
I have a strange bug with the video player
if i do not play a video in vorbis stereo before any other video, sunshell freeze
Tested with an .avi and .mp4

[email protected] HQ, 2ch Vorbis 44100 = OK
[email protected] HQ, 2ch PCM 44100 = Freeze with audio looping
[email protected] HQ, 1ch Vorbis 44100 = Freeze + An error has occurred forcing the software to close. The system will now restart
[email protected] HQ, 1ch PCM 44100 = Freeze and no video
[email protected] LQ, 2ch Vorbis 44100 = OK
[email protected] LQ, 2ch PCM 44100 = Freeze with audio looping
[email protected] LQ, 1ch Vorbis 44100 = Freeze + An error has occurred forcing the software to close. The system will now restart
[email protected] LQ, 1ch PCM 44100 = Freeze and no video


System : O3DS 9.0.0-20E
Ninjhax 1.1b
Sunshell 0.3

Thanks for your report, i'll watch all luaVideo src and check where is the problem.

EDIT: Issue found and solved ;)
 

Chrisser_75

Well-Known Member
Member
Joined
Dec 12, 2014
Messages
264
Trophies
0
Location
Germany
XP
321
Country
Germany
Lollimod Theme
for Shunshell 0.3: by Chrisser(An Android 5, aka Lollipop, based theme)

Features:
- Flat Design Icons
- Transparent PNG icons
- Original Android 5.0 "alarm.ogg"
- Material Design And Colors
- Geometric Background (15% more dimmed for 2nd screen)
- Original "Roboto Condensed Regular" Font From Android 5.0
- With "HOW TO.txt"!

Screenshot:
lptnsw4Q


Download from Dropbox

(275 KB)
 

Idaho

Well-Known Member
Member
Joined
Oct 3, 2013
Messages
885
Trophies
1
Age
29
XP
1,418
Country
France
Cool looking theme

It's nice but could you release a version without the things that clearly relate to android, like the bugdroids on certain icons and the play store icon? We clearly know the 3DS can't run android, I think it's silly to make it look like it, even though I think if the android related stuffs are removed it could be a really nice theme.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    +1
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87... +1