Join us on Discord!
You can help CodeWalrus stay online by donating here.

PICO-8 : Fantasy console

Started by Duke "Tape" Eiyeron, April 16, 2015, 08:44:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yuki

Of course execution speed depends of your computer, but yeah, the update and draw functions are called 30 times a second.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

Dream of Omnimaga

Ok thanks. And there are timers, delay and wait commands to slow things down, right?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Snektron

Today i finally got around to downloading it, and it looks very cool. Is it possible to edit code outside of pico-8 btw?
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Yuki

Yes, if you edit the .p8 file it should work.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

Snektron

ah yes, i've found the "folder" command :)
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Dream of Omnimaga

That's nice juju. Also is the music tracker built-in the software or is it a separate cartridge? And can music be edited outside PICO-8 such as Notepad?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Yuki

The music tracker is built-in.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

Dream of Omnimaga

Cool to hear :). I'll see if I can try making a song with it at some point.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Siapran

on an unrelated note, I found this:
https://gist.github.com/paniq/7814560e2b560b76911b

could probably be used for some fancy effects etc

Snektron

Oh cool. This is becoming like calculators where everyone is hacking it too to find secrets :P
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Siapran

oh my god
I tried getting the code from a cart png with a text editor

I though it would just be some extensive metadata in the picture
I was wrong

the whole thing is encoded into the pixels themselves

Snektron

Whoa.... how did they do that O.O
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Siapran

#102
I think each byte of the cart is spread on the last 2 bits of every channel:

take for instance, the keyword "local"
hex: 6c 6f 63 61 6c
binary: 0110 1100 0110 1111 0110 0011 0110 0001 0110 1100


now for a gray pixel on the png:
hex: 66 66 66 FF
binary: 0110 0110 0110 0110 0110 0110 1111 1111


now for each pixel, spread a char on the end of each channel:
binary:
0110 0101 0110 0110 0110 0111 1111 1100
0110 0101 0110 0110 0110 0111 1111 1111
0110 0101 0110 0110 0110 0100 1111 1111
0110 0101 0110 0110 0110 0100 1111 1101
0110 0101 0110 0110 0110 0111 1111 1100
hex:
65 66 67 FC
65 66 67 FF
65 66 64 FF
65 66 64 FD
65 66 67 FC


the color change is so subtle you can't even see it, but the data is still there
with a picture of 160*205, you have 32800 pixels, that makes 32K of data for a cart

Snektron

That's awesome O.O I love these kind of hidden secrets :D
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Yuki

Yeah, I looked at it the other day and found nothing. Thank you!
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

Powered by EzPortal