LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

PetitModem

Root / Talk About Programs / [.]

TechokamiCreated:
I will put directions on how to use petit modem later in the resources section. Do not worry My children. I have mastered the art of petit modem... LEL ... ok then bai

I think that the waveforms sound like 80's harsh noise music But if we use the sound DLC to make a better modem? With PCMSTREAM, etc.

I think I may have a solution to software being removed. First, we need a universal key-based decryptor that can decrypt files. Next, we'll need a file format like .dat to use as a program file with a header. The header includes a key for decrytion. Let me know what you think of this idea.

I think I may have a solution to software being removed. First, we need a universal key-based decryptor that can decrypt files. Next, we'll need a file format like .dat to use as a program file with a header. The header includes a key for decrytion. Let me know what you think of this idea.
Well, what's the point if the game runs and displays the copyrighted data? Or are you planning to share the game publicly and keep the password private?

I published http://smilebasicsource.com/page?pid=462 months ago, and it still hasn't been taken down So encryption is actually very effective.

I published http://smilebasicsource.com/page?pid=462 months ago, and it still hasn't been taken down So encryption is actually very effective.
As well as encryption may work, I might start development on a proxy for SmileBasic that sends raw files directly to and from a computer. Will have to check the terms of use first, sadly.

I published http://smilebasicsource.com/page?pid=462 months ago, and it still hasn't been taken down So encryption is actually very effective.
As well as encryption may work, I might start development on a proxy for SmileBasic that sends raw files directly to and from a computer. Will have to check the terms of use first, sadly.
You mean uploading to the PC as if it was Smilebooms's server??

I published http://smilebasicsource.com/page?pid=462 months ago, and it still hasn't been taken down So encryption is actually very effective.
As well as encryption may work, I might start development on a proxy for SmileBasic that sends raw files directly to and from a computer. Will have to check the terms of use first, sadly.
Issue: SB servers use HTTPS.

I've made a crossover audio cable, but 3DS doesn't "listen" to it. The trick was a 1k resistor between MIC and GND pins. -LEFT and RIGHT from PC goes to MIC of 3DS (with 1K resistor to ground) -LEFT and RIGHT from 3DS goes to MIC of PC

When I use this, the noise is really loud. Could this damage the computer's speakers?

I recommend you to use a splitter, but the sound will not damage your speakers :)

I recommend you to use a splitter, but the sound will not damage your speakers :)
Okay. Thanks! I was just wondering because the sound was really loud. I was using 600 bps with ARQ. I am currently sending over an HD image, which is taking quite some time. But at a size of 800000 bytes with over 100 bytes being transferred per second, it assume that it will take about 2 hours (give or take). EDIT: Just realized my original post was posted 2 hours ago, so this might take 2 more hours, but I don't know.

Earlier in this thread, I saw that there was a link to Petit Modem v1.2.8, shown here:
So, here's something important and useful. The primary means of sharing projects in SmileBASIC is to use the cloud server SmileBoom is running. While this is very easy to use and quite useful, there are three major "GOTCHA" kind of problems: 1) SmileBoom is actively policing the server and things uploaded to it. They have been very quick with deleting - without warning - any fangame or game clone projects. So awesome projects like Mega Man 2 PTC ( http://petitcomputer.wikia.com/wiki/MegaMan_2_PTC ) are going to be killed if distributed on the cloud. 2) You can't back up your work from your 3DS or the cloud to your PC in a readable format. The files on your SD Card are heavily encrypted, and can't be used on any other 3DS system. 3) If SmileBoom unplugs the server, you're hosed. (Anyone remember SwapNote?) Thankfully, a Japanese user created a clever solution, using old microcomputer tech! Back in the early 80s, before floppy disks were affordable for home users of microcomputers (like the Commodore PET, VIC-20, and ZX Spectrum), you generally used cassette tapes to store and load data. A modem device in the microcomputer would modulate the data into audio sound to be recorded onto the tape to store, and demodulated from audio back into data to load. It wasn't very fast, but it worked and was affordable, until floppy disks came down in price. So... one of the features of SmileBASIC is that you can use the microphone... which led to the creation of PetitModem! http://rei.to/petitmodem.html One program on your Windows PC, one program loaded in SmileBASIC. You can use it to freely transfer files between the 3DS and PC! At a, ahem, blisteringly "fast" 1200 baud. (That's 96 bytes/second) To get the most out of this, I suggest getting a splitter like this: http://www.amazon.com/StarTech-com-headsets-separate-headphone-microphone/dp/B004SP0WAQ Combine this with some cheap audio cables, and you can connect directly into your computer. Just remember to plug the headset lead into the microphone jack, and the microphone lead into the speaker jack. This avoids issues with background noise and allows for using faster speeds. I've noticed that some Japanese SmileBASIC sites provide code via a browser-based audio player, using the same technology. Maybe something similar can be considered for this site?
i cant find the public key for the sb version. does anyone know what it is?
It's here at this site, http://rei.to/petitmodem_en.html v1.2.8 Smilebasic key: 4KXN4DJS PC program download: http://rei.to/PetitModemPC1.2.8.zip
However, when I go on the website, I only see v1.2.7, both on the English website and the Japanese one. What happened to v1.2.8? Was there something wrong with it? EDIT: Also, the download key and download link still work.

Is there a specific version of petitmodem for people using new3DS and a microphone cable?
Would it be possible to release a version with higher transfer speeds for users like me?
Currently, high speed version is very sensitive to the environment. if i change PC or 3DS, i have to adjust parameters every time. it is bothersome to explain the adjusting procedure. especially for children. if this problem is solved, i will release it.
Also, SmileBoom just announced the first DLC add-on, which is the “Advanced Sound Unit”. Perhaps a version using this could help speed up transfers?
yes. the DLC contains PCM,FFT and BIQUAD filter, these are what I want to implement in the PetitModem and what I gave up due to the speed. ideally, MIC -> BIQUAD -> FFT -> Bit Stream but now MIC -> IIR -> Heterodyne -> Bit Stream if it comes, QAM / QFDM can be implemented. smilebasic may become over 56kbps MODEM.
Can you release an update to take take advantage of the DLC as a beta? To avoid the background noise, people can use a splitter. If some people don't know this already, you can also add a warning before using the 56kbps mode, and mention that it is experimental. I think that using the DLC has a lot of potential, and I would really like it if you were able to make an update for PetitModem to do so. Sure, it may be limited when only being able to use a splitter, but it would make transferring files to and from SmileBASIC way easier. Thanks!

Also, I just started using a splitter, but I can only transfer data at 300bps. Without a splitter, I can transfer at 600bps, but then I have to hear all the data being transferred (which doesn't really sound nice). I assume it's my computer, but maybe it's something else. Do you need to adjust the volume or change anything before being able to transfer at higher speeds? Thanks (And sorry for posting so much)!

I've attempted several .BMP transfers, with several types of .BMP formats, and I can't seem to get the final product correctly. Am I right to use GLOAD to load the DAT file to the graphic screen, or is there some other method for displaying the image? I've also tried other image formats. All the formats specified to work with the modem.

I've attempted several .BMP transfers, with several types of .BMP formats, and I can't seem to get the final product correctly. Am I right to use GLOAD to load the DAT file to the graphic screen, or is there some other method for displaying the image? I've also tried other image formats. All the formats specified to work with the modem.
You're supposed to convert and compress the image first using "LZSS for PetitCom.exe"