[Discussion] Rebirth Tools
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 335
- Joined: Mon, 23. Apr 12, 23:56
-
- Posts: 197
- Joined: Sat, 17. Mar 12, 17:40
-
- Posts: 2963
- Joined: Tue, 18. Nov 14, 16:23
@Ketraar or to the moderators,
I don't know if Ketraar still looks in here. Just read through the X Rebirth Official Tools thread, and stumbled upon this line:
I don't know if Ketraar still looks in here. Just read through the X Rebirth Official Tools thread, and stumbled upon this line:
Someone might want to update that. This isn't true anymore since the relatively new "refreshai" command, is it?Ketraar wrote:There is no mechanism like the MD refresh to update AI scripts at run-time. Saving and reloading the game is the only way to get close to this.
-
- Moderator (Script&Mod)
- Posts: 14571
- Joined: Sun, 20. Nov 05, 22:45
the format of the cats/dats is pretty simple, i think a bash script with dd and some string magic should be enough to extract them:Phipsz wrote:Now that X:R is released as alpha for Linux/SteamOS, will we see the tools coming there soon as well? I would really like to be able to test the alpha while not having to reboot to windows for updating my mods, let alone unpacking the archives of the main game to see what may have changed.
format of cat:
each line is a file and has the following entries seperated by a space:
file name ; file size in bytes ; modification time (unix date) ; checksum (i think its an md5)
note that the file name may contain spaces, too - so size is the 3rd entry from the end of the line, not the second from the beginning (in most cases its the same, but not in all)
for extracting the first two are enough since you can generate the dat this way:
cat file1 file2 file3 ... fileN > files.dat
(yes, they are simply slapped together)
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
-
- Posts: 335
- Joined: Mon, 23. Apr 12, 23:56
I don't feel like bash-scripting atm but yeah, I already had a look at the file strucure before, it's not hard.UniTrader wrote:the format of the cats/dats is pretty simple, i think a bash script with dd and some string magic should be enough to extract them:Phipsz wrote:Now that X:R is released as alpha for Linux/SteamOS, will we see the tools coming there soon as well? I would really like to be able to test the alpha while not having to reboot to windows for updating my mods, let alone unpacking the archives of the main game to see what may have changed.
format of cat:
each line is a file and has the following entries seperated by a space:
file name ; file size in bytes ; modification time (unix date) ; checksum (i think its an md5)
note that the file name may contain spaces, too - so size is the 3rd entry from the end of the line, not the second from the beginning (in most cases its the same, but not in all)
for extracting the first two are enough since you can generate the dat this way:
cat file1 file2 file3 ... fileN > files.dat
(yes, they are simply slapped together)
what I'm still interested in would be the upload/update tool, so that I could totally switch to linux for everything
related to X. That's also actually my main reason to have stopped modding X:R atm, I only switch to windows iff I
can't really avoid it.
TLDR; So, will the modding tools come to linux eventually? I don't need an ETA, just would really like to know
-
- Posts: 1841
- Joined: Fri, 18. Jul 14, 05:28
Hello guys. Who will tell. I try to download the Steam mod and get the error 25.
Code: Select all
e:\Games\Steam\SteamApps\common\X Rebirth Tools>WorkshopTool publish -path "..\X
Rebirth\extensions\hunter" -preview "..\X Rebirth\extensions\hunter\extensions_preview.jpg"
X Rebirth Workshop Tool Version 1.04
Copyright (c) 2014 EGOSOFT
Dongle firmware E:\Games\Steam/controller_base/d0ggle.bin loaded, version 143586
9091.
Setting breakpad minidump AppID = 282160
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198124670408 [API loaded no]
Logged in as user
Loading data...
Creating new Workshop item
Local path: e:\Games\Steam\SteamApps\common\X Rebirth\extensions\hunter
Title: 'hunter'
Description:
Folder name: 'hunter'
Initial version number: 1.31
Author: 'alexalsp '
Save state: No (You confirm that removing the extension does not break saves)
Dependencies:
(None)
Files ready for upload (in addition to content.xml):
Preview file: ..\X Rebirth\extensions\hunter\extensions_preview.jpg
ext_01.cat
ext_01.dat
By submitting this item you agree to the Workshop terms of service.
(To see the agreement, type '??? showagreement' on the command line.)
Start upload to the Steam cloud (y/n)? y
You can abort the process with Ctrl+C.
Preparing...
Saving Workshop item preview image...
Saving Workshop item content...
Uploading Workshop item preview image, please wait...
Uploading Workshop item content, please wait...
ERROR: Could not upload file to Steam Workshop, error code 25
Cleaning up...
Done.
-
- Posts: 2963
- Joined: Tue, 18. Nov 14, 16:23
Hey alexalsp, long time no see.
Not sure, but I found this thread for a different game from someone who was having a problem similar to yours:
http://forums.steampowered.com/forums/s ... ?t=3072263
Issue there appeared to be file size.
Not sure, but I found this thread for a different game from someone who was having a problem similar to yours:
http://forums.steampowered.com/forums/s ... ?t=3072263
Issue there appeared to be file size.
-
- Moderator (Script&Mod)
- Posts: 14571
- Joined: Sun, 20. Nov 05, 22:45
if thats the issue: depending on whats inside your mod it may be enough to split it into multiple cats/dats where each of them is smaller than the limit (but only if no individual file in your mod is larger than that) - you cannt let the workshop tool do this though, you have to create the cats/dats on your own.
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
-
- Posts: 1841
- Joined: Fri, 18. Jul 14, 05:28
-
- Posts: 14
- Joined: Sat, 26. Mar 16, 19:51
Recently got Rebirth on GOG, and looking forward to modding. Unfortnately cannot find any info about xrcattool except through steam.
I know I'm in a severe minority, but I cannot tolerate Steam. Is it available anywhere else or have I made a mistake buying this through GOG
I have already tried the community cat tool, but it crashes when attemping extract and doesn't appear to be active any more.
Any help appreciated. Also a quick mention to the devs - this game is an underrated gem. I'm so glad I tried it.
I know I'm in a severe minority, but I cannot tolerate Steam. Is it available anywhere else or have I made a mistake buying this through GOG
I have already tried the community cat tool, but it crashes when attemping extract and doesn't appear to be active any more.
Any help appreciated. Also a quick mention to the devs - this game is an underrated gem. I'm so glad I tried it.
-
- Posts: 1841
- Joined: Fri, 18. Jul 14, 05:28
Read PMemptyhead41 wrote:Recently got Rebirth on GOG, and looking forward to modding. Unfortnately cannot find any info about xrcattool except through steam.
I know I'm in a severe minority, but I cannot tolerate Steam. Is it available anywhere else or have I made a mistake buying this through GOG
I have already tried the community cat tool, but it crashes when attemping extract and doesn't appear to be active any more.
Any help appreciated. Also a quick mention to the devs - this game is an underrated gem. I'm so glad I tried it.
[Tool][Windows/Linux] XRWSunpack - Unpack downloaded from Steam Workshop mods
-
- Posts: 14
- Joined: Sat, 26. Mar 16, 19:51
Perfect - thank you.alexalsp wrote:
Read PM
[Tool][Windows/Linux] XRWSunpack - Unpack downloaded from Steam Workshop mods
Modding is not as well documented as I was hoping so got some reading and experimenting to do, but now I can start looking into the files at least
-
- Posts: 7
- Joined: Sun, 25. Feb 07, 02:54
-
- Moderator (Script&Mod)
- Posts: 14571
- Joined: Sun, 20. Nov 05, 22:45
you dont need to buy the Game on Steam to access them having the Windows Steam Client and a Steam Acc is enough afaik since its seperate from the Game. You can even transfer the Programm between Computers afterwards (using the Cat Tool on Linux via Wine here )
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
-
- Posts: 7
- Joined: Sun, 25. Feb 07, 02:54
-
- Posts: 4
- Joined: Mon, 23. May 16, 17:56
-
- EGOSOFT
- Posts: 52253
- Joined: Tue, 29. Apr 03, 00:56
-
- Moderator (Script&Mod)
- Posts: 14571
- Joined: Sun, 20. Nov 05, 22:45
not sure if i still have it, but i had a cli programm which did this.. but i dont consider it useable because its XPaths looked like this:
<add sel="/*[1]/*[5]/*[3]/*[7]/*[2]"><stuff/><add>
this might work for patching a specific file in a specific version, but everything else will very likely fail.. or mess everything up instead of gracefully not applying changes and writing an error to the log...
<add sel="/*[1]/*[5]/*[3]/*[7]/*[2]"><stuff/><add>
this might work for patching a specific file in a specific version, but everything else will very likely fail.. or mess everything up instead of gracefully not applying changes and writing an error to the log...
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help