So apparently I need, Devkitarm, ctrulib, xerpi's portlibs, xerpi's sf2d and xerpi's sftd.
How do I install those? I have Devkit and I believe Ctrulib comes with it but how do I install the Xerpi stuff?
Well atm in tryna install zlib since for freetype to be installed and i think another it needs it to be installed first. The error is to do ./configure before make and when I do that: $ ./configure
Checking for gcc...
Compiler error reporting is too harsh for ./configure (perhaps remove -Werror).
** ./configure aborting.
did you install mingw and checked if it's in your path?
your path should have:
- c:\devkitPro\devkitARM\bin\;
- c:\MinGW\bin\;
Also check and install this:
- compile and install ctrulib from smea (make install)
- compile and install citrus (make install) (maybe an edit is needed in the \citrus\source\libkhax\khaxinit.cpp)(see attached file below, remove the .txt and overwrite the original, recompile, should work fine now)
- compile and install citro3D (make install)
- compile and install sftdlib (make install)
- compile and install sf2dlib (make install)
- compile and install portlibs and zlib first, then the rest
make zlib
make install
make freetype
make install
etc...
If checked and you still get the gcc error, then install sygwin with develop option to install (warning install can take up to 45 minutes)
did you install mingw and checked if it's in your path?
your path should have:
- c:\devkitPro\devkitARM\bin\;
- c:\MinGW\bin\;
Also check and install this:
- compile and install ctrulib from smea (make install)
- compile and install citrus (make install) (maybe an edit is needed in the \citrus\source\libkhax\khaxinit.cpp)(see attached file below, remove the .txt and overwrite the original, recompile, should work fine now)
- compile and install citro3D (make install)
- compile and install sftdlib (make install)
- compile and install sf2dlib (make install)
- compile and install portlibs and zlib first, then the rest
make zlib
make install
make freetype
make install
etc...
If checked and you still get the gcc error, then install sygwin with develop option to install (warning install can take up to 45 minutes)
here's a batch script to build portlibs tools assuming you have your build enviroment correct:
It's not Xerpi's versions of portlibs but @TheCruel , but the also work fine to build JKSM
(Remove the .txt from the end)
.
.
And here's a batch script to build JKSM (modify to build your fork)
Code:
@echo off
cls
%~d0
cd %~dp0
Title = Building JKSM...
if exist "JKSM" (
echo Making a backup of your current JKSM folder
xcopy "%~dp0\JKSM\*" "%~dp0\Backups_Compiles\Backup_JKSM" /e /i /y >nul
cd JKSM
Title = Building JKSM ^(Update^)...
echo Updating repo...
git pull origin master
git submodule update --init --recursive
) else (
Title = Building JKSM ^(Clone^)...
echo Cloning repo...
git clone --recursive https://github.com/J-D-K/JKSM.git
cd JKSM
)
echo Building...
Title = Building JKSM ^(Clean^)...
make clean
Title = Building JKSM ^(Release^)...
make cia
Title = Building JKSM ^(Done^)
echo.
echo ####################################
color A
cd %~dp0
echo Done. Files are in the "JKSM" folder. && echo Press any key to continue ...
Pause >nul
exit
here's a batch script to build portlibs tools assuming you have your build enviroment correct:
It's not Xerpi's versions of portlibs but @TheCruel , but the also work fine to build JKSM
(Remove the .txt from the end)
.
.
And here's a batch script to build JKSM (modify to build your fork)
Code:
@echo off
cls
%~d0
cd %~dp0
Title = Building JKSM...
if exist "JKSM" (
echo Making a backup of your current JKSM folder
xcopy "%~dp0\JKSM\*" "%~dp0\Backups_Compiles\Backup_JKSM" /e /i /y >nul
cd JKSM
Title = Building JKSM ^(Update^)...
echo Updating repo...
git pull origin master
git submodule update --init --recursive
) else (
Title = Building JKSM ^(Clone^)...
echo Cloning repo...
git clone --recursive https://github.com/J-D-K/JKSM.git
cd JKSM
)
echo Building...
Title = Building JKSM ^(Clean^)...
make clean
Title = Building JKSM ^(Release^)...
make cia
Title = Building JKSM ^(Done^)
echo.
echo ####################################
color A
cd %~dp0
echo Done. Files are in the "JKSM" folder. && echo Press any key to continue ...
Pause >nul
exit
Do I open it in Msys?
cause with windows:
Cloning repo...
'git' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
Installing...
make: *** No rule to make target `clean'. Stop.
make: *** No rule to make target `freetype'. Stop.
make: *** No rule to make target `install'. Stop.
##################################################################
Done. Files are in the "3ds_portlibs" folder and installed to "\devkitPro\portlibs\".
Press any key to continue ...
I opened it in MSys:
c:/users/Justin/Desktop/Thing.bat: line 3: fg: no job control
c:/users/Justin/Desktop/Thing.bat: line 4: cd: %~dp0: No such file or directory
c:/users/Justin/Desktop/Thing.bat: line 5: Title: command not found
c:/users/Justin/Desktop/Thing.bat: line 6: syntax error near unexpected token `('
c:/users/Justin/Desktop/Thing.bat: line 6: `if exist "JKSM" ('
Btw I wasnt on about the Bat files when i said "Can I ask, Where am I meant to put the JKSM source files and where am I meant to be putting these lib folders?"
I installed git from: https://git-scm.com/download/win and the JKSM git errors dont happen. But two errors I still have on CMD are: Building...
clean ...
make[1]: /c/Users/Justin/Desktop/Homebrew: No such file or directory
make[1]: *** No rule to make target `/c/Users/Justin/Desktop/Homebrew'. Stop.
make: *** [build] Error 2
####################################
Done. Files are in the "JKSM" folder.
Press any key to continue ...
Ok its having an issue compiling with the cia target.
obviously its because I dont have all the libs installed. I try to use the bat file you gave me but it gives me an error. It seems like they are encrypted 2 times as a tar.* file and it doesnt extract twice making it try to make file on it but obviously it cant cause its not extracted
Ok so I found out it is because I dont have GCC/CC or something. I get an error saying
checking for i686-pc-mingw32-gcc... no
checking for gcc... no
checking for cc... no
configure: error: cannot find native C compiler
Out of curiosity, I would like to modify the source too. What are you modifying? If I can get mine to compile I can do yours or share my setup if you'd like.
Out of curiosity, I would like to modify the source too. What are you modifying? If I can get mine to compile I can do yours or share my setup if you'd like.
Ok I got it to start compiling JKSM but for some reason once it starts converting the 3dsx to a .cia it just errors saying "makerom command not found" :/
Hmm I moved my JKSV folder to: sd:/homebrew/3ds/JKSV like stated in the Readme, But its still not booting.
Can someone compile the default source here: https://github.com/J-D-K/JKSM and tell me if you get the same issue?
Today, April 8th, 2024, at 4PM PT, marks the day in which Nintendo permanently ends support for both the 3DS and the Wii U online services, which include co-op play...
A new Nintendo Switch firmware update is here. System software version 18.0.1 has been released. This update offers the typical stability features as all other...
With Apple having recently updated their guidelines for the App Store, iOS users have been left to speculate on specific wording and whether retro emulators as we...
The time has finally come, and after many, many years (if not decades) of Apple users having to side load emulator apps into their iOS devices through unofficial...
The highly popular and accurate FPGA hardware, MisterFGPA, has received today a brand new update with a long-awaited feature, or rather, a new core for hardcore...
Nintendo might just as well be a law firm more than a videogame company at this point in time, since they have yet again issued their now almost trademarked usual...
Another video game prototype has been found and preserved, and this time, it's none other than the game that spawned an entire franchise beloved by many, the very...
TheFlow has done it again--a new kernel exploit has been released for PlayStation 4 consoles. This latest exploit is called PPPwn, and works on PlayStation 4 systems...
Nintendo has recently announced through their social media accounts that a new Indie World stream will be airing tomorrow, scheduled for April 17th, 2024 at 7 a.m. PT...
Anbernic is back with yet another retro handheld device. The upcoming RG28XX is another console sporting the quad-core H700 chip of the company's recent RG35XX 2024...
Today, April 8th, 2024, at 4PM PT, marks the day in which Nintendo permanently ends support for both the 3DS and the Wii U online services, which include co-op play...
Nintendo might just as well be a law firm more than a videogame company at this point in time, since they have yet again issued their now almost trademarked usual...
With Apple having recently updated their guidelines for the App Store, iOS users have been left to speculate on specific wording and whether retro emulators as we...
The time has finally come, and after many, many years (if not decades) of Apple users having to side load emulator apps into their iOS devices through unofficial...
A new Nintendo Switch firmware update is here. System software version 18.0.1 has been released. This update offers the typical stability features as all other...
TheFlow has done it again--a new kernel exploit has been released for PlayStation 4 consoles. This latest exploit is called PPPwn, and works on PlayStation 4 systems...
Two classic titles join the Nintendo Switch Online Expansion Pack game lineup. Available starting April 24th will be the motorcycle racing game Extreme G and another...
The highly popular and accurate FPGA hardware, MisterFGPA, has received today a brand new update with a long-awaited feature, or rather, a new core for hardcore...
Nintendo has recently announced through their social media accounts that a new Indie World stream will be airing tomorrow, scheduled for April 17th, 2024 at 7 a.m. PT...
In 2017, the United States Federal Communications Commission (FCC) repealed net neutrality. At the time, it was a major controversy between internet service providers...