Author Topic: RetroFE development  (Read 144400 times)

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1543
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: New features
« Reply #45 on: January 07, 2017, 04:31:54 PM »
I get Segmentation fault: 11...

If I advance the Load screen with spacebar or don't let it play to the end or even if I hit escape to quit before the load screen finishes all result in a crash.

I presume this is using MacOS?
I have no such issues under Linux or Windows. Is there any way for you to run it in the debugger to see where the issues are?

Thanks for mentioning the version; it shows me that you _are_ using the latest code.
« Last Edit: January 07, 2017, 04:49:50 PM by Pieter Hulshoff »

Tom Acunzo

  • Newbie
  • *
  • Posts: 31
  • Karma: +0/-0
    • View Profile
Re: New features
« Reply #46 on: January 07, 2017, 04:50:01 PM »
I've only tested mac via quick brew install. Can't put much more time into it today. Something about adding playlists inside CollectionInfoBuilder

Code: [Select]
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_pthread.dylib        0x00007fffd61e04fc pthread_mutex_lock + 0
1   libsystem_c.dylib              0x00007fffd602dadc readdir$INODE64 + 22
2   retrofe                        0x0000000104e14e5f CollectionInfoBuilder::addPlaylists(CollectionInfo*) + 277
3   retrofe                        0x0000000104e4fc54 RetroFE::getCollection(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) + 1078
4   retrofe                        0x0000000104e4e068 RetroFE::run() + 2622
5   retrofe                        0x0000000104e4c3ec main + 5788
6   libdyld.dylib                  0x00007fffd5fcb255 start + 1

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1543
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: New features
« Reply #47 on: January 07, 2017, 04:56:58 PM »
Damn, this is my latest fix, and (un?)fortunately I know exactly what's wrong, how to fix it, and that others will get the same issue. I only tested it using a collection that actually has playlists.

Tom Acunzo

  • Newbie
  • *
  • Posts: 31
  • Karma: +0/-0
    • View Profile
Re: New features
« Reply #48 on: January 07, 2017, 05:03:30 PM »
and don't forget there is now a --os=mac option for running the python step. We should better track adding new features as they affect multiple platforms.

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1543
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: New features
« Reply #49 on: January 07, 2017, 05:19:56 PM »
Try again?
I've included a new executable. Hopefully this one will work better for everyone. :)

Please, back up your retrofe.exe before using this one. It's WIP and not fully tested yet.

This version contains playlist support and hierarchical rom directory support. Check the bit bucket commits for details.
« Last Edit: January 07, 2017, 05:48:59 PM by Pieter Hulshoff »

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1543
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: New features
« Reply #50 on: January 07, 2017, 06:12:59 PM »
and don't forget there is now a --os=mac option for running the python step. We should better track adding new features as they affect multiple platforms.
In this case I just didn't test it fully enough; it's not OS related. I added playlists, and only tested it with collections that actually had playlists, including my Main collection.

Sent from my SM-G920F using Tapatalk


ryuuji

  • Full Member
  • ***
  • Posts: 166
  • Karma: +1/-0
    • View Profile
Re: New features
« Reply #51 on: January 07, 2017, 06:37:45 PM »
What does that new feature actually do (the playlist) ?

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1543
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: New features
« Reply #52 on: January 07, 2017, 06:51:18 PM »
It allows you to define and walk through sub lists of a collection, e.g. all Konami or all Driving games. It's an extension on the favorites playlist feature.

Sent from my SM-G920F using Tapatalk


ryuuji

  • Full Member
  • ***
  • Posts: 166
  • Karma: +1/-0
    • View Profile
Re: New features
« Reply #53 on: January 07, 2017, 06:55:49 PM »
Ok. So I can make custom lists (like genres) and when I press the next playlist button will cycle thru the genre lists I ve made ?
This can be done manual only ? the add to playlist button will add games only to fav list , right ?

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1543
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: New features
« Reply #54 on: January 07, 2017, 06:59:45 PM »
Correct, for now. 😀 Just create .txt files in the playlists directory with the games you want. I've added a prevPlaylist and a favPlaylist key definition to the existing nextPlaylist button.

You could consider adding corresponding logos to the collections/_common/medium_artwork/playlist directory so you know what playlist you're in.

ryuuji

  • Full Member
  • ***
  • Posts: 166
  • Karma: +1/-0
    • View Profile
Re: New features
« Reply #55 on: January 07, 2017, 07:01:29 PM »
Nice :) . Will test it soon but it is a nice feature indeed. Probably have to update the layouts also.

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1543
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: New features
« Reply #56 on: January 07, 2017, 07:08:47 PM »
Not much; I just moved the collection's playlist image 50 pixels to the right to deal with large images, and added the genre wheels and some manufacturer wheels to the common artwork.

Sent from my SM-G920F using Tapatalk


Tom Acunzo

  • Newbie
  • *
  • Posts: 31
  • Karma: +0/-0
    • View Profile
Re: New features
« Reply #57 on: January 07, 2017, 07:22:25 PM »
and don't forget there is now a --os=mac option for running the python step. We should better track adding new features as they affect multiple platforms.
In this case I just didn't test it fully enough; it's not OS related. I added playlists, and only tested it with collections that actually had playlists, including my Main collection.

Sent from my SM-G920F using Tapatalk

In case new file types are added to collections or whatever in the future and the post script copies those to Artifacts. Yes otherwise error checking is nice.

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1543
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: New features
« Reply #58 on: January 07, 2017, 07:46:12 PM »
High on my todo list is support for truRIP superdat files to support the upcoming truRIP releases.

Sent from my SM-G920F using Tapatalk


Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1543
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: New features
« Reply #59 on: January 07, 2017, 08:01:52 PM »
Btw, Tom, can you explain why MacOS cannot handle the png files that used to be included? I'm trying to see if I can batch convert them for future use for MacOS as well, since bit bucket contains only a small sub set of what I have.

Sent from my SM-G920F using Tapatalk