Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

pagal2k2

need help again.

This topic is 5158 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

is there any one who can guide me how to make an exe programatically. hmmm, an example can be the exe generated of flash animation ... what i want is a very simple thing to explain. i want to provide an option in my project to generate an executable file, that can provide the user all the viewing features. and then no more need to carry the software on the other machine. clear? i think it should be clear. so please any one who knows any thing about it, guide me. Ahmed: having a mad soul...
<<-TAG: 3-D Architecture Guide (Sourceforge)->>

Share this post


Link to post
Share on other sites
Advertisement
What you should do is create an application that views a flash animation that is stored in a resource (like the standard resources like bitmaps and icons). I believe i read somewhere you can simply modify resources so i think you should look that up.

WWW.TREEPENGUIN.TK

Share this post


Link to post
Share on other sites
hmmm, a resourse DLL can be created and resources can be modified too. but this thing is a bit different, this is like injecting own code into an EXE. let me explain a little more. My Project is a modeling tool. a user can generate a model for its architecture(home etc...). the generated file can be opened only in TAG(My Project Name). what i want is provide an option to the user to generate an exe. and when any one runs that exe, he gets all the viewing features that tag provides(Drawing, modeling, walk through, etc...) with all the interactivity.In a broader sense, the generated exe will be an OpenGL+MFC based demo/program with user interactions through keyboard of menus. like in games a user can walk through architectures using keyboard or mouse. Difficult part is, i dont want to code each time complete openGL to provide an executable demo of architecture but i want it to be generated at runtime and carried away any where.
does this all makes any sense? or i should kill my wishes.



Ahmed: having a mad soul...
<<-TAG: 3-D Architecture Guide (Sourceforge)->>

Share this post


Link to post
Share on other sites
Well, as i said you could make a standard program that includes all that functions and all data stored in a recource (just a simple binary resource probably) and store it as some sort of dummy. When the user wants the exe, you can simply copy the file and then replace the default model (or world or however you''d call it) data with the requested. The program will automatically load the resource (which now contains the new data).
So, am i completely missing something or does it actually make sense?

Share this post


Link to post
Share on other sites
quote:
Original post by pagal2k2
Difficult part is, i dont want to code each time complete openGL to provide an executable demo of architecture but i want it to be generated at runtime and carried away any where.

This is the part I don''t understand. What do you mean with "code each time complete openGL"? If you do as Tree Penguin said you''ll have to code two programs: the modeler and the viewer. Now, if you have made reusable code the viewer should be quite easy to code as you have loading/rendering/etc. functions done already. Basically it''s just writing a simpler UI.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!