G-Creator Forums: GMBED 2.0 beta test - G-Creator Forums

Jump to content

  • (8 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »

GMBED 2.0 beta test

#1 User is offline   TGMG Icon

  • G-Java creator
  • PipPipPipPipPipPipPip
  • View blog
  • Group: Admin
  • Posts: 2,193
  • Joined: 11-July 05

Post icon  Posted 17 July 2008 - 04:31 AM

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:
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:
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
[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!
0

#2 User is offline   Iruka Icon

  • Member
  • PipPip
  • View blog
  • Group: G-Java Members
  • Posts: 10
  • Joined: 24-February 07

Posted 17 July 2008 - 05:22 AM

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

-Iruka
0

#3 User is offline   Evilish Icon

  • Member
  • PipPip
  • View blog
  • Group: G-Java Members
  • Posts: 16
  • Joined: 01-April 08

Posted 17 July 2008 - 09:56 AM

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?
0

#4 User is offline   clemens Icon

  • Member
  • PipPip
  • View blog
  • Group: G-Java Members
  • Posts: 28
  • Joined: 07-July 08

Posted 17 July 2008 - 11:03 AM

Works like a charm! :)
Using Firefox 2.0.0.11.

Results can be seen here (under GAME PREVIEW):
http://<a%20href="http://www.inter...a></a>://http://
0

#5 User is offline   luiscubal Icon

  • Ultimate member
  • PipPipPipPipPipPip
  • View blog
  • Group: Admin
  • Posts: 1,829
  • Joined: 29-March 07

Posted 17 July 2008 - 12:15 PM

Quote

but it needs to be a GM exe

There must be a way around this.





0

#6 User is offline   TGMG Icon

  • G-Java creator
  • PipPipPipPipPipPipPip
  • View blog
  • Group: Admin
  • Posts: 2,193
  • Joined: 11-July 05

Posted 17 July 2008 - 02:27 PM

@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 :D

@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!
0

#7 User is offline   luiscubal Icon

  • Ultimate member
  • PipPipPipPipPipPip
  • View blog
  • Group: Admin
  • Posts: 1,829
  • Joined: 29-March 07

Posted 17 July 2008 - 02:49 PM

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





0

#8 User is offline   TGMG Icon

  • G-Java creator
  • PipPipPipPipPipPipPip
  • View blog
  • Group: Admin
  • Posts: 2,193
  • Joined: 11-July 05

Posted 17 July 2008 - 02:56 PM

because its a very different system.


All developers should subscribe to bug tracker open rss feed: Here!
0

#9 User is offline   luiscubal Icon

  • Ultimate member
  • PipPipPipPipPipPip
  • View blog
  • Group: Admin
  • Posts: 1,829
  • Joined: 29-March 07

Posted 17 July 2008 - 02:58 PM

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





0

#10 User is offline   TGMG Icon

  • G-Java creator
  • PipPipPipPipPipPipPip
  • View blog
  • Group: Admin
  • Posts: 2,193
  • Joined: 11-July 05

Posted 17 July 2008 - 03:16 PM

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!
0

#11 User is offline   Aslai Icon

  • Newbie
  • Pip
  • View blog
  • Group: G-Java Members
  • Posts: 1
  • Joined: 17-July 08

Posted 17 July 2008 - 04:52 PM

It fails on firefox 2.0.0.15

but works on 3.0.1
0

#12 User is offline   TGMG Icon

  • G-Java creator
  • PipPipPipPipPipPipPip
  • View blog
  • Group: Admin
  • Posts: 2,193
  • Joined: 11-July 05

Posted 17 July 2008 - 05:14 PM

@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!
0

#13 User is offline   clemens Icon

  • Member
  • PipPip
  • View blog
  • Group: G-Java Members
  • Posts: 28
  • Joined: 07-July 08

Posted 17 July 2008 - 06:19 PM

@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...
0

#14 User is offline   TGMG Icon

  • G-Java creator
  • PipPipPipPipPipPipPip
  • View blog
  • Group: Admin
  • Posts: 2,193
  • Joined: 11-July 05

Posted 17 July 2008 - 06:45 PM

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!
0

#15 User is offline   clemens Icon

  • Member
  • PipPip
  • View blog
  • Group: G-Java Members
  • Posts: 28
  • Joined: 07-July 08

Posted 17 July 2008 - 07:53 PM

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!
0

#16 User is offline   IsmAvatar Icon

  • Good Samaritan
  • PipPipPipPipPipPip
  • View blog
  • Group: Admin
  • Posts: 1,096
  • Joined: 29-July 05

Posted 17 July 2008 - 07:59 PM

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.
0

#17 User is offline   luiscubal Icon

  • Ultimate member
  • PipPipPipPipPipPip
  • View blog
  • Group: Admin
  • Posts: 1,829
  • Joined: 29-March 07

Posted 17 July 2008 - 08:42 PM

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





0

#18 User is offline   Bob the BlueBerry Icon

  • Gold member
  • PipPipPipPipPip
  • View blog
  • Group: Full G-Java Users (Donated)
  • Posts: 441
  • Joined: 06-February 08
  • Gender:Male
  • Location:Canada

Posted 17 July 2008 - 10:50 PM

View Postluiscubal, on Jul 17 2008, 05:42 PM, said:

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.
0

#19 User is offline   TGMG Icon

  • G-Java creator
  • PipPipPipPipPipPipPip
  • View blog
  • Group: Admin
  • Posts: 2,193
  • Joined: 11-July 05

Posted 17 July 2008 - 11:11 PM

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!
0

#20 User is offline   luiscubal Icon

  • Ultimate member
  • PipPipPipPipPipPip
  • View blog
  • Group: Admin
  • Posts: 1,829
  • Joined: 29-March 07

Posted 17 July 2008 - 11:28 PM

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





0

  • (8 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »


Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users