Release of full source code of game & editor

As promised, here is the full source code of the last working version of the game & map editor. Note that didn’t cleaned it up and it’s provided ‘as-is’. The source of the game need DevkitPro r21 and the latest PALib community version to be compiled. The source of the editor need Visual Studio C# 2005 to be compiled (the sources for this one are very messy).

All source code is licensed under a slightly modified Zlib license, included with the sources.

Download sources

About these ads

~ by Noda on 25 April, 2008.

49 Responses to “Release of full source code of game & editor”

  1. the archive is corrupted

  2. thx, I’m reuploading it now ;)

  3. Un grand merci je v pouvoir lookké ça merci

  4. Anybody continue on with this project?

  5. hey uhmm.. just a little error that happened for me when i opened:
    ‘WTD Editor’.
    an error message appears and says:
    “The application failed to initialize properly (oxcoooo135). Click on OK to terminate the application.”
    is that because i dont have some java or certain thing for windows? please respond asap.
    thank you. :)

  6. oh sorry i forgot to mention earlier that i was trying to open in on my computer not my ds lol, and im using windows xp, so ye nothing flashy or fancy.

  7. wow man, im totally hooked at this game right now: StarCraft Flash Action 5

  8. Kool Warcraft Blog :)

  9. this games does not work. can u please help me?
    it loads up fine but i can’t find n e maps… theres an error.
    please reply asap.

  10. Has anyone picked up this project yet? I would love to but I have know idea how to code anything let alone model. If someone could link me to a tutorial on how to code I would do my best to improve this game. To the poster above me, are you using a card that auto dldi patches, if not dldi patch it and it might work.

  11. this is ri=ubish mmmmmmmmmmmmmmmmmmmmmooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo

  12. can sum1 show me a site where I can learn to code? I would love to pick up this project but have no clue on what to do.

  13. To pick up this project you need advanced coding skills, which require months or even years, not to mention that understanding an already started project it´s like getting in a deep swamp.

    Anyway, one of the best learning book it´s here for download: http://www.mindviewinc.com/Books/
    Look at the 2 volumes of “Thinking in C++”

  14. Well I guess I’m out of that category :( I love this game just wish I could make it better somehow. Love to see it move on further than get ported onto the next console (portable) oh well. Ty for reply though.

  15. My apologies for not replying earlier (I keep forgetting), but if all goes well, I’ll be starting a Computer Games Programming degree in September. I’d love to work on this project, but at the moment I have absouletely no expierence in C/C++ at all. :(
    I wouldn’t mind trying to hack something together at some point if I get chance.

  16. how do i setup warcraft ds i am confused since its a .rar file

  17. can anyone help me?

  18. Erm if he is in Paris, France i would gladly Help with the Multiplay stuff. Just email @ O_Chibi.At.Hotmail dotcom.
    I’m a Student in the university of PARIS 3. I know that this si so sudden, and perhaps to late. But I have just visit this page…so…
    IMO Your game is by far one of the greatest homebrew out there. Please if you need more support, Email me.

  19. In response to ds owner:
    You will probably need WinRAR (you can get a trial for free) to extract the RAR archive. You then might have to patch the .nds file with the right DLDI patch and copy it to your DS.

  20. ya winrar that shit

  21. Unfortuneately, my email accounts not behaving itself. Try emailing me by adding this to the end of my user name: 1.at.gmail(dot)com

  22. thank you Draugluin i really appreciate you help

  23. Thx!!
    I go to translate this game into spanish :D

  24. Did it work on r4??

  25. How do I convert RAR. files to NDS files?

  26. i hate rar files… make it a .zip file!!! >.<

  27. .zip was replaced by .rar a long time ago by those that are techno saavy. ;)

    For the people asking about RAR and how to open/convert. RAR is a compression much like ZIP. You can’t “convert” that to NDS. Do a google search for WinRAR and download the program. It’s shareware, but nothing is left out. Only thing is after a little while you’ll get a small annoying popup everytime you open it.

    Also, I don’t know if you guys have read the front page, but the person who started this homebrew has currently ceased supporting it. So asking him to change things may take a while

  28. For some reason my maps aren’t working, and I downloaded all necessary files, but the map doesn’t seem to be working =/

  29. Is this project being continued by anyone if it is best of luck to you I would LOVE it if you could add the multiplayer feature and about u needing ram why dont you use the ram expansion?

  30. Great work! :)

  31. how can I put these on my r4?

  32. ^
    or what file should I put inside?

  33. Putting it on the R4 is as easy as drag and drop. Works on my Acekard 2i.
    Unfortunately I found a couple small bugs that need to be addressed.

    1: Maps directory needs to be at the root of the card. (System looks for /Maps)
    2: If “/Maps not found” we can still hit play and the game freezes.

    I’m halfway thinking of doing the fix for issue 1, and doing a 0.5.1. Anyone else have any issues that I could easily fix?

  34. how do i download it to my ds?

  35. Hey, Noda
    I Would Make Multiplayer If I Knew How To Code Darn DS homebrew Games. Dang Java I Knew It Would Never Help Me! LOL. xD

  36. how do i download it ?
    wow shaman guide

  37. 555

  38. HAHAHAHAHAHAH, no but i’ve really quit on this project, its dead, outdated and old, i’ll probably work on a new one called warcraft mini, it’ll be a port from WoW, but that will be in 2010, that WILL have multi

  39. Well, i still think it’s really sad that this project has been abandoned=(=(

  40. It is sad that this epic game has been left :(, but i might make a remake of this game (if its okay with noda :) i’ll take the source code edit it remove all the known glitches add more music/maps + add wifi and some online forums for scores, and a ds2ds wifi battle PLUS ds2wifi2ds :), idk, i’m still looking for a new project, i used to code alot of games in java and compiled em, and host a server on my spare computer, so i could do the same for this, again IF ITS OKAY WITH NODA, anyways noda if your reading this, contact me (or i’ll contact you once i deside :P) and i might make a re-birth :)

  41. As said with the source code license, do whatever you want with it ;)

  42. I realize it might be a little late for this.. But I keep getting White Screened when I try to load on my DSTT (Firmware:1.17) I’m a huge fan of TD games and all these great posts made me really want this one, but I can’t seem to get it working.

  43. hay noda.have you every thought of making other homebrews?for
    insdance somthing like “atouchofwar”?
    i think that if you can bring a new homebrew out and about then u should…perhaps mabe make more sprites for the map editer?i duno.just from one TD fan to another if ya can you should

  44. Has anyone Worked on this Awesome TD More??

    I try to make maps but they crash for some reason, at different times during game play.

    Noda Are you still going to do more, Or are you done forever? If your going to do more work on these type of projects are you still needing more resources? Noda are you Koh Jing Yu on twitter? You working on phone apps now? If so what ones?

  45. Does anyone know if this game uses “interlacing” to produce the graphics? Can I play this Homebrew on my DSI XL and NOT have any chance of the causing image burn (screwed up screen)?

  46. Well I guess I’m out of that category I love this game just wish I could make it better somehow. Love to see it move on further than get ported onto the next console (portable) oh well. Ty for reply though.my blog .usagamezone.blogspot.com

  47. I keep getting an error message something like the following when i try to compile it, please help, if you can’t then could someone make a version that when you press and release “X” instead of “R” or “L” it will switch the screens?:

    >”make”
    ai.c
    In file included from c:/devkitPro/warcrafttd0.5source/include/arm9/PA_General.h:10:0,
    from c:/devkitPro/warcrafttd0.5source/include/arm9/PA_BgTiles.h:7,
    from c:/devkitPro/warcrafttd0.5source/include/arm9/PA_Text.h:9,
    from c:/devkitPro/warcrafttd0.5source/include/arm9/PA_GBFS.h:15,
    from c:/devkitPro/warcrafttd0.5source/include/PA9.h:19,
    from c:/devkitPro/warcrafttd0.5source/source/ai.c:7:
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h: In function ‘AS_ReserveChannel’:
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:331:5: error: ‘IPC’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:331:5: note: each undeclared identifier is reported only once for each function it appears in
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:331:5: error: ‘TransferRegion’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h: In function ‘AS_SetMasterVolume’:
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:337:5: error: ‘IPC’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:337:5: error: ‘TransferRegion’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h: In function ‘AS_SoundStop’:
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:370:5: error: ‘IPC’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:370:5: error: ‘TransferRegion’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h: In function ‘AS_MP3Pause’:
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:379:8: error: ‘IPC’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:379:8: error: ‘TransferRegion’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h: In function ‘AS_MP3Unpause’:
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:386:8: error: ‘IPC’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:386:8: error: ‘TransferRegion’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h: In function ‘AS_MP3Stop’:
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:393:5: error: ‘IPC’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:393:5: error: ‘TransferRegion’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h: In function ‘AS_GetMP3Status’:
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:400:12: error: ‘IPC’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:400:12: error: ‘TransferRegion’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h: In function ‘AS_SetMP3Volume’:
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:406:5: error: ‘IPC’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:406:5: error: ‘TransferRegion’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h: In function ‘AS_SetMP3Delay’:
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:413:5: error: ‘IPC’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:413:5: error: ‘TransferRegion’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h: In function ‘AS_SetMP3Loop’:
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:419:5: error: ‘IPC’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:419:5: error: ‘TransferRegion’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h: In function ‘AS_SetMP3Rate’:
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:425:5: error: ‘IPC’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/as_lib9.h:425:5: error: ‘TransferRegion’ undeclared (first use in this function)
    In file included from c:/devkitPro/warcrafttd0.5source/include/arm9/PA_BgTiles.h:7:0,
    from c:/devkitPro/warcrafttd0.5source/include/arm9/PA_Text.h:9,
    from c:/devkitPro/warcrafttd0.5source/include/arm9/PA_GBFS.h:15,
    from c:/devkitPro/warcrafttd0.5source/include/PA9.h:19,
    from c:/devkitPro/warcrafttd0.5source/source/ai.c:7:
    c:/devkitPro/warcrafttd0.5source/include/arm9/PA_General.h: In function ‘PA_PowerOff’:
    c:/devkitPro/warcrafttd0.5source/include/arm9/PA_General.h:47:2: error: ‘IPC’ undeclared (first use in this function)
    In file included from c:/devkitPro/warcrafttd0.5source/include/arm9/PA_BgTiles.h:7:0,
    from c:/devkitPro/warcrafttd0.5source/include/arm9/PA_Text.h:9,
    from c:/devkitPro/warcrafttd0.5source/include/arm9/PA_GBFS.h:15,
    from c:/devkitPro/warcrafttd0.5source/include/PA9.h:19,
    from c:/devkitPro/warcrafttd0.5source/source/ai.c:7:
    c:/devkitPro/warcrafttd0.5source/include/arm9/PA_General.h: In function ‘PA_CheckLid’:
    c:/devkitPro/warcrafttd0.5source/include/arm9/PA_General.h:308:7: error: ‘IPC’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/PA_General.h: In function ‘PA_SetScreenLight’:
    c:/devkitPro/warcrafttd0.5source/include/arm9/PA_General.h:385:2: error: ‘IPC’ undeclared (first use in this function)
    c:/devkitPro/warcrafttd0.5source/include/arm9/PA_General.h: In function ‘PA_SetLedBlink’:
    c:/devkitPro/warcrafttd0.5source/include/arm9/PA_General.h:402:2: error: ‘IPC’ undeclared (first use in this function)
    In file included from c:/devkitPro/warcrafttd0.5source/include/arm9/PA_GBFS.h:16:0,
    from c:/devkitPro/warcrafttd0.5source/include/PA9.h:19,
    from c:/devkitPro/warcrafttd0.5source/source/ai.c:7:
    c:/devkitPro/libnds/include/gbfs.h: At top level:
    c:/devkitPro/libnds/include/gbfs.h:39:2: warning: #warning gbfs is deprecated for nds
    In file included from c:/devkitPro/warcrafttd0.5source/include/PA9.h:21:0,
    from c:/devkitPro/warcrafttd0.5source/source/ai.c:7:
    c:/devkitPro/libnds/include/gbfs.h:39:2: warning: #warning gbfs is deprecated for nds
    In file included from c:/devkitPro/warcrafttd0.5source/include/PA9.h:53:0,
    from c:/devkitPro/warcrafttd0.5source/source/ai.c:7:
    c:/devkitPro/warcrafttd0.5source/include/arm9/PA_SpecialFx.h:7:0: warning: “REG_MOSAIC” redefined
    c:/devkitPro/libnds/include/nds/arm9/video.h:661:0: note: this is the location of the previous definition
    c:/devkitPro/warcrafttd0.5source/include/arm9/PA_SpecialFx.h:8:0: warning: “REG_BLDCNT” redefined
    c:/devkitPro/libnds/include/nds/arm9/video.h:664:0: note: this is the location of the previous definition
    c:/devkitPro/warcrafttd0.5source/include/arm9/PA_SpecialFx.h:9:0: warning: “REG_BLDALPHA” redefined
    c:/devkitPro/libnds/include/nds/arm9/video.h:666:0: note: this is the location of the previous definition
    In file included from c:/devkitPro/warcrafttd0.5source/include/PA9.h:58:0,
    from c:/devkitPro/warcrafttd0.5source/source/ai.c:7:
    c:/devkitPro/warcrafttd0.5source/include/arm9/PA_Keyboard.h:45:18: error: ‘Keyboard’ redeclared as different kind of symbol
    c:/devkitPro/libnds/include/nds/arm9/keyboard.h:98:2: note: previous declaration of ‘Keyboard’ was here
    c:/devkitPro/warcrafttd0.5source/include/arm9/PA_16c.h:483:7: warning: ‘PA_16c16X16Letter’ is static but used in inline function ‘PA_16cLetter’ which is not static
    c:/devkitPro/warcrafttd0.5source/include/arm9/PA_16c.h:61:2: warning: ‘PA_Plot8Pixels’ is static but used in inline function ‘PA_16c8pixels’ which is not static
    make[1]: *** [ai.o] Error 1
    “make”: *** [build] Error 2

    > Process Exit Code: 2
    > Time Taken: 00:20

  48. oh by the way, my source files folder is /warcrafttd0.5source/

  49. yar maina download to kar leye hai code lekin thori problam hai code mai!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

%d bloggers like this: