Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

SmileBASIC server clone 3DS: Difference between revisions

From GameBrew
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 8: Line 8:
|version=2019
|version=2019
|license=Mixed
|license=Mixed
|download=https://dlhb.gamebrew.org/3dshomebrews/sbserver3ds.7z
|download=https://dlhb.gamebrew.org/3dshomebrews/sbserver.zip
|website=https://github.com/Trinitro21/sbserver
|website=https://github.com/Trinitro21/sbserver
|source=https://github.com/Trinitro21/sbserver
|source=https://github.com/Trinitro21/sbserver
Line 15: Line 15:


==User guide==
==User guide==
You need:
You will need:
* Somewhere to host it.
* Somewhere to host it.
* PHP installed.
* PHP installed.
Line 25: Line 25:
Once you have all that there are two ways to install the necessary modifications on your 3DS:
Once you have all that there are two ways to install the necessary modifications on your 3DS:
* If you have version 3.6.0 of SmileBASIC, you can use the .ips generator in index.php to download a code.ips file.
* If you have version 3.6.0 of SmileBASIC, you can use the .ips generator in index.php to download a code.ips file.
** If you use [[Luma3DS]], you can place this file into /luma/titles/000400000016DE00/code.ips
** If you use [[Luma3DS]], you can place this file into /luma/titles/000400000016DE00/code.ips.
* Modify the code.bin of SmileBASIC.
* Modify the code.bin of SmileBASIC. To do this you need to dump a decompressed code.bin from SmileBASIC:
** Dump a decompressed code.bin from SmileBASIC, here's one way to do this:
** Make sure you have the latest release of [[GodMode9 3DS|GodMode9]].
*** Make sure you have the latest release of [[GodMode9 3DS|GodMode9]].
** Open GodMode9 and navigate to A:/title/0004000e/0016de00/content.
*** Open GodMode9 and navigate to A:/title/0004000e/0016de00/content
** Press A while highlighting 00000000.tmd and select TMD file options... > Extract .code.
*** Press A while highlighting 00000000.tmd and select TMD file options... > Extract .code.
** You now have the code.bin of SmileBASIC in /gm9out/.code on your SD card.
*** You now have the code.bin of SmileBASIC in /gm9out/.code on your SD card.
* Submit your code.bin to the patcher in index.php.
** Submit your code.bin to the patcher in index.php.
* It should patch the binary to use whatever url you put the server in.
** It should patch the binary to use whatever url you put the server in.
* Load the code.bin over SmileBASIC's.
** Load the code.bin over SmileBASIC's.
** If you use Luma3DS, put your modified code.bin into /luma/titles/000400000016DE00/code.bin.
*** If you use Luma3DS, put your modified code.bin into /luma/titles/000400000016DE00/code.bin and make sure Enable game patching is checked in Luma's settings
** Also make sure Enable game patching is checked in Luma's settings.


After you have done this, you should then be able to just use the interface as usual
After you have done this, you should then be able to just use the interface as usual.


==Notes===
===Notes===
The server determines what account you're using from the token your 3DS sends. All but the last 32 characters are constant per machine.
* The server determines what account you're using from the token your 3DS sends. All but the last 32 characters are constant per machine.
 
* The server sends the "X-Petc-Rights: 1" header, which tells SmileBASIC that you bought gold membership.
Keys are between 4 and 9 characters long, always start with 0, and contain uppercase letters and numbers. If you want to change that see the do{}while() loop in save3.php.  
* Keys are between 4 and 9 characters long, always start with 0, and contain uppercase letters and numbers. If you want to change that see the do{}while() loop in save3.php.
 
The server sends the "X-Petc-Rights: 1" header, which tells SmileBASIC that you bought gold membership


==External links==
==External links==
* GitHub - https://github.com/Trinitro21/sbserver
* GitHub - https://github.com/Trinitro21/sbserver
[[Category:3DS homebrew applications]]
[[Category:PC utilities for 3DS homebrew]]

Latest revision as of 11:45, 22 Haziran 2024

SmileBASIC server clone
Sbserver3ds2.png
General
AuthorTrinitro21
TypePC Utilities
Version2019
LicenseMixed
Last Updated2019/05/11
Links
Download
Website
Source

This is a clone of SmileBOOM's SmileBASIC servers. With this, no NNID is needed, everything is published automatically, there are no upload limits, and uploaded files are accessible from the web. It also makes requests to SmileBASIC's original servers so you can still download keys from there.

User guide

You will need:

  • Somewhere to host it.
  • PHP installed.
  • The PHP GD extension.
  • PHP should have access to the folder you're putting it in.
  • A url that isn't too long as there's only around 40 chars available for urls in the binaries.
  • CFW on your 3DS.

Once you have all that there are two ways to install the necessary modifications on your 3DS:

  • If you have version 3.6.0 of SmileBASIC, you can use the .ips generator in index.php to download a code.ips file.
    • If you use Luma3DS, you can place this file into /luma/titles/000400000016DE00/code.ips.
  • Modify the code.bin of SmileBASIC. To do this you need to dump a decompressed code.bin from SmileBASIC:
    • Make sure you have the latest release of GodMode9.
    • Open GodMode9 and navigate to A:/title/0004000e/0016de00/content.
    • Press A while highlighting 00000000.tmd and select TMD file options... > Extract .code.
    • You now have the code.bin of SmileBASIC in /gm9out/.code on your SD card.
  • Submit your code.bin to the patcher in index.php.
  • It should patch the binary to use whatever url you put the server in.
  • Load the code.bin over SmileBASIC's.
    • If you use Luma3DS, put your modified code.bin into /luma/titles/000400000016DE00/code.bin.
    • Also make sure Enable game patching is checked in Luma's settings.

After you have done this, you should then be able to just use the interface as usual.

Notes

  • The server determines what account you're using from the token your 3DS sends. All but the last 32 characters are constant per machine.
  • The server sends the "X-Petc-Rights: 1" header, which tells SmileBASIC that you bought gold membership.
  • Keys are between 4 and 9 characters long, always start with 0, and contain uppercase letters and numbers. If you want to change that see the do{}while() loop in save3.php.

External links

Advertising: