#148388 - dovoto - Sat Jan 05, 2008 5:18 am
[Updated]
A visual studio wizard for devkitPro Nintendo tool chains.
2_28_10:
Gave the tool a proper home:
http://pern.drunkencoders.com/screenshots-and-features-wiz/
_________________
www.drunkencoders.com
Last edited by dovoto on Sat Feb 27, 2010 8:01 pm; edited 8 times in total
#148774 - knight0fdragon - Thu Jan 10, 2008 5:21 am
ok dude, I found another problem, but I also found the fix to it
this pertains to 2k5 only,
as of right now, it is saying project creation failed
so to fix this, I have to open up Nintendo DS and GBA Project Wizard.vsz and change
Wizard=VsWizard.VsWizardEngine.9.0
to
Wizard=VsWizard.VsWizardEngine.8.0
to get it to work
Now I do not know how you are going to fix this in the installer, but it looks like you are going to have to determine the difference from 2k5 and 2k8
_________________
http://www.myspace.com/knight0fdragonds
MK DS FC: Dragon 330772 075464
AC WW FC: Anthony SamsClub 1933-3433-9458
MPFH: Dragon 0215 4231 1206
#148826 - dovoto - Thu Jan 10, 2008 10:35 pm
What i will likely do is make an installer for each version. Thanks for pointing that out (for some reason it works on 2k5 for me but maybe i have an older version hanging out).
I highly recommend upgrading to 2k8 when you have a chance.
_________________
www.drunkencoders.com
#148846 - knight0fdragon - Fri Jan 11, 2008 4:12 am
I have both versions installed
_________________
http://www.myspace.com/knight0fdragonds
MK DS FC: Dragon 330772 075464
AC WW FC: Anthony SamsClub 1933-3433-9458
MPFH: Dragon 0215 4231 1206
#148946 - theli - Sat Jan 12, 2008 11:37 am
knight0fdragon wrote: |
ok dude, I found another problem, but I ... |
tried and got the same problem ....
though after changing .vsz i still get "project creation failed"
#148956 - dovoto - Sat Jan 12, 2008 3:30 pm
theli wrote: |
knight0fdragon wrote: | ok dude, I found another problem, but I ... |
tried and got the same problem ....
though after changing .vsz i still get "project creation failed" |
What OS and What version of VS?
_________________
www.drunkencoders.com
#148957 - theli - Sat Jan 12, 2008 3:39 pm
dovoto wrote: |
theli wrote: | knight0fdragon wrote: | ok dude, I found another problem, but I ... |
tried and got the same problem ....
though after changing .vsz i still get "project creation failed" |
What OS and What version of VS? |
XP PRO SP2 VS2005
#148958 - dovoto - Sat Jan 12, 2008 3:43 pm
theli wrote: |
XP PRO SP2 VS2005 |
okay, i will take a look at that config.
_________________
www.drunkencoders.com
#148960 - dovoto - Sat Jan 12, 2008 3:53 pm
dovoto wrote: |
theli wrote: |
XP PRO SP2 VS2005 |
okay, i will take a look at that config. |
Odd it works for me (without changing the vesion line) although i do have 2k8 express installed so maybe it is finding the right wizard library...
I will have to poke around some.
In the meentime I recomend you upgrading to 2k8 express (its no issue to have it installed along side 2k5). 2k8 is much more responsive and about 5 times faster starting up.
If you do happen to go that route could you check if the wizard runs on 2k5 after you install 2k8 express so i can narrow down the cause of this bug?
Thanks for taking a poke an I will see if i cant get it straitened out.
_________________
www.drunkencoders.com
#148966 - tepples - Sat Jan 12, 2008 6:10 pm
A year ago?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#149058 - theli - Mon Jan 14, 2008 10:19 am
hm, wanted to reinstall (for 2k8) ... but installer says it is already installed ... and i can't deinstall it ... well ... i can possibly manually delete files and edit registry ...
but i can't do it autonatically (there is no wizard entry in "add remove programs")
edit: ok, i've found corresponding msi in WINDOWS\Installer and uninstalled
#149059 - theli - Mon Jan 14, 2008 10:28 am
dovoto wrote: |
If you do happen to go that route could you check if the wizard runs on 2k5 after you install 2k8 express so i can narrow down the cause of this bug?
|
its working in 2k5 after installing 2k8
#149081 - dovoto - Tue Jan 15, 2008 12:11 am
theli wrote: |
hm, wanted to reinstall (for 2k8) ... but installer says it is already installed ... and i can't deinstall it ... well ... i can possibly manually delete files and edit registry ...
but i can't do it autonatically (there is no wizard entry in "add remove programs")
edit: ok, i've found corresponding msi in WINDOWS\Installer and uninstalled
ts working in 2k5 after installing 2k8
|
Thanks...clears up why it works for me and not you.
And you can uninstall it from add remove programs (it is listed as setup.exe). This will be remedied when we switch to the production installer. Thanks for playing around with it.
_________________
www.drunkencoders.com
#149089 - knight0fdragon - Tue Jan 15, 2008 3:12 am
well it worked in 2k5 for me before I installed it, my guess is he didnt install it in the 2k5 path
_________________
http://www.myspace.com/knight0fdragonds
MK DS FC: Dragon 330772 075464
AC WW FC: Anthony SamsClub 1933-3433-9458
MPFH: Dragon 0215 4231 1206
#149092 - theli - Tue Jan 15, 2008 8:49 am
knight0fdragon wrote: |
well it worked in 2k5 for me before I installed it, my guess is he didnt install it in the 2k5 path |
than how could i see it when creating new Project? ;)
#149496 - fdn - Mon Jan 21, 2008 2:48 am
I'm running VS2005 and I had to modify the Nintendo DS and GBA Project Wizard.vsz file as well for the project creation to work. Everything was fine after that except that the Finish/Cancel buttons didn't show on the project creation window. I modified the default.htm file a bit and now everything fits.
#149520 - dovoto - Mon Jan 21, 2008 3:24 pm
fdn wrote: |
I'm running VS2005 and I had to modify the Nintendo DS and GBA Project Wizard.vsz file as well for the project creation to work. Everything was fine after that except that the Finish/Cancel buttons didn't show on the project creation window. I modified the default.htm file a bit and now everything fits. |
Weird. I will just make two installs, one for 2k5 and one for 2k8 in the final version.
What did you have to modify in default.htm?
And what version if IE do you have installed?
_________________
www.drunkencoders.com
#149579 - fdn - Tue Jan 22, 2008 7:48 am
For whatever reason the project dialog height wasn't enough to fit everything so the finish/cancel buttons were cut off. I just beautified it to make everything fit.
I have IE7 installed.
Here is the default.htm http://www.mediafire.com/?d1cjpuxzqwf
#149812 - Galgoneer - Fri Jan 25, 2008 4:35 pm
Thanks! This makes things very easy. I'm sure this easy project creating wizard will help me lot, when I am learning DS-programming.
#149894 - Mr Snowflake - Sat Jan 26, 2008 3:33 pm
Works in 2008 with me. To bad I don't have access to the 2008 pro... Normally the University has licences for its students :). But they are slow for 2008.
But what I wanted to say: You should make the labels for the bullets clickable, it's much more handy!
[edit]Another thing. Seems like the makefile is a bit old, or the patater makefile is just better :).
[Edit 2]Other than that: I love it :)!
_________________
http://www.mrsnowflake.be
#149896 - wintermute - Sat Jan 26, 2008 3:58 pm
Mr Snowflake wrote: |
[edit]Another thing. Seems like the makefile is a bit old, or the patater makefile is just better :).
|
Better in what way?
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog
#149901 - Mr Snowflake - Sat Jan 26, 2008 6:11 pm
Better as in: It has support for some more gfx types :). So a little copy-pasting solves it all.
_________________
http://www.mrsnowflake.be
#149910 - dovoto - Sat Jan 26, 2008 11:39 pm
Mr Snowflake wrote: |
Works in 2008 with me. To bad I don't have access to the 2008 pro... Normally the University has licences for its students :). But they are slow for 2008.
|
Yeah, i have 2k8 pro and havent even installed it over the express version as I havent had a reason to.
Mr Snowflake wrote: |
But what I wanted to say: You should make the labels for the bullets clickable, it's much more handy!
|
Should be doable...look for it in the final version.
Mr Snowflake wrote: |
[edit]Another thing. Seems like the makefile is a bit old, or the patater makefile is just better :).
|
Except perhaps for the most generic of file types the makefile rules should be added as neaded. Perhaps there is a cleaner way than cut and paste of each data inclusion rule for each file type but I dont think the solution is to stick in every possible file type in either. The template makefiles included in the wizard are from the official libnds release and will be updated from that source.
Mr Snowflake wrote: |
[Edit 2]Other than that: I love it :)! |
Thanks!
_________________
www.drunkencoders.com
#149939 - dovoto - Sun Jan 27, 2008 6:56 pm
fdn wrote: |
For whatever reason the project dialog height wasn't enough to fit everything so the finish/cancel buttons were cut off. I just beautified it to make everything fit.
I have IE7 installed.
Here is the default.htm http://www.mediafire.com/?d1cjpuxzqwf |
New version now includes this updated html, it looks much nicer thank you.
Also the current version now grabs the template source and makefiles from the examples directory so these examples must be installed.
_________________
www.drunkencoders.com
#151654 - dovoto - Sun Mar 02, 2008 12:09 am
Updated, now supports wii and cube and looks a bit nicer
_________________
www.drunkencoders.com
#163338 - evandixon - Mon Sep 29, 2008 11:12 pm
I have 2008, and whenever I try to create a DS Project
(I haven't tried other project types) an error message box says
"Object expected", then the project closes.
#163355 - dovoto - Tue Sep 30, 2008 1:41 pm
Do you have devkitArm installed? I thought I had it check this but perhaps i missed it.
Have used it a few times now on a few Windows versions and had no issues.
_________________
www.drunkencoders.com
#163569 - evandixon - Sun Oct 05, 2008 3:52 am
Thanks for the help, it works. Now all I have to do is learn C++ (I'm a VB guy)
#169437 - LOst? - Fri Jul 10, 2009 6:50 pm
evandixon wrote: |
I have 2008, and whenever I try to create a DS Project
(I haven't tried other project types) an error message box says
"Object expected", then the project closes. |
Getting the same problem. Downloaded "Nintendo DS Wizard Setup.msi" today. Was almost impossible to remove the old version without finding the old "Nintendo DS Wizard Setup.msi" file and run with /uninstall. Since Add/Remove programs doesn't include it.
Hours and hours of trying to find the right tools and libraries. All because gcc refuse to understand my portable C++ code that uses functional notation type casting >.<
int (variable); <- r24 doesn't understand this and r26 won't work with old libnds and your wizard.
if (signed int (unsigned_variable) < 0){} <- gcc: what the hell is "signed", I want ";" ?
of course if ((signed int) unsigned_variable < 0){} worked, but then i would have to rewrite way too many lines of portable code that already works with Microsoft's and Intel's compilers.
And the files are named ".cpp"
I even tried to rename template.c (in case gcc thought everything would be compiled as C) into template.cpp but powerON was ALSO defined as an inline (confusing stuff).
So to fix one problem, I just added 1000 more.
And http://www.drunkencoders.com has become a desert, with just news and no where to navigate. In all the chaos, MUST I register a user name to access tools?
Sorry, I just hoped to program a NDS demo today. That was my only goal.
_________________
Exceptions are fun
#169444 - dovoto - Sat Jul 11, 2009 1:36 am
LOst? wrote: |
evandixon wrote: | I have 2008, and whenever I try to create a DS Project
(I haven't tried other project types) an error message box says
"Object expected", then the project closes. |
Getting the same problem. Downloaded "Nintendo DS Wizard Setup.msi" today. Was almost impossible to remove the old version without finding the old "Nintendo DS Wizard Setup.msi" file and run with /uninstall. Since Add/Remove programs doesn't include it.
Hours and hours of trying to find the right tools and libraries. All because gcc refuse to understand my portable C++ code that uses functional notation type casting >.<
int (variable); <- r24 doesn't understand this and r26 won't work with old libnds and your wizard.
if (signed int (unsigned_variable) < 0){} <- gcc: what the hell is "signed", I want ";" ?
of course if ((signed int) unsigned_variable < 0){} worked, but then i would have to rewrite way too many lines of portable code that already works with Microsoft's and Intel's compilers.
And the files are named ".cpp"
I even tried to rename template.c (in case gcc thought everything would be compiled as C) into template.cpp but powerON was ALSO defined as an inline (confusing stuff).
So to fix one problem, I just added 1000 more.
And http://www.drunkencoders.com has become a desert, with just news and no where to navigate. In all the chaos, MUST I register a user name to access tools?
Sorry, I just hoped to program a NDS demo today. That was my only goal. |
:(
and no, registration does nothing but allow you to comment on things. The site is currently being restructured...long process it seems.
As for the removing the wizard you can use add/remove but its called "setup.exe" in the list for some reason...i have not had time to make a proper installer for it (it does nothing more than copy a few files)
Adding an option to support c++ (which only requires you rename the .c files .cpp) might be a good addition.
_________________
www.drunkencoders.com
#169468 - LOst? - Tue Jul 14, 2009 11:38 am
Anyway, got it to work now.
The solution was to install devkitPro from its installer. The problem was to find this installer.
Their website download page links to individual uploads of different projects, and not the installer! You have to manually edit the URL to go back one page, then install an older version, and let that older version auto-update into a new version.
Why does this have to be so hard?
Also it took me a full day of 8 hours to convert C++ type casting into C type casting for 12,000 lines of code! >.< Just because GCC (g++) doesn't understand proper C++. Now I know why there can never be world peace.
_________________
Exceptions are fun
#170452 - Rajveer - Sun Sep 27, 2009 1:45 am
This is great!
One issue though, if I move the created folder that contains the project and try to build, I get a "Couldn't reserve space for cygwin's heap" error. Moving the folder back into it's original place and I don't get the error. When I move the folder, the path is correct in the Properties window and I can open all files in the Solution Explorer (so everything seems to be relative to the folder's new position). Is there any way to make it independent of the folder's current position?
Using VC++ 2008 Express on Vista 64.
#170453 - DiscoStew - Sun Sep 27, 2009 5:59 am
A great feature for this (if it still gets updated, and if it is even possible) is to have the option that when you create the project, it will add folders and files containing the many header files for the specific platform.
I usually have to look back through the headers when I program, so I add a filter folder that contains subfolders for both the ARM9 and ARM7 (for NDS programming), and each contain the specific headers (like video.h for ARM9).
_________________
DS - It's all about DiscoStew
#170502 - dovoto - Tue Sep 29, 2009 8:40 pm
DiscoStew wrote: |
A great feature for this (if it still gets updated, and if it is even possible) is to have the option that when you create the project, it will add folders and files containing the many header files for the specific platform.
I usually have to look back through the headers when I program, so I add a filter folder that contains subfolders for both the ARM9 and ARM7 (for NDS programming), and each contain the specific headers (like video.h for ARM9). |
Not entirely certain i understand...it adds the default header files to the intelesence path...not sure where it would copy them to or what you would gain from this via just bookmarking the docs or the header file folder
_________________
www.drunkencoders.com
#172735 - dovoto - Sat Feb 27, 2010 8:02 pm
[Updated]
A visual studio wizard for devkitPro Nintendo tool chains.
2_28_10:
Gave the tool a proper home:
http://pern.drunkencoders.com/screenshots-and-features-wiz/
_________________
www.drunkencoders.com