-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-added LZO compression when using HaxxStation to make things send ove…
…r quicker -added program init prints to easily debug any issues with it -added GameYob and nesDS emulators with dummy ROMs so you can directly send over .nes/.gb/.gbc files directly
- Loading branch information
Showing
25 changed files
with
5,236 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,12 +16,6 @@ | |
*.gch | ||
*.pch | ||
|
||
# Libraries | ||
*.lib | ||
*.a | ||
*.la | ||
*.lo | ||
|
||
# Shared objects (inc. Windows DLLs) | ||
*.dll | ||
*.so | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,16 @@ | ||
# wii-ds-rom-sender | ||
This application will allow you to send NDS ROMs via a Wii to a DS using Download Play. | ||
This application will allow you to send NDS ROMs (and emulated NES/GB/GBC ROMs) via a Wii to a DS using Download Play. | ||
Please note that if your DS is not patched with FlashMe and you dont use HaxxStation then you can only send over Official Demo ROMs. | ||
To make use of HaxxStation, get the US version of "DS Download Station - Volume 1" renamed to "haxxstation.nds" on the root of your sd card. | ||
All you have to do is put your .nds/.srl files into a "srl" folder on your sd card, | ||
All you have to do is put your .nds/.srl/.nes/.gb/.gbc files into a "srl" folder on your sd card, | ||
get the current version of this program from the "releases" tab and start it via the homebrew channel. | ||
After it loaded up just select the file you want, download it on your DS and play it! | ||
If you happen to have trouble getting the file sent over then change the delay timing to a higher value. | ||
Note that .nes files are emulated using nesDS and .gb/.gbc files are emulated using GameYob. | ||
|
||
This Application uses/includes: | ||
Parts of the HaxxStation code from https://github.com/Gericom/dspatch | ||
GameYob Binary with 2MB Dummy ROM from https://github.com/FIX94/GameYob | ||
nesDS Binary with 2MB Dummy ROM from https://github.com/ApacheThunder/NesDS/tree/master/NesDS_Singles | ||
DOL Application compressed with dolxz from https://github.com/FIX94/dolxz | ||
NDS Files compressed with the LZO Library by Markus F.X.J. Oberhumer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<app version="v1.1"> | ||
<app version="v3.0"> | ||
<name>Wii DS ROM Sender</name> | ||
<coder>FIX94</coder> | ||
<version>v2.0</version> | ||
<release_date>20170622000000</release_date> | ||
<version>v3.0</version> | ||
<release_date>20170624000000</release_date> | ||
<short_description>Send NDS ROMs to a DS using DLP.</short_description> | ||
</app> |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
/* lzo1.h -- public interface of the LZO1 compression algorithm | ||
This file is part of the LZO real-time data compression library. | ||
Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer | ||
All Rights Reserved. | ||
The LZO library is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU General Public License as | ||
published by the Free Software Foundation; either version 2 of | ||
the License, or (at your option) any later version. | ||
The LZO library is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with the LZO library; see the file COPYING. | ||
If not, write to the Free Software Foundation, Inc., | ||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
Markus F.X.J. Oberhumer | ||
<[email protected]> | ||
http://www.oberhumer.com/opensource/lzo/ | ||
*/ | ||
|
||
|
||
#ifndef __LZO1_H_INCLUDED | ||
#define __LZO1_H_INCLUDED 1 | ||
|
||
#ifndef __LZOCONF_H_INCLUDED | ||
#include <lzo/lzoconf.h> | ||
#endif | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
|
||
/*********************************************************************** | ||
// | ||
************************************************************************/ | ||
|
||
/* Memory required for the wrkmem parameter. | ||
* When the required size is 0, you can also pass a NULL pointer. | ||
*/ | ||
|
||
#define LZO1_MEM_COMPRESS ((lzo_uint32_t) (8192L * lzo_sizeof_dict_t)) | ||
#define LZO1_MEM_DECOMPRESS (0) | ||
|
||
|
||
LZO_EXTERN(int) | ||
lzo1_compress ( const lzo_bytep src, lzo_uint src_len, | ||
lzo_bytep dst, lzo_uintp dst_len, | ||
lzo_voidp wrkmem ); | ||
|
||
LZO_EXTERN(int) | ||
lzo1_decompress ( const lzo_bytep src, lzo_uint src_len, | ||
lzo_bytep dst, lzo_uintp dst_len, | ||
lzo_voidp wrkmem /* NOT USED */ ); | ||
|
||
|
||
/*********************************************************************** | ||
// better compression ratio at the cost of more memory and time | ||
************************************************************************/ | ||
|
||
#define LZO1_99_MEM_COMPRESS ((lzo_uint32_t) (65536L * lzo_sizeof_dict_t)) | ||
|
||
LZO_EXTERN(int) | ||
lzo1_99_compress ( const lzo_bytep src, lzo_uint src_len, | ||
lzo_bytep dst, lzo_uintp dst_len, | ||
lzo_voidp wrkmem ); | ||
|
||
|
||
|
||
#ifdef __cplusplus | ||
} /* extern "C" */ | ||
#endif | ||
|
||
#endif /* already included */ | ||
|
||
|
||
/* vim:set ts=4 sw=4 et: */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
/* lzo1a.h -- public interface of the LZO1A compression algorithm | ||
This file is part of the LZO real-time data compression library. | ||
Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer | ||
All Rights Reserved. | ||
The LZO library is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU General Public License as | ||
published by the Free Software Foundation; either version 2 of | ||
the License, or (at your option) any later version. | ||
The LZO library is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with the LZO library; see the file COPYING. | ||
If not, write to the Free Software Foundation, Inc., | ||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
Markus F.X.J. Oberhumer | ||
<[email protected]> | ||
http://www.oberhumer.com/opensource/lzo/ | ||
*/ | ||
|
||
|
||
#ifndef __LZO1A_H_INCLUDED | ||
#define __LZO1A_H_INCLUDED 1 | ||
|
||
#ifndef __LZOCONF_H_INCLUDED | ||
#include <lzo/lzoconf.h> | ||
#endif | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
|
||
/*********************************************************************** | ||
// | ||
************************************************************************/ | ||
|
||
/* Memory required for the wrkmem parameter. | ||
* When the required size is 0, you can also pass a NULL pointer. | ||
*/ | ||
|
||
#define LZO1A_MEM_COMPRESS ((lzo_uint32_t) (8192L * lzo_sizeof_dict_t)) | ||
#define LZO1A_MEM_DECOMPRESS (0) | ||
|
||
|
||
LZO_EXTERN(int) | ||
lzo1a_compress ( const lzo_bytep src, lzo_uint src_len, | ||
lzo_bytep dst, lzo_uintp dst_len, | ||
lzo_voidp wrkmem ); | ||
|
||
LZO_EXTERN(int) | ||
lzo1a_decompress ( const lzo_bytep src, lzo_uint src_len, | ||
lzo_bytep dst, lzo_uintp dst_len, | ||
lzo_voidp wrkmem /* NOT USED */ ); | ||
|
||
|
||
/*********************************************************************** | ||
// better compression ratio at the cost of more memory and time | ||
************************************************************************/ | ||
|
||
#define LZO1A_99_MEM_COMPRESS ((lzo_uint32_t) (65536L * lzo_sizeof_dict_t)) | ||
|
||
LZO_EXTERN(int) | ||
lzo1a_99_compress ( const lzo_bytep src, lzo_uint src_len, | ||
lzo_bytep dst, lzo_uintp dst_len, | ||
lzo_voidp wrkmem ); | ||
|
||
|
||
|
||
#ifdef __cplusplus | ||
} /* extern "C" */ | ||
#endif | ||
|
||
#endif /* already included */ | ||
|
||
|
||
/* vim:set ts=4 sw=4 et: */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
/* lzo1b.h -- public interface of the LZO1B compression algorithm | ||
This file is part of the LZO real-time data compression library. | ||
Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer | ||
All Rights Reserved. | ||
The LZO library is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU General Public License as | ||
published by the Free Software Foundation; either version 2 of | ||
the License, or (at your option) any later version. | ||
The LZO library is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with the LZO library; see the file COPYING. | ||
If not, write to the Free Software Foundation, Inc., | ||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
Markus F.X.J. Oberhumer | ||
<[email protected]> | ||
http://www.oberhumer.com/opensource/lzo/ | ||
*/ | ||
|
||
|
||
#ifndef __LZO1B_H_INCLUDED | ||
#define __LZO1B_H_INCLUDED 1 | ||
|
||
#ifndef __LZOCONF_H_INCLUDED | ||
#include <lzo/lzoconf.h> | ||
#endif | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
|
||
/*********************************************************************** | ||
// | ||
************************************************************************/ | ||
|
||
/* Memory required for the wrkmem parameter. | ||
* When the required size is 0, you can also pass a NULL pointer. | ||
*/ | ||
|
||
#define LZO1B_MEM_COMPRESS ((lzo_uint32_t) (16384L * lzo_sizeof_dict_t)) | ||
#define LZO1B_MEM_DECOMPRESS (0) | ||
|
||
|
||
/* compression levels */ | ||
#define LZO1B_BEST_SPEED 1 | ||
#define LZO1B_BEST_COMPRESSION 9 | ||
#define LZO1B_DEFAULT_COMPRESSION (-1) /* fastest by default */ | ||
|
||
|
||
LZO_EXTERN(int) | ||
lzo1b_compress ( const lzo_bytep src, lzo_uint src_len, | ||
lzo_bytep dst, lzo_uintp dst_len, | ||
lzo_voidp wrkmem, | ||
int compression_level ); | ||
|
||
/* decompression */ | ||
LZO_EXTERN(int) | ||
lzo1b_decompress ( const lzo_bytep src, lzo_uint src_len, | ||
lzo_bytep dst, lzo_uintp dst_len, | ||
lzo_voidp wrkmem /* NOT USED */ ); | ||
|
||
/* safe decompression with overrun testing */ | ||
LZO_EXTERN(int) | ||
lzo1b_decompress_safe ( const lzo_bytep src, lzo_uint src_len, | ||
lzo_bytep dst, lzo_uintp dst_len, | ||
lzo_voidp wrkmem /* NOT USED */ ); | ||
|
||
|
||
/*********************************************************************** | ||
// | ||
************************************************************************/ | ||
|
||
LZO_EXTERN(int) | ||
lzo1b_1_compress ( const lzo_bytep src, lzo_uint src_len, | ||
lzo_bytep dst, lzo_uintp dst_len, | ||
lzo_voidp wrkmem ); | ||
LZO_EXTERN(int) | ||
lzo1b_2_compress ( const lzo_bytep src, lzo_uint src_len, | ||
lzo_bytep dst, lzo_uintp dst_len, | ||
lzo_voidp wrkmem ); | ||
LZO_EXTERN(int) | ||
lzo1b_3_compress ( const lzo_bytep src, lzo_uint src_len, | ||
lzo_bytep dst, lzo_uintp dst_len, | ||
lzo_voidp wrkmem ); | ||
LZO_EXTERN(int) | ||
lzo1b_4_compress ( const lzo_bytep src, lzo_uint src_len, | ||
lzo_bytep dst, lzo_uintp dst_len, | ||
lzo_voidp wrkmem ); | ||
LZO_EXTERN(int) | ||
lzo1b_5_compress ( const lzo_bytep src, lzo_uint src_len, | ||
lzo_bytep dst, lzo_uintp dst_len, | ||
lzo_voidp wrkmem ); | ||
LZO_EXTERN(int) | ||
lzo1b_6_compress ( const lzo_bytep src, lzo_uint src_len, | ||
lzo_bytep dst, lzo_uintp dst_len, | ||
lzo_voidp wrkmem ); | ||
LZO_EXTERN(int) | ||
lzo1b_7_compress ( const lzo_bytep src, lzo_uint src_len, | ||
lzo_bytep dst, lzo_uintp dst_len, | ||
lzo_voidp wrkmem ); | ||
LZO_EXTERN(int) | ||
lzo1b_8_compress ( const lzo_bytep src, lzo_uint src_len, | ||
lzo_bytep dst, lzo_uintp dst_len, | ||
lzo_voidp wrkmem ); | ||
LZO_EXTERN(int) | ||
lzo1b_9_compress ( const lzo_bytep src, lzo_uint src_len, | ||
lzo_bytep dst, lzo_uintp dst_len, | ||
lzo_voidp wrkmem ); | ||
|
||
|
||
/*********************************************************************** | ||
// better compression ratio at the cost of more memory and time | ||
************************************************************************/ | ||
|
||
#define LZO1B_99_MEM_COMPRESS ((lzo_uint32_t) (65536L * lzo_sizeof_dict_t)) | ||
|
||
LZO_EXTERN(int) | ||
lzo1b_99_compress ( const lzo_bytep src, lzo_uint src_len, | ||
lzo_bytep dst, lzo_uintp dst_len, | ||
lzo_voidp wrkmem ); | ||
|
||
|
||
#define LZO1B_999_MEM_COMPRESS ((lzo_uint32_t) (3 * 65536L * sizeof(lzo_xint))) | ||
|
||
LZO_EXTERN(int) | ||
lzo1b_999_compress ( const lzo_bytep src, lzo_uint src_len, | ||
lzo_bytep dst, lzo_uintp dst_len, | ||
lzo_voidp wrkmem ); | ||
|
||
|
||
|
||
#ifdef __cplusplus | ||
} /* extern "C" */ | ||
#endif | ||
|
||
#endif /* already included */ | ||
|
||
|
||
/* vim:set ts=4 sw=4 et: */ |
Oops, something went wrong.