gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

OffTopic > Your programming environment

#2260 - peebrain - Fri Jan 31, 2003 10:16 pm

I'm just curious what everyone loads up when they start to program for GBA. I personally have DevKitAdvance, along with MS Visual C++ 6.0 for editing the code, then I compile it via a make script that I got from a tutorial. Then I test it out on the hardware via Flash linker. I use Paint and PhotoStyler for graphics, along with some custom tools to convert pics to C files.

What do you guys do?

~Sean

#2263 - XeroxBoy - Fri Jan 31, 2003 10:39 pm

I edit my code in VC++, compile using GCC and a make.bat file, test in VisualBoy Advance, and draw graphics in either Paint or Paint Shop Pro.

#2268 - ampz - Fri Jan 31, 2003 11:06 pm

GCC and a simple vanilla editor with syntax highlighting.

#2269 - Splam - Fri Jan 31, 2003 11:09 pm

GCC, UltraEdit 32, set of my own tools for sprite grabbing/drawing, animating, tile/level editor, wav converter etc etc

#2272 - Touchstone - Fri Jan 31, 2003 11:41 pm

I'm programming on an Apple iBook running Mac OS X using Apples (free! :) IDE Project Builder, which is built around the GNU toolset. I use the only gba GCC version I've found for OS X, which is 3.0.4.

I've written an OS X native mapeditor but it's not yet ready for a public release (hang in there Darkcloud, it will be soon :)

I'm currently looking into using Macromedia Director for creating cutscenes and other complex animations, writing a custom exporter plugin.

For testing stuff I use Boycott Advance when I'm on the road or an official devkit if I'm at work. I sure hope Visual Boy Advance for OS X will have GDB support soon though, that way I could do debugging when I'm out of town aswell, that would be great.

But what's most important, I load iTunes to play Slagsm?lsklubben, Tool, Ramones or De Lyckliga Kompisarna while programming. Music is important, see. :)
_________________
You can't beat our meat

#2282 - darkcloud - Sat Feb 01, 2003 3:02 am

I'm hangin' in there Touchstone.
I program on an Apple iMac (one of those hot new flat panel ones :), or sometimes my iBook (when I feel like lying down while programming), also using Project Builder.
I use Photoshop (trying to get version 7 for OSX compatibility) for editing my graphics.
I use Boycott Advance for testing, and for all the windows tools I need to run, I run them in Virtual PC.
_________________
Maybe in order to understand mankind, we have to look at the word itself: "Mankind". Basically, it's made up of two separate words - "mank" and "ind". What do these words mean ? It's a mystery, and that's why so is mankind.

#2285 - Lord Graga - Sat Feb 01, 2003 11:12 am

I use Textpad, a great text-editor with markups (C and ASM) and other good stuff...
When i have wrote a C program i just save it and run makeme.bat from the current posision of the project...
When i have wrote a ASM program i just press CTRL+1 to compile and CTRL+2 to play it in Visualboy Advance.

#2291 - JonH - Sat Feb 01, 2003 2:45 pm

just plain old notepad for me

#2297 - Sweex - Sat Feb 01, 2003 4:37 pm

Notepad?? Are u torturing yourself?;-)

Anyway, I'm using VC for editing, custom makefiles for building, visualboy advance for testing adn usually photoshop for graphics... (And occasionally testing on hardware using flashlinker)

#2318 - JonH - Sun Feb 02, 2003 12:49 am

Sweex wrote:
Notepad?? Are u torturing yourself?;-)


whats wrong with notepad! its quick (the old SendTo->Notepad, i love it!), plus it doesn't have a damn splash screen when it loads up! ;)

#2324 - peebrain - Sun Feb 02, 2003 2:49 am

The original point of this topic was to give me ideas on what environment to use because I didn't like my current setup. I found a good one... I now use HAM (not HAMlib, theres no way in hell I'll allow something to put an intro screen on my work). And I use ConTEXT to edit the source. It's working really good :-D.

And notepad sucks unless you're doing a quick patch job that takes 2 seconds. There are a ton of great editors out there that don't have a splash screen and load just as quick as notepad. I use PFEdit32 personally and FRHexEdit. And you can stick shortcuts into c:\windows\sendto (win95/98) or c:\documents and settings\user\sendto (for XP... I think) so you can Right Click->Send To it.

~Sean

#2330 - JonH - Sun Feb 02, 2003 3:35 am

but it just doesn't have that "SendTo->Notepad" ring to it! ;)

i am a notepad protagonist - many have tried, yet many have failed... i will not be moved! just what is wrong with notepad?! it accepts key presses from the keyboard, interprets them into ascii characters into a window, and hey presto i can save it as a text file, or rename it to .c, .cpp or .asm! if i want to replace something i go to "edit->replace", or if i want to go to a line i just do a "edit->goto" :) and i already know how to spell, so i don't need it to change all the keywords to a different colour (black is fine ;) )

what more do i want?!

#2334 - tepples - Sun Feb 02, 2003 3:59 am

For editing, I use MS-DOS Editor in Windows 2000. It's like notepad with rudimentary support for code indenting.

For graphics, I use GIMP and my own converter, which even takes into account the GBA's dark screen by changing the palette's gamma.

For building, I use a hand-edited makefile. I use notepad to make this because MS-DOS Editor converts tabs to spaces, which is a no-no in makefiles.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#2354 - imikeyi - Sun Feb 02, 2003 11:57 am

The main problem with notepad is it doesn't have smart tabbing.
I use Kate for editing, because it lets you open multiple source files at once. I compile with GCC (DevKitAdvance). I debug with the VBA debugger. And it's all done in beautiful linux :)
_________________
microkernel advance

#2409 - peebrain - Mon Feb 03, 2003 7:26 am

Notepad sucks because:
1. Tabs are 8 spaces width. That's nuts. I prefer 4.
2. It only newlines on a \r\n - anything else results in blocks (VERY ANNOYING).
3. No search->replace (in win98)
4. Can only open one document at a time
5. Word-wrap is buggy in XP, and annoying otherwise
6. No syntax highlighting (ok... you could argue that it isn't necessary, but it is still nice to have)
7. Good luck printing.
8. No line numbers

I mean, why put up with ANY problems when you can get something else with zero problems and takes .00005 more seconds to load?

Don't get me wrong either, I use notepad a ton, especially for HTML. But I like Courier New and syntax highlighting for C++...

~Sean

#2424 - grumpycat - Mon Feb 03, 2003 7:22 pm

I use cygwin tools on XP. I use XFree86 full-screen with fvwm2, xterm and vi. I use make to compile and ctags to find symbols. Been using X for around 15 years, both at school, work and home, and I'm much more comfortable editing 8 files simultaneously under X than I am under MS DevStudio - although I do us VC++ for occaisional Windows projects.

For graphics I use MS Paint and PaintShop Pro. I played with Tile Studio for a bit, but I haven't used it in a project. I haven't used a sprite editor either. I don't have an artistic eye, so I couldn't really get much out of these tools anyway.

For sound effects I've used "Quack!", which is an object-oriented synthesizer (icons represent wave generators, filters, etc and you join them together to form complex sounds). It works quite well.

Grumpy.

#2429 - Torlus - Mon Feb 03, 2003 9:07 pm

For Windows users :

Have a look at Vim for text editing http://www.vim.org. It brings syntax-hilight for lots of languages, and a lot of features.
But, as grabbed from its website :

"Vim isn't an editor designed to hold its users' hands. It is a tool, the use of which must be learned. "

I you work in both a UN*X/Linux and Windows environment, and use C and ASM for your GBA stuff, I think it's a great tool.
And for those who plan to come to Linux, for GBA development or everything else, this could help :)

#2565 - Jaywalk - Thu Feb 06, 2003 6:29 pm

Devkitadvance for compiling, VisualBoyAdvance and BoycottAdvance for testing, NASM for INCBINning all my data into object files (I decided that converting data files into C headers is such a clumsy solution), notepad, and a couple of other tools I find or make as I need them.

Yes, notepad is annoying for anything more than a quick page or 2 of coding. The Win2K notepad is infinitely better than previous versions, but it still really really needs:
-configurable newlines
-configurable tabs
-delete-next-word key (Ctrl+Del still deletes the rest of the line)
-delimiters on punctuation, not just spaces
-autoindentation

It took them long enough to get Win2K notepad, but at least it has:
-line numbers in the status bar
-Replace and Go-To-Line functionality
-Shortcut keys for open, save, search, replace, and go to line.

Anyway, now that I finally have access to the internet again I will look for a replacement for notepad or maybe an appwizard for VC which lets me use GCC.

edit: just configured MS VC++ for gcc. Much better than notepad :)


Last edited by Jaywalk on Mon Feb 10, 2003 6:59 am; edited 2 times in total

#2571 - I.C.E - Fri Feb 07, 2003 1:21 pm

Here I go :)

Editing: xemacs (cc-mode with auto-hungry-state)
Compiling: gcc + make
Debugging: gdb + ddd + VisualBoyAdvance (and soon real GBA)
Graphics: gimp + ProMotion + gfx2gba

I do nothing with sound, therefore no sound editing tools.

#2609 - Paul Shirley - Sun Feb 09, 2003 1:08 am

removed

Last edited by Paul Shirley on Sun Mar 28, 2004 9:58 pm; edited 1 time in total

#2647 - Music Is Math - Mon Feb 10, 2003 12:46 am

editplus is nice. I use it at work a lot. myself I have a preference for borland products (wordstar key commands) but good old VS.net has been pretty good too. MS finally made a halfway decent ide. Notepad works too. about all I use it for is slogging through html that someone else wrote. edit plus is pretty good for java, xml, etc. Most of my home tools are written in delphi 3 (that last legit copy of a language I have had at home). C# is pretty cool - not quite as annoying as java but should work pretty well for writing tools.

#2707 - pollier - Tue Feb 11, 2003 6:32 am

I use the latest beta of Dev-C++ for an IDE and interface to my GCC compiler, as the latest betas have options to change your compiler mode--however, I had to make a little include file to get the pregenerated makefile Dev-C++ makes to work, and assembly files must be manually entered in. Eventually I hope the process will be effortless (and lists of O files are already automatically generated) but I'll need to write a program for scanning source files for dependencies and a better way of doing the .s files.

Getting back on topic, I use VisualBoyAdvance and a 64M Xtreme Flash cart for testing, and I'm considering switching to Insight/GDB.
_________________
(Works for me!)

#2708 - pollier - Tue Feb 11, 2003 6:34 am

[argh double posting and SQL errors]

#3648 - superx10 - Tue Mar 04, 2003 12:43 am

ha! i use the dumbest software! i edit w/ notepad, i compile w/ gcc and a make.bat file, and i do graphics is... MS PAINT!!! all else said, my stuff really doesnt come out that bad...
_________________
"Two wolves are fighting. One wolf is all evil, hate, jealousy and discontent, and the other good, love, happiness and is content." "Sounds like a tough battle. Who wins?" said the old man. “The one I feed”

#4274 - niltsair - Wed Mar 26, 2003 11:41 am

And what do you do on : Error on line 543 in main.c ?
Count the lines one by one?

Also by using a Dev Ide(such as VisualC++) you can browse quickly your class, functions by merely double clicking them in a list, without need to load the file and scroll it.

#4425 - darkman - Sun Mar 30, 2003 10:35 pm

JonH wrote:
Sweex wrote:
Notepad?? Are u torturing yourself?;-)


whats wrong with notepad! its quick (the old SendTo->Notepad, i love it!), plus it doesn't have a damn splash screen when it loads up! ;)


yeah, i'm also using notepad cuz it's (1) fast, (2) nothing unnecessary is disturbing you ("special features") and last but not least (3) it's easy to use ;D

ok, i'm not serious... :)
but actually i use notepad for every kind of editing (except binaries ;D ).

my system is a notebook with 2.4 ghz p4, 512 ddr-ram (a fine tool you can work with even on a trip - and with the build in radeon it's also a cool gaming station... but, that's offtopic) and i also use devkitadvanced (gcc) with batches.

i use to create some custom tools (leveleditors 'n stuff) in delphi (pascal) and the free lcc-system (c).

... happy coding guys! :)

#4729 - Malefactor - Tue Apr 08, 2003 12:46 am

peebrain wrote:
3. No search->replace (in win98)
4. Can only open one document at a time
5. Word-wrap is buggy in XP, and annoying otherwise
7. Good luck printing.
8. No line numbers

3. I use notepad in 98 and it DOES have search and replace...
4. Multiple instances
5. 98, XP, pick an OS! y use wordwrap anyway?
7. Don't have a printer anyway
8. View, Status Bar
_________________
[Images not permitted - Click here to view it]

#4762 - jenswa - Tue Apr 08, 2003 8:04 pm

I use a notepad to write my code,
devkitadvance with a make.bat file for compiling
for graphics i use a basic paint program.
And visualboyadvance and boycottadvance for debugging.

Did i forget anything?

It's just basic and it works fine.

cheers,
_________________
It seems this wasn't lost after all.

#4883 - Malefactor - Mon Apr 14, 2003 3:53 am

oh yeah,
I've migrated to ConText
devkit advance with a batch file
gbarm
photoshop
VGBA
128 turbo
my trusty 600mhz gateway, networked to an hp for dial-up internet
(its pathetic but it works, besides it has almost none of the original parts I bought it with)
oh, and lots and lots of pizza!
_________________
[Images not permitted - Click here to view it]

#4892 - niltsair - Mon Apr 14, 2003 5:41 am

Pizza? You need food that you can eat using only one hand while you type with the other !!!! Such as chips, fries, intravenous liquid... :-)

#4893 - darkcloud - Mon Apr 14, 2003 5:44 am

You can eat pizza with one hand ;).
_________________
Maybe in order to understand mankind, we have to look at the word itself: "Mankind". Basically, it's made up of two separate words - "mank" and "ind". What do these words mean ? It's a mystery, and that's why so is mankind.

#4894 - lordmetroid - Mon Apr 14, 2003 5:49 am

I use devkitadv with either ultraedit winndows or anjota in linux...
Thought I prefer the linux enviornment, I'm forced to use windows as there is no VBA with "tools".
_________________
*Spam*
Open Solutions for an open mind, www.areta.org

Areta is an organization of coders codeing mostly open source project, but there is alot of sections like GBA dev, Language learning communities, RPG communities, etc...

#4899 - Paul Shirley - Mon Apr 14, 2003 10:22 am

removed

Last edited by Paul Shirley on Sun Mar 28, 2004 9:57 pm; edited 1 time in total

#4909 - Malefactor - Mon Apr 14, 2003 7:12 pm

one word - fork
_________________
[Images not permitted - Click here to view it]