Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /storage/content/49/145849/famitracker.com/public_html/forum/classes/dbHandler.php on line 29
This question is targeted at Jsr unless someone else has knowledge about both code base
I want to make famitracker a little bit more friendly for my project. Here's what I have in mind and would like to know the pitfalls, if any.
Note: I will use version 2.2.9 code base for this.
First, I want to update the tracker export function. Instead of exporting one binary file, I will make that it split the files in the following entity:
- 1 file for all instruments
- 1 file per individual song
Then I need to update the driver for this. From what I saw very fast, I need to update how var_Song_list var_instrument_list are initialized and will have to check the init code.
This way, I can have one pool of instrument for all the songs or could change the instruments for a song without the need of the song twice since both data are together usually.
I wish I had some directions but I rarely touch the export code myself so I'm not too familiar, so all I can do is wish good luck. =) But I believe it'll be pretty straight forward.
Everything related to export is located in Compiler.cpp and PatternCompiler.cpp, and of course if you get any specific questions then I will try to help.
No problem. I decided to do the jump to 3.0 since it's the latest version. I will have to convert the driver again but I have to update my current one anyway for my current needs so it's ok.
Now I can compile it. Once I can find the time, I Will do the modification.