Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Munchor

Pages: 1 ... 160 161 [162] 163 164 ... 424
2416
BatLib / Re: BatLib
« on: April 12, 2011, 03:55:04 am »
With strings, good as well!

2417
Forum Arcade Games / Re: Ballo
« on: April 12, 2011, 03:51:28 am »
Thanks Michael_Lee.

I don't get the Aspirin name though...

2418
Art / Re: Removing Background from Image
« on: April 12, 2011, 03:38:04 am »
Thanks guys! If I had Photoshop I could do this, but I uninstalled it.

On an off-topic note, do we still need to uninstall TiEmu to use GIMP and vice-versa? That was why I always stayed away from GIMP before, aside from the fact I disliked how everything were separate windows (I prefer everything in one window like Paint Shop Pro and Photofiltre Studio).

No idea, sorry.

2419
BatLib / Re: BatLib Ideas/Wishlist
« on: April 11, 2011, 04:45:11 pm »
You should read the ReCode readme :P
I should. :P  I've been really busy recently, though, so... </lame excuse>
Yeah, I should. ;)

And then you should code some samples :P And then create software =D

2420
Art / Removing Background from Image
« on: April 11, 2011, 04:40:25 pm »
I have a request guys, attached is an image I'd like the white part to be removed so that it is nothing (transparent) and it has no background so it will go fine in any colour.

Thanks, if you could also tell me how to do that :D

I tried a rubber in Paint.NET but it's hard to control it, even with anti-aliasing enabled.

2421
BatLib / Re: BatLib Ideas/Wishlist
« on: April 11, 2011, 04:20:03 pm »
Line(0,96,0,64,2
What does the 2 at the end do?

It's the rectangle type.

You should read the ReCode readme :P

type 1 - black
type 2 - inverted
...
type 6 - borders only
...

2422
Art / Re: What I look like
« on: April 11, 2011, 12:09:01 pm »
Happybojr looks like:


2423
Forum Arcade Games / Re: Ballo
« on: April 11, 2011, 10:54:54 am »
I'd like a calculator version of this game, it's pretty cool

2424
It's actually normal for extremely old products to be more valuable, but such a difference is not fair in my view.

2425
WabbitStudio Software Suite / Re: WabbitStudio Software Suite
« on: April 11, 2011, 10:40:49 am »
Thanks Compynerd, it's not a bug then, it's a GIF Limitation.

Thanks.

2426
Miscellaneous / Re: What is your avatar?
« on: April 11, 2011, 10:39:25 am »
What does it mean?

In Z80 Assembly, 'ret' means the end of a program. It closes when reaches a 'ret' instruction.

2427
WHAT?!?!?!?!?!?!?!?!?!?!?
* Compynerd255 feels so stupid that he believed that 2.71 was real.

Really? You're a bit late :P

2428
TI Z80 / Little Endian Code to .dw Code
« on: April 11, 2011, 10:36:55 am »
I just created a very simple tool that allows you to convert hexadecimal code like FDCB00AE to code like .dw $CBFD, $AE00.

It's a small python program that can either read files or read hexadecimal code by type input.

It converts the code and then creates a .txt file with named 'dwCode.txt' with the final code to be used in an Assembly code.


You need Python 2.x to run it. It's attached, hope you like it. For now, it can only open ASCII files (not 8xp) and the number of bytes has to be divisible by four, so '210100' won't work, but 'FDCB00AE' will. Sorry for this, I'll try to fix it.

Here's the source code:

Code: [Select]
def bibEndianToLittleEndian(hex):
"""Takes a big endian hex string and turns it to little endian"""
splitHex = [hex[x:x+4] for x in xrange(0,len(hex),4)]
for i in range(0,len(splitHex)):
splitHex[i] = splitHex[i][2]+splitHex[i][3]+splitHex[i][0]+splitHex[i][1]
return "".join(splitHex)

def littleEndianToDw(hex):
"""Takes a little endian string as an argument and turns it to .dw blocks"""
#.dw $CBFD,$AE00
finalString = ".dw"
splitHex = [hex[x:x+4] for x in xrange(0,len(hex),4)]
for i in range(0,len(splitHex)):
finalString+= " $"+splitHex[i]+","
return finalString[0:len(finalString)-1]

def main():
print "Choose:\n1. Type hexadecimal code\n2. Open from file"
option = input()
if option==1:
hexCode = raw_input("Type hexadecimal code: ")
g = open('dwCode.txt','w')
g.write(littleEndianToDw(bibEndianToLittleEndian(hexCode)))
g.close()

else:
fileName = raw_input("Enter name of ASCII file: ")
f = open(fileName,'r')
hexCode = f.read()
f.close()
g = open('dwCode.txt','w')
g.write(littleEndianToDw(bibEndianToLittleEndian(hexCode)))
g.close()

if __name__=='__main__':
main()

Enjoy :)

2429
BatLib / Re: BatLib
« on: April 11, 2011, 09:56:12 am »
Yeah, if I can correct the strings and finalise the sprite commands, that would be awesome :) I also need to add in tilemapping and data editing while I am at it :)

If you could make sprite display like in Axe would be awesome:

Code: [Select]
Pt-On(X,Y,Pic     ;Type
;Example:
[[FFFFFFFFFFFFFFFF]->Pic1
Pt-On(0,40,Pic1

2430
Other Calculators / Re: Balltrix (ported by Xeda)
« on: April 11, 2011, 09:54:53 am »
Wow, that's really fast! Was this done with Batlibs functions, or Recode? Looks nice either way. =)
yeah, it is all ReCode at this point :)
Zeda: Maybe you could include BatLib App in the folder when you upload it :)

Awesome job eitherway.
I normally would do that, since BatLib continues to be updated, if I upload a version with a program, it will soon be outdated :) Plus, if users already have the latest copy, I don't want them to have to reinstall a downgraded version :D

Ok, then just including the link in the readme is fine :)

Pages: 1 ... 160 161 [162] 163 164 ... 424