Convert Yoshi font and setup auto lba
This commit is contained in:
parent
81627e25a8
commit
cf737459aa
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"slot_0": {
|
||||
"timer_tests": {
|
||||
"pattern": "bin/*/src/TimerTests/*.o"
|
||||
"pattern": "bin/*/src/Overlay/TimerTests/*.o"
|
||||
},
|
||||
"gpu_tests": {
|
||||
"pattern": "bin/*/src/GPUTests/*.o"
|
||||
"pattern": "bin/*/src/Overlay/GPUTests/*.o"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
#ifndef __ASSETS_HPP__
|
||||
#define __ASSETS_HPP__
|
||||
|
||||
namespace Assets {
|
||||
void load_for_main();
|
||||
}
|
||||
|
||||
#endif //!__ASSETS_HPP__
|
|
@ -1,5 +1,7 @@
|
|||
#include "assets.hpp"
|
||||
#include <stdio.h>
|
||||
|
||||
void main() {
|
||||
Assets::load_for_main();
|
||||
printf("Planschbecken c:\n");
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
#include "assets.hpp"
|
||||
#include <PSX/File/Processor/cd_file_processor.hpp>
|
||||
#include <PSX/AutoLBA/auto_lba_declaration.hpp>
|
||||
#include <stdio.h>
|
||||
|
||||
namespace Assets {
|
||||
enum LBA {
|
||||
__jabyengine_start_lba_request
|
||||
__jabyengine_request_lba_for(FONT, "ASSETS/MAIN/FONT.BIN"),
|
||||
__jabyengine_end_lba_request
|
||||
};
|
||||
|
||||
__declare_lba_header(LBA);
|
||||
|
||||
void load_for_main() {
|
||||
printf("Loading assets! %i\n", lba[LBA::FONT].get_lba());
|
||||
}
|
||||
}
|
|
@ -11,7 +11,10 @@ $(OUTPUT_DIR)/IconTexture.bin: IconTexture.png
|
|||
@mkdir -p $(OUTPUT_DIR)
|
||||
jaby_engine_fconv --lz4 $< -o $@ simple-tim clut4 --semi-trans --color-trans
|
||||
|
||||
all: $(OUTPUT_DIR)/TexturePage.bin $(OUTPUT_DIR)/IconTexture.bin
|
||||
$(OUTPUT_DIR)/YoshiFont.bin: YoshiFont.png
|
||||
jaby_engine_fconv --lz4 $< -o $@ simple-tim clut4 --color-trans
|
||||
|
||||
all: $(OUTPUT_DIR)/TexturePage.bin $(OUTPUT_DIR)/IconTexture.bin $(OUTPUT_DIR)/YoshiFont.bin
|
||||
|
||||
clean:
|
||||
rm -fr $(OUTPUT_DIR)
|
Binary file not shown.
|
@ -5,8 +5,11 @@
|
|||
</Description>
|
||||
<Track>
|
||||
<File name = "SYSTEM.CNF">iso/System.cnf</File>
|
||||
<Main name = "XXXX_AAA.AA">application/bin/PSX-release/PoolBox.psexe</Main>
|
||||
<Directory name="ASSETS">
|
||||
<Main name = "XXXX_AAA.AA" lba_source = "application/src/main_assets.cpp">application/bin/PSX-release/PoolBox.psexe</Main>
|
||||
<Directory name="ASSETS" hidden = "true">
|
||||
<Directory name = "MAIN">
|
||||
<File name = "FONT.BIN" lz4 = "already">assets/bin/YoshiFont.bin</File>
|
||||
</Directory>
|
||||
<File name = "FONT.BIN" lz4 = "already">assets/bin/TexturePage.bin</File>
|
||||
<File name = "ICON.BIN" lz4 = "already">assets/bin/IconTexture.bin</File>
|
||||
</Directory>
|
||||
|
|
Loading…
Reference in New Issue