Jump to content

Recommended Posts

Posted

@gingi

 

Thanks! It's nice to see the app is useful :D

I'll try to keep up and post updates also for the SC version!

 

Bafio

  • Replies 44
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Hi!

 

Version 0.8 is out,

 

main chenges:

 

In this version,I changed the protocol again :D and it works a bit more like the old one

so you can slow the transfer down by using the delay bar if you run into transfer errors.

 

* FAST! File transfer is now almost as fast as it gets, 84KBs here on my machine!.

* Direct connection,so you don't have to pass all the connection setting screens

* Some other minor changes

 

I think this should work reliably to everybody, but I can't be sure, so I appreciate some feedback to undestand if the new protocol is really reliable.

 

Cheers

 

Bafio

Posted (edited)

Hi!

There's a new release, now with source code!

Plus bugfixes...

 

see here: New home

 

Version 0.9 RC

 

Big news:

 

* The *source code* is distributed

- The paths are all relative to the directory and Sgstair's lib

is included so it should be easy to compile. All you need is

the latest DevKitPro

NOTE: No spaces in the path to the source...

* New app, wific2, (execute for GBAMP only) downloads and executes the file named test.nds

from the server, without all the setting screen (using the ones saved

from wific), for fast testing during development

* Some important bugfixes:

- The discovery code was wrong, this time server discovery sould work

better.

- The settings sometimes were not put in the wifi, so you could not

(at times) interact with the server. So the 'I can't get the list of

file' bug (at least in some occasions)

* Poversaving

- close the DS goes in standby

- you can turn off the upper screen by pressing select at the main menu

* The java server now has commandline:

java -jar server.jar [directory] [-port portNumber] [-delay sendDelay]

 

Enjoy!

 

Bafio

Edited by bafio
Posted

Hi!

 

Jet another new version, almost one a day :D

This time the changes are significant, and should fix many problems. Try it out!

 

 

Version 0.95 RC

 

More big news!

This time it should work MUCH better for real.

 

* The server has been rewritten completely, there

were some serious flows and a stupid bug that made

the recovery from errors useless.

Plus the server now can handle multiple clients...

* Basic DNS. You can type a normal address as destination IP, so

you can (not tested) connect to a remote server.

Type the address and press list.

* Many many bugfixes, and added recovery code for bad situations

like timeouts, to avoid that the application freeze.Still can happen at times,

but should be rare.

* Some more bugfixes I can't remember...

 

Bafio

Posted

Jason-Bardeys-Computer:~/Documents/Sites/ARCHIVES/wifitransfer_095 jason$ java -jar server.jar servertest 21 10

Exception in thread "main" java.lang.UnsupportedClassVersionError: bafio/TransferServer (Unsupported major.minor version 49.0)

at java.lang.ClassLoader.defineClass0(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:539)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)

at java.net.URLClassLoader.access$100(URLClassLoader.java:55)

at java.net.URLClassLoader$1.run(URLClassLoader.java:194)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:187)

at java.lang.ClassLoader.loadClass(ClassLoader.java:289)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)

at java.lang.ClassLoader.loadClass(ClassLoader.java:235)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

 

Sums it up I guess. Is that the Java 1.4 support missing again?

Posted
Jason-Bardeys-Computer:~/Documents/Sites/ARCHIVES/wifitransfer_095 jason$ java -jar server.jar servertest 21 10

Exception in thread "main" java.lang.UnsupportedClassVersionError: bafio/TransferServer (Unsupported major.minor version 49.0)

        at java.lang.ClassLoader.defineClass0(Native Method)

        at java.lang.ClassLoader.defineClass(ClassLoader.java:539)

        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

        at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)

        at java.net.URLClassLoader.access$100(URLClassLoader.java:55)

        at java.net.URLClassLoader$1.run(URLClassLoader.java:194)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)

        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)

        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

 

Sums it up I guess. Is that the Java 1.4 support missing again?

 

Ops, I forgot to mention: I introduced a whole lot of new stuff in this version, and I use features specific of java 1.5, so my suggestion is to update to java 1.5, it is by the way a good idea, since it's a much improved version.

If I see there si much request for a java 1.4 version, I can try backporting, but I would avoid that if possible (there are some automatic tools, but you can't trust the results!)

 

Take a look at the website in a few minutes, I'm uploading 0.96.

 

I didi not get much feedback, but I think that the file transfer should be much more reliable this time!

I want to start working on a new project, so if I don't get bug reports version 0.96 will be the last for some time.

 

Cheers!

 

Bafio

Posted

Version 0.96 out, this time small changes.

 

See the web site (no internet connection home, little time to be online).

 

Bafio

Posted (edited)

When I try to load the server.jar file, the computer can't find the main class. I try running runme.bat in the console, I get teh same error and it spews what looks like java at me. What's wrong? Do I need to reinstall java. I don't wanna! It's 14 MB over dial-up B):P

Edited by dualscreenman
Posted

A new version is out!

 

no beg differences, just some fine tuning...

Also this time a java 1.4 version is included, not sure if it really works though...

 

Bafio

 

Unfortunatley i can't install a version of java greater than 1.4.

 

I'll try the automatic tool I was talking about, so I'll make a 1.4 version as soon as I have the time :P

 

Bafio

Posted

I saw you updated on http://www.drunkencoders.com/ and downloaded both the new wifitransfer & chat

 

but neither works for me :/

 

So heres some debug data for you :P

 

Ok im using a M3 SD, firmware 14, copy the games to the flashcart with direct copy & no trim (so it makes a savegame)

 

But it doesnt work, for wifitransfer:

 

I start the server, runs fine, no errors, select directory. (suggestion: it would be handy for future releases if it saved the directory you pick for when you start the program again)

 

Then i try the DS side.

 

When i run wific, i get an message on the top screen saying:

reading config file

and then nothing happens. I've waited a couple of minutes but well nothing ever happens. Anyway how could it be reading a config file anyway, its the first time i run the program.

 

Or it could also be an error with the M3 SD or something. Even with the latest moonshell that has SD support, and even with the version from the m3adapter site, moonshell crashes the moment it loads. I see the menu, see time bar, couple of windows, but whatever button i press or part of menu i touch it does nothing, it just hangs. This might be the same thing here, the program hanging the moment it reads the SD card ?

 

When i run wific2 it goes a lot better. It gives this info on the top screen:

Welcome: capnduck
192.168.0.189 (-- static ip it chose itself ?, i never got to enter anything)

set static ip
Connecting to AP... Connecting to AP... Connecting to AP... Connected! timeout.... is the server up? timeout.... is the server up? (--etc)

 

And well thats just about it. Still it didnt ask on any settings ever so somethings going wrong here. Probably since its just connecting without ever asking me to put in some settings o_o. How in hell is it supposed to know what IP my computer is on huh ? :)

 

So when does it ask for settings ? And can i try put my own settings file on the sd card ?. Because of this, well i cant run wifichat either because it needs the settings from wifitransfer :/

 

Anyway i hope this information can help you in fixing it :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...