Skip to content

Commit

Permalink
Update example readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperDisk committed Feb 4, 2023
1 parent d411813 commit 637976a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
2 changes: 1 addition & 1 deletion gbdk_example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ This is a simple example of how to use hUGEDriver in your GBDK-2020 game.

Make sure you have both GBDK and RGBDS in your path, then run `build.bat` to build a .gb file which plays some music!

You can run `build\gbdk_player_example.gb` in your favorite Gameboy emulator.
You can run `build\gbdk_player_example.gb` in your favorite Game Boy emulator.
20 changes: 1 addition & 19 deletions rgbds_example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,4 @@ This is a simple example of how to use hUGEDriver in your game.

Make sure you have RGBDS in your path, then run `build.bat` to build a .gb file which plays some music!

In `build.bat` the steps are:

```bat
:: Assemble the hUGEDriver source into an object
rgbasm -ohUGEDriver.obj -i.. ../hUGEDriver.asm
:: Assemble the song into an object
rgbasm -osample_song.obj -i.. sample_song.asm
:: Assemble the example player code into an object
:: We specify -DSONG_DESCRIPTOR=ryukenden because that's the song descriptor I chose when exporting the song in hUGETracker.
rgbasm -oplayer.obj -i.. -DSONG_DESCRIPTOR=ryukenden ../player.asm
:: Link the objects together and run rgbfix
rgblink -ooutput.gb player.obj hUGEDriver.obj sample_song.obj
rgbfix -p0 -v output.gb
```

You can run `output.gb` in your favorite Gameboy emulator.
You can run `output.gb` in your favorite Game Boy emulator.

0 comments on commit 637976a

Please sign in to comment.