Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

.LZS FILLE SUPPORT FOR RACE DRIVER 3 IN FEDATA FOLDER

Featured Replies

  • Author
  • Localization

Polecze, posted Mon Jun 29, 2020 3:56 pm (57396)


Hello i need help with .LZS files for ToCA Race Driver 3...

i have iripper 1.9 tool to open .big files but i saw somewhere exists iripper with added LZS SUPPORT... but not possible to download anymore... help........

need to open these files / edit and save
  • Author
  • Localization

aluigi, posted Fri Oct 09, 2020 11:46 pm (59183)


Upload one or two of these lzs files.
  • Author
  • Localization

Polecze, posted Sun Mar 07, 2021 7:01 pm (62721)


aluigi wrote:
Upload one or two of these lzs files.


sorry i didnt come here for some time.. still didnt found iRipper 1.9 which was updated for LZS... was made for Race Driver 3 but even with web.archive.org i couldnt find working download link

here are some of RD3 LZS files
https://www.mediafire.com/file/043sf9h2 ... u.lzs/file
https://www.mediafire.com/file/sus63efn ... t.lzs/file
  • Author
  • Localization

aluigi, posted Mon Mar 08, 2021 4:19 pm (62732)


Ok I made a script for it:
http://aluigi.org/bms/race_driver_3.bms

It automatically decompresses the LZS file and extract the JPAK archive in it.

Please let me know if there is any error.
  • Author
  • Localization

Polecze, posted Mon Mar 08, 2021 5:08 pm (62733)


aluigi wrote:
Ok I made a script for it:
http://aluigi.org/bms/race_driver_3.bms

It automatically decompresses the LZS file and extract the JPAK archive in it.

Please let me know if there is any error.



Ok i extracted files from LZS, I have .TEX and .idx files, and so now how do i open them? I want edit them, then save back into LZS file from which i extracted these
8-)
  • Author
  • Localization

aluigi, posted Mon Mar 08, 2021 5:40 pm (62734)


TEX are DDS, you can rename them if you prefer.

IDX are usually empty so ignore them.
  • Author
  • Localization

Polecze, posted Mon Mar 08, 2021 7:17 pm (62735)


aluigi wrote:
TEX are DDS, you can rename them if you prefer.

IDX are usually empty so ignore them.


oh k thanks, now how do i put it back into LZS?
  • Author
  • Localization

Polecze, posted Mon Mar 08, 2021 8:19 pm (62736)


aluigi wrote:
TEX are DDS, you can rename them if you prefer.

IDX are usually empty so ignore them.


successfuly edited the DDS then i renamed the extension back to .TEX
now wanna add it back into .LZS, how do i do that?
  • Author
  • Localization

squidiskool, posted Mon Mar 08, 2021 9:12 pm (62737)


Polecze wrote:
aluigi wrote:
TEX are DDS, you can rename them if you prefer.

IDX are usually empty so ignore them.


successfuly edited the DDS then i renamed the extension back to .TEX
now wanna add it back into .LZS, how do i do that?

you can try using REIMPORT mode
  • Author
  • Localization

Polecze, posted Mon Mar 08, 2021 9:16 pm (62738)


squidiskool wrote:
Polecze wrote:
aluigi wrote:
TEX are DDS, you can rename them if you prefer.

IDX are usually empty so ignore them.


successfuly edited the DDS then i renamed the extension back to .TEX
now wanna add it back into .LZS, how do i do that?

you can try using REIMPORT mode

i think its not working for me... can you help via discord or something?
  • Author
  • Localization

aluigi, posted Mon Mar 08, 2021 10:31 pm (62740)


Reimporting can't work in this case because the archive is compressed itself while reimporting works when the archived files are (or aren't) compressed.

I would opt for the following solution:

1) Use the following script on MainMenu.lzs, normal extraction:
Code:
comtype lzss0
idstring "LZSS"
get ZSIZE long
get SIZE long
savepos OFFSET
math ZSIZE - OFFSET
get NAME basename
clog NAME OFFSET ZSIZE SIZE

It will create a new file called MainMenu

2) Use the following script in reimport mode selecting MainMenu (without .lzs) and the folder where you extracted the files with the original script:
Code:
math FILENUM = 0
callfunction JPAK_DUMP 1

startfunction JPAK_DUMP
    idstring FILENUM "JPAK"
    get ZERO long FILENUM
    get FILES long FILENUM
    get DUMMY long FILENUM
    get ZERO long FILENUM
    get DUMMY long FILENUM
    get DUMMY longlong FILENUM
    for i = 0 < FILES
        get NAME_OFF long FILENUM
        get SIZE long FILENUM
        get OFFSET long FILENUM
        get SIZE2 long FILENUM  # both the SIZE values were the same in the sample
        get DUMMY longlong FILENUM
        get ZERO long FILENUM
        get ZERO long FILENUM

        if SIZE != SIZE2
            print "Error: SIZE (%SIZE%) != SIZE2 (%SIZE2%), contact me"
            cleanexit
        endif

        savepos TMP FILENUM
        goto NAME_OFF FILENUM
        get NAME string FILENUM
        goto TMP FILENUM

        log NAME OFFSET SIZE FILENUM
    next i
endfunction


3) Now use the following script on MainMenu (without .lzs), normal mode:
Code:
comtype lzss0_compress
get SIZE asize
clog MEMORY_FILE 0 SIZE SIZE
get ZSIZE asize MEMORY_FILE

log MEMORY_FILE2 0 0
putdstring "LZSS" 4 MEMORY_FILE2
math ZSIZE 12
put ZSIZE long MEMORY_FILE2
math ZSIZE - 12
put SIZE long MEMORY_FILE2

get NAME basename
string NAME ".lzs"
log NAME 0 12 MEMORY_FILE2
append
log NAME 0 ZSIZE MEMORY_FILE
append

It will generate a new MainMenu.lzs file.

Yeah it's a bit long but it should work.

Recap:
1) MainMenu.lzs -> MainMenu
* no, no need to extract the files from MainMenu because you already extracted them before
2) files -> reimport -> MainMenu
3) MainMenu -> MainMenu.lzs
  • Author
  • Localization

Polecze, posted Mon Mar 08, 2021 11:08 pm (62742)


aluigi wrote:
Reimporting can't work in this case because the archive is compressed itself while reimporting works when the archived files are (or aren't) compressed.

I would opt for the following solution:

1) Use the following script on MainMenu.lzs, normal extraction:
Code:
comtype lzss0
idstring "LZSS"
get ZSIZE long
get SIZE long
savepos OFFSET
math ZSIZE - OFFSET
get NAME basename
clog NAME OFFSET ZSIZE SIZE

It will create a new file called MainMenu

2) Use the following script in reimport mode selecting MainMenu (without .lzs) and the folder where you extracted the files with the original script:
Code:
math FILENUM = 0
callfunction JPAK_DUMP 1

startfunction JPAK_DUMP
    idstring FILENUM "JPAK"
    get ZERO long FILENUM
    get FILES long FILENUM
    get DUMMY long FILENUM
    get ZERO long FILENUM
    get DUMMY long FILENUM
    get DUMMY longlong FILENUM
    for i = 0 < FILES
        get NAME_OFF long FILENUM
        get SIZE long FILENUM
        get OFFSET long FILENUM
        get SIZE2 long FILENUM  # both the SIZE values were the same in the sample
        get DUMMY longlong FILENUM
        get ZERO long FILENUM
        get ZERO long FILENUM

        if SIZE != SIZE2
            print "Error: SIZE (%SIZE%) != SIZE2 (%SIZE2%), contact me"
            cleanexit
        endif

        savepos TMP FILENUM
        goto NAME_OFF FILENUM
        get NAME string FILENUM
        goto TMP FILENUM

        log NAME OFFSET SIZE FILENUM
    next i
endfunction


3) Now use the following script on MainMenu (without .lzs), normal mode:
Code:
comtype lzss0_compress
get SIZE asize
clog MEMORY_FILE 0 SIZE SIZE
get ZSIZE asize MEMORY_FILE

log MEMORY_FILE2 0 0
putdstring "LZSS" 4 MEMORY_FILE2
math ZSIZE 12
put ZSIZE long MEMORY_FILE2
math ZSIZE - 12
put SIZE long MEMORY_FILE2

get NAME basename
string NAME ".lzs"
log NAME 0 12 MEMORY_FILE2
append
log NAME 0 ZSIZE MEMORY_FILE
append

It will generate a new MainMenu.lzs file.

Yeah it's a bit long but it should work.

Recap:
1) MainMenu.lzs -> MainMenu
* no, no need to extract the files from MainMenu because you already extracted them before
2) files -> reimport -> MainMenu
3) MainMenu -> MainMenu.lzs



Did that then after it packed into LZS the archive went around 3KB smaller then after loading profile in game it crashed....
i dont know why...
  • Author
  • Localization

Polecze, posted Mon Mar 08, 2021 11:18 pm (62743)


.

I think something wrong in code... i did export the files then put them into LZS again with you scripts (didnt modify the files for test) and the game crashed.... size was same as original this time... no idea
  • Author
  • Localization

Polecze, posted Mon Mar 08, 2021 11:37 pm (62745)


i try this on other LZS files - i used scripts on it = the size after was the same as it should but crashes the game anyways
  • Author
  • Localization

Polecze, posted Fri Mar 12, 2021 11:23 am (62811)


Can you find a solution to it don't crash?
  • Author
  • Localization

Polecze, posted Thu Mar 18, 2021 7:26 pm (62926)


aluigi wrote:
Ok I made a script for it:
http://aluigi.org/bms/race_driver_3.bms

It automatically decompresses the LZS file and extract the JPAK archive in it.

Please let me know if there is any error.



any solution?
  • Author
  • Localization

aluigi, posted Thu Mar 18, 2021 10:35 pm (62930)


I can't help with rebuilders.
If that work-around I proposed doesn't work, I have no other solutions.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.