hugoloza / quake2-gwt-port Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/quake2-gwt-port
License: GNU General Public License v2.0
Automatically exported from code.google.com/p/quake2-gwt-port
License: GNU General Public License v2.0
For those having problems with :
Exception in thread "main" java.lang.NoClassDefFoundError
By reading in issues, i re-made a patch. Cause every diff HG files i did
generate #HUNK Failed while patching (patch -p0 < diff.file), i upload the 4
files re-made for last commit in November.
Well,
1. do the wiki build&running topic till step 3 (HG Clone ... done).
2.
Replace :
quake2-gwt-port/src/jake2/qcommon/FS.java by FS.java attached here.
and Replace :
quake2-gwt-port/src/jake2/tools/Installer.java + Unpak.java + WAVConverter.java
by files attached here.
3. Navigate in quake2-gwt-port and launch : ant run
4. Wait untill complete (maybe some host to get demo game are down or low, keep
in wait, it will try different hosts)
Enjoy playing!
Original issue reported on code.google.com by [email protected]
on 4 Dec 2010 at 11:24
Attachments:
The quake2-gwt-port needs to be updated for recent changes to WebGL
implementations:
1. Removal of the WebGL<T>Array type names in favor of those in the new
TypedArray spec.
2. Removal of the obsolete texImage2D and texSubImage2D entry points, and
separation out of UNPACK_FLIP_Y_WEBGL and UNPACK_PREMULTIPLY_ALPHA_WEBGL as
separate pieces of pixel storage state.
3. Required precision qualifier in fragment shaders.
The attached patch implements these changes. Unfortunately, things are still
not working in top of tree Chromium builds -- the screen is black. I would
appreciate some help tracking down the remaining issues.
Original issue reported on code.google.com by [email protected]
on 25 Aug 2010 at 1:16
Attachments:
What steps will reproduce the problem?
1. Attempt to bind MWHEELUP/DOWN or MOUSE3
What is the expected output? What do you see instead?
Scroll does nothing, MOUSE3 tries to do quick scroll.
What version of the product are you using? On what operating system?
Tip of trunk as of this post.
Please provide any additional information below.
Not sure if it is possible to hook these, should at least be possible to
hook and suppress MOUSE3 via document.onmousedown? Not sure, I've never
tried it.
There is a document.onscroll, perhaps this could be used somehow with a
window-sized transparent-background div with a hidden or off-screen
scrollbar? A bit of a hack though.
Original issue reported on code.google.com by megazzt
on 2 Apr 2010 at 10:48
What steps will reproduce the problem?
1. follow steps 1-4
2. enter ./run-dedicated-server (adding [port] will give me a error
message, saying it will use port and port+1 and not start
3. start chromium with --enable-webgl --enable-sandbox
What is the expected output? What do you see instead?
the game should start, exept it geives an error message saying webgl
support is required and links to the compatible browsers page
What version of the product are you using? On what operating system?
using ubuntu 9.04
Original issue reported on code.google.com by [email protected]
on 12 May 2010 at 12:59
don't need fetching the demo when building. And the mirror is broken
Original issue reported on code.google.com by [email protected]
on 5 Sep 2011 at 8:18
Attachments:
What steps will reproduce the problem?
1. Loading the demo with Firefox does not render as it can't find a
suitable webgl context.
Need to add "experimental-webgl" as a possible webgl context within the
getContext().
Reference http://khronos.org/webgl/wiki/Implementations/Firefox
Original issue reported on code.google.com by [email protected]
on 8 Apr 2010 at 5:45
What steps will reproduce the problem?
1. load the game
2. go directly to the start network game menu option
What is the expected output?
network game starts
What do you see instead?
error message on the console
Original issue reported on code.google.com by stefan.haustein
on 10 Mar 2010 at 6:12
What steps will reproduce the problem?
1. Start dedicated server. Wait for the nextmap: demo2 bit to show up.
2. Open up Google Chrome with the --enable-webgl tag in the startup command.
3. Enter in the URL of the server (http://localhost:8080/GwtQuake.html) into
the URL bar and hit enter.
What is the expected output? What do you see instead?
Expected outcome: The game running.
Instead: A black screen in the browser. You can try any browser; the result
will be the same.
What version of the product are you using? On what operating system?
Google Chrome 6.0.408.0 dev
Ubuntu 10.04 64-bit
Please provide any additional information below.
Would the startup command /opt/google/chrome/google-chrome --enable-webgl in
the Applications --> Internet work? Because that's what I'm using.
Original issue reported on code.google.com by [email protected]
on 7 Jun 2010 at 11:04
What steps will reproduce the problem?
1. ./run-dedicated-server 1235
What is the expected output? What do you see instead?
"samurailink3@spaghetti:~/working/quake2-gwt-port$ ./run-dedicated-server 1235
2010-04-03 10:22:39.862::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2010-04-03 10:22:39.891::INFO: jetty-6.1.x
2010-04-03 10:22:39.918::WARN: failed [email protected]:8080
java.net.BindException: Address already in use"
What version of the product are you using? On what operating system?
Ubuntu 9.10 (x64) - 2.6.31-20-generic
Please provide any additional information below.
Attempted with and without root privileges. Attempted multiple ports.
Killed all other java applications, same error resulted.
Original issue reported on code.google.com by samurailink3
on 3 Apr 2010 at 3:28
If you have the original quake 2 - allow usage of the resources from the
full game.
Original issue reported on code.google.com by [email protected]
on 6 Apr 2010 at 7:32
Kaspersky found a Virus when i click on project "home" -> "updates" ->
"Revision 17186a6614 (ongoing renderer refactoring) pushed by stefan.haustein".
Maybe its a false positive, but who knows?
found: Virus.Boot.Stoned.e
file:
http://code.google.com/p/quake2-gwt-port/source/detail?r=17186a66148fc6198964ff9
3145466312fa11bfc
Original issue reported on code.google.com by [email protected]
on 11 Nov 2011 at 9:02
What steps will reproduce the problem?
1. rm -rf war
2. ant run
What is the expected output? What do you see instead?
Successful build, but build crashes while extracting and converting files.
What version of the product are you using? On what operating system?
revision 39 works, revision 38 does not.
Original issue reported on code.google.com by megazzt
on 10 Dec 2010 at 3:35
Hi, I'm working on WebGL at Mozilla, we have lots of recent improvements
and I was interested in using Quake2 as a test to discover more things to
fix, but I can't, as it makes me land on the "WebGL support required" page.
Original issue reported on code.google.com by [email protected]
on 15 May 2010 at 3:13
What steps will reproduce the problem?
1. Build the app (gwt.compile set to "detailed")
2. Run the app
3. Open it in browser
What is the expected output? What do you see instead?
In
What version of the product are you using? On what operating system?
Ubuntu 9.10
Chromium 5.0.368.0 (43430) Ubuntu
In Javascript console:
====== Quake2 Initialized ======
E4A314B8BA06EEAA82C4674721FC534E.cache.html:731
E4A314B8BA06EEAA82C4674721FC534E.cache.html:611947: static buffer created;
id: 0 remaining: 8
E4A314B8BA06EEAA82C4674721FC534E.cache.html:740com.google.gwt.core.client.J
avaScriptException: (TypeError): undefined is not a function
stack: TypeError: undefined is not a function
at CALL_NON_FUNCTION_AS_CONSTRUCTOR (native)
at
jake2_gwt_client_WebALAdapter$BufferData_$WebALAdapter$BufferData__Ljake2_g
wt_client_WebALAdapter$BufferData_2Ljava_lang_String_2Ljake2_gwt_client_Web
ALAdapter$BufferData_2
(http://localhost:8080/gwtquake/E4A314B8BA06EEAA82C4674721FC534E.cache.html
:60685:199)
at
jake2_gwt_client_WebALAdapter_$alBufferData__Ljake2_gwt_client_WebALAdapter
_2ILjava_lang_String_2V
(http://localhost:8080/gwtquake/E4A314B8BA06EEAA82C4674721FC534E.cache.html
:60567:233)
at
jake2_gwt_client_GwtSound_$initBuffer__Ljake2_gwt_client_GwtSound_2Ljava_la
ng_String_2_3BIIV
(http://localhost:8080/gwtquake/E4A314B8BA06EEAA82C4674721FC534E.cache.html
:60018:176)
at
jake2_gwt_client_GwtSound_$LoadSound__Ljake2_gwt_client_GwtSound_2Ljake2_so
und_sfx_1t_2Ljake2_sound_sfxcache_1t_2
(http://localhost:8080/gwtquake/E4A314B8BA06EEAA82C4674721FC534E.cache.html
:59857:5)
at
jake2_gwt_client_GwtSound_$RegisterSound__Ljake2_gwt_client_GwtSound_2Ljava
_lang_String_2Ljake2_sound_sfx_1t_2
(http://localhost:8080/gwtquake/E4A314B8BA06EEAA82C4674721FC534E.cache.html
:59903:60)
at
jake2_gwt_client_GwtSound_$StartLocalSound__Ljake2_gwt_client_GwtSound_2Lja
va_lang_String_2V
(http://localhost:8080/gwtquake/E4A314B8BA06EEAA82C4674721FC534E.cache.html
:59958:9)
at jake2_client_Menu_Draw__V
(http://localhost:8080/gwtquake/E4A314B8BA06EEAA82C4674721FC534E.cache.html
:11157:5)
at jake2_client_SCR_UpdateScreen2__V
(http://localhost:8080/gwtquake/E4A314B8BA06EEAA82C4674721FC534E.cache.html
:14646:7)
at
Object.jake2_render_gl_GLBase_updateScreen__Ljake2_qcommon_xcommand_1t_2V
[as updateScreen__Ljake2_qcommon_xcommand_1t_2V]
(http://localhost:8080/gwtquake/E4A314B8BA06EEAA82C4674721FC534E.cache.html
:54807:3)
type: called_non_callable
arguments: undefined
E4A314B8BA06EEAA82C4674721FC534E.cache.html:740 at
Unknown.CALL_NON_FUNCTION_AS_CONSTRUCTOR(Unknown source:0)
E4A314B8BA06EEAA82C4674721FC534E.cache.html:740 at
Unknown.jake2_gwt_client_WebALAdapter$BufferData_$WebALAdapter$BufferData__
Ljake2_gwt_client_WebALAdapter$BufferData_2Ljava_lang_String_2Ljake2_gwt_cl
ient_WebALAdapter$BufferData_2(Unknown source:0)
E4A314B8BA06EEAA82C4674721FC534E.cache.html:740 at
Unknown.jake2_gwt_client_WebALAdapter_$alBufferData__Ljake2_gwt_client_WebA
LAdapter_2ILjava_lang_String_2V(Unknown source:0)
E4A314B8BA06EEAA82C4674721FC534E.cache.html:740 at
Unknown.jake2_gwt_client_GwtSound_$initBuffer__Ljake2_gwt_client_GwtSound_2
Ljava_lang_String_2_3BIIV(Unknown source:0)
E4A314B8BA06EEAA82C4674721FC534E.cache.html:740 at
Unknown.jake2_gwt_client_GwtSound_$LoadSound__Ljake2_gwt_client_GwtSound_2L
jake2_sound_sfx_1t_2Ljake2_sound_sfxcache_1t_2(Unknown source:0)
E4A314B8BA06EEAA82C4674721FC534E.cache.html:740 at
Unknown.jake2_gwt_client_GwtSound_$RegisterSound__Ljake2_gwt_client_GwtSoun
d_2Ljava_lang_String_2Ljake2_sound_sfx_1t_2(Unknown source:0)
E4A314B8BA06EEAA82C4674721FC534E.cache.html:740 at
Unknown.jake2_gwt_client_GwtSound_$StartLocalSound__Ljake2_gwt_client_GwtSo
und_2Ljava_lang_String_2V(Unknown source:0)
E4A314B8BA06EEAA82C4674721FC534E.cache.html:740 at
Unknown.jake2_client_Menu_Draw__V(Unknown source:0)
E4A314B8BA06EEAA82C4674721FC534E.cache.html:740 at
Unknown.jake2_client_SCR_UpdateScreen2__V(Unknown source:0)
E4A314B8BA06EEAA82C4674721FC534E.cache.html:740 at
Unknown.jake2_render_gl_GLBase_updateScreen__Ljake2_qcommon_xcommand_1t_2V(
Unknown source:0)
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 5 Apr 2010 at 10:43
What steps will reproduce the problem?
1. Enter the menu
2. Move the cursor
What is the expected output? What do you see instead?
Cursor movement should be nice and fast. However the browser seems to
noticeably lag every time you move the cursor. It's easiest to see on the main
menu where the cursor animates that there is indeed a lag caused by simply
moving the cursor.
I am uncertain if there was a similar delay in Chromium (since it's so much
faster). But I believe there is, albeit a much smaller delay.
Original issue reported on code.google.com by megazzt
on 23 Jul 2010 at 10:57
Quake2-gwt doesn't run anymore in Firefox (7) and Chrome (13). In Firefox I get
these JS warnings (WebGL errors):
JavaScript warning:
http://localhost:8080/gwtquake/02E1EF1A2220D299C45E1C0498A92D9A.cache.html,
line 3321: WebGL: texParameter: no texture is bound to this target
JavaScript warning:
http://localhost:8080/gwtquake/02E1EF1A2220D299C45E1C0498A92D9A.cache.html,
line 3321: WebGL: texParameter: no texture is bound to this target
JavaScript warning:
http://localhost:8080/gwtquake/02E1EF1A2220D299C45E1C0498A92D9A.cache.html,
line 3321: WebGL: texParameter: no texture is bound to this target
JavaScript warning:
http://localhost:8080/gwtquake/02E1EF1A2220D299C45E1C0498A92D9A.cache.html,
line 3321: WebGL: texParameter: no texture is bound to this target
JavaScript warning:
http://localhost:8080/gwtquake/02E1EF1A2220D299C45E1C0498A92D9A.cache.html,
line 3321: WebGL: enable: invalid enum value 0xb10
Original issue reported on code.google.com by [email protected]
on 1 Oct 2011 at 10:06
What steps will reproduce the problem?
1. Obtain source
2. ./build-dedicated-server
3.
What is the expected output? What do you see instead?
Successful compilation.
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 263 source files to /home/sog/Applications/quake2-gwt-
port/maven-build/server/target/classes
[INFO] --------------------------------------------------------------------
----
[ERROR] BUILD ERROR
[INFO] --------------------------------------------------------------------
----
[INFO] Fatal error compiling
Embedded error: Error while executing the external compiler.
java.io.IOException: error=2, No such file or directory
What version of the product are you using? On what operating system?
Current version, Ubuntu Lucid
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 6 Apr 2010 at 5:58
What steps will reproduce the problem?
1. Open and close the console while looking in different angles
What is the expected output? What do you see instead?
Sometimes lines of console text will appear on the floor. Other times
opening the console will display the screenshot I've attached.
What version of the product are you using? On what operating system?
Tip of trunk as of this post, running in Ubuntu 9.10 x64.
Client browser is in Windows 7 x64. Chrome 5.0.366.2 dev
Original issue reported on code.google.com by megazzt
on 2 Apr 2010 at 10:52
Attachments:
What steps will reproduce the problem?
1. Open the google chrome
2. Open five or more tabs and access some websites
3. waiting for 2 minutes
What is the expected output? What do you see instead?
I keep waiting and it freezes
What version of the product are you using? On what operating system?
I'm using the 5.0.396.0 dev in my notebook but in my virtual machine i'm
using 4.1.2.9.1064 (45376).
my machine: OS: Windows XP Professinal SP2.
my Virtual machine: OS: Windows XP Professinal SP2.
Please provide any additional information below.
The google chrome does not respond
Original issue reported on code.google.com by [email protected]
on 7 May 2010 at 6:38
Attachments:
I uploaded to my web server and this is what I get:
http://x.iaesr.com/~/apps/quake2/q2_nothing.png
Am I supposed to do this locally?
Original issue reported on code.google.com by TruSktr
on 14 Oct 2011 at 10:56
Most mirrors (all FTP) listed in /src/jake2/tools/Downloader.java are either
down or are very slow (~17KiB/s) and the only way I've successfully downloaded
the q2-314-demo-x86.exe file is to empty the mirror list in Downloader.java and
replace it with a known, fast HTTP mirror. My preferred download mirror is
http://ftp.iinet.net.au/games/idstuff/quake2/q2-314-demo-x86.exe but there are
many others that are sufficiently fast. Attached is an updated version of
Downloader.java with a fast mirror.
Original issue reported on code.google.com by [email protected]
on 31 Oct 2010 at 12:59
Attachments:
What steps will reproduce the problem?
install-resources takes too long to download q2-314-demo-x86.exe. It
actually never finished on my machine.
What is the expected output? What do you see instead?
The exe should be downloaded and unpacked. Instead, I see the batch starts
to print dots as it is downloading, then it freezes.
What version of the product are you using? On what operating system?
hg tip: 18
OS: Windows XP
Please provide any additional information below.
The user could download manually the executable.
Downloader.java could check if the file is already present, if not, then it
will start to download; then unpack.
Original issue reported on code.google.com by matthias.buchner
on 13 Apr 2010 at 6:21
What steps will reproduce the problem?
1. Play some Quake 2 GWT
2. Use mouse to aim
3. Move mouse outside window
What is the expected output? What do you see instead?
Currently if you move the mouse outside the browser window, quake 2 can no
longer use it for aiming. It would be nice to be able to lock the mouse so we
can have that full FPS feel.
What version of the product are you using? On what operating system?
I'm running Chrome on Windows 7 x64 (currently API support is only in Canary
and nightly builds and can be turned on at about:flags, next Dev build should
have support as well). From what I've read it sounds like Firefox is also
getting support.
Please provide any additional information below.
https://developer.mozilla.org/en/API/Mouse_Lock_API appears to be a reference
for the API.
Original issue reported on code.google.com by megazzt
on 29 Nov 2011 at 3:29
What steps will reproduce the problem?
1. Get one of them fancy Cr-48s
2. Check out and compile quake2-gwt-port on a nearby linux box
3. Point the Chrome OS browser to the proper server and port running quake2-gwt
What is the expected output?
Quake 2!
What do you see instead?
Black screen. No errors in console, server or client.
What version of the product are you using? On what operating system?
Tip of trunk as of today for quake2-gwt-port. 0.9.128.0 build of Chrome OS,
browser build 8.0.552.341.
Please provide any additional information below.
When I test on Windows on a third PC while the same server is running it loads.
Original issue reported on code.google.com by megazzt
on 10 Dec 2010 at 3:41
"/bin/bash" is required vs. "/bin/sh" on Karmic
Original issue reported on code.google.com by sgraham
on 1 Apr 2010 at 11:40
What steps will reproduce the problem?
1. Download Chromium 6.0.476.0 (53512) for Windows XP (This was the latest
nightly).
2. Run trunk of quake-gwt (as of 7/23/10)
What is the expected output? What do you see instead?
Sounds should all play nicely.
However most do not. Some sounds such as your PDA sounds, "secret found", menu
cursor and a few others do.
Firefox 4.0b1 can play all sounds with the same quake-gwt build.
Original issue reported on code.google.com by megazzt
on 23 Jul 2010 at 10:54
What steps will reproduce the problem?
1. ./build-dedicated-server
What is the expected output? What do you see instead?
Caused by: org.codehaus.mojo.gwt.shell.ForkedProcessExecutionException:
Command [[
/bin/sh -c /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java
-Xmx512m -classpath
"/root/quake2-gwt-port/maven-build/client/../../src":"/root/quake2-gwt-port/mave
n-build/client/src/main/resources":"/root/quake2-gwt-port/maven-build/client/tar
get/classes":"/root/.m2/repository/com/google/gwt/gwt-servlet/2.0.0/gwt-servlet-
2.0.0.jar":"/root/.m2/repository/com/google/gwt/gwt-user/2.0.0/gwt-user-2.0.0.ja
r":"/root/.m2/repository/com/google/gwt/gwt-dev/2.0.0/gwt-dev-2.0.0.jar"
com.google.gwt.dev.Compiler -gen
"/root/quake2-gwt-port/maven-build/client/target/.generated" -logLevel INFO
-style OBF -war
"/root/quake2-gwt-port/maven-build/client/target/gquake-client-1.0-SNAPSHOT"
-localWorkers
2 jake2.GwtQuake
]] failed with status 134
What version of the product are you using? On what operating system?
CentOS x64
Please provide any additional information below.
java-1.6.0-openjdk-1.6.0.0-1.7.b09.el5
libvorbis-1.1.2-3.el5_4.4
vorbis-tools-1.1.1-3.el5
lame-3.98.2-1.el5.rf
Original issue reported on code.google.com by [email protected]
on 9 Apr 2010 at 10:22
Ideally, the sound volume would depend on the distance.
At least, we should not play sounds that are too far away.
Original issue reported on code.google.com by stefan.haustein
on 10 Mar 2010 at 6:10
{{{
[java] players/female/brianna.pcx
[java] Opened packfile /home/delan/build/quake2-gwt-port/raw/baseq2/pak0.pak (1106 files)
[java]
[java] pics/p_megahealth.pcx
[java] models/weapons/g_machn/skin.pcx
[java] models/monsters/soldier/skin_ss.pcx
[java] pics/w_chaingun.pcx
[java] models/items/keys/red_key/tris.md2
[java] textures/e1u1/damage1_2.wal
[java] Exception in thread "main" java.lang.NullPointerException
[java] at jake2.qcommon.Compatibility.newString(Compatibility.java:51)
[java] at jake2.qcommon.qfiles$miptex_t.<init>(qfiles.java:367)
[java] at jake2.qcommon.qfiles$miptex_t.<init>(qfiles.java:357)
[java] at jake2.tools.WALConverter.LoadWAL(WALConverter.java:41)
[java] at jake2.tools.WALConverter.convert(WALConverter.java:36)
[java] at jake2.tools.Unpak.convertFile(Unpak.java:133)
[java] at jake2.tools.Unpak.unpak(Unpak.java:237)
[java] at jake2.tools.Unpak.convertDir(Unpak.java:100)
[java] at jake2.tools.Unpak.main(Unpak.java:88)
[java] at jake2.tools.Installer.main(Installer.java:37)
}}}
Ubuntu 10.10 (maverick), ant 1.8.0-4, openjdk-6-jdk 6b20-1.9.1-1ubuntu3
Original issue reported on code.google.com by [email protected]
on 31 Oct 2010 at 12:55
When trying to run the ant script on Windows I got some error, which should be
fixed by the attached patch.
When running the game in chrome there are still issues (some missing textures,
all models missing). Not sure if this is Windows related as I could not test on
Linux, yet.
The patch includes the following:
jake2/qcommon/FS.java: "CreatePath"-method did not work on windows: fixed
jake2/tools/Installer.java: Compatibility.impl was not initialized: fixed
jake2/tools/Unpak.java: "createPath"-method now uses fixed method from FS (see
above)
jake2/tools/WAVConverter: stdout and stderr form lame and oggenc were not read:
added simple runnable reading both in seperate threads (this is just a quick
solution. there are most likely better ways to do this)
Original issue reported on code.google.com by [email protected]
on 24 Oct 2010 at 12:12
Attachments:
What steps will reproduce the problem?
1. start the server
2. hit the url from another machine
3. try to join the multiplayer game
What is the expected output? What do you see instead?
Being in the game.
Connecting <hostname> repeatedly.
What version of the product are you using? On what operating system?
Current Webkit nightly and Chromium nightly.
Original issue reported on code.google.com by [email protected]
on 2 Apr 2010 at 2:09
Same problem occurs on both of the following configurations:
Ubuntu 9.10
Chromium 5.0.380.0 (44802)
and
Mac OSX 10.6
Chromium 5.0.380.0 (44769) or WebKit 4.0.5 6531.22.7
Ran through the download and build steps as described. Everything appears
to build properly. I start the dedicated server and it shows Quake2
Initialized followed by nextmap:demo2.
Attempting to access http://localhost:8080/GwtQuake.html loads screen
filled with GL_* output followed by Quake2 Initialized. Then I get the
message 'Waiting for 1 images' and everything halts.
The identical problem is reproduced on 2 different machines configured per
above.
Original issue reported on code.google.com by [email protected]
on 16 Apr 2010 at 8:45
Running today's revision in Firefox 10.0a1 I get a pop-up saying:
ERROR: Possible problem with your *.gwt.xml module file.
The compile time user.agent value (safari) does not match the runtime
user.agent value (gecko1_8). Expect more errors.
Other than that, it runs fine.
Original issue reported on code.google.com by [email protected]
on 11 Oct 2011 at 6:58
What steps will reproduce the problem?
1. Compile & Run it in Firefox
What is the expected output? What do you see instead?
As of a recent Firefox build (probably 20082010 nightly) fragment shaders
validation is always enabled which causes an error for the one used in this
project.
Previously you could get away without entering the mandatory precision
specifier in the fragment shaders but not anymore :)
Attached is a pretty straight forward patch, just adding a guard if GL_ES is
defined (for older browsers not supporting this) and adding the specifier.
Works on the latest Firefox nightly and a month old Chrome nightly.
Running it with the latest chrome nightly still gives the error I mentioned in
Issue 30, if I have time I'll try to find a regression range for Chrome and
file a bug.
Original issue reported on code.google.com by [email protected]
on 22 Aug 2010 at 5:09
Attachments:
This patch makes it work again:
diff -r 2df6c64fb9b4 src/jake2/gwt/client/WebGLAdapter.java
--- a/src/jake2/gwt/client/WebGLAdapter.java Wed Aug 25 14:33:48 2010 +0200
+++ b/src/jake2/gwt/client/WebGLAdapter.java Mon Oct 04 21:54:48 2010 -0700
@@ -398,11 +398,7 @@
@Override
public String glGetString(int id) {
String s;
- if (GwtQuake.getBrowserType() == BrowserType.FIREFOX) {
- s = gl.glGetParameter(id);
- } else {
- s = gl.glGetString(id);
- }
+ s = gl.glGetParameter(id);
// Hack to meet more desktop GL expectations to some extent
return s == null ? "" : s;
}
(This also makes gwtquake webgl standards-compliant.)
Original issue reported on code.google.com by [email protected]
on 5 Oct 2010 at 4:55
What steps will reproduce the problem?
1. Follow all steps on wiki with Debian Squeeze
2. Run : ant run in the quake2-gwt folder
3. Exception in thread "main" java.lang.NoClassDefFoundError:
What is the expected output? What do you see instead?
root@nox:/home/nox/quake2-gwt-port# ant run
Buildfile: /home/nox/quake2-gwt-port/build.xml
libs:
server:
[javac] /home/nox/quake2-gwt-port/build.xml:57: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
install-resources:
[java] raw/baseq2 already exists; no need to download
[java] war/baseq2 already exists; no need to unpak
client.build:
libs:
server:
[javac] /home/nox/quake2-gwt-port/build.xml:57: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
client.run:
build:
run:
[java] 2010-12-03 23:30:47.413:INFO::jetty-8.0.0.M2-SNAPSHOT
[java] 2010-12-03 23:30:47.485:INFO::Started [email protected]:8080
[java] couldn't exec config.cfg
[java] couldn't exec config.cfg
[java] Exception in thread "main" java.lang.NoClassDefFoundError: jake2/gwt/server/ServerWebSocketImpl
[java] at jake2.gwt.server.ServerWebSocketFactoryImpl.bind(ServerWebSocketFactoryImpl.java:41)
[java] at jake2.sys.NET.Socket(NET.java:337)
[java] at jake2.sys.NET.OpenIP(NET.java:285)
[java] at jake2.sys.NET.Config(NET.java:315)
[java] at jake2.server.SV_INIT.SV_InitGame(SV_INIT.java:371)
[java] at jake2.server.SV_INIT.SV_Map(SV_INIT.java:413)
[java] at jake2.server.SV_CCMDS.SV_GameMap_f(SV_CCMDS.java:612)
[java] at jake2.server.SV_CCMDS.SV_Map_f(SV_CCMDS.java:643)
[java] at jake2.server.SV_CCMDS$8.execute(SV_CCMDS.java:1091)
[java] at jake2.game.Cmd.ExecuteString(Cmd.java:408)
[java] at jake2.qcommon.Cbuf.Execute(Cbuf.java:203)
[java] at jake2.qcommon.Qcommon.Init(Qcommon.java:139)
[java] at jake2.server.QuakeServer.run(QuakeServer.java:61)
[java] at jake2.gwt.server.GwtQuakeServer.main(GwtQuakeServer.java:66)
[java] Caused by: java.lang.ClassNotFoundException: jake2.gwt.server.ServerWebSocketImpl
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
[java] ... 14 more
Original issue reported on code.google.com by [email protected]
on 3 Dec 2010 at 10:35
Choose a Chromium build after CL 45293
(http://src.chromium.org/viewvc/chrome?view=rev&revision=45293), so
probably something from April 24, 2010, and onwards should be ok. Try to
connect to the Quake II GWT Port server.
This error will pop up in the JS console:
java.lang.NumberFormatException: For input string: "Ope"
What is happening is that the port is expecting "#.#" being returned by the
version string, and it is trying to parse that as a float (I remember
seeing that code). However, that is the OpenGL convention. OpenGL ES
returns "OpenGL ES #.# vendor-specific". So when this string is parsed, it
breaks.
I don't know if the bug is in the GWT port code, or the Jake2 port code
(I'd guess the later), but it has to be amended. This is also important
because since this is ES, there may be features that are missing from
desktop OGL.
Original issue reported on code.google.com by robbies
on 11 May 2010 at 11:29
What steps will reproduce the problem?
1. ./build-dedicated-server
2.
3.
What is the expected output? What do you see instead?
[root@zerozaku quake2-gwt-port]# Error getting environment vars for profile
activation: java.io.IOException: Cannot run program "env": java.io.IOException:
error=12, Cannot allocate memory
[WARNING] Failed to initialize environment variable resolver. Skipping
environment substitution in settings.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] GwtQuake
[INFO] GwtQuake Client
[INFO] GwtQuake Dedicated WebSocket Server
[INFO] GwtQuake Demo Installer
[INFO] ------------------------------------------------------------------------
[INFO] Building GwtQuake
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
Downloading:
http://gwt-maven.googlecode.com/svn/trunk/mavenrepo//org/codehaus/plexus/plexus-
archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
[INFO] Unable to find resource
'org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7' in repository
gwt-maven (http://gwt-maven.googlecode.com/svn/trunk/mave
nrepo/)
Downloading:
http://snapshots.repository.codehaus.org//org/codehaus/plexus/plexus-archiver/1.
0-alpha-7/plexus-archiver-1.0-alpha-7.jar
[INFO] Unable to find resource
'org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7' in repository
codehaus-snapshots (http://snapshots.repository.codehaus.
org/)
Downloading:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/pl
exus-archiver-1.0-alpha-7.jar
82757/?
What version of the product are you using? On what operating system?
CentOS 5.3
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 8 Apr 2010 at 11:20
What steps will reproduce the problem?
1. Remove some extracted files from a successful build, or do a build that
fails midway through extracting files.
2. Redo ant run
What is the expected output? What do you see instead?
Files should be reextracted, but are not.
What version of the product are you using? On what operating system?
Current tip of trunk as of today.
Original issue reported on code.google.com by megazzt
on 10 Dec 2010 at 3:37
What steps will reproduce the problem?
1. Compile & Run it in Firefox
What is the expected output? What do you see instead?
As of a recent Firefox build (probably 08082010 nightly) the deprecated form of
texImage2D is no longer accepted.
Attached is a pretty trivial patch which changes the call/signature of the
function in relevant places.
Seems to work fine on the latest Firefox nightly and a month old Chrome nightly.
Running it with the latest chrome nightly gave a "Failed to load resource
gwtquake/145205A6B37E69830A60D5EB91291985.cache.html" error with or without the
patch so it seems like another unrelated issue.
Original issue reported on code.google.com by [email protected]
on 15 Aug 2010 at 7:08
Attachments:
What steps will reproduce the problem?
1. compiling in build step 4. ( ./install-resouce )
What is the expected output? What do you see instead?
I met FileNotFoundException, and there are no png files in baseq2 folder.
java.io.FileNotFoundException?:
D:\project\quake2_gwt\copark-clone\war\baseq2\pics\p_megahealth.png (The
system cannot find the path specified
What version of the product are you using? On what operating system?
hg log changeset: 10.
Windows XP
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 5 Apr 2010 at 12:26
Under Linux Debian, when I try "ant run", the build fails.
So I ran "ant -debug run" and the result is show in the attached image.
How can I do to resolve?
Thank you
Original issue reported on code.google.com by [email protected]
on 11 Feb 2011 at 3:17
Attachments:
running latest dev build of chrome on winXP, with both --enable-webgl and
--enable-webgl --no-sandbox.
with only --enable-webgl, the screen goes black and stays that way.
adding --no-sandbox, the screen goes black, and then goes to Aw, Snap! error.
Original issue reported on code.google.com by [email protected]
on 3 Apr 2010 at 8:25
What steps will reproduce the problem?
There is no batch file to build the game on Windows.
What version of the product are you using? On what operating system?
hg tip: 18
OS: XP
Original issue reported on code.google.com by matthias.buchner
on 13 Apr 2010 at 6:26
1. copy over my baseq2 files
2. ant build
3. build fails @ pak0.pak
What is the expected output? What do you see instead?
...
...
...
[java] players/cyborg/weapon.pcx
[java] video/eou3_.cin
[java] video/eou2_.cin
[java] video/eou1_.cin
[java] video/end.cin
[java] video/ntro.cin
[java] video/eou7_.cin
[java] video/eou5_.cin
[java] video/eou4_.cin
[java] video/idlog.cin
[java] video/eou6_.cin
[java] video/eou8_.cin
[java] Exception in thread "main" java.lang.IllegalArgumentException
[java] at java.nio.Buffer.position(Buffer.java:235)
[java] at jake2.tools.Unpak.loadPackFile(Unpak.java:193)
[java] at jake2.tools.Unpak.unpak(Unpak.java:231)
[java] at jake2.tools.Unpak.convertDir(Unpak.java:100)
[java] at jake2.tools.Unpak.main(Unpak.java:88)
[java] at jake2.tools.Installer.main(Installer.java:41)
BUILD FAILED
/home/paige/quake2-gwt-port/build.xml:66: Java returned: 1
Total time: 24 seconds
paige@yggdrasil ~/quake2-gwt-port $
What version of the product are you using? On what operating system?
? latest stable with a patch that helps me get at least this far, also I can
get it to work with the regular baseq2 (demo) files but it's missing some
textures and models.
Please provide any additional information below.
Please feel free to inquire
Original issue reported on code.google.com by [email protected]
on 30 Sep 2011 at 3:41
What steps will reproduce the problem?
From http://code.google.com/p/quake2-gwt-port/wiki/BuildingAndRunning
1. Prerequisites:
a. Install Chromium, not Chrome (tested with 5.0.394.0 (46121))
You may find a shortcut with --no-sandbox --enable-webgl useful
b. Install Cygwin (1.7.5-1 + packages @ 20100501)
c. Install vorbis-tools in Cygwin setup.exe (tools 1.2.0-2 lib 1.2.3-1)
d. Install Java SDK in Windows (Sun jdk 1.6.0_20)
Set JAVA_HOME to C:\Program Files\Java\jdk<version>
Add/Set to CLASSPATH C:\Program Files\Java\jdk<version>\lib;C:\Program
Files\Java\jdk<version>\jre\lib
Add to PATH C:\Program Files\Java\jdk<version>\bin;C:\Program
Files\Java\jdk<version>\jre\bin
(Tested with Windows System Environment Variables, which are
automatically propagated to newly opened Cygwin shells)
e. Build lame in Cygwin manually (3.98.4 to /usr/local by default):
./configure
make
make install
2. Check Out Latest (@ 20100501)
a. Follow Instructions
b. Apply Attached Patches using patch:
Unpak directory separator patch
- for Windows Java only - already works for Unix/Cygwin Java
- change to use Java's directory separator rather than hardcode '/'
- other locations hardcode '/' but this has not been an issue yet - see
attached list (some of these may be URL paths and OK)
WAVConverter deadlock patch
- avoids deadlocks in child processes due to unread stdout/stderr
- optional debugging output
3. Build using shell script (not batch script)
4. Install Resources using shell script (not batch script)
If you see errors about a missing png file, the first patch isn't working
If you freeze on a large wav file, the second patch isn't working
5. Run Dedicated Server using shell script (not batch script)
If you see errors about a demo level not found, the unpacking was
incomplete
6. Navigate to Local Address in Chromium
You may need to disable popup blocking for localhost
If you see HTTP ERROR: 500 war\GwtQuake.html (The system cannot find the
file specified):
you've deleted the web files from war (oops!). You can start again from
step 2, or just replace the 7 files and 1 subdirectory from
http://code.google.com/p/quake2-gwt-port/source/browse/#hg/war
If you see other errors about missing files:
some files may not have unpacked correctly
you may not have run cp -r maven-
build/server/target/gwtquake/war/gwtquake war
What is the expected output? What do you see instead?
Expected:
Quake 2 Game
Actual:
Web Page:
WebGL Support Required
For a list of compatible browsers and installation instructions, please
refer to
http://code.google.com/p/quake2-gwt-port/wiki/CompatibleBrowsers
For a detailed error log, please refer to the JS console.
Console:
Failed to load resource
gwtquake/3F5EB2DF5D73681377881A2A6FBDBB9C.cache.html
What version of the product are you using? On what operating system?
Source @ 20100501 on:
Cygwin 1.7.5-1 (build/install)
Windows XP SP 3
Sun Java 1.6.0_20 for Windows
Chromium 5.0.394.0 (46121)
Please provide any additional information below.
Server appears to run fine. Log attached.
Will try reinstalling 20100501 build of Chromium and report results.
Original issue reported on code.google.com by [email protected]
on 1 May 2010 at 11:41
Attachments:
./install-resources part will try to download exe from a very slow ftp
server and will never finish.
i waited >24 hours with no results but i've managed to download q2-314-demo-
x86.exe in <20 minutes with wget.
please document a way to tell ./install-resources where q2-314-demo-x86.exe
is cached on local disk to avoid downloading.
Original issue reported on code.google.com by [email protected]
on 7 Apr 2010 at 1:45
The latest Chromium builds can run WebGL without the --no-sandbox option. But
the game fails in
this configuration, possibly because WebGL is a strict OpenGL ES
implementation, and we're passing
an invalid GL enum somewhere.
See this Chromium issue:
http://code.google.com/p/chromium/issues/detail?id=40151
Original issue reported on code.google.com by joelgwebber
on 6 Apr 2010 at 2:43
It seems I'm missing some files. Do I need more files other than what I checkd
out from the mercurial repository?
You can see the error messages here:
http://x.iaesr.com/~/apps/quake2/
Original issue reported on code.google.com by TruSktr
on 14 Oct 2011 at 9:19
http://code.google.com/p/quake2-gwt-port/wiki/CompatibleBrowsers
You no longer need to specify --no-sandbox, WebGL works within the sandbox in
the latest Chromium\Google Chrome Dev 5.0.371.x or later.
Using it is very insecure. Please, remove it from your wiki.
This is critical to web security.
Original issue reported on code.google.com by phistuck
on 9 Apr 2010 at 8:25
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.