Author Topic: Drawing Pictures for Axe  (Read 12313 times)

0 Members and 1 Guest are viewing this topic.

Offline Wellen

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +7/-2
    • View Profile
Re: Drawing Pictures for Axe
« Reply #15 on: September 23, 2011, 09:58:28 am »
SourceCoder can convert image files (such as bmp) to hex.

http://www.cemetech.net/projects/basicelite/sourcecoder2.php
I tried it, it doesn't seem to work :( it gives me only FFs.
I think I'll make it with [Pic0].
Thanks anyway.


sorry for the necropost ^^
BUT
the tool I found don't really work indeed, as Haleyia said, so I tried the sourcecoder one that Josjuice gave, and it works !
You just have to browse to your bmp, and that's it, it seems to be able to give you some grayscales hexcode, but i just tried with a B/W pic, so I don't know.

So, p2, you can use this one http://www.cemetech.net/projects/basicelite/sourcecoder2.php (no need of german, cuz' you'll have anything to do but upload your bmp)

;)
-/...././/--./.-/--/.
I'm french, so please feel free to correct my bad english, it'd help me a lot ;)
Spoiler For Feat. Loulou54:
Spoiler For Projects:
Spoiler For Axe:
Ti-Lock : Lock your calc before turning it off               [XXXXXXXX--] 80%
Spoiler For Ti-Basic:
Spoiler For Soko-Ti, a sokoban game in Ti-Basic:

Spoiler For Memory:

Downloads here.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Drawing Pictures for Axe
« Reply #16 on: January 28, 2012, 11:50:10 am »
-.-°
Source coder won't give me the hex code for an image that is larger than 96x64.

Any other tool that would work ?
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline ZippyDee

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +83/-8
  • Why not zoidberg?
    • View Profile
Re: Drawing Pictures for Axe
« Reply #17 on: January 28, 2012, 03:08:22 pm »
You could break it down into smaller images and splice it together...
There's something about Tuesday...


Pushpins 'n' stuff...


Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Drawing Pictures for Axe
« Reply #18 on: January 29, 2012, 02:37:05 am »
You could break it down into smaller images and splice it together...
Yes but then, I'll have to think about which hex part goes where, and I am too lazy for that :P
Anyway, what I wanted to do wouldn't work :( but thanks for trying :)
« Last Edit: January 29, 2012, 02:37:13 am by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

ti-freak

  • Guest
Re: Drawing Pictures for Axe
« Reply #19 on: March 25, 2014, 11:03:04 am »
There are different ways to draw pictures in Axe. For 8x8 sprites you can use the Axe sprite painter. The program HEXPIC in the Axe Download file converts a 8x8 sprite to hex.

Runner112 has written a multi greyscale sprite to hex converter. The sprites can have the size 8x8 or 16x16. Here is the Tread to this cool tool. The download is on page 2.

For other sizes you can use the "Data(" command:

:Data(96,64)->GDB1
:[HEXCODE]
:.Drawing on screen
:Bitmap(X,Y,GDB1
:DispGraph

If you want to draw an 96x64 sprite, the size of the Hexcode is (96x64)/4


But has your screen realy 96 pixels in a line?


Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: Drawing Pictures for Axe
« Reply #20 on: March 25, 2014, 11:04:26 am »
That thread was 2 years old. Didn't you see the red text saying that no posts were made in it since more than 120 days ? That was an implicit way of saying "don't post here unless you have a very good reason".

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Drawing Pictures for Axe
« Reply #21 on: March 25, 2014, 12:04:14 pm »
And your post absolutely doesn't answer the question because you say "put [HEXCODE] then use Bitmap", but the question was "how to get the hex code other than converting byte per byte ?"
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline josh landers

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 116
  • Rating: +1/-0
    • View Profile
Re: Drawing Pictures for Axe
« Reply #22 on: March 26, 2014, 10:34:15 am »
Yah necro-thread!
Ok so I use MS-paint to resize the image to the size, make sure that you use the pixel resize though.  And your good to upload!
Step 1 resize and turn in to greyscale.
Step 2 Upload to source coder
Code: [Select]
PART_1:PART_1:
01017E0010000003FFFFFFFC0A05E00618000007FFFFF7FCF80700E
E0000010EFFFDE3FCF78FC1FC00000207FFFFFFFCFC70017BA25F0
0007DFBFFFCD83C1DFFF9DF8800100187D4A1DFC1FF79FE100070
000FFCD2FF0FFFB1FC1081E0001BFC7471BFFFF9FC7380440003F8
08DFFFFFCFFFFFE7000204F0033FFFFFDFE3E0EF080100680FFFFFFF
BFC1E0E27807008CDFFFFFFFF945F70CB02600DCFDFFEFFEC034F37
73040007C3FFF87FF8022FBE3A00008301FFF17FF0EE2FFC4100030B
4BFFF3FFE3061FFEC400C19F4991FFFFF0063FFFFF7AE6DFC9B3FFF
FF0077FFF3CBBFFFFC3BFFFFFF00CEFFF30F7FFFFC7FFFFFFF80FFF
FE279FFFFFCFFFFFFFFFCFF2FF200FFFFFCFFFFFFFFE07C1FFE5E7F
FFFCFFFFFFFF80FFDFF9FF3FFFFCFFFFFFDF847FB7EBFE3FFFFCFFF
FEF9F1CDC3FF9FFFFFFFCFEFFCF3F3DFC7FFFFFFFFFFCFFFFFE727F
79FFE9FFFFFFFCFFFFFC007FBBEE81FFFFFFFCFFFFE003FFE7D7FFDF
FFFFFCFFFFC00FFFC3D0FC19BFFFFCFFFFC6FFF999FEFE3CFFFFFCF
FBBC7FFF08AFFFEEFBFFFFCFE3346060F9FB3FF6FE7FFFCFF85E0182
43FFFFFFFF1FFFCFF87FFFFE01FF7FFFFF83FFCF807FFFFC3781F7FF
FF81FFCFE3DFFDFC6601F7FFFC017FCF01BFFDF02C123FFBF030FFCE
003FFFF41C900FF9A002FFCC008BFFF01C0A0DFC0481FFCF00047FE0
3BEC0FE00887FFCE00000FE0D2E76D00001FFFCF80C4018C7464DD0
000FFFFCFF00900DE64671F0003FFFFCFFC2001C0F59F22000FFFFFCF
FF800040E00410023FFFFFCFFFF000006250C040FFFFFFCFFFFE200F22
C92007FFFFFFCFFFFF80328941521FFFFFFFCFFFFFF0518FC31D7FFF
FFFFCFFFFFBC610FC33FFFDFFFFFCFFFFE78130FC02FFF9FFFFFCFFFF
EFC091FFA1FFFFFFFFFCFFFFDFE011FC9FFFFFFFFFFCFFFFDFC7F3FEC
7F4FFFFFFFCFFFFB7FFF3FEE7F91FBFFFFCFFFFE7E5F7FFEFFB63FFFFF
CFFFF7D8787FFF7BFD00FFFFCFFFEC6C407FFF0431D07FFFCFFE50BE00
FFFFC23A001FFFCFE4837003FFFBFFBF700FFFCFFC26BC1FFFFBFEC63707FFC
PART_2:
FFFFFFFFFFFFFFFFFFFFFFFCFFFFFFFFFFFFFFFFFFFFFFFCFFFFFFFFFFFF
FFFFFFFFFFFCFFFFFFFFFFFFFFFFFFFFFFFCFFFFFFFFFFFFFFFFFFFFFFFC
FFFFFFFFFFFFFFFFFFFFFFFCFEFFFFFFFFFFFFFFFFFFFFFCFFFFFFFFFFFF
FFFFFFFFFFFCFFFFFFFFFFFFFFFFFFFFFFFCFFFFFFFFFFFFFFFFFFFFFFFC
FFFFFFFFFFFFFFFFFFFFFFFCFFFFFFFFFFFFFFFFFFFFFFFCFFFFFFFFFFFFF
FFFFFFFFFFCFFFFFFFFFFFFFFFFFFFFFFFCFFFFFFFFFFFFFFFFFFFFFFFCFF
FFFFFFFFFFFFFFFFFFFFFCFFFFFFFF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FFC001CFFFCFFC0
143FFFFFFFFF80587FFC
And then pop it in some axe this I s 4 level grayscale.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Drawing Pictures for Axe
« Reply #23 on: March 26, 2014, 11:31:17 am »
The problem with SourceCoder is that it is online. I can't use it when I am in a train.
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Drawing Pictures for Axe
« Reply #24 on: March 26, 2014, 12:44:35 pm »
Drawing an OS Pic and importing it with [var] is also a good idea.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Drawing Pictures for Axe
« Reply #25 on: March 26, 2014, 12:53:54 pm »
Except when you have at least 10 projects using at least one picture. Another possibility is to "convert" the Pic into an appvar using a simple program, but that is not as convenient as it would be to drag and drop an image file onto a program that would return hex code to just copy paste.
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55863
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Drawing Pictures for Axe
« Reply #26 on: March 26, 2014, 01:48:13 pm »
The problem with SourceCoder is that it is online. I can't use it when I am in a train.
Thankfully over here there are three bus lines and the boat that have wi-fi. The only issue, though, is that sometimes wi-fi isn't working and during rush hour, they bring in a few extra bus vehicles that have no wi-fi in them. Plus I don't know if my phone has enough RAM to use SourceCoder nor if it can save 8xp files anyway. :P

There is also Token that can generate pics, right? That said, it's for windows so unless you got a laptop it isn't as portable as the real calc.
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline josh landers

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 116
  • Rating: +1/-0
    • View Profile
Re: Drawing Pictures for Axe
« Reply #27 on: March 26, 2014, 02:26:42 pm »
If  Moral of the story=your ever on a train boat or plane.
use graphpaper and convert to binary then to hex
Else use source coder
End


Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Drawing Pictures for Axe
« Reply #28 on: March 26, 2014, 02:45:55 pm »
There is also Token that can generate pics, right? That said, it's for windows so unless you got a laptop it isn't as portable as the real calc.
Well I use a laptop in the train. And wow, thank you for telling me that because I actually found out now that TokenIDE can import images and convert them into hex O.O
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Drawing Pictures for Axe
« Reply #29 on: March 26, 2014, 04:57:33 pm »
SPASM can do that too but it's really bitchy when it comes to file format. :/