Announcement

User registrations are currently disabled due to high spam traffic.

  • Index
  •  » Flash games
  •  » PSP Flash Game Portals /an idea for a html coder or flash maker!

#51 25/04/07 5:14pm

Jeffy
Addicted Moderator
From: Belgium
Registered: 26/09/06
Posts: 402

Re: PSP Flash Game Portals /an idea for a html coder or flash maker!

Does anyone know if a PSP has some kind of code or whatever to identify it by if it's connected to the computer?

Offline

 

#52 25/04/07 5:57pm

strangeseraph
Member
Registered: 20/04/07
Posts: 4

Re: PSP Flash Game Portals /an idea for a html coder or flash maker!

I use html kit for making my portal, and maybe I could release my base code for people to look at.

HTML Kit has batch tools for doing large monotonous tasks, like turning the 200 files you have in a folder into 200 links with the file name as the link name. So I may get a hundred or so links with the tag <td> surrounding it, or <a href""> or whatever code I want surrounding the urls.

Just an idea. I'm not really sure what the question is here. hmm

Offline

 

#53 25/04/07 6:00pm

JaXeRiR
Elite Moderator
From: Teh Interwebz
Registered: 25/03/07
Posts: 1925
Website

Re: PSP Flash Game Portals /an idea for a html coder or flash maker!

Jeffy wrote:

I've been working on making it generate the xml for the PSP OS and so far it's working just fine. I'm still working on some of the error handling, which takes more time than the rest of the project.



New features:

  • •   seperate tabs with a list for the games and a list for online links

  • •  a function that will copy the swf's in the list right into the OS' GAMES directory

  • •  a function that will place the folder with its copied swf's and generated xml file onto your PSP

  • •  choose your own link name instead of the URL



  • I hope to have it finished in a few days... That is ofcourse if anyone is still interested :p

    Great, hope it supports .NET Framework 2.0!


    [url=http://profile.mygamercard.net/JaX3RiR][img]http://card.mygamercard.net/nxe/JaX3RiR.png[/img][/url]

    Offline

     

    #54 25/04/07 7:16pm

    Jeffy
    Addicted Moderator
    From: Belgium
    Registered: 26/09/06
    Posts: 402

    Re: PSP Flash Game Portals /an idea for a html coder or flash maker!

    strangeseraph wrote:

    I use html kit for making my portal, and maybe I could release my base code for people to look at.

    HTML Kit has batch tools for doing large monotonous tasks, like turning the 200 files you have in a folder into 200 links with the file name as the link name. So I may get a hundred or so links with the tag <td> surrounding it, or <a href""> or whatever code I want surrounding the urls.

    Just an idea. I'm not really sure what the question is here. hmm

    Most programming languages (HTML is not a real programming language) have what is called loops to do this faster. Basically you make a loop with a code that will "surround" the variable, which in this case would be the link to the flash file. Every time you'll go through that loop, you call for the next link in line to be placed in the code.
    That's about as good as I can explain it...


    Anyway that's not the problem... The main thing is done but I'd like to add some extras to make it easier to use and to make sure no one gets errors...

    When you choose the PSP's drive (for example "F:\") the files will be copied right to it. But as for now you could fool the application by telling it your C:\ drive, for example, is your PSP.. In that case the files won't be copied to your PSP but just to your harddrive ... Which isn't what's supposed to happen :p

    So I was wondering if a PSP connected via USB gives the computer some sort of number to identify it with, so my application could locate the PSP all by itself, so the copying can't be done wrong. But I'll just leave it for now I think.

    JaXeRiR wrote:

    Great, hope it supports .NET Framework 2.0!

    Normally it's the other way around. The issue is whether or not .Net Framework 2.0 will support my app :p
    But if it worked on one computer and not on the other, it's probably your computer's problem... If it's not, then I guess that's what my testers here are for smile

    I'm still pretty new to vb.net and it's pretty complicated

    Offline

     

    #55 26/04/07 9:53am

    tallphil
    Banned
    From: UK
    Registered: 29/04/06
    Posts: 823
    Website

    Re: PSP Flash Game Portals /an idea for a html coder or flash maker!

    hmm, i should teach myself VB.
    As for detecting the PSP, I don't think it's massively easy - PSP Video 9 has a auto find function, I guess it works by looking at the base folders of each drive? If you can find a drive with the basic PSP folder structure in the root, chances are it'll be your PSP...


    PSP Flash Gaming creator

    Offline

     

    #56 26/04/07 6:33pm

    JaXeRiR
    Elite Moderator
    From: Teh Interwebz
    Registered: 25/03/07
    Posts: 1925
    Website

    Re: PSP Flash Game Portals /an idea for a html coder or flash maker!

    tallphil wrote:

    hmm, i should teach myself VB.
    As for detecting the PSP, I don't think it's massively easy - PSP Video 9 has a auto find function, I guess it works by looking at the base folders of each drive? If you can find a drive with the basic PSP folder structure in the root, chances are it'll be your PSP...

    I agree with you, also many other PSP transfer/video converter apps have the same function. It's probably some file/folder in your PSP's root folder that the program finds.

    I'm gonna go check that out, if I find something useful I'll post ya guys!


    [url=http://profile.mygamercard.net/JaX3RiR][img]http://card.mygamercard.net/nxe/JaX3RiR.png[/img][/url]

    Offline

     

    #57 26/04/07 6:38pm

    rollinroll
    Moderator
    Registered: 23/10/06
    Posts: 1890

    Re: PSP Flash Game Portals /an idea for a html coder or flash maker!

    Maybe you can do so the program detects the psp as a device having a memory stick. I don't know anything about c++ or whatever your coding the program in, but it may be possible detecting a memory stick.

    Last edited by rollinroll (26/04/07 6:40pm)

    Offline

     

    #58 26/04/07 7:10pm

    JaXeRiR
    Elite Moderator
    From: Teh Interwebz
    Registered: 25/03/07
    Posts: 1925
    Website

    Re: PSP Flash Game Portals /an idea for a html coder or flash maker!

    Found this piece of code from an movie converter program, but I dont have a single clue about C or C++ so I don't know if this helps... but here it is anyways:

    Code:

    ; Attributes: bp-based frame
    
    _TTransferForm_PSPDriveComboChange proc near
    
    PathName= byte ptr -1E4h
    buffer= byte ptr -1A4h
    var_164= _finddata_t ptr -164h
    var_4A= dword ptr -4Ah
    var_44= dword ptr -44h
    var_34= word ptr -34h
    var_28= dword ptr -28h
    var_20= dword ptr -20h
    var_10= dword ptr -10h
    
    push    ebp
    mov     ebp, esp
    add     esp, 0FFFFFE1Ch
    push    ebx
    push    esi
    push    edi
    mov     [ebp+var_4A+2], eax
    mov     eax, offset stru_4E44CC
    call    @__InitExceptBlockLDTC
    mov     edx, [ebp+var_4A+2]
    cmp     byte ptr [edx+57h], 0
    jnz     short loc_42C947

    Yeah, that's the code...

    even when I dont have knowledge for C, i see this variable interesting:

    Code:

    var_164= _finddata_t ptr -164h

    someone think about it!

    Last edited by JaXeRiR (26/04/07 7:12pm)


    [url=http://profile.mygamercard.net/JaX3RiR][img]http://card.mygamercard.net/nxe/JaX3RiR.png[/img][/url]

    Offline

     

    #59 26/04/07 7:15pm

    woodpecker106
    Hardcore Member
    From: Cardiff
    Registered: 29/04/06
    Posts: 109
    Website

    Re: PSP Flash Game Portals /an idea for a html coder or flash maker!

    I'm pretty sure that is some sort of assembly language but don't quote me on that. If it is it won't be of any use to a program made in any high level language

    Offline

     

    #60 26/04/07 7:23pm

    JaXeRiR
    Elite Moderator
    From: Teh Interwebz
    Registered: 25/03/07
    Posts: 1925
    Website

    Re: PSP Flash Game Portals /an idea for a html coder or flash maker!

    Ok, well I tried so now it's your turn!big_smile


    [url=http://profile.mygamercard.net/JaX3RiR][img]http://card.mygamercard.net/nxe/JaX3RiR.png[/img][/url]

    Offline

     

    #61 27/04/07 7:11pm

    Jeffy
    Addicted Moderator
    From: Belgium
    Registered: 26/09/06
    Posts: 402

    Re: PSP Flash Game Portals /an idea for a html coder or flash maker!

    I use VB.net though.
    As for the directory detecting, it would be fairly easy to do but then again a PSP doesn't have to have these folders, so I was looking for something a little more failproof

    Offline

     

    #62 27/04/07 9:12pm

    rollinroll
    Moderator
    Registered: 23/10/06
    Posts: 1890

    Re: PSP Flash Game Portals /an idea for a html coder or flash maker!

    Found some interesting here big_smile. it's a guy on a forum asking how to detect a memory stick in VB. And hes got many replies, so im sure it'll help you smile.
    http://www.tutorials-xe.com/WINAPI/Detecting-removable/

    Last edited by rollinroll (27/04/07 9:15pm)

    Offline

     

    #63 29/04/07 9:07am

    Jeffy
    Addicted Moderator
    From: Belgium
    Registered: 26/09/06
    Posts: 402

    Re: PSP Flash Game Portals /an idea for a html coder or flash maker!

    Thanks but I can't get any of it to work sad

    The portal generator itself works just fine now, the basic error handling is completed but when I tried to make a setup of it last night, most of the app didn't work... Making the setup is really hard and I'm still a newb to vb  ashameddunce

    I'll need some more time and let me tell you I barely have any >.<

    Last edited by Jeffy (29/04/07 9:16am)

    Offline

     

    #64 29/04/07 4:03pm

    JaXeRiR
    Elite Moderator
    From: Teh Interwebz
    Registered: 25/03/07
    Posts: 1925
    Website

    Re: PSP Flash Game Portals /an idea for a html coder or flash maker!

    Umm... Could anyone, who has .NET Framework 2.0 try to adapt that PortalGenerator to 2.0? Or you Jeffy? Could you maybe get 2.0 developer kit and make a "2.0" version of it?

    Or maybe, someone who could code with C or CPP, make a stand-alone version working without specific Framework?

    That'd be cool.


    [url=http://profile.mygamercard.net/JaX3RiR][img]http://card.mygamercard.net/nxe/JaX3RiR.png[/img][/url]

    Offline

     

    #65 29/07/07 5:39pm

    Nbr1
    Member
    From: Turku
    Registered: 29/07/07
    Posts: 12

    Re: PSP Flash Game Portals /an idea for a html coder or flash maker!

    psp is realy cool but one problem is the memory stick. I have got 32mb...             I have a flash games but not much 12 or 9.

    Offline

     

    #66 01/08/07 3:39am

    malmedia
    Regular Member
    Registered: 15/01/07
    Posts: 27

    Re: PSP Flash Game Portals /an idea for a html coder or flash maker!

    This is not a graphical interface, but if you use the "Offline Launcher 2" from psponme.com it will take you to the PSP/COMMON folder so you can load up files in the PSP browser. You have to go to the Download page and read the instructions to find the Offline Launcher 2 file.

    Last edited by malmedia (01/08/07 3:40am)

    Offline

     

    #67 01/08/07 8:21am

    JaXeRiR
    Elite Moderator
    From: Teh Interwebz
    Registered: 25/03/07
    Posts: 1925
    Website

    Re: PSP Flash Game Portals /an idea for a html coder or flash maker!

    malmedia wrote:

    This is not a graphical interface, but if you use the "Offline Launcher 2" from psponme.com it will take you to the PSP/COMMON folder so you can load up files in the PSP browser. You have to go to the Download page and read the instructions to find the Offline Launcher 2 file.

    So it loads directly from PSP/COMMON or you can load from anywhere? If so, I have made one myself.


    [url=http://profile.mygamercard.net/JaX3RiR][img]http://card.mygamercard.net/nxe/JaX3RiR.png[/img][/url]

    Offline

     

    #68 03/08/07 2:14am

    malmedia
    Regular Member
    Registered: 15/01/07
    Posts: 27

    Re: PSP Flash Game Portals /an idea for a html coder or flash maker!

    It points to a directory that will let you look in /PICTURE, /PSP/PHOTO, and PSP/COMMON. So you can load up whatever you have in those three folders that are Browser compatible, like .txt, .jpg, .swf, etc...

    Offline

     

    #69 03/08/07 6:10am

    JaXeRiR
    Elite Moderator
    From: Teh Interwebz
    Registered: 25/03/07
    Posts: 1925
    Website

    Re: PSP Flash Game Portals /an idea for a html coder or flash maker!

    smile Then it's what I thought. Just a basic loader, I have made one myself smile It's called Jellyfish PSP File Browser 3.0 and it's included in NorPortal VI5ION.


    [url=http://profile.mygamercard.net/JaX3RiR][img]http://card.mygamercard.net/nxe/JaX3RiR.png[/img][/url]

    Offline

     
    • Index
    •  » Flash games
    •  » PSP Flash Game Portals /an idea for a html coder or flash maker!

    Board footer

    Powered by PunBB
    © Copyright 2002–2005 Rickard Andersson