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 FamiTracker
Login:
Menu:
Post: Author:
FamiTracker > General > Source and development > Question regarding FT and driver Owner: banshaku New post
Page 1 of 1 Sort:  
Question regarding FT and driver Posted: 2009-07-30 05:28  (Last Edited: 2009-07-30 05:31) Reply | Quote
banshaku

Avatar

Member for: 5010 days
Location: Japan
Status: Offline

#3479
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.

Anything I should be careful while doing this?

Thanks for any pointers.

Posted: 2009-08-02 03:08 Reply | Quote
jsr
Administrator

Avatar

Member for: 5924 days
Location: Sweden
Status: Offline

#3504
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.

_______________________
Programmer and developer
Posted: 2009-08-02 11:08  (Last Edited: 2009-08-02 11:09) Reply | Quote
banshaku

Avatar

Member for: 5010 days
Location: Japan
Status: Offline

#3507
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.

Page 1 of 1 Sort: