• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

TricksterGuy/3ds-template: Template Project for Code::Blocks for developing 3ds ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

TricksterGuy/3ds-template

开源软件地址:

https://github.com/TricksterGuy/3ds-template

开源编程语言:

Makefile 96.8%

开源软件介绍:

3ds-template

A starter template for various 3DS homebrew applications. This template is geared specifically towards the Code::Blocks IDE. This template can also be used without Code::Blocks just use the Makefile and directory structure provided.

This is designed to be a simple and fairly minimal setup required to begin developing homebrew for the 3ds system. As such it doesn't include everything needed to build everything out of the box if you want to build 3ds or cia homebrew.

Usage

Targets Action
3ds Builds <project name>.3ds. 1
3dsx Builds <project name>.3dsx and <project name>.smdh.
cia Builds <project name>.cia. 1
citra Builds and automatically runs citra for testing.2
elf Builds <project name>.elf.
release Release build, creates a cia, 3ds, and a zip file containing the smdh and 3dsx. 3

Notes:

  • 1 This requires having makerom and bannertool in your $PATH
  • 2 make citra requires having citra installed and in your $PATH
  • 3 If you are on Windows you will need both of the following in your $PATH zip and libbz2.dll

Setting up devkitPro

  • Follow the steps installing devkitPro at the gbatemp wiki

If you want to build cia and 3ds then follow these extra steps:

  • Aquire makerom and bannertool binaries from buildtools, or compile them yourself from makerom and bannertool
  • Copy the makerom/bannertool to $DEVKITARM/bin or some other directory in your $PATH

Code::Blocks Setup

  1. Simply open 3ds.cbp in Code::Blocks
  2. Choose File > Save as user-template and enter a template name. The project setup is now a user template to create new projects.
  3. When creating a new project select File > New > From template and follow the wizard's instructions.
  4. Ensure you have the environment variables plugin installed (in linux you can install this by installing the codeblocks-contrib package)
  5. Choose Settings > Environment and scroll down to the Environment Variables section.
  6. Add DEVKITPRO and point it to where devkitpro is installed
  7. Add DEVKITARM and point it to where devkitarm is.

To compile in Code::Blocks simply select your target from the list and click the Gear icon to automatically invoke the Makefile

Note Make sure you are using MSYS2's make (make.exe) and not MINGW's make (mingw32-make.exe)

Creating a new project

  1. Make a new Code::Blocks project via a user-template you just created above. Or simply copy this directory.
  2. (Only needed for cia/3ds builds) Edit the file resources/AppInfo
    1. Edit those values and ensure you choose a unique id see unique_id_list.
    2. Replace the existing files in the resources directory to suit your needs.

Note please ensure that no folder/directory used in the project contains spaces. Devkitpro's Makefiles apparently does not like this. That is, do not have it in a folder like C:/3DS Hacking/3ds-template rather C:/3DS_Hacking/3ds-template

Credits

All of this would not have been possible without the work of




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap