RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 11:08 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Can't Save .bin Files in ECU Editor
PostPosted: Wed Feb 03, 2021 11:32 pm 
Offline
RomRaider Donator
User avatar

Joined: Fri Jul 26, 2019 3:35 am
Posts: 789
Location: United States of America
Hello all!

So out of the blue, Java decided to stop being nice. Now RomRaider won't let me save any files, giving a blank error box every time I attempt to save. I honestly don't know what could've caused this, as absolutely nothing has changed. Yet both my laptop and PC (that don't share files apart from defs) both can't save any files within RomRaider. I've attempted to uninstall + Re-install both Java and RR, following the guides posted, but to no avail. Before, I had a x64 JDK and a x86 JRE, which RomRaider + Java had absolutely no problems with. But after RR started having issues, I've resorted to exclusively running a x86 JRE to help remove any external variables.

The only error RomRaider ever threw was as follows. But this error code is NOT repeatable and only occurred once, after a fresh install of some Java verison.
Code:
arraycopy: last source index 6 out of bounds for byte[2]


Edit; Just a definition file error. So RomRaider doesn't detect "sizey" not matching with how many values you put within a switch.

So this one works just fine and allows you to save,
Code:
   <table type="Switch" name="EXAMPLE" category="Options" userlevel="5" sizey="2">
      <description>Main.</description>
      <state name="EXAMPLE" data="34 27"/>
      <state name="EXAMPLE" data="00 08"/>
   </table>

But THIS will throw no errors, allow you to modify the ROM, but then error when you attempt to save.
Code:
   <table type="Switch" name="EXAMPLE" category="Options" userlevel="5" sizey="6">
      <description>Main.</description>
      <state name="EXAMPLE" data="34 27"/>
      <state name="EXAMPLE" data="00 08"/>
   </table>

_________________
NissanDefinitions Repository


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

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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