Search found 13 matches

by counterp
Thu Sep 09, 2010 12:08 pm
Forum: SNESdev
Topic: ripping sprites, backgrounds, etc
Replies: 9
Views: 5467

Lunar magic is working wonders, thanks.
by counterp
Wed Sep 08, 2010 6:24 pm
Forum: SNESdev
Topic: ripping sprites, backgrounds, etc
Replies: 9
Views: 5467

What I want to do is dump all sprites + maps, didn't realize it was all split up in 8x8 tiles

And i just downloaded lunar magic, checking it out.
by counterp
Tue Sep 07, 2010 9:45 pm
Forum: SNESdev
Topic: ripping sprites, backgrounds, etc
Replies: 9
Views: 5467

ripping sprites, backgrounds, etc

does snes have a common image format?

are there tools to dump all backgrounds and sprites of a rom?

if not, how would i go about getting all the images from a super mario world rom.
by counterp
Wed Sep 01, 2010 4:11 pm
Forum: SNESdev
Topic: SPC player in java help?
Replies: 21
Views: 8786

I just play it for 1 ms but now I'm gonna set the volume to 0 anyways thanks. (Assuming using arguments causes problems) EDIT: Hmm this small fix doesn't seem to work when doing any heavy operations, not just starting up the jvm... EDIT2: cool, found using a bigger buffer fixed problem (you set to 8...
by counterp
Wed Sep 01, 2010 2:42 pm
Forum: SNESdev
Topic: SPC player in java help?
Replies: 21
Views: 8786

I just run a sound first and cut it off before it actually makes a sound to load all the variables and instantiate classes etc... EDIT: Using Xcomp argument to fix. So yeah, I was right, it probably just took a bit to load everything. Let me see how this works out later, might switch to Xint or some...
by counterp
Wed Sep 01, 2010 5:32 am
Forum: SNESdev
Topic: SPC player in java help?
Replies: 21
Views: 8786

Hmm yeah it does...

EDIT: Used your method of loading from DataReader class.

Now it works, thanks :D

Only problem is most of the time the sound messes up in the beginning. (Occasionally it doesn't)

EDIT: Sorted that out... Thanks a bunch!
by counterp
Tue Aug 31, 2010 7:38 pm
Forum: SNESdev
Topic: SPC player in java help?
Replies: 21
Views: 8786

HOLD ON A DAMN SECOND. It appears I was reading them the wrong way. I set the buffer size to each spc's compressed file size instead of actual size.... :? But now i just get 'emulation error' when I try to play a spc file. protected int play_( byte out [], int count ) { dsp.setOutput( out ); // Run ...
by counterp
Tue Aug 31, 2010 6:04 pm
Forum: SNESdev
Topic: SPC player in java help?
Replies: 21
Views: 8786

Yeah I'm pretty sure it is.
by counterp
Tue Aug 31, 2010 6:21 am
Forum: SNESdev
Topic: SPC player in java help?
Replies: 21
Views: 8786

Hmm I changed back to original class then added your SPCPlayer class but I still get the same error. java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at src.sounds.emu.SpcEmu.startTrack(SpcEmu.java:147) at src.sounds.EmuPlayer.startTrack(SPCPlayer.java:45) at src...
by counterp
Mon Aug 30, 2010 6:26 pm
Forum: SNESdev
Topic: SPC player in java help?
Replies: 21
Views: 8786

Can't seem to get it working. java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at src.sounds.emu.SpcEmu.startTrack(SpcEmu.java:147) at src.sounds.EmuPlayer.startTrack(VGMPlayer.java:44) at src.sounds.SoundManager.play(SoundManager.java:42) at src.Client.<init>(Cl...
by counterp
Mon Aug 23, 2010 4:55 pm
Forum: SNESdev
Topic: SPC player in java help?
Replies: 21
Views: 8786

I'm making a mario game for fun and the original spc music files are very small so I'd like to use them.

And yeah, his code is hard to understand since it's not documented, and I can't find the spc protocol.
by counterp
Mon Aug 23, 2010 3:58 am
Forum: SNESdev
Topic: SPC player in java help?
Replies: 21
Views: 8786

ok, can someone explain the protocol for playing spc files in java, and post the example code for playing a single spc file?

please and thanks
by counterp
Sat Aug 21, 2010 7:21 pm
Forum: SNESdev
Topic: SPC player in java help?
Replies: 21
Views: 8786

SPC player in java help?

I'm trying to play spc files using java, and I stumbled across this thread: http://nesdev.com/bbs/viewtopic.php?t=6222 In it, the user blargg posted his java music player that had the capability of playing spc files. However I am not able to just rip out the spc playing part, can anyone help me plea...