IPB

Welcome Guest ( Log In | Register )


The G-Creator forums are provided as a free service, so please consider donating.

Or remove this message and all forum ads forever by becoming a donated member
7 Pages V   1 2 3 > »   
Reply to this topicStart new topic
> GMBED 2.0 beta test
TGMG
post Jul 17 2008, 04:31 AM
Post #1


G-Java creator
*******

Group: Admin
Posts: 2,189
Joined: 11-July 05
From: UK (Scotland)
Member No.: 1



GMBED 2.0 beta 1
Rusky and I have been working on GMBED 2.0 and it is time for beta testing.

Improvements
The main improvement in gmbed 2.0 is that the exe no longer needs to be changed, but it needs to be a GM exe! Also the screen is automatically scaled to fit the page. the loading screen is also embedded better than it was.

Features

  • Embeds all GM games
  • Works flawlessly in Firefox, IE, Safari, Opera, AOL and others
  • No need to download anything
  • No changes need to be made to the files
  • Customizable
  • Parameter support
  • Can embed in your own website using html
  • Free to use
  • Only embeds required windows (loading and main screen)
  • Scales to fit width and height that you select


Warnings
This doesn't work well for exe's created specifically for gmbed 1.0, i.e ones modified by the gmk!!!!

Lets test
First test that it works for your computer:
CODE
http://www.g-java.com/gmbed/2.0/getgame.php?link=http://g-java.com/gmbed/example.zip&exe=example.exe

Try as many browsers as you can.

Now do it for your own game
next if you want to embed your own game just replace link and exe with the link to zip (HAS to be zip!) and the name of the exe to run from that zip.

The link has to be a direct link, so not linking to download pages otherwise it will download the download page.

Also you can embed this in your own website using an iframe, you can also change size using width and height variables to getgame.php file.

Windows 98/ME
If you want to support 98/ME and Vista using GM7 you need to get your users to download:
CODE
http://x86.neostrada.pl/KernelEx/
This is because GM7 games don't work on 98/ME without it and gm6 games don't work in vista.

Linux
If you want to support linux tell your users to open the browser and goto page using WINE.

Support GMBED
Please put this in your GMC/other gm forums signature
CODE
[url=http://forums.g-creator.org/index.php?showtopic=7243][img]http://img373.imageshack.us/img373/7294/ubd8553ka9.png[/img][/url]


Regards,
TGMG


--------------------


All developers should subscribe to bug tracker open rss feed: Here!
Go to the top of the page
 
+Quote Post
Iruka
post Jul 17 2008, 05:22 AM
Post #2


Member
**

Group: G-Java Members
Posts: 10
Joined: 24-February 07
From: Indiana, United States
Member No.: 1,201



Well, if all your example is a green screen, then it works fine for Firefox 3.0 and 3.0.1.

-Iruka
Go to the top of the page
 
+Quote Post
Evilish
post Jul 17 2008, 09:56 AM
Post #3


Member
**

Group: G-Java Members
Posts: 16
Joined: 1-April 08
Member No.: 3,459



Keeps crashing Firefox 3.0 for me. Tried multiple times
In Opera I just see the green screen.

Edit: Updated, works fine in Firefox 3.0.1.

Any plans to implement other exes? or should I just stick with v1?
Go to the top of the page
 
+Quote Post
clemens
post Jul 17 2008, 11:03 AM
Post #4


Member
**

Group: G-Java Members
Posts: 28
Joined: 7-July 08
Member No.: 3,782



Works like a charm! smile.gif
Using Firefox 2.0.0.11.

Results can be seen here (under GAME PREVIEW):
http://<a%20href="http://www.inter...a></a>://http://
Go to the top of the page
 
+Quote Post
luiscubal
post Jul 17 2008, 12:15 PM
Post #5


Ultimate member
******

Group: Admin
Posts: 1,829
Joined: 29-March 07
From: Portugal
Member No.: 1,322



QUOTE
but it needs to be a GM exe

There must be a way around this.


--------------------





Go to the top of the page
 
+Quote Post
TGMG
post Jul 17 2008, 02:27 PM
Post #6


G-Java creator
*******

Group: Admin
Posts: 2,189
Joined: 11-July 05
From: UK (Scotland)
Member No.: 1



@Iruka - Thanks for testing. it seems to have worked perfectly.
@Evilish - Well in opera it works, but I am not sure why it crashed for you and not for us.

@clemens - Well done you are the first person to get gmbed2.0 working apart from me and it works great in your case. I like the screen around it aswell. Good Job biggrin.gif

@luiscubal - I had a version where both worked but decided to split the projects into two, one optimised for GM games the other for exe's made in c++,c#,enigma etc.


--------------------


All developers should subscribe to bug tracker open rss feed: Here!
Go to the top of the page
 
+Quote Post
luiscubal
post Jul 17 2008, 02:49 PM
Post #7


Ultimate member
******

Group: Admin
Posts: 1,829
Joined: 29-March 07
From: Portugal
Member No.: 1,322



Why can't you have all EXEs working, while still optimized for GM?


--------------------





Go to the top of the page
 
+Quote Post
TGMG
post Jul 17 2008, 02:56 PM
Post #8


G-Java creator
*******

Group: Admin
Posts: 2,189
Joined: 11-July 05
From: UK (Scotland)
Member No.: 1



because its a very different system.


--------------------


All developers should subscribe to bug tracker open rss feed: Here!
Go to the top of the page
 
+Quote Post
luiscubal
post Jul 17 2008, 02:58 PM
Post #9


Ultimate member
******

Group: Admin
Posts: 1,829
Joined: 29-March 07
From: Portugal
Member No.: 1,322



A very different system? As far as I know, both use the windows.h API...


--------------------





Go to the top of the page
 
+Quote Post
TGMG
post Jul 17 2008, 03:16 PM
Post #10


G-Java creator
*******

Group: Admin
Posts: 2,189
Joined: 11-July 05
From: UK (Scotland)
Member No.: 1



With gm you have to embed both loading and runner form only, but for other game just embed all hwnds once.


--------------------


All developers should subscribe to bug tracker open rss feed: Here!
Go to the top of the page
 
+Quote Post
Aslai
post Jul 17 2008, 04:52 PM
Post #11


Newbie
*

Group: G-Java Members
Posts: 1
Joined: 17-July 08
Member No.: 3,819



It fails on firefox 2.0.0.15

but works on 3.0.1
Go to the top of the page
 
+Quote Post
TGMG
post Jul 17 2008, 05:14 PM
Post #12


G-Java creator
*******

Group: Admin
Posts: 2,189
Joined: 11-July 05
From: UK (Scotland)
Member No.: 1



@Aslai - Thats quite odd, can you please retest with firefox 2 (possibly different game)?


--------------------


All developers should subscribe to bug tracker open rss feed: Here!
Go to the top of the page
 
+Quote Post
clemens
post Jul 17 2008, 06:19 PM
Post #13


Member
**

Group: G-Java Members
Posts: 28
Joined: 7-July 08
Member No.: 3,782



@TGMG: Thanks, so far it's work in progress...

I've also tested with FF 3.0 under Ubuntu Linux, but it failed:
"File not found: http://<a%20href="http://g-java.co...a></a>://http:// message from Java-Applet...
Go to the top of the page
 
+Quote Post
TGMG
post Jul 17 2008, 06:45 PM
Post #14


G-Java creator
*******

Group: Admin
Posts: 2,189
Joined: 11-July 05
From: UK (Scotland)
Member No.: 1



It won't work under linux because gm games don't work under linux atm.


--------------------


All developers should subscribe to bug tracker open rss feed: Here!
Go to the top of the page
 
+Quote Post
clemens
post Jul 17 2008, 07:53 PM
Post #15


Member
**

Group: G-Java Members
Posts: 28
Joined: 7-July 08
Member No.: 3,782



But woldn't any java-applet work?

Nevertheless:
FF 2.0.0.16 doesnt do either.
It mentiones something of a missing file, I guess it cant find that from cache/temp?

UPDATE: Does load now, havent changed anything, but now everythings okay!
Go to the top of the page
 
+Quote Post
IsmAvatar
post Jul 17 2008, 07:59 PM
Post #16


Good Samaritan
******

Group: Admin
Posts: 1,092
Joined: 29-July 05
Member No.: 192



It's not just a java app, it's a java wrapper for a GM exe. It doesn't convert your game to java, just runs it natively.

Tried it on firefox 3.0.0, and it gave me a green screen. Not sure why Evilish is having trouble with it.


--------------------
|
My Website | Email Me

Weelky builds for LateralGM can be found here.
Go to the top of the page
 
+Quote Post
luiscubal
post Jul 17 2008, 08:42 PM
Post #17


Ultimate member
******

Group: Admin
Posts: 1,829
Joined: 29-March 07
From: Portugal
Member No.: 1,322



Maybe it should display a message "Windows-only" when it fails... I also wonder how hard would WINE-integration be.


--------------------





Go to the top of the page
 
+Quote Post
Bob the BlueBerr...
post Jul 17 2008, 10:50 PM
Post #18


Gold member
*****

Group: Full G-Java Users (Donated)
Posts: 441
Joined: 6-February 08
From: Canada
Member No.: 3,328



QUOTE (luiscubal @ Jul 17 2008, 05:42 PM) *
Maybe it should display a message "Windows-only" when it fails... I also wonder how hard would WINE-integration be.

As easy as:
CODE
new ProcessBuilder(new String[] {            (new StringBuilder()).append("wine ").append("\\")[...]});
But Game Maker games don't work too well in WINE, anyway.


--------------------
Go to the top of the page
 
+Quote Post
TGMG
post Jul 17 2008, 11:11 PM
Post #19


G-Java creator
*******

Group: Admin
Posts: 2,189
Joined: 11-July 05
From: UK (Scotland)
Member No.: 1



its not that easy, it uses win api to embed the windows. I don't even know if linux uses hwnds or if they have some kind of setparent function, if they do I will do a linux port.


--------------------


All developers should subscribe to bug tracker open rss feed: Here!
Go to the top of the page
 
+Quote Post
luiscubal
post Jul 17 2008, 11:28 PM
Post #20


Ultimate member
******

Group: Admin
Posts: 1,829
Joined: 29-March 07
From: Portugal
Member No.: 1,322



No it doesn't. Although Firefox under WINE should work.
X11 does not provide a MDI-like system.

Firefox is GTK+. Wine is X11.

---
It should support:
- Arguments


--------------------





Go to the top of the page
 
+Quote Post

7 Pages V   1 2 3 > » 
Fast ReplyReply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 8th February 2010 - 10:23 PM