TKRom Organizer

Discussion in 'NDS - Flashcarts and Accessories' started by t_kiddie, Jul 29, 2011.

Thread Status:
Not open for further replies.
Jul 29, 2011

TKRom Organizer by t_kiddie at 4:08 PM (5,682 Views / 0 Likes) 41 replies

  1. t_kiddie
    OP

    Newcomer t_kiddie Advanced Member

    Joined:
    Jun 27, 2011
    Messages:
    75
    Location:
    Heilbronn
    Country:
    Germany
    [​IMG]
    This CC-License applies to all versions of TKRom Organizer. Also the DemoVersions.


    Please
    >>Donate>Download TKRom Organizer here
     


  2. macearl

    Newcomer macearl Member

    Joined:
    Jun 7, 2009
    Messages:
    27
    Country:
    Germany
    just a quick question, will the "custom rename" function be implemented first or is the gui your main priority right now?
     
  3. t_kiddie
    OP

    Newcomer t_kiddie Advanced Member

    Joined:
    Jun 27, 2011
    Messages:
    75
    Location:
    Heilbronn
    Country:
    Germany
    I think ill first add a settingsfile wich also includes the custom rename function.
    I also intend to release two parallel versions in the future one with a gui and one commandline only.
    Does the tool work for you?
     
  4. macearl

    Newcomer macearl Member

    Joined:
    Jun 7, 2009
    Messages:
    27
    Country:
    Germany
    works great for me, havent found any bugs either.

    What would be great so if you could implenent some options like

    Code:
    tkro.exe -p D:\roms\ -r all --pattern "%N %T %R"
    where -p would be path, -r rename and pattern the custom rename pattern where %N would be Number, %T title and %R region
     
  5. t_kiddie
    OP

    Newcomer t_kiddie Advanced Member

    Joined:
    Jun 27, 2011
    Messages:
    75
    Location:
    Heilbronn
    Country:
    Germany
    I plan to do so after i implemented the settingsfileusage

    I know that this is only a minor update as i just implemented the copyall-function and a few other little things but i considered the copyall-function to be important enpugh to release this version now [​IMG]
     
  6. macearl

    Newcomer macearl Member

    Joined:
    Jun 7, 2009
    Messages:
    27
    Country:
    Germany
    just a small correction

    it should be "progress bar" not "process bar"

    and i get an error when i try to rename all roms:

    CODEC:/Users/MacEarl/AppData/Local/Temp/ocr7D6D.tmp/src/tkro.rb:108:in `block in ': undefined method `chomp' for nil:NilClass (NoMethodError)
    from C:/Users/MacEarl/AppData/Local/Temp/ocr7D6D.tmp/src/tkro.rb:104:in `each'
    from C:/Users/MacEarl/AppData/Local/Temp/ocr7D6D.tmp/src/tkro.rb:104:in `'

    when i try to copy all roms to another folder i get this error:

    CODEDestpath set to default (D:/testroms/).
    copying all romfiles to D:/testroms/...
    1/4:ÂÂÂÂ
    C:/Users/MacEarl/AppData/Local/Temp/ocr9F5E.tmp/src/tkro.rb:122:in `block in ': undefined method `chomp' for nil:NilClass (NoMethodError)
    from C:/Users/MacEarl/AppData/Local/Temp/ocr9F5E.tmp/src/tkro.rb:119:in `each'
    from C:/Users/MacEarl/AppData/Local/Temp/ocr9F5E.tmp/src/tkro.rb:119:in `'

    when i try to listall roms i get this error:
    CODElistroms
    C:/Users/MacEarl/AppData/Local/Temp/ocrFE.tmp/src/tkro.rb:130:in `+': can't convert nil into String (TypeError)
    from C:/Users/MacEarl/AppData/Local/Temp/ocrFE.tmp/src/tkro.rb:130:in `block in '
    from C:/Users/MacEarl/AppData/Local/Temp/ocrFE.tmp/src/tkro.rb:129:in `each'
    from C:/Users/MacEarl/AppData/Local/Temp/ocrFE.tmp/src/tkro.rb:129:in `'

    when i try to copy a single rom i get this error:
    CODEC:/Users/MacEarl/AppData/Local/Temp/ocr9003.tmp/src/tkro.rb:138:in `': undefined method `chomp' for nil:NilClass (NoMethodError)


    edit:

    just checked the older Version tkro0005ademo3.zip which worked earlier but now i get this error when i try to rename all roms (different roms then last time)
    CODEC:/Users/MacEarl/AppData/Local/Temp/ocrFCF8.tmp/src/tkro.rb:71:in `block in ': undefined method `chomp' for nil:NilClass (NoMethodError)
    from C:/Users/MacEarl/AppData/Local/Temp/ocrFCF8.tmp/src/tkro.rb:67:in `each'
    from C:/Users/MacEarl/AppData/Local/Temp/ocrFCF8.tmp/src/tkro.rb:67:in `'


    edit2:

    now version 0.001a

    error when renaming all:
    CODEC:/Users/MacEarl/AppData/Local/Temp/ocr762D.tmp/src/tkro.rb:84:in `block in ': undefined method `chomp' for nil:NilClass (NoMethodError)
    from C:/Users/MacEarl/AppData/Local/Temp/ocr762D.tmp/src/tkro.rb:80:in `each'
    from C:/Users/MacEarl/AppData/Local/Temp/ocr762D.tmp/src/tkro.rb:80:in `'

    error list all roms:
    CODEC:/Users/MacEarl/AppData/Local/Temp/ocr5998.tmp/src/tkro.rb:90:in `+': can't convert nil into String (TypeError)
    from C:/Users/MacEarl/AppData/Local/Temp/ocr5998.tmp/src/tkro.rb:90:in `block in '
    from C:/Users/MacEarl/AppData/Local/Temp/ocr5998.tmp/src/tkro.rb:89:in `each'
    from C:/Users/MacEarl/AppData/Local/Temp/ocr5998.tmp/src/tkro.rb:89:in `'

    error copy rom:
    CODEC:/Users/MacEarl/AppData/Local/Temp/ocr5998.tmp/src/tkro.rb:90:in `+': can't convert nil into String (TypeError)
    from C:/Users/MacEarl/AppData/Local/Temp/ocr5998.tmp/src/tkro.rb:90:in `block in '
    from C:/Users/MacEarl/AppData/Local/Temp/ocr5998.tmp/src/tkro.rb:89:in `each'
    from C:/Users/MacEarl/AppData/Local/Temp/ocr5998.tmp/src/tkro.rb:89:in `'

    So in conclusion right now nothing except the exit function works...

    Not sure if its because of the roms, they may be not in the database by now...

    edit3:

    So just checked all Versions with older Roms which are definitely in the Database, all functions work. So just need to do something about "unknown" roms maybe just an if query (not sure if this is right "if Abfrage" in German [​IMG]) like If $SERIAL in DATABASE do ... else echo Game not in Database.

    Also it would be nice if you could use shorter commands like ra = rename all, r = rename, c = copy, ca = copyall ... would save some time [​IMG]
     
  7. Valzi

    Newcomer Valzi Member

    Joined:
    Jul 12, 2011
    Messages:
    47
    Location:
    New Mexico
    Country:
    United States
    Looking good! Eagerly awaiting the gui and custom renaming features (especially the folder renaming bit!) Excited! Thanks!
     
  8. t_kiddie
    OP

    Newcomer t_kiddie Advanced Member

    Joined:
    Jun 27, 2011
    Messages:
    75
    Location:
    Heilbronn
    Country:
    Germany
    Thank you [​IMG] I am afraid you've got to wait till the weekend for the next ubpdate as i am still working the whole day (wont change in the next 2 weeks ;( but ill post updates in a higher frequency then [​IMG])

    v0.003a release:

    i added the renamepatternfeature [​IMG]

    change the pattern by editing the settings.tkr file

    for now youve only got the options %romserial%, %romname%

    please post your wishes for future renameoptions [​IMG]

    also you can change the rompath within the settings.tkr so you wont have to type it in everytime you start the tool [​IMG]

    Download at the first post of this Thread
     
  9. macearl

    Newcomer macearl Member

    Joined:
    Jun 7, 2009
    Messages:
    27
    Country:
    Germany
    Doesnt work [​IMG]

    maybe just because you forgot to include the settings.tkr?

    CODED:\Downloads\tkro0.003a\tkro>tkro.exe
    C:/Users/MacEarl/AppData/Local/Temp/ocrD2E.tmp/src/tkro.rb:99:in `readlines': No such file or directory - settings.tkr (Errno::ENOENT)
    from C:/Users/MacEarl/AppData/Local/Temp/ocrD2E.tmp/src/tkro.rb:99:in `'

    here some ideas for the rename function:
    Title
    Publisher
    Rom Number (i would like the ones from ds scene, in Offline List they are the ones with %e (comment) and not the %u (Rom Number) i dont know which rom numbers the %u are)
    Language
    Country of Origin
    Source
    Rom size
    Number of Languages
     
  10. t_kiddie
    OP

    Newcomer t_kiddie Advanced Member

    Joined:
    Jun 27, 2011
    Messages:
    75
    Location:
    Heilbronn
    Country:
    Germany
    Damn youre right [​IMG]
    i updated the archive just download it again [​IMG]
    thanks for your suggestions [​IMG]
     
  11. macearl

    Newcomer macearl Member

    Joined:
    Jun 7, 2009
    Messages:
    27
    Country:
    Germany
    Some new problems.

    Path with \ and without "":
    CODED:\Downloads\tkro0.003a\tkro>tkro.exe
    D:\Dokumente\Konsolen\nds\Nintendo DS Spiele\unbekannt\
    Debug-Logging on? (off by default, type "on" and Enter to enable)
    on
    C:/Users/MacEarl/AppData/Local/Temp/ocr892.tmp/src/tkro.rb:52:in `initdb': undefined local variable or method `logFile' for main:Object (NameError)
    ÂÂÂÂÂÂÂÂfrom C:/Users/MacEarl/AppData/Local/Temp/ocr892.tmp/src/tkro.rb:110:in `'

    Path with / instead of \ in settings file and without "":
    CODED:\Downloads\tkro0.003a\tkro>tkro.exe
    D:/Dokumente/Konsolen/nds/Nintendo DS Spiele/unbekannt/
    Debug-Logging on? (off by default, type "on" and Enter to enable)
    on
    C:/Users/MacEarl/AppData/Local/Temp/ocrA6E3.tmp/src/tkro.rb:52:in `initdb': undefined local variable or method `logFile' for main:Object (NameError)
    ÂÂÂÂÂÂÂÂfrom C:/Users/MacEarl/AppData/Local/Temp/ocrA6E3.tmp/src/tkro.rb:110:in `'

    Path with \ and "":
    CODED:\Downloads\tkro0.003a\tkro>tkro.exe
    "D:\Dokumente\Konsolen\nds\Nintendo DS Spiele\unbekannt\"
    Debug-Logging on? (off by default, type "on" and Enter to enable)
    on
    C:/Users/MacEarl/AppData/Local/Temp/ocr7C7.tmp/src/tkro.rb:50:in `open': No such file or directory - "D:\Dokumente\Konsolen\nds\Nintendo DS Spiele\unbekannt\" (Errno::ENOENT)
    ÂÂÂÂÂÂÂÂfrom C:/Users/MacEarl/AppData/Local/Temp/ocr7C7.tmp/src/tkro.rb:50:in `entries'
    ÂÂÂÂÂÂÂÂfrom C:/Users/MacEarl/AppData/Local/Temp/ocr7C7.tmp/src/tkro.rb:50:in `initdb'
    ÂÂÂÂÂÂÂÂfrom C:/Users/MacEarl/AppData/Local/Temp/ocr7C7.tmp/src/tkro.rb:110:in `'

    Path with / instead of \ and with "":
    CODED:\Downloads\tkro0.003a\tkro>tkro.exe
    "D:/Dokumente/Konsolen/nds/Nintendo DS Spiele/unbekannt/"
    Debug-Logging on? (off by default, type "on" and Enter to enable)
    on
    C:/Users/MacEarl/AppData/Local/Temp/ocrD717.tmp/src/tkro.rb:50:in `open': No such file or directory - "D:/Dokumente/Konsolen/nds/Nintendo DS Spiele/unbekannt/" (Errno::ENOENT)
    ÂÂÂÂÂÂÂÂfrom C:/Users/MacEarl/AppData/Local/Temp/ocrD717.tmp/src/tkro.rb:50:in `entries'
    ÂÂÂÂÂÂÂÂfrom C:/Users/MacEarl/AppData/Local/Temp/ocrD717.tmp/src/tkro.rb:50:in `initdb'
    ÂÂÂÂÂÂÂÂfrom C:/Users/MacEarl/AppData/Local/Temp/ocrD717.tmp/src/tkro.rb:110:in `'

    settingsfile:
    Code:
    Renamepattern (possible: %romname%, %romserial%):
    %romserial% - %romname%
    Romfolder:
    D:\Dokumente\Konsolen\nds\Nintendo DS Spiele\unbekannt\
    I believe the one with "" doesnt work because you probably hardcoded those in the code so now the path looks like this for the program: ""D:\..."" and the one without "" doesnt work because of a bug with the log function (the log file gets created but it is empty)
     
  12. t_kiddie
    OP

    Newcomer t_kiddie Advanced Member

    Joined:
    Jun 27, 2011
    Messages:
    75
    Location:
    Heilbronn
    Country:
    Germany
    Does it work for you with debugging off and without additional ""?

    I think i forgot to put the debugfilehandler global ^^
    Thank you for your support [​IMG]
     
  13. macearl

    Newcomer macearl Member

    Joined:
    Jun 7, 2009
    Messages:
    27
    Country:
    Germany
    Yes with debugging off it works

    I just noticed a "peep" while it scans the directory is this because there are some 7z files in the folder?
     
  14. t_kiddie
    OP

    Newcomer t_kiddie Advanced Member

    Joined:
    Jun 27, 2011
    Messages:
    75
    Location:
    Heilbronn
    Country:
    Germany
    Be allways up to date with the >>TKiddieSoftware Twitter
     
  15. Valzi

    Newcomer Valzi Member

    Joined:
    Jul 12, 2011
    Messages:
    47
    Location:
    New Mexico
    Country:
    United States
    I'd really like Genre. It's the only option I want/need. Also, it would be even better if you made it so that you could specify path name options, like so: c:\ds_roms\%genre%\%romname%. That would totally be all I needed from your tool.
     
  16. t_kiddie
    OP

    Newcomer t_kiddie Advanced Member

    Joined:
    Jun 27, 2011
    Messages:
    75
    Location:
    Heilbronn
    Country:
    Germany
    I think a full customisable path is a great idea i will try to implement it as soon as i can. thanks [​IMG]
     
  17. Valzi

    Newcomer Valzi Member

    Joined:
    Jul 12, 2011
    Messages:
    47
    Location:
    New Mexico
    Country:
    United States
    I'm excited!
     
  18. t_kiddie
    OP

    Newcomer t_kiddie Advanced Member

    Joined:
    Jun 27, 2011
    Messages:
    75
    Location:
    Heilbronn
    Country:
    Germany
    Does anybody off you have an idea of what the tkro icon should look like?
    Maybe someone even could design one and send it to me but i will be also happy of some suggestions on how it shall look like [​IMG]
     
  19. Valzi

    Newcomer Valzi Member

    Joined:
    Jul 12, 2011
    Messages:
    47
    Location:
    New Mexico
    Country:
    United States
    The T, K, and the O could be larger and capitalized and the r could be smaller and not capitalized. This makes a KO (as in "knockout!") Then the icon could be made to look like this:

    [​IMG]

    Or you could make the t small as well and make the icon look like this:

    [​IMG]

    You could make the splash screen be a knock-off of one of those images too!
     
  20. t_kiddie
    OP

    Newcomer t_kiddie Advanced Member

    Joined:
    Jun 27, 2011
    Messages:
    75
    Location:
    Heilbronn
    Country:
    Germany
    [​IMG]
    I like the idea i think i will give it a try [​IMG]
    Of course you will be mentioned in the credits then [​IMG]

    this will be the last week i am working all day. so you can expect more updates after this week [​IMG]
     
Thread Status:
Not open for further replies.

Share This Page