3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1] 2

Author Topic: A Question about .exe load from computer to project  (Read 1898 times)

« on: September 29, 2012, 11:01:23 AM »
Hi all ! At start I'm say my english is not good, i have a question i work on my project on 3d rad and how i can do my project load an .exe file from computer ? It is be real for do ? For anything help im thanks.

I say clear i have a "Event on input" and i want it load .exe from computer.

EDIT: I have a 2 question can i do it the project can see files from computer something like Windows 1.0 ?

« Last Edit: September 29, 2012, 11:42:42 AM by Poland »

BorekS

« Reply #1 on: September 29, 2012, 12:04:29 PM »
hi, if you mean, you just wanna load any another 3drad compilled game, you can use the Event On Input + ExitFade where you fill the name of the second project to load on exit from your first project. this two projects you can put into the 3Drad Compiler together. some video of basic compiler usage here: http://www.youtube.com/watch?v=fOXyoC6JxBk

the 3drad compiler creates and folder with the (only) needed files. the created game .exe when starts, actually calls a .rup (run project) file, which includes the path to the .3dr file. that means the game is actually a project running in own 3drad player :-) �

the game file structure is fully accessible, search for "3D Rad\3DRad_res\compiledProject\". I am sure, you can see it with an old 8 character limited file manager, guestion is why...
« Last Edit: September 29, 2012, 12:11:30 PM by BorekS »
« Reply #2 on: September 29, 2012, 12:11:28 PM »
I'm very thanks but i want to load a .exe program not from 3drad to 3drad (I'm click on "Event on Input" it show sprite and it has a Event on input i click it and .exe from computer disk will show)   ;D but thanks for help it helps me a few ways.

Im try to make something like Windows 1.0 in 3drad (i know this is be hard but i'll try to make this)
« Last Edit: September 29, 2012, 01:29:46 PM by Poland »
« Reply #3 on: September 29, 2012, 01:39:43 PM »
Any one help ? is any one have an idea for this ? i want to open .exe from computer disk (not mkae on 3drad) it's be .exe on a desktop an i want to work it if i press button i 3drad.
« Reply #4 on: September 29, 2012, 06:23:04 PM »
well, there are these script commands
Code: [Select]
bool iCommand(string)
   Executes the specified Windows command (CLI).
   string = command to execute.
   NOTE: control will only go back to 3D Rad after the command has been completed.
   NOTE: this function opens an invisible CLI window, so, if you use it to directly
         launch an application, the application may be invisible as well. The
         workaround is launching a batch file instead, which in turn launches the application.

bool iCommandContinue(string)
   Like iCommand(), except that control will return immediately to 3D Rad's script, with the
   application working in the background, until it is closed by the user or it terminates by itself.
   NOTE: if the launched application cannot terminate by itself, you must use the intermediate
         batch file method (see iCommand() function above), otherwise closing it manually
         will not be possible, being it an invisible background application.

Currently using 7.22
« Reply #5 on: September 30, 2012, 01:16:25 AM »
Can you tell me it clearly ? I'm know something about this but hmm can you give me a example of this ?

I'm fast take things when it is be on example.

psikoT

« Reply #6 on: September 30, 2012, 02:15:57 AM »
I'm fast take things when it is be on example.

Then have a look at the 3drad projects folder... it's plenty of examples ;D
« Reply #7 on: September 30, 2012, 03:11:49 AM »
Read my posts and you will be know what this topic about  ;)

Edit: I have a clcok.exe and other applications(all be in one file .exe) on desktop and i want to run it in project in 3drad(and how to make it)  :)
I'm know i say it a lot of times but for clear view of problem  ;)
« Last Edit: September 30, 2012, 03:39:59 AM by Poland »
« Reply #8 on: September 30, 2012, 05:08:10 AM »
People i'm know you know the answer  :) but please tell me how to do it i'm very very need it fast.Maybe .bat files addons ? i don't know please help (i'm be in progress of my big project and i need it fast)

psikoT

« Reply #9 on: September 30, 2012, 05:19:23 AM »
I have a clcok.exe and other applications(all be in one file .exe) on desktop and i want to run it in project in 3drad

You can't run an .exe into a project in 3drad... you can run an .exe FROM a project, but 3drad will freeze while the exe is running, so better if you exit from the compiled project before launch the application.
« Reply #10 on: September 30, 2012, 05:25:40 AM »
I want to start program from project i click something(Event on input) in 3d rad and prgram is run did you know how to do it ? if yes please tell me.

Thats nothing "3d rad is freeze"
« Last Edit: September 30, 2012, 05:31:01 AM by Poland »

psikoT

« Reply #11 on: September 30, 2012, 05:34:32 AM »
just add a script to your project, link it to the EventOnInput and try to apply the above functions...
« Reply #12 on: September 30, 2012, 05:38:56 AM »
Thanks for information can you write a script here and tell me how to make this with script to work ?

I'm think i be smart and maybe can do it if you tell me without problems.
« Last Edit: September 30, 2012, 05:43:34 AM by Poland »
« Reply #13 on: September 30, 2012, 05:58:37 AM »
To my knowledge rad cannot open external windowed programs like you appear to want.
I suggest you leave trying to make 'something like windows 1.0' until you have a lot more experience and then use something like visual basic, rad is designed to make 3d games
sorry if thats not what you wanted to hear
« Reply #14 on: September 30, 2012, 06:00:49 AM »
I'm know this is not for "something like Windows 1.0" but i try to do it in 3d rad, and now i very need how to do it (read my post up)

Take me this script and i do this things i need with it
« Last Edit: September 30, 2012, 06:25:39 AM by Poland »
Pages: [1] 2