Main Menu
Main Page
Forums
New pages
Recent changes
Random page
Help

Glitches
Arbitrary code execution
Pokémon cloning
Pomeg glitch and Glitzer Popping
Tweaking and voiding
Glitches by generation
Other glitch categories

References/Resources
Databases
Disassembly projects
The Big HEX List
Interactive tools
Reference documents
Terminology

Affiliates
Legendary Star Blob 2 (Hakuda) (日本語/Japanese)
Pokémon Speedruns wiki (English)
PRAMA Initiative (Français/French)
MissingNo. Glitch City (Italiano/Italian)
Become an affiliate!

Technical
Site source code

Search Wiki

 

Search Forums

 

Author Topic: Pokemon Crystal Remote Code Execution  (Read 407 times)

0 Members and 1 Guest are viewing this topic.

Beppe1509

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Pokemon Crystal Remote Code Execution
« on: November 23, 2019, 06:29:02 am »
I was just casually looking at youtube and I found a video from TheZZAZZGlitch that showed me how I can use those ".bin" files with link cable to execute code, now I wanna make my own .bin files but I dont know how. Any suggestions?
« Last Edit: November 23, 2019, 10:12:49 am by Sherkel »

Sherkel

  • Hierarchitectitiptitoploftical
  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
  • PSYNCIN' IN THE VaiN
    • View Profile
Re: How .bin files work?
« Reply #1 on: November 23, 2019, 07:20:36 am »
This one?

Just do what he does in the video. It's in the bottom left quarter of the screen. If I correctly understand what you're asking.

To clarify, there is no one common use of .bin files. It's short for "binary". So just use them in whatever way they're intended to be used, in this case the way they're used in the video.
« Last Edit: November 23, 2019, 07:22:43 am by Sherkel »

Want to help with the wiki?
I don't have a habit of keeping Discord open, so direct inquiries are preferred through here.

Beppe1509

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: How .bin files work?
« Reply #2 on: November 23, 2019, 07:33:13 am »
Yeah but if you see he does python and i managed to do that but the problem is i want to make my own bin file like make this : https://pastebin.com/LTmnYhTx into a pokemon red program executed like him

Sherkel

  • Hierarchitectitiptitoploftical
  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
  • PSYNCIN' IN THE VaiN
    • View Profile
Re: How .bin files work?
« Reply #3 on: November 23, 2019, 08:19:21 am »
Be more specific with your question next time; I almost asked if you knew what Python was. :P

Anyway, given that you do, this should speak for itself:
Code: [Select]
print("BINARY should be a headerless block of GB Z80 machine code, 256 bytes in size")
If you're wondering how to write GBz80 code and compile it, the forum section on ACE has plenty of links to help get you started.

Want to help with the wiki?
I don't have a habit of keeping Discord open, so direct inquiries are preferred through here.

Beppe1509

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: How .bin files work?
« Reply #4 on: November 23, 2019, 09:25:54 am »
Thanks SO MUCH

Sherkel

  • Hierarchitectitiptitoploftical
  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
  • PSYNCIN' IN THE VaiN
    • View Profile
Re: How .bin files work?
« Reply #5 on: November 23, 2019, 09:32:24 am »
No problem!

Want to help with the wiki?
I don't have a habit of keeping Discord open, so direct inquiries are preferred through here.

Beppe1509

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: How .bin files work?
« Reply #6 on: November 23, 2019, 09:53:00 am »
another question, what should i use for converting the gbz80 code into binary

Sherkel

  • Hierarchitectitiptitoploftical
  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
  • PSYNCIN' IN THE VaiN
    • View Profile
Re: Pokemon Crystal Remote Code Execution
« Reply #7 on: November 23, 2019, 10:15:57 am »
If it just needs machine code, running it through rgbasm should do it.

The GBDev Discord server might come in handy if you're interested in coding for the Game Boy. :)

Want to help with the wiki?
I don't have a habit of keeping Discord open, so direct inquiries are preferred through here.

Beppe1509

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Pokemon Crystal Remote Code Execution
« Reply #8 on: November 24, 2019, 06:32:40 am »
I have a question, how do I execute a gbz80 code into pokemon? I have seen a tread with the items but when i have all the items in place it just crashes, any help?

Sherkel

  • Hierarchitectitiptitoploftical
  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
  • PSYNCIN' IN THE VaiN
    • View Profile
Re: Pokemon Crystal Remote Code Execution
« Reply #9 on: November 24, 2019, 08:57:31 am »
Do you have the bootstrap part done? It's when you prepare your party for 8F, your PC for ws m, or your Safari Balls and Day Care for -gm, depending on which item you're using.

Want to help with the wiki?
I don't have a habit of keeping Discord open, so direct inquiries are preferred through here.

Beppe1509

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Pokemon Crystal Remote Code Execution
« Reply #10 on: November 24, 2019, 11:16:26 am »
I have prepared my 8F bootstrapper on pokemon red, i tested some premade ones and they worked fine but now the problem is "converting" the code

Sherkel

  • Hierarchitectitiptitoploftical
  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
  • PSYNCIN' IN THE VaiN
    • View Profile
Re: Pokemon Crystal Remote Code Execution
« Reply #11 on: November 24, 2019, 12:38:45 pm »
I have prepared my 8F bootstrapper on pokemon red, i tested some premade ones and they worked fine but now the problem is "converting" the code
Converting from what to what?

If it's assembly code to items, GBz80 to Items does exactly what it says on the tin. If you're on BGB, it's a good idea to just type them in to test the setup first before going through the trouble of doing it legitimately on an original system, if that's your goal.

Want to help with the wiki?
I don't have a habit of keeping Discord open, so direct inquiries are preferred through here.

Beppe1509

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Pokemon Crystal Remote Code Execution
« Reply #12 on: November 27, 2019, 09:13:43 am »
how can i convert Items to GBz80??

Parzival

  • The Laziest Malware Enthusiast
  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
    • View Profile
    • (null)
Re: Pokemon Crystal Remote Code Execution
« Reply #13 on: November 27, 2019, 01:41:54 pm »
how can i convert Items to GBz80??
write the items to your inventory then go to that area in a debugger. Should work.

i'm also on keybase and bitchute but i don't have nifty buttons for those. Bitchute isn't ready yet, but will be eventually.

Updating profiles when tired... not a good idea.

Beppe1509

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Pokemon Crystal Remote Code Execution
« Reply #14 on: November 28, 2019, 08:11:47 am »
The Problem is that it does like that : https://ibb.co/pRmGYwH

any fix

CTRL + G works but on the code it just shows -