RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 10:49 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: RomRaider 64 bit Java Support
PostPosted: Mon Jan 14, 2013 1:18 am 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
I've spent quite a few hours over the last few days looking at what is needed to get RomRaider to operate in a 64 bit Java VM. So far I've only tackled Windows and other than the Editor's 3D view of a table not working, it seems that ROM editing/saving works.

The Logger on the other hand is not working very well. I've been able to successfully log an ECU with a VAG-COM cable and its virtual COM port. This is using FTDI drivers for a 64 bit system and a custom build of the RXTXcomm.dll. So anything that uses a serial port may work. Problems start to show up when you want to log using an Openport 2.0 cable, or with an Innovate wideband using MTS. And the Phidgets plugin fails to load as well even though all have 64bit versions of their drivers installed.

There's a few hurdles to overcome to get the Openport 2.0 working. EcuFlash does read an image from the ECU correctly, so the RR problem has to do with locating the Openport dll for loading. It seems most of the problems relate to locating or loading the dll so far.

Some of these problems may not be an issue on Linux as there is no support for J2534, and Phidgets just needs a library built on a 64bit system.

Then there's the issue of JRE version checking to make sure that RR is started in the correct VM, i.e.: 32bit RomRaider can not run in a 64bit VM and 64bit RomRaider can not run in a 32bit VM.

I'll continue to plug away at this to see how much more work is involved.

Almost forgot, the Izpack installer needs to be updated for 64bit to be able to create program shortcuts for the user in their desktop manager start menu.


Top
 Profile  
 
 Post subject: Re: RomRaider 64 bit Java Support
PostPosted: Mon Jan 14, 2013 2:23 am 
Offline
Experienced
User avatar

Joined: Sat Jan 06, 2007 1:18 pm
Posts: 186
I've got the IzPack installer working, but don't have a Subaru any longer (or a 64-bit laptop) to test out the serial connection stuff. In other words, I can verify that installation on 64-bit Windows is working with my changes, but can't verify 64-bit operation.


Top
 Profile  
 
 Post subject: Re: RomRaider 64 bit Java Support
PostPosted: Wed Jan 16, 2013 1:28 am 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
I did a bit more investigation on the 64 bit libraries.
So far I got the Phidget plugin to work with 64bit specific libraries, but the Phidget x64 driver package appears to be broken on the Phidget web site.
The java.library.path also needs to be pointed to where the Phidget dll is installed (platform specific).

I think com4j (not tested with hardware yet) is working which provides Innovate MTS plugin support, this required updating to the latest com4j release 20120426-2.

The last hurtle seems to be what everyone with an Openport 2.0 will need. I get an error, the library seems to be "missing" when I attempt to connect using any J2534 cable. At this point I'm not sure if the thing that is missing is related to JNA or the actual dll to be loaded.

So a bit of progress...


Top
 Profile  
 
 Post subject: Re: RomRaider 64 bit Java Support
PostPosted: Thu Jan 17, 2013 8:18 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
I think the progress on a 64bit Java version of RomRaider is slowing to a standstill.
The hurtle that needs to be crossed is the lack of native 64bit libraries for connections to devices the Logger needs to communicate with. For anyone with an Openport 2.0 this will be a problem as there's no 64bit driver. I'm in contact with Tactrix, but no promises have been made. This goes for other manufactures such as Drewtech and their J2534 cables.
Innovate MTS plugin is affected too.
Java 64Bit native code FAQ

If anyone uses a Phidget device they do have native 64bit drivers and you'll need to install them from their website download page.

I've update the branch I created with the 64bit modifications in it if anyone wishes to take a look. You can build a standalone 64bit version for Windows and query devices with serial connections only.
Or if anyone wants to play I can put a ZIP version up for download.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl