Skip to content

Commit

Permalink
v0.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Komas19-new committed May 26, 2023
1 parent 1acd1c0 commit 3e95aec
Show file tree
Hide file tree
Showing 19 changed files with 290 additions and 179 deletions.
2 changes: 1 addition & 1 deletion 3DSLINKTEST.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"C:\devkitPro\tools\bin\3dslink.exe" flappy.3dsx -a 192.168.1.40
3dslink\3dslink.exe Compiled\flappy.3dsx -a 192.168.1.19
PAUSE
43 changes: 43 additions & 0 deletions 3dslink/3ds_rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
ifeq ($(strip $(DEVKITPRO)),)
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPro)
endif

include $(DEVKITARM)/base_rules

PORTLIBS := $(DEVKITPRO)/portlibs/3ds
export PATH := $(DEVKITPRO)/portlibs/3ds/bin:$(PATH)

CTRULIB ?= $(DEVKITPRO)/libctru

ifeq ($(strip $(APP_TITLE)),)
APP_TITLE := $(notdir $(OUTPUT))
endif

ifeq ($(strip $(APP_DESCRIPTION)),)
APP_DESCRIPTION := Built with devkitARM & libctru
endif

ifeq ($(strip $(APP_AUTHOR)),)
APP_AUTHOR := Unspecified Author
endif

ifeq ($(strip $(APP_ICON)),)
APP_ICON := $(CTRULIB)/default_icon.png
endif

#---------------------------------------------------------------------------------
%.smdh: $(APP_ICON) $(MAKEFILE_LIST)
$(SILENTCMD)smdhtool --create "$(APP_TITLE)" "$(APP_DESCRIPTION)" "$(APP_AUTHOR)" $(APP_ICON) $@
$(SILENTMSG) built ... $(notdir $@)

#---------------------------------------------------------------------------------
%.3dsx: %.elf
$(SILENTCMD)3dsxtool $< $@ $(_3DSXFLAGS)
$(SILENTMSG) built ... $(notdir $@)

#---------------------------------------------------------------------------------
%.elf:
$(SILENTMSG) linking $(notdir $@)
$(ADD_COMPILE_COMMAND) end
$(SILENTCMD)$(LD) $(LDFLAGS) $(OFILES) $(LIBPATHS) $(LIBS) -o $@
$(SILENTCMD)$(NM) -CSn $@ > $(notdir $*.lst)
Binary file added 3dslink/3dslink.3dsx
Binary file not shown.
Binary file added 3dslink/3dslink.exe
Binary file not shown.
Binary file added 3dslink/3dslink_i686
Binary file not shown.
Binary file added 3dslink/3dslink_osx
Binary file not shown.
Binary file added 3dslink/3dslink_x86_64
Binary file not shown.
41 changes: 41 additions & 0 deletions 3dslink/README.TXT
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
3dslink is a simple and effective method to transfer homebrew games and
applications to your 3DS over wifi. Simply run 3dslink.3dsx on your 3DS
console and use the command line 3dslink host tool to send a 3dsx file.

3dslink [-a ip address] [-0 argv0] <ndsfile> [arguments]

The 3dslink host uses UDP broadcast messages to discover your 3DS but
this won't work for some people due to routers either not passing on
these packets or sending them at a speed the 3DS can't read.

If you get "No Response from 3DS!" then try specifiying the ip address
of your 3DS with the -a switch.

unrecognised arguments at the end of the command line will be passed on
to the launched 3dsx. Use -0 to set argv[0] if, for instance, you'd like
to set the cwd for the application. use -0 sdmc:/3ds/ to set the cwd to
the 3ds folder in the root of your card.

Copyright (c) 2015 Dave Murphy (WinterMute)

Any redistribution or reproduction of part or all this software in any
form is prohibited other than the following:

You may make as many copies of the software as you require for
your own personal use.

You may copy the complete, unmodified archive to individual third parties
for their personal use, but may not place it on websites or torrent trackers.

You may not, except with my express written permission, distribute or
commercially exploit the software. Nor may you transmit it or store it
in any other website.

The Software shall be used for Good, not Evil.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Binary file added 3dslink/testargs.3dsx
Binary file not shown.
Binary file modified Compiled/flappy.3dsx
Binary file not shown.
Binary file modified Compiled/flappy.cia
Binary file not shown.
Binary file modified Compiled/flappy.elf
Binary file not shown.
Binary file added audio.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion cia_workaround.rsf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
BasicInfo:
Title : "Flappy"
Title : "Flappy3DS"
CompanyCode : "00"
ProductCode : "CTR-FLAPPY"
ContentType : Application
Expand Down
1 change: 1 addition & 0 deletions make 3dsx.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
make
move flappy.3dsx Compiled/
pause
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 3e95aec

Please sign in to comment.