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

  • Thread starter Thread starter Rinnegatamante
  • Start date Start date
  • Views Views 258,314
  • Replies Replies 1,054
  • Likes Likes 77
i looove sunshell! in the index i changed all teh jpg extention for png and i made all the icons with transparency and it looks great imo!..but..i cant make screenshot with ''L'' ..do i have to press something else?
 
I've created a new banner model. This time I removed the skydome and updated the banner texture to use the new one you currently use. I also added a post connecting the banner box to the ground so that it's not floating:



I've attached the banner file below. (it's enclosed in a compressed RAR file. Use WinRAR to extract it).

The file extension is BNR, but can be renamed to BIN. It all depends on how you pack your homebrew. ;)

If you want to replace the banner image displayed on the sign post model, you just need to replace the "bannerImage" texture inside the CGFX File. Probably not the most user friendly way of doing it. I can just build a new one with the updated Banner image if you want to use this and have to update the banner logo on the sign post mesh at a later date.
 

Attachments

I've created a new banner model. This time I removed the skydome and updated the banner texture to use the new one you currently use. I also added a post connecting the banner box to the ground so that it's not floating:



I've attached the banner file below. (it's enclosed in a compressed RAR file. Use WinRAR to extract it).

The file extension is BNR, but can be renamed to BIN. It all depends on how you pack your homebrew. ;)

If you want to replace the banner image displayed on the sign post model, you just need to replace the "bannerImage" texture inside the CGFX File. Probably not the most user friendly way of doing it. I can just build a new one with the updated Banner image if you want to use this and have to update the banner logo on the sign post mesh at a later date.


The banner is awesome!
Thanks for your work, i'll use it starting next alpha.
 
so hum..could you explain how to take screenshot in sunshell? because if i press ''L'', nothing happen.. is it working also for 3dsx version? is there something else i have to do to take a screenshot?
 
so hum..could you explain how to take screenshot in sunshell? because if i press ''L'', nothing happen.. is it working also for 3dsx version? is there something else i have to do to take a screenshot?

As i said, L is used to take a screenshot which will be saved in /DCIM/101NIN03.
 
IqFsKlE.png



Changed the icons
 
There is something wrong with the music module,
I played a wav music,and it makes noise at 20 secs.
ORGANNIZED 3D can play the same music well.
 
Yes, it support trasparency but not for JPG files. Only png/bmp files can contain alpha channel.

For Calendar not working, date must set before 1st January 2015 cause i use this date as startup to calculate current day:

Yes, it support trasparency but not for JPG files. Only png/bmp files can contain alpha channel.

For Calendar not working, date must set before 1st January 2015 cause i use this date as startup to calculate current day:
Code:
static int lua_getdate(lua_State *L){
int argc = lua_gettop(L);
if (argc != 0) return luaL_error(L, "wrong number of arguments");
u64 time = (osGetTime() / 1000) - 3629059200; // Time from 1st January 2015
u32 day_value = ((time / 86400) % 7);
u32 year = 2015;
u8 day = 1;
u8 month = 1;
u32 control;
if (year % 400 == 0 || (year % 100 != 0 && year % 4 == 0)) control = 31622400;
else control = 31536000;
while (time > control){
year = year + 1;
time = time - control;
if (year % 400 == 0 || (year % 100 != 0 && year % 4 == 0)) control = 31622400;
else control = 31536000;
}
bool extended = false;
if (year % 400 == 0 || (year % 100 != 0 && year % 4 == 0)) extended = true;
control = month_seconds[2];
while (time > control){
month = month + 1;
time = time - control;
if ((month == 11) || (month == 4) || (month == 6) || (month == 9)) control = month_seconds[0];
else if (month == 2){
if (extended) control = month_seconds[3];
else control = month_seconds[1];
}else{
control = month_seconds[2];
}
}
day = day + time / 86400;
lua_pushinteger(L,day_values[day_value]);
lua_pushinteger(L,day);
lua_pushinteger(L,month);
lua_pushinteger(L,year);
return 4;
}



3DSX homebrews can be launched only if you use 3DSX build like Imported CIA/Game Cartridge launching is available only for CIA/3DS build.
CIA homebrews doesn't have access to hb:HB service used to launch 3DSX files.
Why are you using the 1st of January 2015 as a reference? I though osGetTime() returned time since Jan 1st 1900.
 
As i said, L is used to take a screenshot which will be saved in /DCIM/101NIN03.

ok so, i'm able to do screenshot..
Sunshell.png

..thing is, since you can only make 1 screenshot at the time, it overwrite the screenshot everytime you take another one, unless you change the name, and, in my photo directory i already had a file named ''sunshell.''(i was trying something and i forgot to delete it..) ..but i dont know why screenshots didnt overwrite it when i pressed the ''L''..i mean, the file a made before was only ''sunshell.'' with no extension..but i dont know why it blocked my screenshots since its not even a .bmp!?...anyway.. now when i press ''L'' i get the screenshots so its all fine :P

questions/suggestions:
-is it possible to allow more screenshots? like, making in sort that each time you take a screenshot it uses a different name..like, the date maybe?..dont know if it would be possible..

..i was about to ask for the number bug on the clock but i see you've already deal with it for the next alpha :bow:

Great work! keep it up! :grog:
 
The banner is awesome!
Thanks for your work, i'll use it starting next alpha.

Thanks! The removal of the skydome gave me some free space to finally add the seashell. I also added your avatar icon as a texture to the sides of two of the cubes on the sand as bit of a Easter egg. :P

I've included the OBJ file of the model used and a compiled version of BannerTool. BannerTool was made by this guy here:

https://gbatemp.net/threads/homebrew-development.360646/page-168#post-5301359

The OBJ file and textures are attached as a RAR file below.

3DBannerAssets.rar

You may already have bannerTool, but I added it for convenience.

You'll also need EveryFileExplorer which is what you will use to build the CGFX file from the OBJ file. That should be easy to find on GBATemp if you don't already have it. BannerTool however is a little obscure as it doesn't have it's own thread right now. :P

Any time you want to change the "bannerImage" texture, you can simply replace the PNG with the new one. I made sure the model used the texture with the same resolution size that normal 3D banners use, so it's interchangeable with existing banner images.

You're also free to edit the model if you have a program able to do that. It's also a good reference point for when you might want to make 3D banners of your own.

BannerTool can also import a cwav to use as the startup jingle when the app gets selected in the home menu. The one I used is the boot up jingle from the DS/DS Lite. BannerTool can convert WAV files to CWAV for you so you can use any WAV you want. (just make sure the WAV file isn't too large. 22kHz 16-bit stereo seems to work fine for me)




Also, I did try and use the FTP module, but I couldn't connect to it. It would send the "hello" message. But after that it does nothing and the connection times out. I have attempted to use the FTP built into Windows to connect to it and also FireFTP. But both don't work. (But FireFTP doesn't even work with FTPony/FTBrony, so I'm not surprised by that. :P )
 
-snip-

Also, I did try and use the FTP module, but I couldn't connect to it. It would send the "hello" message. But after that it does nothing and the connection times out. I have attempted to use the FTP built into Windows to connect to it and also FireFTP. But both don't work. (But FireFTP doesn't even work with FTPony/FTBrony, so I'm not surprised by that. :P )


Rinne used ftpony source to build his lua module, that's probably why you can't get a stable connection with windows explorer. Try WinSCP. I use it and it works just fine.
 
Rinne used ftpony source to build his lua module, that's probably why you can't get a stable connection with windows explorer. Try WinSCP. I use it and it works just fine.

Personally, i use Filezilla as FTP Client and it works fine.

ok so, i'm able to do screenshot..
Sunshell.png

..thing is, since you can only make 1 screenshot at the time, it overwrite the screenshot everytime you take another one, unless you change the name, and, in my photo directory i already had a file named ''sunshell.''(i was trying something and i forgot to delete it..) ..but i dont know why screenshots didnt overwrite it when i pressed the ''L''..i mean, the file a made before was only ''sunshell.'' with no extension..but i dont know why it blocked my screenshots since its not even a .bmp!?...anyway.. now when i press ''L'' i get the screenshots so its all fine :P

questions/suggestions:
-is it possible to allow more screenshots? like, making in sort that each time you take a screenshot it uses a different name..like, the date maybe?..dont know if it would be possible..

..i was about to ask for the number bug on the clock but i see you've already deal with it for the next alpha :bow:

Great work! keep it up! :grog:

Yes, multiple screenshot system is easy to add, i'll add it in next alpha.
 
  • Like
Reactions: puss2puss

Site & Scene News

Popular threads in this forum