ActiveX, FLash, or Some sort of web browser plug in

Questions, comments and discussion about the Game Editor development.

ActiveX, FLash, or Some sort of web browser plug in

Postby MrScience101 » Fri Jun 05, 2009 2:34 am

Wow this code is amazing. Truly you are a superior programmer. Thank you for all the hard work you do markslane.

I was wondering if anyone could teach me how to make gameMakerWindows.bin ?

I think I have successfully compiled the code using both $(Professional) and $(Standalone).

The professional version results in a gameMaker.exe that works and is the standard game editor that we all know and love.

The standalone produces a gameMaker.exe that just opens up to a blank screen and then closes.

Any help on learning how to create a windows.bin file would be appreciated, especially since the windows.bin file I currently have does not create exe files correctly.

Thanks! :D
Last edited by MrScience101 on Sat Jun 13, 2009 12:44 pm, edited 1 time in total.
User avatar
MrScience101
 
Posts: 115
Joined: Tue Mar 20, 2007 9:52 pm
Score: 13 Give a positive score

Re: How to make a .bin file?

Postby makslane » Fri Jun 05, 2009 2:50 am

Look the function GameControl::CreateEngines()
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: How to make a .bin file?

Postby MrScience101 » Fri Jun 05, 2009 8:59 pm

Here it is:
void GameControl::CreateEngines()
{
#ifdef _DEBUG

ged_mkdir("bin");
Compression comp;

comp.DoCompression("gameEditorWindows.exe", "bin\\windows.bin");
comp.DoCompression("gameEditorPocket.exe", "bin\\pocketpc.bin");
comp.DoCompression("gameEditorLinux", "bin\\linux.bin");
comp.DoCompression("gameEditorPocket.exe.gpe", "bin\\gp2x.bin");

#endif
}

My question is how do you create the gameEditorWindows.exe file? I can't seem to find it anywhere in the directories.

If I understand it right all Create Engine does is take the gameEditorWindows.exe file and compresses it into windows.bin.

Thanks
User avatar
MrScience101
 
Posts: 115
Joined: Tue Mar 20, 2007 9:52 pm
Score: 13 Give a positive score

Re: How to make a .bin file?

Postby makslane » Fri Jun 05, 2009 9:53 pm

Read "To Compile the engines on Windows" in the the compilation instrucions:
http://code.game-editor.com/code/browse ... lation.txt
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: How to make a .bin file?

Postby MrScience101 » Sat Jun 06, 2009 1:08 am

Exactly. I have compiled the gameEngine project in both modes: $(Professional) and also $(Standalone_Pro)

Is the gameeditor.exe file created in standalone_pro, the same as gameEditorWindows.exe?

Do I need to rename gameEditor.exe to gameEditorWindows.exe so that I can then use CreateEngines()?

I am trying to create gameEditorWindows.exe and then get it to go into windows.bin :wink:

Thank you as always.


/////////////////////////////////////////////////////////////////////////
56 To Compile the engines on Windows:
57
58 In the Visual Studio 2008, choose the version you want to compile:
59
60 - View->Property Manager
61 - In gameEditor project , _BaseConfiguration of any configuration, in the User Macros put the configuration you want in the VersionType.
62 The configurations are: Professional and Standalone_Pro
63 For compile the engines, use: VersionType = $(Standalone_Pro)
64
65 - To compile the Pocket PC engine, select the 'Pocket PC 2003 (ARMV4)' configuration (you need to to get the PocketHAL library at http://www.droneship.com)
66
67 - To make a Pocket PC compilation works in the Pocket PC 2002, uses: /subsystem:windowsce,3.00 /MACHINE:ARM
68 In the MSVC 2008, this flag is not working so, the genarated executable have the windowsce 5.00 subsystem.
69 To solve this issue, you need a Portable Executable editor (PE Editor) to change the follow configuration in the Optional Header to:
70
71 - OS Major Version: 0004
72 - SubSys Major Version: 0003
73
74 - To compile for the GP2X select the 'Windows Mobile 5.0 Pocket PC SDK (ARMV4I)' configuration (you need to install the Windows Mobile 5.0 SDK for Pocket PC and have the devkitpro installed (http://www.devkitpro.org/))
75
76 - Build the gameEditor project (not the wxGameEditor project)
77
78 - Use the GameControl::CreateEngines() function to create the bin files from the compiled executables:
79 transforma os arquivos .exe em .bin compactados:
80
81 gameEditorWindows.exe -> bin\\windows.bin
82 gameEditorPocket.exe -> bin\\pocketpc.bin
83 gameEditorLinux -> bin\\linux.bin
84 gameEditorPocket.exe.gpe -> bin\\gp2x.bin
85
86
87
88 /////////////////////////////////////////////////////////////////////////
User avatar
MrScience101
 
Posts: 115
Joined: Tue Mar 20, 2007 9:52 pm
Score: 13 Give a positive score

Re: How to make a .bin file?

Postby makslane » Sat Jun 06, 2009 1:15 am

Yes, Just rename!
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: How to make a .bin file?

Postby MrScience101 » Sat Jun 06, 2009 9:30 pm

Brilliant! :D It works like a charm. Now that I finally have a working copy, I plan to try and learn how to make an ActiveX plugin for internet explorer. I personally use chrome, but I don't think chrome supports activeX. If I am successful, I will be sure to send you the code Markslane.

I also plan on making a video tutorial that shows how to compile the code successfully using Visual Studio.net 2008.

Thank you for all your help Markslane.

Now maybe I can stop being a leech, and start being a contributor.
User avatar
MrScience101
 
Posts: 115
Joined: Tue Mar 20, 2007 9:52 pm
Score: 13 Give a positive score

Re: How to make a .bin file?

Postby makslane » Sat Jun 06, 2009 9:40 pm

I'm waiting the first contribution to the code, yet :-(
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: How to make a .bin file?

Postby makslane » Sat Jun 06, 2009 9:41 pm

BTW, make a ActiveX port is perfectly possible, and will be welcome :-)
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: How to make a .bin file?

Postby MrScience101 » Sun Jun 07, 2009 12:29 am

Well then, maybe I will be the first to contribute :D Thanks for all your hard work.
User avatar
MrScience101
 
Posts: 115
Joined: Tue Mar 20, 2007 9:52 pm
Score: 13 Give a positive score

Re: How to make a .bin file?

Postby makslane » Sun Jun 07, 2009 12:34 am

Great!
Have you read this http://code.game-editor.com/ticket/9 ?
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: How to make a .bin file?

Postby makslane » Sun Jun 07, 2009 12:43 am

MrScience101 wrote:Well then, maybe I will be the first to contribute


You have no idea how much this words make me happy :-)
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: How to make a .bin file?

Postby jimmynewguy » Sun Jun 07, 2009 3:53 pm

makslane wrote:I'm waiting the first contribution to the code, yet :-(

ugh, i wish i could help (and i know i've said that a few times) but it took me forever to learn GE (and i'm still barely able to do stuff) it would probably take me 15+ years to understand how it was made, let alone help make it :lol: anyway, who runs the wiki? Or can anyone create topics? I might start contributing the onlyway i can :)
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Re: How to make a .bin file?

Postby makslane » Sun Jun 07, 2009 4:15 pm

Every contribution in the forum, wiki, chat, email or code is welcome :-)
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: How to make a .bin file?

Postby MrScience101 » Tue Jun 09, 2009 2:59 pm

Yes I have read that ticket. I am currently working on how to get an activex control to work with game editor files. It will probably take me some time though. I should probably attach my name to that ticket.
User avatar
MrScience101
 
Posts: 115
Joined: Tue Mar 20, 2007 9:52 pm
Score: 13 Give a positive score

Next

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron