Page 1 of 5 12345 LastLast
Results 1 to 10 of 50

Thread: PHP script for routes, POI files in /PSP/COMMON

                  
   
  1. #1
    DCEmu Pro
    Join Date
    Feb 2007
    Location
    Netherlands
    Posts
    539
    Rep Power
    65

    Default PHP script for routes, POI files in /PSP/COMMON

    Hi all

    I found it quite annoying that the only way to place routes (POI files with WAYPOINT) in MapThis is by means of a PC (e.g. GMDL). I thus made a small script that basically does the same thing. You can find it at:
    http://getroute.nieko.net/
    (The source can be found at http://nieko.net/tools/getroute.phps.)

    I know the algorithm for deciding what MIDPOINTs to take out looks rather random, but for me it seemed to work just fine If anyone has suggestions on how to improve this, then feel free to tell me!

    The idea is that you can access this script using the PSP browser, and then save the file it returns to a folder in MapThis. Of course you still need a WiFi connection for this, but at least you do not need a PC anymore Unfortunately, the stupid PSP browser only wants to save in a few directories, including /PSP/COMMON.

    I thus made a few alterations to the MapThis source:
    • _MY_POIS has been renamed to _#MY_POIS, so that it shows up at the top of the POI list.
    • POI files are read from /PSP/COMMON by default (this includes _#MY_POIS). These show up in the POI list in MapThis as "ms0:/PSP/COMMON/_<name>". The added benefit of this is that route files are now accessible in every map.
    • POI files are still also read from the map directory, as in the official version.
    • When showing POI files, it doesn't also show _#MY_POIS anymore.
    • Icons used in POI files are now always read from MapThis/system/icons.
    • The makefile has been slightly changed (removed BUILD_PRX=1), cause otherwise the thing wouldn't compile :P


    In the attachment, you can find the patch for MapThis 0.497 beta, and the PSP-290 EBOOT with this functionality.

    The patch should be applied in the src/ directory (where main.c, etc. are), and should be called using: cat mapthis-patch | patch -p1

    Enjoy

  2. #2
    DCEmu Newbie
    Join Date
    May 2007
    Posts
    41
    Rep Power
    0

    Default

    I've just tried planning a route on it but using the standard Mapthis 0.499 eboot and I have to admit it's great. Once I get the psptoolchain working I'll have a go at compiling this and trying it on the psp, great work

  3. #3
    DCEmu Newbie
    Join Date
    Apr 2007
    Posts
    28
    Rep Power
    0

    Default

    This is really big if you can get it working 100% :P

  4. #4
    DCEmu Pro
    Join Date
    Feb 2007
    Location
    Netherlands
    Posts
    539
    Rep Power
    65

    Default

    How do you mean, 100%? Is there something that doesn't work well?

  5. #5
    DCEmu Newbie
    Join Date
    Apr 2007
    Posts
    28
    Rep Power
    0

    Default

    I mean when it becomes a part of mapthis and when google.maps upgrade thier map to more countries it will be perfect :P

    Problem is that here in Denmark google.map doesnt support street numbers
    So I cant really use your cool program Nieko

  6. #6
    DCEmu Newbie
    Join Date
    May 2007
    Posts
    50
    Rep Power
    0

    Default

    Nieko, is your site down or something?

  7. #7
    DCEmu Pro
    Join Date
    Feb 2007
    Location
    Netherlands
    Posts
    539
    Rep Power
    65

    Default

    I'm having some server problems indeed. I'm on holiday now, but someone is currently going there to fix it.

  8. #8
    DCEmu Regular
    Join Date
    Feb 2007
    Posts
    448
    Rep Power
    64

    Default

    Nieko why did you release this for mapthis .97 and not .99 ? .99 has a lot more bugfixes.

  9. #9
    DCEmu Pro
    Join Date
    Feb 2007
    Location
    Netherlands
    Posts
    539
    Rep Power
    65

    Default

    This script is not linked to any specific MapThis version, it can be used in all so far. Other than that, it's up again

    The MapThis version I made (see New Code Contribution) is indeed based on 0.497, because I didn't like the sound in 0.499 much and didn't feel like stripping all that out.

    We'll see what the 0.5 version will bring us, and how I can implement the changes I've made in 0.497 in 0.5 also

    Anyway, I'm off again Bye!

  10. #10
    DCEmu Newbie
    Join Date
    May 2007
    Posts
    50
    Rep Power
    0

    Default

    yo got it, thanks. you doing a great help for us.

Page 1 of 5 12345 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •