April 17Apr 17 Localization Does anyone have an idea to start a new plugin that imports Street Legal .scx files and convert map models from RPKs into Wavefront OBJs? Here is InvictusExportV3.dle which is used to export custom car models SCXs using 3ds Max. And here is the resource manager that allows authors to compile RPKs. streetlegal_scx.rar streetlegal_scx_exporter_3dsmax.rar streetlegalresourcemanager.rar
April 17Apr 17 Supporter Did you manage to load any rpk file into the resource manager? (It doesn't recognize them.) As I wrote I don't write plugins but the scx mesh looks simple enough to be ..., well, no. ------------------------------------------------------- Edited April 21Apr 21 by shak-otay
April 18Apr 18 Solution this is a blender for slrr scx mesh i tested is work very nicely https://github.com/nonamesex/io_invo_scx
April 18Apr 18 Author Localization 2 hours ago, marco1990 said: this is a blender for slrr scx mesh i tested is work very nicely https://github.com/nonamesex/io_invo_scx Can you analyze test_track.rpk for 3D map models? test_track.rar
April 18Apr 18 look this topic herer . the blender scripts not read the rpk files .only scx/scy sorry
April 18Apr 18 tools for open rpk https://slstudio.app/news/first-version-has-been-officially-released
April 19Apr 19 Supporter Thanks. It's a structure viewer for rpk (where you can make edits): Quote <RES> TypeID=0x00000184 SuperID=0x00000183 AdditionalType=4 Alias=left IsParentCompatible=1 TypeOfEntry=5 <RSD> <STR> sourcefile cars\racers\Stallion_V7\before use\extra_meshes\left_brake_light_glow.scx </STR> </RSD> </RES> test_track.rpk causes an exception when you try to scroll: Quote System.InvalidOperationException: A highlighting rule matched 0 characters, which would cause an endless loop. Change the highlighting definition so that the rule matches at least one character. So first lines here only: Quote <EXTERNAL_REFS> system.rpk obstacles\common.rpk obstacles\test_track.rpk maps.rpk obstacles.rpk </EXTERNAL_REFS> <RES> TypeID=0x00000001 SuperID=0x00010004 AdditionalType=17 Alias=Test IsParentCompatible=1 TypeOfEntry=1 <FLOAT_BOUNDS> 29,37963867 25,00000000 -151,50634766 825,19305420 45,00000000 910,51647949 0,00000000 0,00000000 0,00000000 0,00000000 0,00000000 0,00000000 </FLOAT_BOUNDS> <RSD> edit: btw, there's a "resource converter" here which can convert from "rdb to rpk" and reverse. (resdecode: rpk to rdb converter, fails on test_track.rpk with "RPAK header error") When resdecode is excuted by "resource decoder" there's some output but unfinished: Quote <FILE external_links > system\ obstacles\common\ obstacles\test_track\ maps\ obstacles\ </FILE> <FILE 00000001.res > typeof 1 superid 0x00010004 typeid 0x00000001 alias Test isparentcompatible 1.00 </FILE> <FILE 00000001.rsd > r – € ëA ÈA¢Ã[LND 4B¡cD ¢ ! €?«”e Q sun PÃG PÃG PÃG • ! €?ü”e Q skydome PÃG PÃG PÃG RSD | gametype 0x00010035 params 0x00000002,0,0,0,0,0,0,maps\test_track\meshes\test_track.scm,maps\test_track\ai\test_track.trc </FILE> <FILE 00000002.res > typeof 14 superid 0x00040003 typeid 0x00000002 alias Test isparentcompatible 1.00 </FILE> A correct rdb looks like so (ASCII only contents): Quote <FILE external_links > system\ </FILE> <FILE 00000001.res > typeof 5 superid 0x00010007 typeid 0x00000001 alias cars isparentcompatible 1.00 </FILE> ... The SLRR editor allows to edit Pos and rot of slots (example Duhen): edit2: finally, "Stallion furrano" rpk to rdb conversion (with resdecode "Stallion furrano") : stallion furrano.zip Edited April 19Apr 19 by shak-otay
April 26Apr 26 Author Localization On 4/19/2026 at 9:12 AM, shak-otay said: Thanks. It's a structure viewer for rpk (where you can make edits): test_track.rpk causes an exception when you try to scroll: So first lines here only: edit: btw, there's a "resource converter" here which can convert from "rdb to rpk" and reverse. (resdecode: rpk to rdb converter, fails on test_track.rpk with "RPAK header error") When resdecode is excuted by "resource decoder" there's some output but unfinished: A correct rdb looks like so (ASCII only contents): The SLRR editor allows to edit Pos and rot of slots (example Duhen): edit2: finally, "Stallion furrano" rpk to rdb conversion (with resdecode "Stallion furrano") : stallion furrano.zip 5.74 kB · 0 downloads Is there any fixed alternative to resdecode and SLStudio for RPK-embedded map models with POLY and PHYS chunks that work for test_track.rpk? You got an error for test_track.rpk because resdecode and SLStudio doesn't support RPKs with embedded map models.
April 26Apr 26 Supporter So the key will be to split up test_track.rpk like it was done with traffic.rpk: Edited April 26Apr 26 by shak-otay
April 27Apr 27 Supporter I tried patching la_street_racing.bms from, Aluigi, which usually works perfectly with some RPK files, Fantasy_Quaddro for example, but failes with test_track.rpk, like other tools, too. It's probably very easy to patch, there's no compression, but I got tired with it and finally extracted the meshes directly (combined POLY and the following mesh in one part each, 620 meshes in sum), not to interesting, imho:
May 27May 27 Author Localization On 4/27/2026 at 3:55 PM, shak-otay said: I tried patching la_street_racing.bms from, Aluigi, which usually works perfectly with some RPK files, Fantasy_Quaddro for example, but failes with test_track.rpk, like other tools, too. It's probably very easy to patch, there's no compression, but I got tired with it and finally extracted the meshes directly (combined POLY and the following mesh in one part each, 620 meshes in sum), not to interesting, imho: Here is the file format binary template for Street Legal RPKs. streetlegal_rpk.bt streetlegal_rpk_mapmodels.bt Edited May 28May 28 by mrmaller1905
May 28May 28 Author Localization 2 hours ago, h3x3r said: There's no offset or size... In addition to resdecode, I've made a Python scripts that imports map models from Street Legal/Street Legal Racing: Redline into Blender or converts into Wavefront OBJ. rpk2obj.py importstreetlegalmapsblender.py test_track_slrr.rar
May 28May 28 1 hour ago, mrmaller1905 said: In addition to resdecode, I've made a Python scripts that imports map models from Street Legal/Street Legal Racing: Redline into Blender or converts into Wavefront OBJ. rpk2obj.py 4.26 kB · 2 downloads importstreetlegalmapsblender.py 3.67 kB · 2 downloads test_track_slrr.rar 2.16 MB · 1 download Check the rules: #17 - Scripts appear to be AI-generated
Create an account or sign in to comment