restore_points file

Home Forums Help and Support restore_points file

  • This topic is empty.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #23218
    Hepyro
    Participant

    Hi Folks,

    first of all Many thanks for WiiMC which is my favorite apps on the wii 🙂

    WiiMC is totally revolutionnary for me and i watch all my video on my TV from WiiMC via a wifi connection

    The restore_points file which contains the files list who have been watched is very useful. When you run WiiMC a green tilt is in front of your file as a flag reminder.

    However sometimes this functionnality bugs because some files which have been watched lost the green flag.

    i confirm that these files haven’t been moved from their directory, the names haven’t been changed.

    Is there a limited capacity for this restore_points file ?

    If yes how could i increase this capacity ?

    Thanks in advance for your help and for your application.
    Myseb.

    #27520
    aka107
    Participant

    @myseb wrote:

    Hi Folks,

    first of all Many thanks for WiiMC which is my favorite apps on the wii 🙂

    WiiMC is totally revolutionnary for me and i watch all my video on my TV from WiiMC via a wifi connection

    The restore_points file which contains the files list who have been watched is very useful. When you run WiiMC a green tilt is in front of your file as a flag reminder.

    However sometimes this functionnality bugs because some files which have been watched lost the green flag.

    i confirm that these files haven’t been moved from their directory, the names haven’t been changed.

    Is there a limited capacity for this restore_points file ?

    If yes how could i increase this capacity ?

    Thanks in advance for your help and for your application.
    Myseb.

    #define MAX_RESTORE_POINTS 50
    in mplayer.c
    You have to recompile wiimc and change that value

    #27521
    Ed
    Participant

    Hi Rodries

    Thank for your reply.

    I’ve changed my old nickname myseb because i can’t connect me on the board with my nickname and password ? strange but i haven’t time to lose on it 🙂

    I have installed DevkitPro, downloaded wiimc’s sources i have followed the post Expanded Windows Compile Guide http://www.wiimc.org/forum/viewtopic.php?f=5&t=489&start=0

    i’ve found mplayer.c and set #define MAX_RESTORE_POINTS 5000

    but unfortunnately when i try to build wiimc i have exactly the same problem posted here http://www.wiimc.org/forum/viewtopic.php?f=5&t=95&start=0

    I will try today to recompile all the libs and will follow step by step the Windows Compile Guide….

    See you…

    #27522
    Ed
    Participant

    Hi

    i recompile the complete libs and when i try to compile wiimc i have the same error message : lmplayerwii is missing

    if someone have an idea it will be helpful for me 😉

    #27523
    Ed
    Participant

    @mylbee wrote:

    Hi

    i recompile the complete libs and when i try to compile wiimc i have the same error message : lmplayerwii is missing

    if someone have an idea it will be helpful for me 😉

    Hi !

    I did it ! I followed the jhb50’s guide and all works fine.

    Mylbee

    #27524
    aka107
    Participant

    5000 ??
    it’s too much
    you are wasting a lot of ram & the wii hasn’t too much, you can have a performance degree or codedumps

    #27525
    Ed
    Participant

    @rodries wrote:

    5000 ??
    it’s too much
    you are wasting a lot of ram & the wii hasn’t too much, you can have a performance degree or codedumps

    Gosh 🙁

    At the moment I haven’t tested my .dol

    Will be 2000 too high ? What could be the limit of this variable ??

    Told me and i would recompile my .dol

    Thank for your support and your knowledge

    #27526
    aka107
    Participant

    @mylbee wrote:

    @rodries wrote:

    5000 ??
    it’s too much
    you are wasting a lot of ram & the wii hasn’t too much, you can have a performance degree or codedumps

    Gosh 🙁

    At the moment I haven’t tested my .dol

    Will be 2000 too high ? What could be the limit of this variable ??

    Told me and i would recompile my .dol

    Thank for your support and your knowledge

    typedef struct st_restore_points restore_points_t;
    struct st_restore_points {
    char filename[MAXPATHLEN];
    int position;
    };

    1 restore point is about 1kilobyte so 1000 restore points will use about 1MegaByte
    I think 1000 is a good value
    mem2 is only 64MB and mem1 24MB and restore points are in mem1. A good idea is use mem2 manager to move restore points to mem2 because mem1 is faster and it’s good for mplayer decoding

    #27527
    cadbusca
    Participant

    rodries: does this mean you will be moving restore points to mem2 and changing the value to 1000 in a future SVN?

    #27528
    rodries
    Keymaster

    No and no. 50 restore points is plenty.

    #27529
    Ed
    Participant

    @rodries wrote:

    1 restore point is about 1kilobyte so 1000 restore points will use about 1MegaByte
    I think 1000 is a good value
    mem2 is only 64MB and mem1 24MB and restore points are in mem1. A good idea is use mem2 manager to move restore points to mem2 because mem1 is faster and it’s good for mplayer decoding

    Good Evening Rodries,

    i read that in mplayer.c :


    int i;
    char tmppath[MAXPATHLEN];
    char *buff = mem2_malloc(MAX_RESTORE_POINTS*1024 + 1024,OTHER_AREA);
    buff[0] = 0;

    Does it means that restore_points is already in mem2 ?
    Is it also possible to allocate 512 bytes instead of 1024 bytes ?

    #27530
    aka107
    Participant

    @mylbee wrote:

    Good Evening Rodries,

    i read that in mplayer.c :


    int i;
    char tmppath[MAXPATHLEN];
    char *buff = mem2_malloc(MAX_RESTORE_POINTS*1024 + 1024,OTHER_AREA);
    buff[0] = 0;

    Does it means that restore_points is already in mem2 ?
    Is it also possible to allocate 512 bytes instead of 1024 bytes ?

    No, this is the buffer to read the file.
    If MAX_RESTORE_POINTS is too big you will get an error because we use OTHER_AREA to load the file, and OTHER_AREA is 3MB size (in wiimc.cpp)
    Anyway I don’t like that code so I’ll change it later

Viewing 12 posts - 1 through 12 (of 12 total)
  • The forum ‘Help and Support’ is closed to new topics and replies.

Login

Lost Password