BigRog Posted February 1, 2007 Share Posted February 1, 2007 yes it would be so beneficial for people who make mods such as the 61 mod or the 94 mod and it would make the process of making new schedules for the game easy Link to comment Share on other sites More sharing options...
compmaniac Posted February 1, 2007 Author Share Posted February 1, 2007 yes it would be so beneficial for people who make mods such as the 61 mod or the 94 mod and it would make the process of making new schedules for the game easy I've heard from people that Hory has been banned from this site... ...is that true? Because I was thinking of asking him some questions about schedules that don't have All-Star Games (such as the ones that will be converted from OOTP) Link to comment Share on other sites More sharing options...
Hory Posted February 1, 2007 Share Posted February 1, 2007 Hah, I was banned from the site in December. But I'm not at this point in time. For the all-star game you could just add a user prompt or whatever for the user to enter the all star game date manually. Link to comment Share on other sites More sharing options...
compmaniac Posted February 1, 2007 Author Share Posted February 1, 2007 Hah, I was banned from the site in December. But I'm not at this point in time. For the all-star game you could just add a user prompt or whatever for the user to enter the all star game date manually. But then, I would have to shift all the other games, right? Or is it possible to just leave the All-Star game out of the schedule? Link to comment Share on other sites More sharing options...
Hory Posted February 1, 2007 Share Posted February 1, 2007 You wouldn't have to shift any games. You can leave the all-star game out of the schedule and get the user to add it manually after conversion or with a user prompt. Link to comment Share on other sites More sharing options...
compmaniac Posted February 1, 2007 Author Share Posted February 1, 2007 You wouldn't have to shift any games. You can leave the all-star game out of the schedule and get the user to add it manually after conversion or with a user prompt. But then, for the "half" column in mlb162_1.dat, what would I write? 0 for all of the games? Link to comment Share on other sites More sharing options...
compmaniac Posted February 1, 2007 Author Share Posted February 1, 2007 Released update (v0.9) for schedule generator that includes an automatic installer!!! Link to comment Share on other sites More sharing options...
compmaniac Posted February 1, 2007 Author Share Posted February 1, 2007 Any other schedule mods that are requested? I'll start working on OOTP to MVP convertor. Link to comment Share on other sites More sharing options...
compmaniac Posted February 2, 2007 Author Share Posted February 2, 2007 If I do make an OOTP to MVP schedule convertor, it would have to convert ONLY the recent schedules, correct? (Because some older schedules have less than 30 teams or different team names...) And I don't think that would be useful to classics makers...so how do I work it out? Link to comment Share on other sites More sharing options...
lautrec Posted February 2, 2007 Share Posted February 2, 2007 Compmaniac, I would really love to have this generator, but cannot seem to get it to install. Here's what I get: Link to comment Share on other sites More sharing options...
compmaniac Posted February 2, 2007 Author Share Posted February 2, 2007 Compmaniac, I would really love to have this generator, but cannot seem to get it to install. Here's what I get: lautrec, try the new version I just uploaded. I don't know if it'll work. If it doesn't, tell me. Link to comment Share on other sites More sharing options...
lautrec Posted February 2, 2007 Share Posted February 2, 2007 comp, well done, it looks like this will work. I have a question, that perhaps is a suggestion: Does this generator make a different sched. everytime it's ran? I noticed I would play almost a whole month on the road, then a whole month at home. My sked has me on the road for Apr, at home for May, on the road for June, etc. Is this normal? Should I just run it again? Thanks,,,,,this is looking cool. Link to comment Share on other sites More sharing options...
compmaniac Posted February 2, 2007 Author Share Posted February 2, 2007 comp, well done, it looks like this will work. I have a question, that perhaps is a suggestion: Does this generator make a different sched. everytime it's ran? I noticed I would play almost a whole month on the road, then a whole month at home. My sked has me on the road for Apr, at home for May, on the road for June, etc. Is this normal? Should I just run it again? Thanks,,,,,this is looking cool. It didn't have an error, right? Try running it again...it should generate something each time...you might have just gotten unlucky. The program randomly selects if it will be a home or away series. Link to comment Share on other sites More sharing options...
krawhitham Posted February 2, 2007 Share Posted February 2, 2007 you need to make the auto install an option, I have like 9 different installs of MVP for testing and your program changes the wrong file Link to comment Share on other sites More sharing options...
krawhitham Posted February 2, 2007 Share Posted February 2, 2007 fifaFS v.4.9.1200 [10/15/06] BETA (c) Mania Software, 2001-2006 http://www.fifasoccer.ru e-mail: good@fifasoccer.ru FATAL Nothing found at C:PROGRA~1EASPOR~1MVPBAS~4datadatabaseschedule.big Link to comment Share on other sites More sharing options...
compmaniac Posted February 2, 2007 Author Share Posted February 2, 2007 fifaFS v.4.9.1200 [10/15/06] BETA (c) Mania Software, 2001-2006 http://www.fifasoccer.ru e-mail: good@fifasoccer.ru FATAL Nothing found at C:PROGRA~1EASPOR~1MVPBAS~4datadatabaseschedule.big Does there actually exist a file called C:PROGRA~1EASPOR~1MVPBAS~4datadatabaseschedule.big? Or did you just make like several installations and then messed around with the registry to screw up the program? And what does MVPBAS~4 stand for anyway? Did you name all the directorys something different with the first letters being MVPBAS? I think that this SHOULD work...I grabbed the install dir from the registry... Link to comment Share on other sites More sharing options...
ronmexico Posted February 2, 2007 Share Posted February 2, 2007 Does there actually exist a file called C:PROGRA~1EASPOR~1MVPBAS~4datadatabaseschedule.big? Or did you just make like several installations and then messed around with the registry to screw up the program? And what does MVPBAS~4 stand for anyway? Did you name all the directorys something different with the first letters being MVPBAS? I think that this SHOULD work...I grabbed the install dir from the registry... MVPBAS~4 is just that in command line, it cannot read more then 6 characters of a directory. This keeps glitching in the same manner on my computer. Link to comment Share on other sites More sharing options...
compmaniac Posted February 2, 2007 Author Share Posted February 2, 2007 MVPBAS~4 is just that in command line, it cannot read more then 6 characters of a directory. This keeps glitching in the same manner on my computer. Shouldn't it be MVPBAS~1? It works on my computer...that's weird... Did you install MVP Baseball 2005 to C:Program FilesEA SPORTSMVP Baseball 2005? Also, in the registry, under HKEY_LOCAL_MACHINESoftwareEA SPORTSMVP Baseball 2005, is the install dir entry C:Progra~1EASPOR~1MVPBAS~1 or C:Progra~1EASPOR~1MVPBAS~4? Link to comment Share on other sites More sharing options...
compmaniac Posted February 2, 2007 Author Share Posted February 2, 2007 For the OOTP2MVP, since I don't know what the different times indicated by the numbers 1-10 are, is it OK if I just randomly generate a time (choosing from 1:05 and 7:05?) Link to comment Share on other sites More sharing options...
DJEagles Posted February 2, 2007 Share Posted February 2, 2007 For the OOTP2MVP, since I don't know what the different times indicated by the numbers 1-10 are, is it OK if I just randomly generate a time (choosing from 1:05 and 7:05?) My god, just do what you want. It's your mod. I am sure you probably don't need to run everything by people. Just make it how you want, and then release it. Link to comment Share on other sites More sharing options...
krawhitham Posted February 3, 2007 Share Posted February 3, 2007 My god, just do what you want. It's your mod. I am sure you probably don't need to run everything by people. Just make it how you want, and then release it.he is saying he needs help understanding the start time for games from the ootp CSV files. And if he does not get he could just randomly generate a start time. If I was him I would never release another damn mod for you people Link to comment Share on other sites More sharing options...
krawhitham Posted February 3, 2007 Share Posted February 3, 2007 for the autoinstaller add a open file dialog, so the end user can select the correct file this code may help #include <Windows.h> #include <commdlg.h> #include <shlobj.h> BOOL OpenFileDialog( char * ); int main( void ) { char filename[MAX_PATH]; printf( "Opening a file dialog box..." ); if( OpenFileDialog( filename ) ) printf( "nFilename returned : %sn", filename ); else printf( "nValid filename not returned!n" ); //Decide what to do if no file name was provided... //Now do something useful with the filename, like opening the file // and saving some data to it! return 0; } BOOL OpenFileDialog( char *file ) //Function that will call dialog { OPENFILENAME OpenFileName; char szFile[MAX_PATH]; char CurrentDir[MAX_PATH]; szFile[0] = 0; GetCurrentDirectory( MAX_PATH, CurrentDir ); OpenFileName.lStructSize = sizeof( OPENFILENAME ); OpenFileName.hwndOwner = NULL; OpenFileName.lpstrFilter = "BIG Files0*.big00"; OpenFileName.lpstrCustomFilter = NULL; OpenFileName.nMaxCustFilter = 0; OpenFileName.nFilterIndex = 0; OpenFileName.lpstrFile = szFile; OpenFileName.nMaxFile = sizeof( szFile ); OpenFileName.lpstrFileTitle = NULL; OpenFileName.nMaxFileTitle = 0; OpenFileName.lpstrInitialDir = CurrentDir; OpenFileName.lpstrTitle = "Open a file"; OpenFileName.nFileOffset = 0; OpenFileName.nFileExtension = 0; OpenFileName.lpstrDefExt = NULL; OpenFileName.lCustData = 0; OpenFileName.lpfnHook = NULL; OpenFileName.lpTemplateName = NULL; OpenFileName.Flags = OFN_EXPLORER; if( GetOpenFileName( &OpenFileName ) ) { strcpy( file, szFile ); return TRUE; } else return FALSE; } Link to comment Share on other sites More sharing options...
compmaniac Posted February 3, 2007 Author Share Posted February 3, 2007 for the autoinstaller add a open file dialog, so the end user can select the correct file this code may help #include <Windows.h> #include <commdlg.h> #include <shlobj.h> BOOL OpenFileDialog( char * ); int main( void ) { char filename[MAX_PATH]; printf( "Opening a file dialog box..." ); if( OpenFileDialog( filename ) ) printf( "nFilename returned : %sn", filename ); else printf( "nValid filename not returned!n" ); //Decide what to do if no file name was provided... //Now do something useful with the filename, like opening the file // and saving some data to it! return 0; } BOOL OpenFileDialog( char *file ) //Function that will call dialog { OPENFILENAME OpenFileName; char szFile[MAX_PATH]; char CurrentDir[MAX_PATH]; szFile[0] = 0; GetCurrentDirectory( MAX_PATH, CurrentDir ); OpenFileName.lStructSize = sizeof( OPENFILENAME ); OpenFileName.hwndOwner = NULL; OpenFileName.lpstrFilter = "BIG Files0*.big00"; OpenFileName.lpstrCustomFilter = NULL; OpenFileName.nMaxCustFilter = 0; OpenFileName.nFilterIndex = 0; OpenFileName.lpstrFile = szFile; OpenFileName.nMaxFile = sizeof( szFile ); OpenFileName.lpstrFileTitle = NULL; OpenFileName.nMaxFileTitle = 0; OpenFileName.lpstrInitialDir = CurrentDir; OpenFileName.lpstrTitle = "Open a file"; OpenFileName.nFileOffset = 0; OpenFileName.nFileExtension = 0; OpenFileName.lpstrDefExt = NULL; OpenFileName.lCustData = 0; OpenFileName.lpfnHook = NULL; OpenFileName.lpTemplateName = NULL; OpenFileName.Flags = OFN_EXPLORER; if( GetOpenFileName( &OpenFileName ) ) { strcpy( file, szFile ); return TRUE; } else return FALSE; } I won't use this exact code, but I'll make a check for if the path is correct. However, I find it very strange that the path that is read from the registry can be wrong...do you have any idea why, kraw? Link to comment Share on other sites More sharing options...
DJEagles Posted February 3, 2007 Share Posted February 3, 2007 he is saying he needs help understanding the start time for games from the ootp CSV files. And if he does not get he could just randomly generate a start time. If I was him I would never release another damn mod for you people I realize that now. I read it like he was looking for permission to just generate the times. I understand he is looking for advice, and help. Hell, I appreciate the work he has put into the Schedule generator Mod, and I have actually used it. Link to comment Share on other sites More sharing options...
krawhitham Posted February 3, 2007 Share Posted February 3, 2007 I won't use this exact code, but I'll make a check for if the path is correct. However, I find it very strange that the path that is read from the registry can be wrong...do you have any idea why, kraw? Multiple installs is the main reason average user may have 4 installs one for 06 one for Total Classics one for 1994 one for 1961 the registry only states one install, and if the end user changed the folder name after install(which is what most do if the have multiple installs) the registry info will be all wrong. another way is the user has a ripped warez version of the game (the one without CD images), it never sets the registry at all Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.