Message Board


Message Board > Fenix / Bennu / Gemix / DIV > Quickstart

January 9, 2006, 19:11
Sandman
F3n!x0r
1194 posts

Right, I've been thinking about this for some time and I've decided to start it. But first I need good content, so if anyone has something he knows is a bit tricky or something he/she had trouble with, please post it. Any advice is welcome.

I think I'll keep a summary of things in this top post, seems handy.

Please note that I use 0.84a, while 0.83 can be handled as well, I'm not handling 0.84b

Current Items
- Some fancy introduction, etc, etc, etc. what/why/etc
- How FXI and FXC work
- Basic setup using any text editor and command.com or cmd.exe or a file explorer
- Setting it up in ConTEXT
- Tips, tricks and hints (post those too if you know any)
- Bugs and their work arounds (idem, work arounds not obligatory)
- Differences with DIV (maybe)

Current Tips, tricks and hints
- drawing (difference between drawing_z() and drawing_map() and their consequences)
- using includes

Current Bugs and their work arounds
- first local you define becomes corrupt
workaround: define a first local and dont use it.
- strings in large switches will cause failure
workaround: use a lot of IF()s

[Edited on January 9, 2006 by Sandman]
____________
BennuWiki
Yes, my avatar has grey borders in IE (so get a decent browser)
ROOFLEZ ROOFLEZ
#
January 9, 2006, 19:16
Sandman
F3n!x0r
1194 posts

Quoting Caspah:
sandman what have i done wrong (clicky)? ive got these settings, restarted context, but f10 still gives me a "no user defined function, please go to options->environment options" error

Yes, you must lose the dot in ".prg" so it will say "prg", tripped over that myself too, I'll state that clearly in the readme and the coming quickstart. :)

[Edited on January 9, 2006 by Sandman]
____________
BennuWiki
Yes, my avatar has grey borders in IE (so get a decent browser)
ROOFLEZ ROOFLEZ
#
January 9, 2006, 20:50
Rincewind
programmer
1545 posts

Good luck fellow. :thumbs:
____________
Personal website: http://www.loijson.com
#
January 10, 2006, 04:54
Woody
HEAD BLACK MAN
722 posts

Awesome idea.
____________
boredome is the bitter fruit of too much routine
#
January 14, 2006, 09:51
Caspah
Gladiator
203 posts
thanks sandman, f10 now works, but i have another problem, everytime i run a program it deletes the fxi and fxc files and i have to copy them back into the fenix folder from a backup. This gets excessively annoying, is it necessary for the batchfiles to delete the fxi and fxc?
____________
"clowns to the left of me, jokers to the right. here i am, stuck in the middle with you." ~Stealers Wheel
#
January 14, 2006, 13:40
PEader
お前はもう死んでいる
1486 posts

Quoting Caspah:
thanks sandman, f10 now works, but i have another problem, everytime i run a program it deletes the fxi and fxc files and i have to copy them back into the fenix folder from a backup. This gets excessively annoying, is it necessary for the batchfiles to delete the fxi and fxc?

Edit the batch file so that it copies and renames rather then just renames. I'm guessing here since I odn't know what the batch file containts.
____________
I see 57,005 people.
#
January 14, 2006, 14:20
Sandman
F3n!x0r
1194 posts

It is not necessary, but I did it to avoid having hundreds of FXI's and FXC's. You can edit the batchfiles to delete the lines causing the FXI and FXC to be deleted, but then you could also delete the copy lines. This way it will always use the same FXI and FXC and they won't get deleted.
Why do you want the FXI and FXC there anyway?

[Edited on January 15, 2006 by Sandman]
____________
BennuWiki
Yes, my avatar has grey borders in IE (so get a decent browser)
ROOFLEZ ROOFLEZ
#
January 14, 2006, 18:05
Caspah
Gladiator
203 posts
because if theyre not in the folder then it doesnt compile properly:
Code:
 
> Executing: C:\Program Files\ConTEXT\ConExec.exe "C:\Documents and Settings\User\Desktop\Fenix084-win32-binary\Fenix084-win32-binary\CompileAndRun.bat" 
"C:\Documents and Settings\User\Desktop\Fenix084-win32-binary\Fenix084-win32-binary\" "soccer_slime_pro.prg" soccer_slime_pro

Compiling "soccer_slime_pro.prg"...
The system cannot find the file specified.
The system cannot find the file specified.
'FXC.exe' is not recognized as an internal or external command,
operable program or batch file.
Could Not Find C:\Documents and Settings\User\Desktop\Fenix084-win32-binary\Fenix084-win32-binary\FXC.exe
Compiled "soccer_slime_pro.prg", executing...
'FXI.exe' is not recognized as an internal or external command,
operable program or batch file.
Could Not Find C:\Documents and Settings\User\Desktop\Fenix084-win32-binary\Fenix084-win32-binary\FXI.exe
> Execution finished.

____________
"clowns to the left of me, jokers to the right. here i am, stuck in the middle with you." ~Stealers Wheel
#
January 15, 2006, 14:07
Sandman
F3n!x0r
1194 posts

It seems that the batchfile is unable to copy the FXC and FXI and the only reason I can think of is that the wrong directory is specified (the xxxxxx dir).
____________
BennuWiki
Yes, my avatar has grey borders in IE (so get a decent browser)
ROOFLEZ ROOFLEZ
#
January 16, 2006, 15:43
Caspah
Gladiator
203 posts
hm its all spelled out right, im sure. but anyways i just removed the delete commands, and although it gives me a warning in the console that it cant copy over itself, it otherwise works fine, there arent hundreds of fxis and fxcs.
____________
"clowns to the left of me, jokers to the right. here i am, stuck in the middle with you." ~Stealers Wheel
#
January 16, 2006, 18:27
Sandman
F3n!x0r
1194 posts

I meant hundreds for each program/project you have i.e. each directory. Glad it works.
____________
BennuWiki
Yes, my avatar has grey borders in IE (so get a decent browser)
ROOFLEZ ROOFLEZ
#

Message Board > Fenix / Bennu / Gemix / DIV > Quickstart

Quick reply


You must log in or register to post.
Copyright © 2005 Booleansoup.com
Questions? Comments? Bug reports? Contact us!