DSiWare Forum

Topic: Petit Computer

Showing 1,721 to 1,740 of 9,437

AuthorMessage
Avatar

5logank

1,721. Posted:

Morphtroid wrote:

Well, SPHOME sets the "home" value of the sprite, not its location on the screen.

I think you'll also need to set more space between the icons, two pixels of separation doesn't seem enough to me.

I was just using that for an example

5logank

AuthorMessage
Avatar

5logank

1,722. Posted:

5logank wrote:

Morphtroid wrote:

Well, SPHOME sets the "home" value of the sprite, not its location on the screen.

I think you'll also need to set more space between the icons, two pixels of separation doesn't seem enough to me.

I was just using that for an example

5logank wrote:

ignorethisignorethisignorethisignorethisignnorth?
Wait then how do i tell the sprite where to go :|

OOOOHHHHH sorry now i know how to do it.

Edited on by 5logank

5logank

AuthorMessage
Avatar

Bluerobin2

1,723. Posted:

@Discostew, your Megaman 2 game is amazing.I got the demo. How is progress?.

Everybody do a chirp. CHIRP.

Blog: bluerobin2.blogspot.com
Backloggery: backloggery.com/bluerobin2

3DS Friend Code: 3007-9228-5126

AuthorMessage
Avatar

Discostew

1,724. Posted:

@bluerobin2

It's picking up, but I've been doing so much restructuring of the game that one could say I basically restarted the project. Don't think of that as a bad thing though. The demo had a lot of quirky things going on with it, limiting (and even preventing) what I would want it to do. It was also a cluttered mess in terms of files and such. I've done BASIC in the past, but nothing ever to this degree, so if anything, the demo was the first hurdle in just figuring out Petit Computer, learning what it can do and how to do them best. Now, I'm taking what I learned, and am proceeding to do this a better way.

"What fun is there in making sense?"
Lazer Light Studios - Home of the MM2 PTC project

Pokemon 3DS Friend Safari - Ice - Spheal, Sneasel, Lapras

3DS Friend Code: 4425-1477-0127 | Nintendo Network ID: Discostew

AuthorMessage
Avatar

Bluerobin2

1,725. Posted:

Well said @Discostew, well said. I am taking a break from Battlewood and currently making a Microsoft Word-like program with a custom keyboard, but I was too lazy to have the alphabet so I used number instead (less work :) ). I could release it now as full, but I was wondering, is there any way to save an entire screen filled with characters as a MEM or a GRP or something like that?

Everybody do a chirp. CHIRP.

Blog: bluerobin2.blogspot.com
Backloggery: backloggery.com/bluerobin2

3DS Friend Code: 3007-9228-5126

AuthorMessage
Avatar

boot

1,726. Posted:

I want CINCOS os so much! I watched the youtube vie part 1 and 2 please post qrs soon!

Just your average talking boot. The Boot that can program.

AuthorMessage
Avatar

Discostew

1,727. Posted:

@bluerobin2 - Anything can be written to the GRP files, but you'd have to handle how it is stored. Your text editor, for instance, if it were stored in a large numerical array (where each element represents an ASCII value), you'd read the value (0 - 255), and starting from the beginning of the GRP at position 0,0 write the value using GSET, increment the X coordinate, write the next array element at 1,0, etc etc until you reach a position of 256,0 where you reset the X coordinate to 0 and increment the Y coordinate by 1, and start again. You can make this simpler by designating an INDEX value like you would use for going through the array, and just do a conversion for each GSET, extracting only the first 8 bits of the value for X, and dividing by 2^8 for the Y, like so....

FOR INDEX=0 TO TEXTLEN-1: 'It is -1 because LOOPs are inclusive
GSET INDEX AND 255,INDEX/256,TEXT(INDEX)
NEXT

After that, you can simply use the SAVE function to save the GRP. If you wanted to read a GRP for loading, then do the opposite, using GSPOIT.

FOR INDEX=0 TO TEXTLEN-1
TEXT(INDEX)=GSPOIT(INDEX AND 255,INDEX/256)
NEXT

Of course you'll need other information, like the length of the text, so you'd probably save that value before the actual text, which will require having to save a value that can be between 0 and 49152, essentially a 2-byte value when you can only write 1 byte at a time. That can be done by simply splitting the value in 2, in very much the same way you split the INDEX for reading/writing.

GSET 0,0,TEXTLEN AND 255
GSET 1,0,TEXTLEN/256

You'll have to consider that the text will be offsetted now.

'Saving
GPAGE 0,0,0
GSET 0,0,TEXTLEN AND 255
GSET 1,0,TEXTLEN/256
FOR IDX=0 TO TEXTLEN-1
GSET IDX+2 AND 255,(IDX+2)/256,TEXT(IDX)
NEXT
SAVE "GRP0: DOC"

'Loading
LOAD "GRP0: DOC",FALSE: 'FALSE for no confirmation box
GPAGE 0,0,0
TEXTLEN=GSPOIT(0,0)+(GSPOIT(1,0)*256
FOR IDX=0 TO TEXTLEN-1
TEXT(IDX)=GSPOIT(IDX+2 AND 255,(IDX+2)/256)
NEXT

Edited on by Discostew

"What fun is there in making sense?"
Lazer Light Studios - Home of the MM2 PTC project

Pokemon 3DS Friend Safari - Ice - Spheal, Sneasel, Lapras

3DS Friend Code: 4425-1477-0127 | Nintendo Network ID: Discostew

AuthorMessage
Avatar

bigdog00

1,728. Posted:

boot wrote:

I want CINCOS os so much! I watched the youtube vie part 1 and 2 please post qrs soon!

Well, go back a couple pages in the forums and you will find a link I posted. It has the download for the programs themselves, as my Windows computer blue screened and I could not generate QR codes. If you have PTC utilities, you can just generate these yourself. Sorry for the inconvenience.

I like petit computer! Asphault 3d is awesome!

3DS Friend Code: 0473-8697-6288 | Twitter: bigdogdt

AuthorMessage
Avatar

Bluerobin2

1,729. Posted:

@bigdog00, the zip file does not contain all of the content required to run Cincos. The missing files are as follows:
MEM:CTHEME
SPU0: DEFAULT
MEM:CPASS
That is all I found is missing so far, I have not done the setup yet. Is this OK?

Edited on by Bluerobin2

Everybody do a chirp. CHIRP.

Blog: bluerobin2.blogspot.com
Backloggery: backloggery.com/bluerobin2

3DS Friend Code: 3007-9228-5126

AuthorMessage
Avatar

Bluerobin2

1,730. Posted:

Aso, I currently do not hold in my possession Tristones, The 3d racer, or the alarm clock. What else is there really?

Everybody do a chirp. CHIRP.

Blog: bluerobin2.blogspot.com
Backloggery: backloggery.com/bluerobin2

3DS Friend Code: 3007-9228-5126

AuthorMessage
Avatar

swordx

1,731. Posted:

bluerobin2 wrote:

Aso, I currently do not hold in my possession Tristones, The 3d racer, or the alarm clock. What else is there really?

Tristones is really fun...IDK about the rest.

swordx

AuthorMessage
Avatar

Bluerobin2

1,732. Posted:

@swordx, I was referring to Cincos. It has links to those games. Can someone give me a link to the tristones qrs?

Everybody do a chirp. CHIRP.

Blog: bluerobin2.blogspot.com
Backloggery: backloggery.com/bluerobin2

3DS Friend Code: 3007-9228-5126

AuthorMessage
Avatar

swordx

1,733. Posted:

bluerobin2 wrote:

@swordx, I was referring to Cincos. It has links to those games. Can someone give me a link to the tristones qrs?

Here's the video, which has a link to the QR codes.

http://www.youtube.com/watch?v=t62RGepnKQM

swordx

AuthorMessage
Avatar

Hairmanban19

1,734. Posted:

swordx wrote:

bluerobin2 wrote:

@swordx, I was referring to Cincos. It has links to those games. Can someone give me a link to the tristones qrs?

Here's the video, which has a link to the QR codes.

http://www.youtube.com/watch?v=t62RGepnKQM

Tristones is one of my favorite Petit Computer games! It was like the 2nd Petit Computer game i got.

...

3DS Friend Code: 3136-7615-5907

AuthorMessage
Avatar

bigdog00

1,735. Posted:

bluerobin2 wrote:

@bigdog00, the zip file does not contain all of the content required to run Cincos. The missing files are as follows:
MEM:CTHEME
SPU0: DEFAULT
MEM:CPASS
That is all I found is missing so far, I have not done the setup yet. Is this OK?

No, it's not ok (not in a rude way).
You generate the mem:cpass file (password file) when you do the initial setup. After that, go to the settings application in the application bar (dock) and click "opple" under theme. Click "ok". Spu0:default is for your own, customized "texturepack" as you may call it. That is why those files are missing. I will release future updates about 2 weeks apart (hopefully). Are you the only one who uses CINCOS? Do you like it? What do you rate it as bad(0-10)good?

I like petit computer! Asphault 3d is awesome!

3DS Friend Code: 0473-8697-6288 | Twitter: bigdogdt

AuthorMessage
Avatar

bigdog00

1,736. Posted:

bluerobin2 wrote:

Well said @Discostew, well said. I am taking a break from Battlewood and currently making a Microsoft Word-like program with a custom keyboard, but I was too lazy to have the alphabet so I used number instead (less work :) ). I could release it now as full, but I was wondering, is there any way to save an entire screen filled with characters as a MEM or a GRP or something like that?

Is it like Petit Pocket Office (PPO)?
To get to PPO,
Boot up CINCOS
Login
Goto the app bar (dock)
Select MTool
Press B

I like petit computer! Asphault 3d is awesome!

3DS Friend Code: 0473-8697-6288 | Twitter: bigdogdt

AuthorMessage
Avatar

bigdog00

1,737. Posted:

bluerobin2 wrote:

TROLOLOLOLOLOLO Also, I currently do not hold in my possession Tristones, The 3d racer, or the alarm clock. What else is there really?

There is Petit Pocket Office, IM-Mail, A separate OS/desktop (press b on the home screen), an FAQ page (press start on the home menu), a settings app, a multi-tool app, a terminal, and a file server. Also, everyone with CINCOS, if you get yourself locked out completely, I THINK, type "BOOTCOVER" as the password, and it will run different numbers through the CINCOS security protocol until it gets the randomly generated lockout key right. Please beware, it may take a minute or so to get it right, so please be patient. Even if you press select, then type RUN again, it won't get past the initial boot sequence without going into an auto lock loop. That's so some troll (your siblings that can't program) can't get in.

Edited on by bigdog00

I like petit computer! Asphault 3d is awesome!

3DS Friend Code: 0473-8697-6288 | Twitter: bigdogdt

AuthorMessage
Avatar

boot

1,738. Posted:

bigdog00 wrote:

boot wrote:

I want CINCOS os so much! I watched the youtube vie part 1 and 2 please post qrs soon!

Well, go back a couple pages in the forums and you will find a link I posted. It has the download for the programs themselves, as my Windows computer blue screened and I could not generate QR codes. If you have PTC utilities, you can just generate these yourself. Sorry for the inconvenience.

is there any other way to get it,I don't know how to use ptc utilities.

Edited on by boot

Just your average talking boot. The Boot that can program.

AuthorMessage
Avatar

Hamjam00

1,739. Posted:

You know what would be awesome? A game based on wreck it Ralph!

Python, C/C++, Lua, Ruby rule (java is too complex lol)

Twitter: zombeesoft

AuthorMessage
Avatar

swordx

1,740. Posted:

Hamjam00 wrote:

You know what would be awesome? A game based on wreck it Ralph!

Hmmm...I don't know. I think I'd prefer original ideas...

swordx