Homebrew DS App Studio[FREE]

jceggbert5

Check out my hack, New Retro Mario Bros.
Member
Joined
Dec 1, 2008
Messages
1,003
Trophies
1
Age
28
Location
USA, Earth, MilkyWay
Website
romhaxor.bplaced.net
XP
749
Country
United States
Evo.lve said:
jceggbert5 said:
New preview!
*snip*

I am hand-coding this BTW, not using something like DreamWeaver or anything... Just Notepad++ and WampSERVER (for testing because I'm using PHP)

Looks good, but, uh, how's it different...?
Recoded, works on all* resolutions, cleaner, no javascript for buttons and such meaning it'll work on all browsers. All effects are done via CSS2. Not to mention that this has several less images to load, making it sorta 3G and Dial-Up friendly.

* anything below 640x480 will mess it up a bit, but it will still look decent
 

RoyalCardMan

DS App Studio™ Developer
OP
Member
Joined
Aug 11, 2010
Messages
628
Trophies
0
Age
34
Location
In the middle of gun fire.
Website
www.awsomisoft.com
XP
200
Country
United States
Okay, I have implemented 3D function, and now you can draw 3D cubes in your applications and games using the ogldrawcube(size1, size2, size3, size4, angle);.

Here are the available 3D functions:

Code:
start3D(displayx, displayy);

initcamera(soon will have variables for positioning the camera);

ogldrawcube(size1, size2, size3, size4, angle, soon will have argument for coloring cube);

Soon, I will be adding functions:

Code:
positioncamera(x, y, z);

Here is an example:

Code:
// Project Name: NDS App - AwsomiSoft - www.awsomisoft.com

// Description: this template is a very simple project it 
// contains the basic code for a DS App Studio application

// Version: 0.4.6

// whenever using 2D or 3D you must use the start2D or 2D function
start3D(256, 256);

// first, you must tell it to start the first form
startform("Form1");
wait();
endif();
// and this creates the form. To add another form, just
// do createform and in quotes the name of the form.
createform("Form1");
ÂÂÂÂÂÂ 
ÂÂÂÂÂÂ initcamera();
ÂÂÂÂÂÂ text(0, 0, "This is a 3D example using DS App Studio!", "bottom");
ÂÂÂÂÂÂ text(0, 10, "Renderer: OpenGL", "bottom");
ÂÂÂÂÂÂ loop();
ÂÂÂÂÂÂÂÂ ogldrawcube(1, 1, 1, 1, 40);
ÂÂÂÂÂÂ endloop();
ÂÂÂÂÂÂ 
endif();

And the out come is this:
shot1h.png
 

loco365

Well-Known Member
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
Ok. An issue. If I try to compile, and there is an error, and then I go back and correct the errors, No$GBA won't load another rom. And, if you quit the compiling process, the COMPILING window stays there, unless you double-click on the window.
 

RoyalCardMan

DS App Studio™ Developer
OP
Member
Joined
Aug 11, 2010
Messages
628
Trophies
0
Age
34
Location
In the middle of gun fire.
Website
www.awsomisoft.com
XP
200
Country
United States
I am still fixing that. It is a bug I am trying to fix. I will probably have it so no compilation dialog appears.

I am also working on the part where if there is an error on the first build, and it asks you the question, there will be a dialog saying, "No build could be started.".

Look at the previous post about the new 3D implementation for the next release.
 

loco365

Well-Known Member
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
RoyalCardMan said:
I am still fixing that. It is a bug I am trying to fix. I will probably have it so no compilation dialog appears.

I am also working on the part where if there is an error on the first build, and it asks you the question, there will be a dialog saying, "No build could be started.".

Look at the previous post about the new 3D implementation for the next release.
That is good with me. It's a real pain to have to uninstall the program, then reinstall it if I do something wrong. I'm trying to implement sound atm.

And, a mild suggestion, but alongside defining a color for the cube you rendered, why not also enable the option to use an imported image as a texture for the cube or defined shape?
 

RoyalCardMan

DS App Studio™ Developer
OP
Member
Joined
Aug 11, 2010
Messages
628
Trophies
0
Age
34
Location
In the middle of gun fire.
Website
www.awsomisoft.com
XP
200
Country
United States
Well, you don't need to uninstall it. It is just that you should to save space.

For sounds, you can load a sound by going to the Resources|Load Sounds and then go from there. Once you have created a sound(you can see in the workspace on the left to see if you added the sound) and then in the code put in the function playsound(the name in quotes of the sound to play).
 

RoyalCardMan

DS App Studio™ Developer
OP
Member
Joined
Aug 11, 2010
Messages
628
Trophies
0
Age
34
Location
In the middle of gun fire.
Website
www.awsomisoft.com
XP
200
Country
United States
Okay, I have advanced so much in these last two minutes. I have changed the initcamera function so that you control the direction of the camera, pitch, and the distance from the origin:

Code:
// Project Name: NDS App - AwsomiSoft - www.awsomisoft.com

// Description: this template is a very simple project it 
// contains the basic code for a DS App Studio application

// Version: 0.4.6

// whenever using 2D or 3D you must use the start2D or 2D function
start3D(256, 256);

// first, you must tell it to start the first form
startform("Form1");
wait();
endif();

// and this creates the form. To add another form, just
// do createform and in quotes the name of the form.
createform("Form1");
ÂÂÂÂÂÂ 
ÂÂÂÂÂÂ initcamera(0, 0, 70, 255, 191);
ÂÂÂÂÂÂ text(0, 0, "This is a 3D example using DS App Studio!", "bottom");
ÂÂÂÂÂÂ text(0, 10, "Renderer: OpenGL", "bottom");
ÂÂÂÂÂÂ loop();
ÂÂÂÂÂÂÂÂ ifbuttonpressed("A");
ÂÂÂÂÂÂÂÂÂÂ ogldrawcube(1, 1, 1, 1, 40);
ÂÂÂÂÂÂÂÂ endif();
ÂÂÂÂÂÂ endloop();
ÂÂÂÂÂÂ 
endif();

@Team Fail
I am still working on texturing. I am currently working on defined colors instead of using the RGB system, or the 1,2,3 system. There will be colors defined, but also there will be a function called rgb, which allows you to use the RGB system if wanted.

I am still working on the texture system, so it will increase in advancement.
 

RoyalCardMan

DS App Studio™ Developer
OP
Member
Joined
Aug 11, 2010
Messages
628
Trophies
0
Age
34
Location
In the middle of gun fire.
Website
www.awsomisoft.com
XP
200
Country
United States
Team Fail said:
RoyalCardMan said:
Well, you don't need to uninstall it. It is just that you should to save space.
What do you mean by that? I wouldn't be able to use DS App Studio, then.
What I meant is some people complain about their memory running less then before, so I said uninstall DS App Studio and reinstall it because I didn't think you would want endless folders that you didn't want.

Thanks for the compliment! Texturing is coming soon.
 

loco365

Well-Known Member
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
RoyalCardMan said:
Team Fail said:
RoyalCardMan said:
Well, you don't need to uninstall it. It is just that you should to save space.
What do you mean by that? I wouldn't be able to use DS App Studio, then.
What I meant is some people complain about their memory running less then before, so I said uninstall DS App Studio and reinstall it because I didn't think you would want endless folders that you didn't want.

Thanks for the compliment! Texturing is coming soon.
I always do that before a new version or a No$GBA fix.
 

RoyalCardMan

DS App Studio™ Developer
OP
Member
Joined
Aug 11, 2010
Messages
628
Trophies
0
Age
34
Location
In the middle of gun fire.
Website
www.awsomisoft.com
XP
200
Country
United States
Okay, I have made coloring for 3D shapes. There are two ways you can do it.
Either, you can do it the easy way, but are limited to colors, by doing this:
Code:
ÂÂÂÂÂÂÂÂÂÂ ogldrawcube(1, 1, 1, 1, 40, cl_pink);

Here are the available colors so far:
Code:
cl_red
cl_green
cl_blue
cl_yellow
cl_orange
cl_pink
cl_white 
cl_black

Here is some sample code that applies to this:
Code:
// Project Name: NDS App - AwsomiSoft - www.awsomisoft.com

// Description: this template is a very simple project it 
// contains the basic code for a DS App Studio application

// Version: 0.4.6

// whenever using 2D or 3D you must use the start2D or 2D function
start3D(256, 256);

// first, you must tell it to start the first form
startform("Form1");
wait();
endif();
// and this creates the form. To add another form, just
// do createform and in quotes the name of the form.
createform("Form1");
ÂÂÂÂÂÂ 
ÂÂÂÂÂÂ initcamera(0, 0, 70, 255, 191);
ÂÂÂÂÂÂ text(0, 0, "This is a 3D example using DS App Studio!", "bottom");
ÂÂÂÂÂÂ text(0, 10, "Renderer: OpenGL", "bottom");
ÂÂÂÂÂÂ loop();
ÂÂÂÂÂÂÂÂ ifbuttonpressed("A");
ÂÂÂÂÂÂÂÂÂÂ ogldrawcube(1, 1, 1, 1, 40, cl_red);
ÂÂÂÂÂÂÂÂ endif();
ÂÂÂÂÂÂ endloop();
ÂÂÂÂÂÂ 
endif();

Then there is the other way to do it, which is RGB system. Here is an example of how it would work:
Code:
ogldrawcube(1, 1, 1, 1, 40, "0, 0, 0"); // The cube color is black.

The ways you can find colors for RGB coding in the MS paint program by going to Colors|Edit Colors and in the dialog, select Define Custom Colors and there are three textboxes that are labeled Red, Green, and Blue.

Here is an example of how to use it in code:
Code:
// Project Name: NDS App - AwsomiSoft - www.awsomisoft.com

// Description: this template is a very simple project it 
// contains the basic code for a DS App Studio application

// Version: 0.4.6

// whenever using 2D or 3D you must use the start2D or 2D function
start3D(256, 256);

// first, you must tell it to start the first form
startform("Form1");
wait();
endif();
// and this creates the form. To add another form, just
// do createform and in quotes the name of the form.
createform("Form1");
ÂÂÂÂÂÂ 
ÂÂÂÂÂÂ initcamera(0, 0, 70, 255, 191);
ÂÂÂÂÂÂ text(0, 0, "This is a 3D example using DS App Studio!", "bottom");
ÂÂÂÂÂÂ text(0, 10, "Renderer: OpenGL", "bottom");
ÂÂÂÂÂÂ loop();
ÂÂÂÂÂÂÂÂ ifbuttonpressed("A");
ÂÂÂÂÂÂÂÂÂÂ ogldrawcube(1, 1, 1, 1, 40, "0, 0, 0");
ÂÂÂÂÂÂÂÂ endif();
ÂÂÂÂÂÂ endloop();
ÂÂÂÂÂÂ 
endif();

It doesn't really matter what system you use unless you are either a beginner at programming or an advanced person of programming. I use both personally.

Here is a screenshot of this compiled:
sadlp.png
 

notmeanymore

Well-Known Member
Member
Joined
Nov 29, 2009
Messages
2,700
Trophies
1
XP
711
Country
United States
Your program looks pretty awesome, and I'm glad it's free, but I'm having a bit of a problem.

Edit: due to D : being a smiley(
ohnoes.png
), I'll refer to my drive as E:\

Don't ask how this all happened, but I have 2 partitions on my harddrive. One is C:\ where next to nothing is stored, as it's only a 200mb partition. E:\ is where Windows and everything is else is stored.

I installed DS App Studio and it keeps giving me exceptions that it can't find the files it needs because it keeps checking the default install location in C:\ instead of E:\ where it's actually installed.

Is there a quickfix I can do for this or maybe could you fix it in an upcoming version? I'd be appreciative, thanks.
smile.gif
 

RoyalCardMan

DS App Studio™ Developer
OP
Member
Joined
Aug 11, 2010
Messages
628
Trophies
0
Age
34
Location
In the middle of gun fire.
Website
www.awsomisoft.com
XP
200
Country
United States
What is the drive that you install everything on?

I am making versions for Mac, D drive and C drive. It seems that people use more than the C: drive.

For now, you could install it on the C: drive until I release the new versions. It doesn't take much memory to use this program.
 

RoyalCardMan

DS App Studio™ Developer
OP
Member
Joined
Aug 11, 2010
Messages
628
Trophies
0
Age
34
Location
In the middle of gun fire.
Website
www.awsomisoft.com
XP
200
Country
United States
Yes, 3D model importing will work in the future versions.

It is just that this took a while because of the many vectors I had to deal with to make it such a simple function, or ogldrawcube, which works by the first 4 arguments being the sizes of the four sides of the cube.

Then, you can change the rotation, or angle argument, of the cube. The last argument is the color of the cube.

Now, I just have to make it so that you can import 3D models into DS App Studio and draw them in the application.

Right now, I am looking for a developer who would like to create a 3D modeler program that makes models, and then exports them as .bin.

Otherwise, I would recommend Blender as the program to use.

Here is the engine I am working on for DS App Studio. There will be a function called ogldrawmodel(name of the model in quotes)

enginez.png


Edit: I don't think the Nintendo DS uses any other renderer, but I was thinking about making the renderer something more advanced then OpenGL. The only limitation that would prevent advancement is the graphics of the Nintendo DS is very "poor" compared to other systems. Once I get DS App Studio homebrew compatible for the Nintendo DSi, the graphics will be better.

Besides graphics, I may be adding WIFI functions that will allow people to view webpages on the Nintendo DS using the wfiloadURL(address of URL);
The thing is, the Nintendo DS may need a Nintendo DS WIFI service in order to do this.
 

RoyalCardMan

DS App Studio™ Developer
OP
Member
Joined
Aug 11, 2010
Messages
628
Trophies
0
Age
34
Location
In the middle of gun fire.
Website
www.awsomisoft.com
XP
200
Country
United States
Yes, there will be animating for models, but to an extent.

The Nintendo DS has limited graphics memory and only can withstand so much. Simple animations, yes, but animations that require a lot of bones and stems may cause the game to crash.

But, in other words, yes there will be animation.
 

loco365

Well-Known Member
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
RoyalCardMan said:
Yes, 3D model importing will work in the future versions.

It is just that this took a while because of the many vectors I had to deal with to make it such a simple function, or ogldrawcube, which works by the first 4 arguments being the sizes of the four sides of the cube.

Then, you can change the rotation, or angle argument, of the cube. The last argument is the color of the cube.

Now, I just have to make it so that you can import 3D models into DS App Studio and draw them in the application.

Right now, I am looking for a developer who would like to create a 3D modeler program that makes models, and then exports them as .bin.

Otherwise, I would recommend Blender as the program to use.

Here is the engine I am working on for DS App Studio. There will be a function called ogldrawmodel(name of the model in quotes)

enginez.png


Edit: I don't think the Nintendo DS uses any other renderer, but I was thinking about making the renderer something more advanced then OpenGL. The only limitation that would prevent advancement is the graphics of the Nintendo DS is very "poor" compared to other systems. Once I get DS App Studio homebrew compatible for the Nintendo DSi, the graphics will be better.

Besides graphics, I may be adding WIFI functions that will allow people to view webpages on the Nintendo DS using the wfiloadURL(address of URL);
The thing is, the Nintendo DS may need a Nintendo DS WIFI service in order to do this.
This will be cool to see. What about importing models from Google Sketchup?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: It can act as a swap drive but that isn't more RAM, it's slooow.