restore_points file
Home › Forums › Help and Support › restore_points file
- This topic is empty.
-
AuthorPosts
-
November 5, 2010 at 10:33 am #23218HepyroParticipant
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.November 5, 2010 at 11:03 am #27520aka107Participant@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 valueNovember 7, 2010 at 9:37 am #27521EdParticipantHi 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…
November 7, 2010 at 12:40 pm #27522EdParticipantHi
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 😉
November 7, 2010 at 9:55 pm #27523EdParticipant@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
November 8, 2010 at 12:14 pm #27524aka107Participant5000 ??
it’s too much
you are wasting a lot of ram & the wii hasn’t too much, you can have a performance degree or codedumpsNovember 8, 2010 at 1:42 pm #27525EdParticipant@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 codedumpsGosh 🙁
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
November 8, 2010 at 3:35 pm #27526aka107Participant@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 codedumpsGosh 🙁
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 decodingNovember 8, 2010 at 7:29 pm #27527cadbuscaParticipantrodries: does this mean you will be moving restore points to mem2 and changing the value to 1000 in a future SVN?
November 8, 2010 at 8:05 pm #27528rodriesKeymasterNo and no. 50 restore points is plenty.
November 8, 2010 at 8:37 pm #27529EdParticipant@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 decodingGood 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 ?November 9, 2010 at 8:25 am #27530aka107Participant@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 -
AuthorPosts
- The forum ‘Help and Support’ is closed to new topics and replies.