LoginLogin

PetitModem

Root / Talk About Programs / [.]

TechokamiCreated:
Ok, new plan: Protests, begging and spam.

Ah, actually it's possible to dump and inject files with this tool, even on the latest fw (10.1) https://gbatemp.net/threads/3ds-extdata-dump-and-restore-tool-extra-data-editing.378492/
How do I edit the dump file?
I just opened one of the source files in notepad++ and edited away. Doesn't seem to care about checksums/length etc. Just leave the header alone.

Ah, actually it's possible to dump and inject files with this tool, even on the latest fw (10.1) https://gbatemp.net/threads/3ds-extdata-dump-and-restore-tool-extra-data-editing.378492/
How do I edit the dump file?
I just opened one of the source files in notepad++ and edited away. Doesn't seem to care about checksums/length etc. Just leave the header alone.
I restored the dump and then I booted up SmileBASIC and it said the file was corrupt.

In case anyone is interested (it took me ages to gather all this info, I hope to save some others the trouble):
Thank you for sharing your information; I hope it DOES save people from extra work.

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?

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

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
thanks a ton man!!!

@jonobrien1223 don't touch the file header (the first 80 bytes)

@jonobrien1223 don't touch the file header (the first 80 bytes)
I would open a file already edited on SmileBASIC and when i open it in notepad++ I see the code I made.After I edit it I save it and restore it. I would then boot-up SmileBASIC and it says the file is corrupt.

@jonobrien1223 don't touch the file header (the first 80 bytes)
I would open a file already edited on SmileBASIC and when i open it in notepad++ I see the code I made.After I edit it I save it and restore it. I would then boot-up SmileBASIC and it says the file is corrupt.
Then notepad++ is being stupid and modifying something it should not. I recommend EditPad Pro. Though it's not very hard to find the full version on warez sites, even the trial version is pretty much fully functional for the purpose of editing source code. I'm making SmileBASIC syntax highlighting files for it right now.

Oh hey, I was able to extract the files from my SD Card! Thank you Cubic Ninja, you were a worthwhile investment. In case anyone wants to edit the GRP files on their computer using a graphics editor like Tile Molester, the image is stored as 16bpp RGBA (5551) as a 2-dimensional image with a block width size of 64.

Oh hey, I was able to extract the files from my SD Card! Thank you Cubic Ninja, you were a worthwhile investment. In case anyone wants to edit the GRP files on their computer using a graphics editor like Tile Molester, the image is stored as 16bpp RGBA (5551) as a 2-dimensional image with a block width size of 64.
Oh wow, I didn't know Molester supports custom bitmap formats! bluesun and I (mostly bluesun) ended up converting GRP files manually by replacing the entire header with a custom bitmap header. Wasn't fun.

I would try to edit a file in Editpad pro but it would come up blank.

Oh wow, I didn't know Molester supports custom bitmap formats! bluesun and I (mostly bluesun) ended up converting GRP files manually by replacing the entire header with a custom bitmap header. Wasn't fun.
Does it allow you to view and edit the entire file? Or does the last row get cut off for you, too?

Is there a specific version of petitmodem for people using new3DS and a microphone cable?
Watched your YouTube video (https://www.youtube.com/watch?v=843H5ODEcCs) - thanks. Questions: Will the PetitModem software run under Linux? Also, why won't SmileBoom enable this capability by default? Legal issues? I feel like Sisyphus tapping on that 3DS keyboard - it feels akward. I actually e-mailed them suggesting that they use their Cloud hosting servers as a middleman to upload/download files. I think they would sell more copies.

Watched your YouTube video (https://www.youtube.com/watch?v=843H5ODEcCs) - thanks.
thank you. I link it from the petitmodem page.
Will the PetitModem software run under Linux?
No. I give the source code to some people who want to develop linux version, but I don't hear it has been finished.
why won't SmileBoom enable this capability by default?
They say it is restricted by Nintendo.

I can confirm these three cables http://www.amazon.com/gp/product/B00ON7PXFS?psc=1&redirect=true&ref_=oh_aui_detailpage_o00_s00 http://www.amazon.com/gp/product/B00N03ZYUU?psc=1&redirect=true&ref_=oh_aui_detailpage_o01_s00 http://www.amazon.com/gp/product/B00FJEGXLW?keywords=trrs%20cable&qid=1446074232&ref_=sr_1_3&sr=8-3 Will let Petit Modem work at the highest setting (1200bps) on my computer, and probably just about any other computer. Maybe higher if the program allowed it. Plus that infernal modem noise is gone. :P

Oh wow, I didn't know Molester supports custom bitmap formats! bluesun and I (mostly bluesun) ended up converting GRP files manually by replacing the entire header with a custom bitmap header. Wasn't fun.
Does it allow you to view and edit the entire file? Or does the last row get cut off for you, too?
I don't recall the bottom row being cut off, it came out just fine. The only issue is that it's impossible to find a good editor with bitmap transparency support. The only one out there is Pixelformer.

Oh hey, I was able to extract the files from my SD Card! Thank you Cubic Ninja, you were a worthwhile investment. In case anyone wants to edit the GRP files on their computer using a graphics editor like Tile Molester, the image is stored as 16bpp RGBA (5551) as a 2-dimensional image with a block width size of 64.
I can't seen to get Tile Molester to work. Is there any other program that I could use?

I can't seen to get Tile Molester to work. Is there any other program that I could use?
Can you explain what you mean by how it's not working? You go to View -> Codec -> 16bpp RGBA (5551) to use the correct encoding, then View -> Mode -> 2-dimensional to format the data properly, then Image -> Canvas Size to set the Columns setting to 64. That's all you need to do. Or are you not able to get the program started? You need Java installed to run it.