English Amiga Board


Go Back   English Amiga Board > Main > Retrogaming General Discussion

 
 
Thread Tools
Old 18 February 2009, 21:38   #181
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
New version 0.6 here

http://pagesperso-orange.fr/jotd/gods/

A lot of fixes and most of all: full Gods 4 a.m. mix level is included
jotd is online now  
Old 18 February 2009, 22:23   #182
zenox98
Joy Division
 
zenox98's Avatar
 
Join Date: Nov 2006
Location: East Yorkshire
Age: 60
Posts: 239
@jotd
You rock
zenox98 is offline  
Old 18 February 2009, 23:18   #183
pubzombie
Registered User
 
pubzombie's Avatar
 
Join Date: Dec 2008
Location: westmids
Posts: 900
wow!!! this is utterly brilliant. forgot how good and how tricky this was
excellent thank you
pubzombie is offline  
Old 19 February 2009, 00:48   #184
Charlie
. . Mouse . .
 
Charlie's Avatar
 
Join Date: Jun 2005
Location: Nowhere
Age: 55
Posts: 1,792
@ jotd:
Charlie is offline  
Old 19 February 2009, 01:19   #185
Pyromania
Moderator
 
Pyromania's Avatar
 
Join Date: Jan 2002
Location: Chicago, IL
Posts: 3,375
Looks like a great version of Gods.
Pyromania is offline  
Old 19 February 2009, 04:25   #186
rattus
Registered User
 
rattus's Avatar
 
Join Date: Jul 2002
Location: Australia
Posts: 328
This remake is kickin' rad. Thumbs up jotd, you obviously put a lot of care into this project.
rattus is offline  
Old 20 February 2009, 21:11   #187
MadWasp
Registered User
 
MadWasp's Avatar
 
Join Date: Dec 2007
Location: Dogville
Posts: 35
Another beta upgrade another BIG Thank U!
MadWasp is offline  
Old 20 February 2009, 21:21   #188
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
thanks everyone. It's still beta because I haven't completed my level 4 yet (plus a lot of other annoyances) but apart from that it's pretty complete
jotd is online now  
Old 21 February 2009, 01:19   #189
spaeR
Registered User
 
Join Date: Jun 2008
Location: Hungary
Posts: 17
Nice work Jotd! THX!
spaeR is offline  
Old 21 February 2009, 15:06   #190
hit
Registered User
 
Join Date: Jun 2008
Location: planet earth
Posts: 1,115
the shell script is missing a statement (gods.game.GodsGame):
Code:
java -Djava.library.path="$GODS_ROOT_DIR/bin" -classpath "$GODS_ROOT_DIR/bin" -DROOT_DIR="$GODS_ROOT_DIR" -Xmx$HEAP_SIZE  gods.game.GodsGame $*
otherwise java binary just spits aout its help page. now i gonna test it
Edit#2: now i found the gods.sh. so the above was my bad :/
------------------------------------------------------------------------

Edit: maybe its related to the above addition. game starts, loading first level, little hero appears, just one move to right, monster spawn animation starts (left side of the hero), then freezing:
Code:
Exception in thread "main" java.lang.ArithmeticException: / by zero
        at gods.sys.WavSound.set_sample_position(WavSound.java:77)
        at gods.sys.WavSound.play(WavSound.java:152)
        at gods.sys.WavSound.play(WavSound.java:140)
        at gods.sys.WavSound.play_random(WavSound.java:147)
        at gods.game.SfxSet.play_random(SfxSet.java:96)
        at gods.game.characters.LeftRightHostile.update(LeftRightHostile.java:458)
        at gods.game.MonsterLayer.process_active_items(MonsterLayer.java:428)
        at gods.game.MonsterLayer.update(MonsterLayer.java:175)
        at gods.game.GodsLevel.p_update(GodsLevel.java:2122)
        at gods.game.GameState.update(GameState.java:429)
        at gods.game.GodsGame.update(GodsGame.java:173)
        at gods.sys.GameEngine.start(GameEngine.java:243)
        at gods.game.GodsGame.main(GodsGame.java:291)
there is another issue before loading first level:
Code:
ctor: joystick.dll not found
Exception in thread "Thread-13" java.lang.NullPointerException
        at gods.sys.WavSample.run(WavSample.java:35)
        at java.lang.Thread.run(Thread.java:636)
Exception in thread "Thread-15" java.lang.NullPointerException
        at gods.sys.WavSample.run(WavSample.java:35)
        at java.lang.Thread.run(Thread.java:636)
Exception in thread "Thread-21" java.lang.NullPointerException
        at gods.sys.WavSample.run(WavSample.java:35)
        at java.lang.Thread.run(Thread.java:636)
Exception in thread "Thread-22" java.lang.NullPointerException
        at gods.sys.WavSample.run(WavSample.java:35)
        at java.lang.Thread.run(Thread.java:636)
Exception in thread "Thread-23" java.lang.NullPointerException
        at gods.sys.WavSample.run(WavSample.java:35)
        at java.lang.Thread.run(Thread.java:636)
Exception in thread "Thread-27" java.lang.NullPointerException
        at gods.sys.WavSample.run(WavSample.java:35)
        at java.lang.Thread.run(Thread.java:636)
Exception in thread "Thread-28" java.lang.NullPointerException
        at gods.sys.WavSample.run(WavSample.java:35)
        at java.lang.Thread.run(Thread.java:636)
running on fedora 10, 32 bit cpu, java:
IcedTea6 1.4 (fedora-9.b14.fc10-i386) Runtime Environment (build 1.6.0_0-b14)
OpenJDK Client VM (build 14.0-b08, mixed mode)

thats the runtime which comes with fedora, should i try the one from sun?

Last edited by hit; 21 February 2009 at 16:28.
hit is offline  
Old 21 February 2009, 17:28   #191
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
Seems that you're missing the sound files. Do you have a "sound" directory?

BTW I just added checks so the game can run without sounds if some are missing.
jotd is online now  
Old 21 February 2009, 18:22   #192
hit
Registered User
 
Join Date: Jun 2008
Location: planet earth
Posts: 1,115
yes, all sounds are there. have also installed the extra music. chown and chmod recursivly the folder (just in case). +x`ed the two .sh scripts and start ./gods.sh within the "Gods" folder.
i've d/led latest jre from sun, they offer now r12. but more or less the same issue:
Code:
ctor: joystick.dll not found
Exception in thread "Thread-7" java.lang.NullPointerException                          
        at gods.sys.WavSample.run(WavSample.java:35)                                   
        at java.lang.Thread.run(Unknown Source)                                        
...                                     
Exception in thread "Thread-29" java.lang.NullPointerException                         
        at gods.sys.WavSample.run(WavSample.java:35)                                   
        at java.lang.Thread.run(Unknown Source)                                        
Exception in thread "Thread-30" java.lang.NullPointerException                         
        at gods.sys.WavSample.run(WavSample.java:35)                                   
        at java.lang.Thread.run(Unknown Source)
Exception in thread "Thread-31" java.lang.NullPointerException
        at gods.sys.WavSample.run(WavSample.java:35)
        at java.lang.Thread.run(Unknown Source)
...
Exception in thread "Thread-42" java.lang.NullPointerException
        at gods.sys.WavLoop.run(WavLoop.java:103)
        at java.lang.Thread.run(Unknown Source)
Exception in thread "main" java.lang.ArithmeticException: / by zero
        at gods.sys.WavSound.set_sample_position(WavSound.java:77)
        at gods.sys.WavSound.play(WavSound.java:152)
        at gods.sys.WavSound.play(WavSound.java:140)
        at gods.game.SfxSet.play(SfxSet.java:89)
        at gods.game.GodsLevel.handle_bouncing_sound(GodsLevel.java:2816)
        at gods.game.GodsLevel.p_update(GodsLevel.java:2129)
        at gods.game.GameState.update(GameState.java:429)
        at gods.game.GodsGame.update(GodsGame.java:173)
        at gods.sys.GameEngine.start(GameEngine.java:243)
        at gods.game.GodsGame.main(GodsGame.java:291)
the first sound on level 1 gets played, then freeze. but title music plays on mainscreen, before starting level 1.

Edit: using "-verbose" on the java binary doesnt give any more usefull info. i'm missing snoopdos

Last edited by hit; 21 February 2009 at 18:35.
hit is offline  
Old 21 February 2009, 20:44   #193
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
Ok, I don't know about your problem, but I think the .wav files are not playable by your end...
It's not an uppercase/lowercase problems (common in Windows) since I was very careful about it.

I have uploaded another v0.6 only for this problem. You won't have the sound, but the game will work (tell me if you hear game start/game over/level complete sounds as they're mp3's). Well, it will be better than nothing...

I know that some people ran it successfully on Linux (but which one?). Should run on MacOSX too.

Do you have a Windows PC somewhere to try it?
jotd is online now  
Old 21 February 2009, 22:24   #194
hit
Registered User
 
Join Date: Jun 2008
Location: planet earth
Posts: 1,115
i've a win & mac machine too. will try both.
but where did you uploaded the diffrent version?
hit is offline  
Old 21 February 2009, 22:37   #195
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
just overwritten v0.6 with the new archive. Did not bump the version number.
jotd is online now  
Old 21 February 2009, 22:55   #196
hit
Registered User
 
Join Date: Jun 2008
Location: planet earth
Posts: 1,115
Quote:
Originally Posted by jotd View Post
just overwritten v0.6 with the new archive. Did not bump the version number.
ah, ok. will try a in a minute. just reporting what i've tested:
trouble on Mac OSX 10.5, spit out an exception:

Code:
Shared archive: sharing disabled for server vm
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
the version of java on this mac:
Code:
Shared archive: sharing disabled for server vm
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode)
well, apple & java is offten a problem. so dont bother with that
runs fine on Vista 32 bit.

really nice. was a very addictive game, back in the days. and it's still cool. good work, respect

now i test the new on on the linux box

Edit: you change something in gods.sh: "$GODS_ROOT_DIR"/scripts/gods_loader.sh gods.game.GodsGame $*
before it was ""$GODS_ROOT_DIR"/gods_loader.sh gods.game.GodsGame $*"

Edit2: now its working. sounds play when i collect items, if items fall from the air, if te hero dies and when the hero respawn. no sound when jumping or use weapon. but good to have it working. thanks

Last edited by hit; 21 February 2009 at 23:04.
hit is offline  
Old 22 February 2009, 00:28   #197
Qube
Registered User
 
Qube's Avatar
 
Join Date: Aug 2006
Location: England
Posts: 218
Another fine release jotd!

One thing, you specified scripts/.. in your batch files, which break the loading, so that needs fixing, or the scripts moved into a new scripts/ subfolder I guess.

The demo level was cool to blast through again, just awaiting your 4th level now. Keep up the good work!

Great stuff as always,

Q;
Qube is offline  
Old 22 February 2009, 14:30   #198
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
@Qube: argh! "scripts" directory was not delivered by my delivery script. Now fixed (overwrote the 0.6 version a second time grrrrr). Thanks for noticing!!
BTW, in the demo level, if you know when the "clever bonus" does appear (in the teleport room) and when it does not, please tell me. Sometimes I get it sometimes I don't and I dunno why.

@hit: the sound problem must be something with the internal WAV format. With your information, I should be able to fix the problem. Thanks.

About my level 4, I'm not doing that ATM. I'm trying to remake Cadaver instead. But it'll be done.
jotd is online now  
Old 22 February 2009, 14:58   #199
hit
Registered User
 
Join Date: Jun 2008
Location: planet earth
Posts: 1,115
just downloaded latest and found two issues:
the .sh scripts, since the loader.sh is now in a subfolder, defining GODS_ROOT_DIR from "dirname $0", it cant find "gods.game.GodsGame":
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: gods/game/GodsGame
Caused by: java.lang.ClassNotFoundException: gods.game.GodsGame              
        at java.net.URLClassLoader$1.run(Unknown Source)                     
        at java.security.AccessController.doPrivileged(Native Method)        
        at java.net.URLClassLoader.findClass(Unknown Source)                 
        at java.lang.ClassLoader.loadClass(Unknown Source)                   
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: gods.game.GodsGame.  Program will exit.
so i suggest, just use gods.sh in its current place:
Code:
#!/bin/sh


HEAP_SIZE=100m

if [ "$1" = "-h" ] ; then
   echo "Options: "
   echo "  -no-intro: skips introduction"
   echo "  -full-screen: full screen display"
   exit
fi

PROGDIR=`dirname "$0"`
GODS_ROOT_DIR=$(cd "$PROGDIR";pwd)

java -Djava.library.path="$GODS_ROOT_DIR/bin" -classpath "$GODS_ROOT_DIR/bin" -DROOT_DIR="$GODS_ROOT_DIR" -Xmx$HEAP_SIZE gods.game.GodsGame $*
2. one sound makes freezing the game. the one when you collect a "heart"-symbol (full enery ?!). gives this exception:
Code:
Exception in thread "main" java.lang.ArithmeticException: / by zero
        at gods.sys.WavSound.set_sample_position(WavSound.java:81)
        at gods.sys.WavSound.play_offset(WavSound.java:172)
        at gods.game.characters.Hero.on_take_object(Hero.java:2304)
        at gods.game.GodsLevel.update_hero(GodsLevel.java:935)
        at gods.game.GodsLevel.p_update(GodsLevel.java:2153)
        at gods.game.GameState.update(GameState.java:429)
        at gods.game.GodsGame.update(GodsGame.java:173)
        at gods.sys.GameEngine.start(GameEngine.java:243)
        at gods.game.GodsGame.main(GodsGame.java:291)
hit is offline  
Old 22 February 2009, 16:19   #200
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
0.6a on the site. Fixing both problems. Sorry for the non-testing but I have very little time today.
BTW the class version problem you encountered on Mac OSX 10.5 is because you're running JRE 1.5, whereas 1.6 is required.
jotd is online now  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gods -Deluxe- demo released jotd Retrogaming General Discussion 50 22 January 2016 22:26
new HSMathLibs released (beta) Bamiga2002 News 8 20 December 2007 23:35
GameBaseAMY beta released Runey News 36 27 December 2004 08:54
AWeb 3.5.03 beta released Paul News 3 27 November 2004 11:00
Gem'Z / Kaiko, Deluxe M.U.L.E. beta ? Korodny request.Old Rare Games 10 30 November 2001 16:46

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 15:13.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.13213 seconds with 16 queries