Skip to content

Commit

Permalink
Fixed some bugs and use JagoombaColor(EvilJagaGenius/jagoombacolor)
Browse files Browse the repository at this point in the history
  • Loading branch information
orzgithub committed Apr 20, 2022
1 parent 5a35ab3 commit 775db27
Show file tree
Hide file tree
Showing 37 changed files with 11,793 additions and 11,687 deletions.
104 changes: 96 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,106 @@

### Author's words

ZaindORp added the save backup function, skip save when holding L and PogoShell plugins support to this version.
ZaindORp added some features to this version.
Why ZaindORp made this? Who knows. In fact Sterophonick's version seems better and more powerful.
ZaindORp isn't really a good programmer and she just found a old EZ-Omega kernel so ZaindORp tried to renew it and port it to the EZ-Omega Defintive Edition.
But after everything is done she found erophonick's version and found the project have already be made before but decided to keep on developing ZaindORp's own version. ZaindORp has no EZ-Omega so she can't test the kernel on that and won't make a version for that.
By the way ZaindORp always call herself in the third person.

### How to build
### What's added

- Save backup
- Skip saving when holding L
- Pogoshell plugins support
- Use custom theme place in sd card
- An easter egg

### How to use the pogoshell plugins

1. Rename the plugins as [extname the plugin can open].[plugin's own extname]
2. Move it to /PLUGINS/
3. Enjoy the plugins! Now you can open the file with plugins.

1.We use devkitARM_r53, you can use the current version or newer.
2.Set the following environment variables in system, or modify the value in build.bat, based on your installation path

PATH,DEVKITARM,DEVKITPRO,LIBGBA
### How to make and use the themes

1. Download the _UniversalSkinner.
2. Create a blank pure text file at the same folder of the _UniversalSkinner.exe as definitions.xml and write these codes in.
```
<?xml version="1.0" encoding="utf-8" ?>
<definitions>
<file chksum="0x3c21e1e6" comment="EZOmega DE_ThemeFile">
<bitmap offset="0x0" width="70" height="70" color="16">gImage_Chinese_manual</bitmap>
<bitmap offset="0x2648" width="70" height="70" color="16">gImage_English_manual</bitmap>
<bitmap offset="0x4C90" width="240" height="160" color="16">gImage_splash</bitmap>
<bitmap offset="0x17890" width="240" height="160" color="16">gImage_SD</bitmap>
<bitmap offset="0x2A490" width="240" height="160" color="16">gImage_NOR</bitmap>
<bitmap offset="0x3D090" width="240" height="160" color="16">gImage_SET</bitmap>
<bitmap offset="0x4FC90" width="240" height="160" color="16">gImage_SET2</bitmap>
<bitmap offset="0x62890" width="240" height="160" color="16">gImage_HELP</bitmap>
<bitmap offset="0x75490" width="240" height="160" color="16">gImage_RECENTLY</bitmap>
<bitmap offset="0x88090" width="120" height="80" color="16">gImage_NOTFOUND</bitmap>
<bitmap offset="0x8CB90" width="16" height="14" color="16">gImage_icon_gba</bitmap>
<bitmap offset="0x8CD50" width="16" height="14" color="16">gImage_icon_folder</bitmap>
<bitmap offset="0x8CF10" width="16" height="14" color="16">gImage_icon_other</bitmap>
<bitmap offset="0x8D0D0" width="16" height="14" color="16">gImage_icon_FC</bitmap>
<bitmap offset="0x8D290" width="16" height="14" color="16">gImage_icon_GB</bitmap>
<bitmap offset="0x8D450" width="16" height="14" color="16">gImage_icon_nor</bitmap>
<bitmap offset="0x8D610" width="128" height="110" color="16">gImage_MENU</bitmap>
<bitmap offset="0x94410" width="1" height="1" color="16">gl_color_text</bitmap>
<bitmap offset="0x94412" width="1" height="1" color="16">gl_color_selectBG_sd</bitmap>
<bitmap offset="0x94414" width="1" height="1" color="16">gl_color_selectBG_nor</bitmap>
<bitmap offset="0x94416" width="1" height="1" color="16">gl_color_cheat_black</bitmap>
<bitmap offset="0x94418" width="1" height="1" color="16">gl_color_saverr</bitmap>
<bitmap offset="0x9441A" width="1" height="1" color="16">gl_color_unknown</bitmap>
<bitmap offset="0x9441C" width="1" height="1" color="16">gl_color_MENU_btn</bitmap>
<bitmap offset="0x9441E" width="1" height="1" color="16">gl_color_selected</bitmap>
<bitmap offset="0x94420" width="1" height="1" color="16">gl_color_cheat_count</bitmap>
<bitmap offset="0x94422" width="1" height="1" color="16">gl_color_NORFULL</bitmap>
<bitmap offset="0x94424" width="1" height="1" color="16">gl_color_btn_clean</bitmap>
</file>
</definitions>
```
3. Run the _UniversalSkinner.exe and open image.bin which provided with code and replace the picturs with one you like.
```
Images:
gImage_Chinese_manual: The QR code which direct to the user manual when you use Chinese
gImage_English_manual: The QR code which direct to the user manual when you use English
gImage_splash: The splash screen when booting(but the file system always load after the splash screen and the theme loaded after that so this won't change with the theme)
gImage_SD: The page and the background when in the page SD
gImage_NOR: The page and the background when in the page NOR
gImage_SET: The page and the background when in the page SET
gImage_SET2: The page and the background when in the page SET2
gImage_HELP: The page and the background when in the page HELP
gImage_RECENTLY: The page and the background when in the page RECENTLY(Two custom setting pages in this kernel also use this background)
gImage_NOTFOUND: The image show when the gba file has no thumbnail
gImage_icon_gba: The icon for the file type gba
gImage_icon_folder: The icon for the folder
gImage_icon_other: The icon for the file types which have no icons
gImage_icon_FC: The icon for the file type nes
gImage_icon_GB: The icon for the file type gb and gbc
gImage_icon_nor: The icon for the file in NorFlash
gImage_MENU: The background of the popup menu windows
Colors: (All the colors are shown as a one-pixel picture and the color of the pixel will be used)
gl_color_text: The color most text used
gl_color_selectBG_sd: The color show as the background of the select bar when in SD page
gl_color_selectBG_nor: The color show as the background of the select bar when in NOR page
gl_color_cheat_black: The background color when loading the game
gl_color_saverr: The color show when the save file went wrong(unused in the program)
gl_color_unknown: Unknown (unused in the program)
gl_color_MENU_btn: The background of the selection when the course doesn't move on
gl_color_selected: The color where the selected text used
gl_color_cheat_count: The color the cheat selection shows when the cheat is on
gl_color_NORFULL: The color shows when the NorFlash is full
gl_color_btn_clean: The background of the selection when the course move on
```
3. Click on "save firmware" in the menu and the tool will gen image.bin_edit. You can also share this file so everyone can easily use the theme.
4. Rename it as ODE and put it in /THEMES folder.
5. Enable the custom theme selection.
6. Enjoy the theme.

### How to build

3.Double click on build.bat under winodws. If it goes well, you will get ezkernelnew.gba
4.Double click on Link_kernel_image.exe link the ezkernelnew.gba and image.bin to ezkernelnew.bin, that is the omegaDE kernel upgrade file
1. We use devkitARM_r53, you can use the current version or newer.
2. Set the following environment variables in system, based on your installation path
PATH,DEVKITARM,DEVKITPRO,LIBGBA
3. Use "make" to build the kernel.
4 changes: 4 additions & 0 deletions emusrc/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Notes.txt
*.gba
*.elf
build
2 changes: 1 addition & 1 deletion emusrc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ include $(DEVKITARM)/gba_rules
# SOURCES is a list of directories containing source code
# INCLUDES is a list of directories containing extra header files
#---------------------------------------------------------------------------------
TARGET := goomba
TARGET := jagoombacolor
BUILD := build
SOURCES := src
INCLUDES :=
Expand Down
25 changes: 25 additions & 0 deletions emusrc/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Jaga's Goomba Color fork

A fork of Goomba Color with the goal of fixing bugs and incompatibilities in the original. Based on the 2019-05-04 source.

The games I'd like to get running are:
- Donkey Kong Land: New Colors Mode, https://www.romhacking.net/hacks/6076/. Can't reach the file select screen (should be fixed as of v0.4)
- Kirby's Dream Land DX Service Repair, https://www.romhacking.net/hacks/6224/. Palette issues in Level 2 and onwards (should be fixed as of v0.2)
- Konami GB Collections 2 and 4. Don't boot (should be fixed as of v0.1)
- Pokemon Crystal. Heavy graphical corruption after displaying text (should be fixed as of v0.3)

To build:
- Install the latest DevkitPro GBA tools
- Navigate to this directory
- make
- Rename font.lz77.o to font.o and fontpal.bin.o to fontpal.o
- make

To test, I build a ROM with the resulting goomba.gba and the game I'm testing using goombafront.exe, then run it in mGBA. You can find goombafront.exe as part of the Goomba Color releases.

Thanks to:
- Dwedit for the Goomba Color emulator, which you can find at https://www.dwedit.org/gba/goombacolor.php. If you'd like to incorporate my changes into Goomba Color, you're more than welcome to.
- FluBBa for the Goomba emulator before that: http://goomba.webpersona.com/
- Minucce for help with ASM and pointing me in the right direction.
- Sterophonick for code tweaks and featuring Jagoomba in the excellent Simple kernel for the EZ-Flash Omega carts: https://gbatemp.net/threads/new-theme-for-ez-flash-omega.520665/
- EZ-Flash for releasing the source to their modified Goomba Color builds, which hopefully allows this to support the Omega Definitive Edition's rumble features.
Loading

0 comments on commit 775db27

Please sign in to comment.