UncleMo Posted March 6, 2007 Share Posted March 6, 2007 With you two working together, pretty soon you'll be making your own game. Link to comment Share on other sites More sharing options...
tywiggins Posted March 6, 2007 Share Posted March 6, 2007 There is a problem on my end. It seems that the game does not allow you to make changes to the portrait.big while it is running. That will cause some design changes to my program. There's also another small problem that I wasn't aware of: After renaming a portrait fsh to a new name, you have to make a couple of edits to the fsh file. The old filename can still be found inside the fsh file. These cause the game to show a black box instead of the portrait. Those references to the old filename need to be changed to the new filename. I'll make a small program that will do that. Link to comment Share on other sites More sharing options...
UncleMo Posted March 6, 2007 Share Posted March 6, 2007 Ty, did you give up on the generic program? If so, I won't get upset with ya. Link to comment Share on other sites More sharing options...
tywiggins Posted March 6, 2007 Share Posted March 6, 2007 Ty, did you give up on the generic program? If so, I won't get upset with ya. No, I didn't give up. I needed a few days break from programming/testing. I'm back now. Link to comment Share on other sites More sharing options...
UncleMo Posted March 6, 2007 Share Posted March 6, 2007 Ok just checking on it. If you need a break take one. Sorry. Link to comment Share on other sites More sharing options...
compmaniac Posted March 6, 2007 Share Posted March 6, 2007 There is a problem on my end. It seems that the game does not allow you to make changes to the portrait.big while it is running. That will cause some design changes to my program. There's also another small problem that I wasn't aware of: After renaming a portrait fsh to a new name, you have to make a couple of edits to the fsh file. The old filename can still be found inside the fsh file. These cause the game to show a black box instead of the portrait. Those references to the old filename need to be changed to the new filename. I'll make a small program that will do that. The program will be running while the game is in progress? I wasn't aware of that, but will it? And I don't need to change anything on my part, do I? And you just need to edit the index.fsh file, right? Link to comment Share on other sites More sharing options...
tywiggins Posted March 7, 2007 Share Posted March 7, 2007 The program will be running while the game is in progress? I wasn't aware of that, but will it? And I don't need to change anything on my part, do I? And you just need to edit the index.fsh file, right? Yes, my program needs to be run while your dynasty is open in the game. That's how I will determine each player's current team. You don't have to change anything. I tried editing the index.fsh, but that didn't seem to help. I'll just have to edit the fsh file. Link to comment Share on other sites More sharing options...
compmaniac Posted March 7, 2007 Share Posted March 7, 2007 What do you mean by "I tried editing the index.fsh, but that didn't seem to help. I'll just have to edit the fsh file."? Link to comment Share on other sites More sharing options...
tywiggins Posted March 7, 2007 Share Posted March 7, 2007 What do you mean by "I tried editing the index.fsh, but that didn't seem to help. I'll just have to edit the fsh file."? I extracted the portrait with fshtool. Then, I edited the index.fsh and replaced the current filename with what I want the filename to be. Then, I used fshtool to build the new file. I then installed that portrait to the portrait.big file. I got the same result as when I just renamed the file. What I mean by editing the fsh file: If the portrait file is 9000.fsh, I will edit the 9000.fsh and change the two instances of the old filename to 9000. Link to comment Share on other sites More sharing options...
compmaniac Posted March 7, 2007 Share Posted March 7, 2007 So is my command-line utility supposed to take a .bmp file as an input, or a .fsh file? Because if it's a .bmp file, it'll always be 0000.bmp and 0000-a.bmp, right? My program would only have to take the team's abbreviation as a command-line switch, right? Link to comment Share on other sites More sharing options...
tywiggins Posted March 7, 2007 Share Posted March 7, 2007 So is my command-line utility supposed to take a .bmp file as an input, or a .fsh file? Because if it's a .bmp file, it'll always be 0000.bmp and 0000-a.bmp, right? My program would only have to take the team's abbreviation as a command-line switch, right? I would prefer that your program take a .fsh file as an input. Link to comment Share on other sites More sharing options...
compmaniac Posted March 7, 2007 Share Posted March 7, 2007 Ty, how do I convert a char array to a string array? Because I can't work with char arrays very well, and it seems that I would have to, if I use command-line inputs. Link to comment Share on other sites More sharing options...
tywiggins Posted March 7, 2007 Share Posted March 7, 2007 Ty, how do I convert a char array to a string array? Because I can't work with char arrays very well, and it seems that I would have to, if I use command-line inputs. What problems are you having? You don't need to make any changes to the char array. If you want to convert the first command line option to a string, this is all you need to do: string parameter1 = argv[1]; Also, if you pm me, I will respond to your questions faster. Link to comment Share on other sites More sharing options...
compmaniac Posted March 7, 2007 Share Posted March 7, 2007 Thanks, I'll ask in PM now. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.