Author Topic: TILP: beta-testing...  (Read 86283 times)

0 Members and 2 Guests are viewing this topic.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: TILP: beta-testing...
« Reply #90 on: May 14, 2011, 11:21:03 am »
Necro bump for good reason :w00t:

I'll have to try this sometime. I'm sure people have asked this before, but should I completely uninstall TI-Connect first?

Last time I tried to do that I found I'd accidentally deleted TI-Connect uninstall software. Half an hour of nerve-wracking manual registry editing (nearly deleted OS files, too) x.x




Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: TILP: beta-testing...
« Reply #91 on: May 14, 2011, 11:49:53 am »
More than uninstalling either of the programs, what matters most is switching the driver in the Control Panel -> Peripherals manager when the calculator is plugged in.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: TILP: beta-testing...
« Reply #92 on: May 14, 2011, 02:38:49 pm »
Oh thanks, I guess that would explain why I never got TiLP to work.

EDIT: Do you know how to do that in Vista?
« Last Edit: May 14, 2011, 02:39:57 pm by Deep Thought »




Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: TILP: beta-testing...
« Reply #93 on: May 28, 2011, 04:08:08 pm »
Looks like I hadn't subscribed to this topic, so I didn't see your reply. My bad.
I may be able to do it in front of a Vista instance, assuming it didn't change too much since XP; but I cannot explain the exact procedure to someone else :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: TILP: beta-testing...
« Reply #94 on: May 28, 2011, 04:12:23 pm »
I have now released TILP II 1.15 :)
Packages are in the process of being uploaded to ticalc.org.

It's a significant new release. Excerpt from the release notes:
Code: [Select]
New capabilities:
-----------------

- tilp: improved UI, by Jon Sturm (Jonimus / TheStorm).
- tilp: use more native, themable icons.
- libticables: libusb 1.0 backend, for users of the many Linux distros which don't package libusb 1.0 proper anymore.
- libticalcs: OS 2.x and 3.x support, variable deletion, folder creation, folder deletion, OS 1.x dumping.



Improvements:
-------------

- libticables: cope with 84+(SE), 89T and Nspire (CAS) USB controller stacks, which want dummy reads or writes in some circumstances.
  Most of the causes of variables of peculiar sizes failing to transfer have been fixed.
- tilp: compatibility fixes for recent GTK+ versions.
- all: commit MSVC 2008 build files.

Bug fixes:
----------

Between others (see the Changelog files for complete lists):
- all: change encoding in .rc files.
- all: lots of fixes for compiler warnings, memory leaks, crasher bugs
- libticalcs: fix 86 ROM dumping.
- libticalcs: cope with "-1" delays sent by the 84+ when writing to Flash memory, which used to hang (almost) forever.
- libticalcs: Nspire ID retrieval.
- tilp: fix display of files whose size is exactly 1 KB or 1 MB.
- libticalcs, libtifiles: don't crash upon sub-folders of folders (Nspire OS 2.x and 3.x support them).
- libtifiles, libticables, libticalcs: turn abrupt program aborts such as assert() and exit() into tests + ti*_critical().
- libticalcs: fix a declaration after statement.
- libticalcs: cope with martian packets sent by Nspire OS >= 1.7 when replying to a session close packet.

Many thanks again to Jon (TheStorm on this forum, IIRC) for the UI changes and the libusb 1.0 backend :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: TILP: beta-testing...
« Reply #95 on: May 28, 2011, 04:56:23 pm »
Congrats on the new release Lionel and Jon! TheStorm was Jon's user name on the old board, he's going by the name <a href="http://www.omnimaga.org/index.php?action=profile;u=344">JonimusPrime</a> here now.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: TILP: beta-testing...
« Reply #96 on: June 02, 2011, 08:21:40 am »
We're currently trying to upgrade the libusb DLL and SYS files for Windows, so as to fulfill the long-standing feature request that TI-Connect + TILP II, and TINCLS + TILP II, become usable side by side.
Status: TI-Connect and TILP II on the one side, and TINCLS and TILP II on the other side, can be made to both work on a given computer without having to uninstall either - in fact, they do so on my father's computer running native Win7 x64 :)
(but I seldom have access to said computer - and in fact, at the time of this writing, it's not here anymore)

For now, it's a manual process (for which I'll try to streamline my rough notes - I think that there are two ways of achieving the effect), but it's certainly going to be possible to automate it into the installer. I need to integrate the updated INF + CAT definitions kindly generated by the INF wizard provided by the newest versions of libusb-win32, and probably add several lines to the TILP II installer. Maybe more changes currently unforeseen, we'll see.


On a side note: for a while (seemingly before I became the maintainer, two years ago), TILP has been (or should have been, because the InnoSetup installer script doesn't reference the modified binary anymore) shipping with an unmodified libusb0.sys binary. As a consequence, TILP II 1.15, and a number of earlier builds, don't work well with Nspires - and testing on the native Win7 x64 computer seems to show that it's worse than on my virtualized XP (where it was more tolerable). Nobody reported it, which shows that people using TILP for interacting with Nspires on Windows are few :)

Technical details: the reason why a modified binary needs to be shipped, is that the Nspire's USB controller / stack somehow doesn't like the thorough reset procedure sent to it by libusb under Windows. TINCLS sends only the first half of it, and the Nspire is fine with that; but libusb sends the full reset, and after receiving that, something is wrong with the calculator's USB state. It needs to be unplugged and plugged back in...
Romain described the problem in http://sourceforge.net/mailarchive/forum.php?thread_name=473B0743.7020705%40lievin.net&forum_name=libusb-win32-devel / http://svn.tilp.info/cgi-bin/viewvc.cgi/*checkout*/libticables/trunk/src/win32/usb/libusb-win32.html?rev=4162. The corresponding diff is the following:
--- src/driver/reset_device.c.orig      2007-03-20 05:33:29.000000000 -0500
+++ src/driver/reset_device.c   2009-05-07 10:41:28.331560796 -0500
@@ -32,14 +32,14 @@
     {
       DEBUG_ERROR("reset_device(): IOCTL_INTERNAL_USB_RESET_PORT failed: "
                   "status: 0x%x", status);
-    }

-  status = call_usbd(dev, NULL, IOCTL_INTERNAL_USB_CYCLE_PORT, timeout);
+      status = call_usbd(dev, NULL, IOCTL_INTERNAL_USB_CYCLE_PORT, timeout);

-  if(!NT_SUCCESS(status))
-    {
-      DEBUG_ERROR("reset_device(): IOCTL_INTERNAL_USB_CYCLE_PORT failed: "
-                  "status: 0x%x", status);
+      if(!NT_SUCCESS(status))
+        {
+          DEBUG_ERROR("reset_device(): IOCTL_INTERNAL_USB_CYCLE_PORT failed: "
+                      "status: 0x%x", status);
+        }
     }

   return status;


Since it was not integrated at the time, we need to somehow get this patch upstream, under this form or another :)
« Last Edit: June 02, 2011, 08:50:17 am by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: TILP: beta-testing...
« Reply #97 on: June 02, 2011, 02:29:38 pm »
I've just uploaded a first testing build of what will become TILP II 1.16, with libusb DLLs upgraded to the latest versions (a version definitely supported by the filter driver): http://lpg.ticalc.org/prj_tilp/beta/setup.exe .
Corresponding patch to the sources (which looks like crap because the new INF files seem to be UTF-16 files): http://lpg.ticalc.org/prj_tilp/beta/0001-WIP-libticables-tilp-installer-upgrade-libusb-win32-.patch .

This build was only lightly tested on virtualized 32-bit XP. Please help testing on a variety of 32-bit and 64-bit Windows versions ;)


Rough guide (will be improved and folded into the documentation, borrowing from the DUSB gCn client guide) to installing the filter driver which enables using TI's software and TILP alongside each other, one at a time:
* see http://sourceforge.net/apps/trac/libusb-win32/wiki for downloading the filter driver installer and installing it;
* launch the filter wizard (accessible from the new entry in the Start menu) when the device (SilverLink, 84+, 89T, 84+SE, Nspire) you want to use with both TILP and TI-Connect / TILP and (TINCLS or TINCS) is plugged in;
* install the filter driver for that particular device;
* run the TILP installer.
After that, the device ought to work in both TILP and TI-Connect / TILP and (TINCLS or TINCS). Or maybe TILP needs to be installed before installing the filter driver for the target device, but I don't think that it's the proper installation flow.

If you test this build, be sure to report back success or failure ;)
It's possible that this build does not work properly under some conditions (besides Nspire support being very finicky, as described above), though it does install and enable TILP to detect and communicate with a calculator, so it cannot be entirely broken :)


Thanks in advance, you'll do your fellow Windows users a favor.
« Last Edit: June 02, 2011, 02:59:53 pm by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline ben_g

  • Hey cool I can set a custom title now :)
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +125/-4
  • Asm noob
    • View Profile
    • Our programmer's team: GameCommandoSquad
Re: TILP: beta-testing...
« Reply #98 on: June 02, 2011, 07:52:03 pm »
Thanks this is the only TI-LP version that i could get to work
My projects
 - The Lost Survivors (Unreal Engine) ACTIVE [GameCommandoSquad main project]
 - Oxo, with single-calc multiplayer and AI (axe) RELEASED (screenshot) (topic)
 - An android version of oxo (java)  ACTIVE
 - A 3D collision detection library (axe) RELEASED! (topic)(screenshot)(more recent screenshot)(screenshot of it being used in a tilemapper)
Spoiler For inactive:
- A first person shooter with a polygon-based 3d engine. (z80, will probably be recoded in axe using GLib) ON HOLD (screenshot)
 - A java MORPG. (pc) DEEP COMA(read more)(screenshot)
 - a minecraft game in axe DEAD (source code available)
 - a 3D racing game (axe) ON HOLD (outdated screenshot of asm version)

This signature was last updated on 20/04/2015 and may be outdated

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: TILP: beta-testing...
« Reply #99 on: June 02, 2011, 08:02:09 pm »
Works perfectly! Excellent! :D
(Guess who's not using TI-Connect any more...)
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: TILP: beta-testing...
« Reply #100 on: June 03, 2011, 04:29:08 am »
ben_g, calcdude84se: thanks, but is the version that works for you TILP II 1.15, or the testing build of 1.16 ? :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline ben_g

  • Hey cool I can set a custom title now :)
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +125/-4
  • Asm noob
    • View Profile
    • Our programmer's team: GameCommandoSquad
Re: TILP: beta-testing...
« Reply #101 on: June 03, 2011, 07:25:34 am »
it was the testing build, and the only problem i found was that when transferring an application, it said there wasn't enough memory, when i had more then enough memory, but after refreshing the dirlist, it worked correctely
My projects
 - The Lost Survivors (Unreal Engine) ACTIVE [GameCommandoSquad main project]
 - Oxo, with single-calc multiplayer and AI (axe) RELEASED (screenshot) (topic)
 - An android version of oxo (java)  ACTIVE
 - A 3D collision detection library (axe) RELEASED! (topic)(screenshot)(more recent screenshot)(screenshot of it being used in a tilemapper)
Spoiler For inactive:
- A first person shooter with a polygon-based 3d engine. (z80, will probably be recoded in axe using GLib) ON HOLD (screenshot)
 - A java MORPG. (pc) DEEP COMA(read more)(screenshot)
 - a minecraft game in axe DEAD (source code available)
 - a 3D racing game (axe) ON HOLD (outdated screenshot of asm version)

This signature was last updated on 20/04/2015 and may be outdated

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: TILP: beta-testing...
« Reply #102 on: June 03, 2011, 07:26:19 am »
Thanks :)

EDIT: 4 p.m. CEST: I have refreshed the installer and the patch, after changing the VendorName attribute in the INF files, so that TI's drivers and TILP's drivers are easier to distinguish. Thanks to JosJuice for the test and report :)
« Last Edit: June 03, 2011, 10:08:43 am by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline ben_g

  • Hey cool I can set a custom title now :)
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +125/-4
  • Asm noob
    • View Profile
    • Our programmer's team: GameCommandoSquad
Re: TILP: beta-testing...
« Reply #103 on: June 04, 2011, 03:09:35 pm »
The group file manager(test build) says it's missing a library, and the installer available on ticalc is corrupted. Where can i get a working installer for only the group file manager(for windows)
My projects
 - The Lost Survivors (Unreal Engine) ACTIVE [GameCommandoSquad main project]
 - Oxo, with single-calc multiplayer and AI (axe) RELEASED (screenshot) (topic)
 - An android version of oxo (java)  ACTIVE
 - A 3D collision detection library (axe) RELEASED! (topic)(screenshot)(more recent screenshot)(screenshot of it being used in a tilemapper)
Spoiler For inactive:
- A first person shooter with a polygon-based 3d engine. (z80, will probably be recoded in axe using GLib) ON HOLD (screenshot)
 - A java MORPG. (pc) DEEP COMA(read more)(screenshot)
 - a minecraft game in axe DEAD (source code available)
 - a 3D racing game (axe) ON HOLD (outdated screenshot of asm version)

This signature was last updated on 20/04/2015 and may be outdated

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: TILP: beta-testing...
« Reply #104 on: June 04, 2011, 03:49:08 pm »
Thanks for the report.

Even if I shipped gfm.exe in the last beta build for TILP II 1.15, TILP II 1.15 and this testing build, the TILP installer is far from fully integrating GFM. For example, the GFM shipped by the TILP installer is missing three files (you can copy them from an older install: logo.xpm -> pixmaps directory, a couple .glade files -> glade directory), besides the documentation. GFM and TILP, however, use the same DLLs.
Which DLL is missing for you ? If it's a libti* older than libticonv-6, libtifiles2-8, libticables2-5 or libticalcs2-10, then I think that an old version of GFM is referenced (perhaps by the GFM group in your Start menu ? The TILP installer doesn't take care of that group).
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.