Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
ItemDex
TypeDex
UnownDex
More

Major Glitches
Trainer escape glitch
Old man trick
Celebi trick
Select glitches (Japan)
SRAM glitch
CoolTrainer♀ corruption
LOL glitch
Rival LOL glitch
Super Glitch
ZZAZZ glitch
Pomeg corruption glitch (Glitzer Popping)
Tweaking
Elite Four door glitch (Japan)
Pokémon merge glitch
Pokémon cloning
Time Capsule exploit
Arbitrary code execution
Coin Case glitch
More

Other Glitch Categories
Glitches by generation
Glitches between two generations
Japan-only/language specific glitches
Music glitches
Natural glitches
Non-core series glitches
Non-Pokémon glitches
Officially acknowledged glitches
Recurring glitches
Dead glitches

References
Pokémon GameShark codes
The Big HEX List
GB programming
Curiosities
Debugging features
Easter eggs
Error traps
Glitch areas
Glitch myths
Non-glitch exploits
Placeholder texts
Pokémon glitch terminology
Unused content and prerelease information

Useful Tools
8F Helper
GBz80 to Items
Old man trick name generator
PATH (Prama's Advanced Tweaking Heaven)
Save file editors
Special stat/Pokémon converter
Trainer escape Trainer Pokémon finder

Affiliates
Legendary Star Blob 2 (Hakuda)
Pokémon Speedruns wiki
PRAMA Initiative
Become an affiliate!

Search Wiki

 

Search Forums

 

Author Topic: Easy tool to make 8F setups  (Read 370 times)

0 Members and 1 Guest are viewing this topic.

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Wiki Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Easy tool to make 8F setups
« on: February 25, 2017, 12:31:39 pm »
GBz80 to Items : Making 8F setups easier


WHAT'S THIS ?
GBz80 to Items is an online tool that allows you to write 8F item setups very easily.
You just type your code, click a button, and you get an item list. Easy as cake !
It's currently available online at http://issotm.github.io/gbz80toitems3/.

Knowledge of Gameboy assembly is required, this is only intended to replace using The Big HEX List and speed up the process of writing setups.


I FOUND A BUG ! I HAVE A FEATURE REQUEST !
No problem ! I have you covered.
If you have a GitHub account, I suggest you go here and create a new issue.
Otherwise, just post your request in the thread. I visit the forums quite often, so I'll probably work on it shortly.

BUG TRACKER
#002  "ld (mem16), a" throws "Line undefined : Invalid operand (mem16) !" Fixed in 3.0.1
#003  "ld a, (mem16)" throws "Line 1 : mem16 isn't a valid 16-bit number !" Fixed in 3.0.1
#004  ldh doesn't work and throws "memAccess is undefined" internal (!) errors Fixed in 3.0.1
#005  Bit rotation instructions throw "reg8.indexof is not a function !" Fixed in 3.0.1
#006  jp mem16 throws "invalid operand $36e0 !"


Legacy stuff :
This is the third version of the compiler I make, and the second I publish.
The old v2 version can be checked out at http://prama-initiative.com/8F/ (version 2.1) and http://prama-initiative.com/8F/beta/ (version 2.2, never finished because shitty code)
« Last Edit: February 26, 2017, 03:25:35 am by ISSOtm »
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)

Yeniaul

  • Guest
Re: Easy tool to make 8F setups
« Reply #1 on: February 25, 2017, 01:17:03 pm »
My discovery: Opcode "RRC A" breaks it with "Line 1 : reg8.indexof is not a function"
Cryo's discovery: Opcode "ldh [$FF00],a" breaks it with "Line 1 : Cannot read property 'match' of undefined"
We've already broken your converter >:D
« Last Edit: February 25, 2017, 01:17:22 pm by Yeniaul »

Torchickens

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
    • View Profile
Re: Easy tool to make 8F setups
« Reply #2 on: February 25, 2017, 01:48:10 pm »
Thank you for this awesome tool!

Do you know how to use ld ($yyxx), a (ea yy xx)? When I put ld ($d059),a I get an "invalid operand ($d059)" error or for ld (d059),a it erroneously claims d059 is not 16-bit number.
Hello. I actually identify as gender questioning, but nowadays feel more firmly that I identify as female. My sex is male but I like to express myself as female.  She/her pronouns, please.


Thank you Myri for my avatar! Thank you Aeriixion for the cute sprite above! :) Roelof also made different variations of the sprite (which I animated).

Contact:

Email Youtube Twitter
Skype: Torchickens
Bulbapedia Starfy Wiki

Beyond all philosophies are the things that go best for you; what makes you feel content. It's important to always follow your heart, so unless you feel perfectly happy about it don't just follow something because it is popular, fits a style or is conventional. Sometimes you may reach a point you're not sure who you are, but as things settle I'm convinced things do work out in time.

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Wiki Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Re: Easy tool to make 8F setups
« Reply #3 on: February 25, 2017, 02:45:57 pm »
My discovery: Opcode "RRC A" breaks it with "Line 1 : reg8.indexof is not a function"
Cryo's discovery: Opcode "ldh [$FF00],a" breaks it with "Line 1 : Cannot read property 'match' of undefined"
We've already broken your converter >:D
All bit rotation opcodes had a typo in the code (reg8.indexof is no function, but reg8.indexOf is). I fixed it on my local build.
Cryo's problem comes from me implementing the LDH parser at 4am (read : very poorly). I'm working on actually writing the function, not even re-writing it. MEH.

Thank you for this awesome tool!

Do you know how to use ld ($yyxx), a (ea yy xx)? When I put ld ($d059),a I get an "invalid operand ($d059)" error or for ld (d059),a it erroneously claims d059 is not 16-bit number.
You do get an error because I let that form of LD slip by. Since it doesn't match any operand pair it knows, it essentially gives up and throws and "invalid operand" error. Lel.
You code is perfectly valid, btw :)
(GitHub issue)

Also, don't try "ld a, ($yyxx)", I forgot to remove parentheses and thus the code tries to parse "($d059)" as a 16-bit integer. That is also fixed in my debug build. (GitHub issue)

I'm adding those to the GitHub bug tracker and the first post.
« Last Edit: February 25, 2017, 02:50:03 pm by ISSOtm »
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Wiki Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Re: Easy tool to make 8F setups
« Reply #4 on: February 25, 2017, 06:00:04 pm »
Double-post to notify people that version 3.0.1 has been released and it fixes all of these bugs.
Enjoy !
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)