Author Topic: Request for a Java Programmer  (Read 46690 times)

0 Members and 1 Guest are viewing this topic.

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Request for a Java Programmer
« Reply #75 on: January 14, 2011, 12:10:55 pm »
Here's the files I need you to look at, Deep Thought.

Saw your PM, anything I can do, or is it definitely just Paint?

Thanks, Deep Thought!  It turns out I was just saving in a location different from what I "thought" (no pun intended), so I was looking at and compiling the wrong file the whole time.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Request for a Java Programmer
« Reply #76 on: January 14, 2011, 03:58:58 pm »
Oh, okay, that's great then :D Any suggestions, just ask. It's a nice way for me to learn more advanced stuff.




Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Request for a Java Programmer
« Reply #77 on: March 08, 2011, 05:37:00 am »
Hey, Nemo, do you have the source code for the GUI version of the font compiler?  I have a couple of changes I need to make

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Request for a Java Programmer
« Reply #78 on: March 08, 2011, 06:54:30 pm »
yep, it's attached. if you need me to package it again into a .jar file, just ask and i'll do so.


Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Request for a Java Programmer
« Reply #79 on: March 13, 2011, 12:21:20 pm »
Hot_Dog, this isn't too important, but when you're done changing it can I have a copy of the final bmp28xp.java (source)? Just want to know how things should work :)




Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Request for a Java Programmer
« Reply #80 on: March 13, 2011, 04:21:40 pm »
Hot_Dog, this isn't too important, but when you're done changing it can I have a copy of the final bmp28xp.java (source)? Just want to know how things should work :)

Sure thing.  There's an issue with checksum that I have to fix, and then I'll PM you when it's up.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Request for a Java Programmer
« Reply #81 on: March 13, 2011, 04:45:05 pm »
Hmm, the checksum doesn't work? Was that a problem in the original version?




Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Request for a Java Programmer
« Reply #82 on: March 13, 2011, 05:00:54 pm »
Hmm, the checksum doesn't work? Was that a problem in the original version?

I'm pretty sure it existed in the original.  But this would be my fault, because I gave you the wrong byte to start counting at.  Anyways, this is something I'm looking into.

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Request for a Java Programmer
« Reply #83 on: March 14, 2011, 01:52:35 am »
Okay, so i found the problem.  A byte can only go from -127 to 128, so sometimes java was adding negative numbers in checksum.  So I added 256 after every negative number.

Here's the new code.  Nemo, I also put up the new fontcompile.java, so if you could package it into a jar that would be helpful.

Deep Thought, here's some changes I added:

* Fonts must be at least 2 pixels wide / 2 pixels high
* After the 8 character program name, the data should be "0" instead of "1"
* Like I said before, you will need "CORE" before the width/height of the font characters

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Request for a Java Programmer
« Reply #84 on: March 19, 2011, 01:14:47 pm »
Okay, so i found the problem.  A byte can only go from -127 to 128, so sometimes java was adding negative numbers in checksum.  So I added 256 after every negative number.

Ohh, I never thought of that, whoops.