* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: DovahCalc  (Read 4241 times)

0 Members and 1 Guest are viewing this topic.

Offline Snektron

  • Lvl 69 Russian Snake
  • CodeWalrus Staff
  • Super User
  • Topic Management
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3165
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • quantuminfinity
  • Gender: Male
DovahCalc
« on: April 14, 2015, 05:19:41 pm »
This morning i got the idea to make a font hook that replaces letters with their Dovahzul equivalent:



It has a few changes, though:
 - Since the dragon language has no c, the sprite is the same as 'k' with a minor change
 - Things like 'Ah', which normally is 1 letter in the dragon language, is now just 'a' and 'h'

Also this was more of a quick experiment, so i made only a quick menu, without fancy moving parts.
(if you press one of the keys for the menu, it will enable/disable, just no action is shown)

EDIT: i wanted to have an alphabet here, but it doesnt seem to show pictures from ClrHome
« Last Edit: April 17, 2015, 05:49:14 pm by Cumred_Snektron »


  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline CKH4

  • Extravagant Sushi
  • Super User
  • Join Date: Jan 2015
  • Location:
  • Posts: 872
  • Post Rating Ratio: +3/-2
  • Gender: Male
Re: DovahCalc
« Reply #1 on: April 14, 2015, 06:33:20 pm »
Very cool but I suggest that you add a quick escape feature in case anyone gets lost.
  • Calculators owned: TI-83+, TI-84+


Offline xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18606
  • Post Rating Ratio: +95/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: DovahCalc
« Reply #2 on: April 14, 2015, 08:00:13 pm »
Interesting. I never heard of that Dovahzul thing before. Do you think it could be made as a separate font so that people with Omnicalc and other apps supporting fonts can use it without the program?

Also since this looks like a standalone hook program, I wonder how hard it would be to port it to the CSE so that people can have custom fonts (hint: New FF:MF graphics? :P) and if it would be possible to make the hook chain with DCSE?
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Snektron

  • Lvl 69 Russian Snake
  • CodeWalrus Staff
  • Super User
  • Topic Management
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3165
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • quantuminfinity
  • Gender: Male
Re: DovahCalc
« Reply #3 on: April 14, 2015, 08:26:24 pm »
Very cool but I suggest that you add a quick escape feature in case anyone gets lost.
Well it's kind of a joke things, so yeah :P (and that's why i made the menu a picture; so you can still read the options even when the hook is active (and i was lazy))

Interesting. I never heard of that Dovahzul thing before. Do you think it could be made as a separate font so that people with Omnicalc and other apps supporting fonts can use it without the program?
Probably, but i don't use Omnicalc myself and it'd require me to learn how to add fonts to omnicalc. Though i'd be happy to give someone the letter sprite data file (it's in the source (in the download) anyway).

Also since this looks like a standalone hook program, I wonder how hard it would be to port it to the CSE so that people can have custom fonts (hint: New FF:MF graphics? :P) and if it would be possible to make the hook chain with DCSE?
That may be quite a good idea and the hook code would be the same on the CSE, i only need to make some minor changes to the lookup and ofcourse the sprites itself. Maybe even add some kind of parser hook to allow sprites to be registered via basic? that would be quite awesome O.O
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline CKH4

  • Extravagant Sushi
  • Super User
  • Join Date: Jan 2015
  • Location:
  • Posts: 872
  • Post Rating Ratio: +3/-2
  • Gender: Male
Re: DovahCalc
« Reply #4 on: April 14, 2015, 08:37:09 pm »
I'm so proud of myself because I found a bug, pressing ² ^-1 makes a giant gap.
  • Calculators owned: TI-83+, TI-84+


Offline Snektron

  • Lvl 69 Russian Snake
  • CodeWalrus Staff
  • Super User
  • Topic Management
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3165
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • quantuminfinity
  • Gender: Male
Re: DovahCalc
« Reply #5 on: April 14, 2015, 08:46:37 pm »
Yeah there are some more tokens. when you use the '^' with mathprint allmost everything explodes. Not quite sure why this happens.
Anyway thanks for notifying, i will look at it tomorrow :)
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18606
  • Post Rating Ratio: +95/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: DovahCalc
« Reply #6 on: April 14, 2015, 10:15:42 pm »
Very cool but I suggest that you add a quick escape feature in case anyone gets lost.
Well it's kind of a joke things, so yeah :P (and that's why i made the menu a picture; so you can still read the options even when the hook is active (and i was lazy))

Interesting. I never heard of that Dovahzul thing before. Do you think it could be made as a separate font so that people with Omnicalc and other apps supporting fonts can use it without the program?
Probably, but i don't use Omnicalc myself and it'd require me to learn how to add fonts to omnicalc. Though i'd be happy to give someone the letter sprite data file (it's in the source (in the download) anyway).

Also since this looks like a standalone hook program, I wonder how hard it would be to port it to the CSE so that people can have custom fonts (hint: New FF:MF graphics? :P) and if it would be possible to make the hook chain with DCSE?
That may be quite a good idea and the hook code would be the same on the CSE, i only need to make some minor changes to the lookup and ofcourse the sprites itself. Maybe even add some kind of parser hook to allow sprites to be registered via basic? that would be quite awesome O.O
Ideally hook usage should be kept to a minimum, because almost everybody who play games have Doors CSE installed. Even with just a custom font I am worried that the font hook would overwrite Doors CSE hooks and either cause xLIBC/Celtic 2CSE and Homerun stuff to stop working or even freeze the calc. Basically, you would need to ensure there are no hook conflicts. Another issue is speed: Sometimes, parser hooks slows the calc down, so you would need to make sure that a custom font doesn't slow the calc down too much.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Snektron

  • Lvl 69 Russian Snake
  • CodeWalrus Staff
  • Super User
  • Topic Management
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3165
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • quantuminfinity
  • Gender: Male
Re: DovahCalc
« Reply #7 on: April 15, 2015, 10:09:13 am »
Yeah, but hooks are stored seperately and if you do some proper chaining (which isn't realyl hard, i just haven't implemented it yet) eveything should still work. Though people need to make sure not to get the hooks in some kind of loop, where hook A activates hook B and hook B activates hook A.
It would still be a cool parser hook though :)
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline Duke "Tape" Eiyeron

  • Urist McEiyolobster
  • Super User
  • Join Date: Nov 2014
  • Location: (V)(-_(//));(V)
  • Posts: 1636
  • Post Rating Ratio: +11/-2
  • Fanciest Walrus of the oceans.
    • @@Eiyeron
    • Eiyeron
    • /u/Eiyeron
    • Eiyeron
    • Rétro-Actif : Rétro/Prog/Blog
  • Gender: Male
Re: DovahCalc
« Reply #8 on: April 15, 2015, 10:56:52 am »
This morning i got the idea to make a font hook that replaces letters with their Dovahzul equivalent:



It has a few changes, though:
 - Since the dragon language has no c, the sprite is the same as 'k' with a minor change
 - Things like 'Ah', which normally is 1 letter in the dragon language, is now just 'a' and 'h'

Also this was more of a quick experiment, so i made only a quick menu, without fancy moving parts.
(if you press one of the keys for the menu, it will enable/disable, just no action is shown)

EDIT: i wanted to have an alphabet here, but it doesnt seem to show pictures from ClrHome

Nice prank idea, I should find a way to do that silently and quickly on pal's calcs
  • Calculators owned: A lot.

Offline brentmaas

  • Full User
  • Join Date: Jan 2015
  • Location: Netherlands
  • Posts: 172
  • Post Rating Ratio: +2/-0
  • Java > all, fite me
    • brentmaas
  • Gender: Male
  • WalriiPoints: 25
Re: DovahCalc
« Reply #9 on: April 15, 2015, 02:44:12 pm »
Nice prank idea, I should find a way to do that silently and quickly on pal's calcs
1. Take one identical-looking calc.
2. Switch pal's calc with the previously-mentioned calc, preferably without mr./ms./mrs. pal noticing.
3. Upload DovahClc to pal's calc and activate.
4. Repeat step 2 in reverse.
5. Preheat oven to 250° C.
6. Put victory cake in oven until it's about to catch fire.
7. Laugh whilst eating cake.

NOTE: forget about the cake in case of no nearby oven.
Lel I glitched Omni

Offline Snektron

  • Lvl 69 Russian Snake
  • CodeWalrus Staff
  • Super User
  • Topic Management
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3165
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • quantuminfinity
  • Gender: Male
Re: DovahCalc
« Reply #10 on: April 15, 2015, 03:43:39 pm »
Don't forget to put in exam mode too while you're at it :P
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline Snektron

  • Lvl 69 Russian Snake
  • CodeWalrus Staff
  • Super User
  • Topic Management
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3165
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • quantuminfinity
  • Gender: Male
Re: DovahCalc
« Reply #11 on: April 15, 2015, 10:47:04 pm »
So i've found the error of some characters not displaying correctly, i didn't handle some mode's in the hook as i should have. After i fixed that
I tried to implement hook chaining. After a few hours struggeling i think i finally got it, at least that's what happens in the debug. I test with Omnicalc to see
if chaining works. If i run the code step for step from the point of where i jump from my code, via some code copied to SaveSScreen, to Omnicalc's hook, i can see
that it indeed does jump to omnicalc's code. But it doesnt display any of their characters. (i installed some random font i found on omnicalc). Anyone got ideas of what i'm doing wrong here? (if you want to see some code just say so)
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18606
  • Post Rating Ratio: +95/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: DovahCalc
« Reply #12 on: April 16, 2015, 03:31:43 am »
Actually which OS are you testing this on? Because the official version of Omnicalc doesn't run on MathPrint OSes. Same for xLIB. You should test with ZStart and DCS7 instead if you use 2.53/2.55MP. Or install OS 2.43.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Duke "Tape" Eiyeron

  • Urist McEiyolobster
  • Super User
  • Join Date: Nov 2014
  • Location: (V)(-_(//));(V)
  • Posts: 1636
  • Post Rating Ratio: +11/-2
  • Fanciest Walrus of the oceans.
    • @@Eiyeron
    • Eiyeron
    • /u/Eiyeron
    • Eiyeron
    • Rétro-Actif : Rétro/Prog/Blog
  • Gender: Male
Re: DovahCalc
« Reply #13 on: April 16, 2015, 07:29:45 am »
Nice prank idea, I should find a way to do that silently and quickly on pal's calcs
1. Take one identical-looking calc.
2. Switch pal's calc with the previously-mentioned calc, preferably without mr./ms./mrs. pal noticing.
3. Upload DovahClc to pal's calc and activate.
4. Repeat step 2 in reverse.
5. Preheat oven to 250° C.
6. Put victory cake in oven until it's about to catch fire.
7. Laugh whilst eating cake.

NOTE: forget about the cake in case of no nearby oven.

>ib4 the cake is a lie.

Yeah, that won't happen as I'm probably the only one who kept his calc now. (CS school)
  • Calculators owned: A lot.

Offline Snektron

  • Lvl 69 Russian Snake
  • CodeWalrus Staff
  • Super User
  • Topic Management
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3165
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • quantuminfinity
  • Gender: Male
Re: DovahCalc
« Reply #14 on: April 16, 2015, 08:26:50 am »
Actually which OS are you testing this on? Because the official version of Omnicalc doesn't run on MathPrint OSes. Same for xLIB. You should test with ZStart and DCS7 instead if you use 2.53/2.55MP. Or install OS 2.43.
Yeah i tested it with 2.55MP, though i can run Omnicalc and it's hook does work. But do ZStart and DCS7 have a font hook? else i might just copy my app and compile it under a different name (and change some sprites) to test it.
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games