Standalone RTH v2
- OwnZ joO
- Posts: 1197
- Joined: Sun Dec 09, 2007 4:46 pm
Standalone RTH v2
Standalone RTH
What is it?
An application that allows you to connect to a debug xbox and make changes to the map you're playing in real time.
How does it work?
Most xbox's just have one thread running, but debug xbox's have another thread that listen's for a tcp connection. This allows you to connect to a debug xbox and send and receive information while you are playing a game. Xbox7887 and Kornman01 made YeloDebug.dll, making it easy to communicate with a debug xbox, so I simply implemented a way to make use of real time halo.
Why did you make another app? Why didn't you just add it to Entity?
First and foremost, I didn't want to have to make a bunch of changes to Entity's code, because I'm lazy and it's hard to work with.
Secondly, having it in a separate app gives you the ability to use it with any version of Entity that you choose(or any map editor that closes the File when it's not reading or writing to it). I think it's a lot better to have the freedom to use whichever program you like.
What is different in v2?
In v1, when you synced, it would sync the whole tag to the xbox, as Detox pointed out, this can cause problems, even if you sync the meta without modifying it. In v2, it now will only sync the changes that you have made from the time you opened the tag in Standalone RTH until you sync. This should help to avoid some of the freezing caused by syncing values that shouldn't be. This should hopefully work with any tag that can be modified with Real Time Halo.
Again, all the hard work of this came from xbox7887 and Kornman01, thanks to them.
Pics
Edit:
Since YeloDebug has seemed to not work with Vista, I decided to try using the RthDLL.dll from entity. I think Tural made it if I remember correctly. This version will only work as well as the dll will, so it might not be that great, or it might work fine, I'm not sure. I synced only the changes instead of the whole meta like entity, so it could potentially work better, but who knows. Try it out if you have vista, otherwise stick with the other one.
What is it?
An application that allows you to connect to a debug xbox and make changes to the map you're playing in real time.
How does it work?
Most xbox's just have one thread running, but debug xbox's have another thread that listen's for a tcp connection. This allows you to connect to a debug xbox and send and receive information while you are playing a game. Xbox7887 and Kornman01 made YeloDebug.dll, making it easy to communicate with a debug xbox, so I simply implemented a way to make use of real time halo.
Why did you make another app? Why didn't you just add it to Entity?
First and foremost, I didn't want to have to make a bunch of changes to Entity's code, because I'm lazy and it's hard to work with.
Secondly, having it in a separate app gives you the ability to use it with any version of Entity that you choose(or any map editor that closes the File when it's not reading or writing to it). I think it's a lot better to have the freedom to use whichever program you like.
What is different in v2?
In v1, when you synced, it would sync the whole tag to the xbox, as Detox pointed out, this can cause problems, even if you sync the meta without modifying it. In v2, it now will only sync the changes that you have made from the time you opened the tag in Standalone RTH until you sync. This should help to avoid some of the freezing caused by syncing values that shouldn't be. This should hopefully work with any tag that can be modified with Real Time Halo.
Again, all the hard work of this came from xbox7887 and Kornman01, thanks to them.
Pics
Edit:
Since YeloDebug has seemed to not work with Vista, I decided to try using the RthDLL.dll from entity. I think Tural made it if I remember correctly. This version will only work as well as the dll will, so it might not be that great, or it might work fine, I'm not sure. I synced only the changes instead of the whole meta like entity, so it could potentially work better, but who knows. Try it out if you have vista, otherwise stick with the other one.
- Attachments
-
- RTH for Vista Maybe.7z
- Possibly Vista RTH
- (47.53 KiB) Downloaded 525 times
-
- Standalone RTH v2.zip
- Standalone RTH v2
- (288.03 KiB) Downloaded 607 times
Last edited by OwnZ joO on Thu Nov 13, 2008 5:06 am, edited 1 time in total.
- NotZachary82
- Posts: 1846
- Joined: Thu Dec 20, 2007 8:39 pm
Re: Standalone RTH v2
Thanks OwnZ joO.
I'll test it out soon.
I'll test it out soon.
- OwnZ joO
- Posts: 1197
- Joined: Sun Dec 09, 2007 4:46 pm
Re: Standalone RTH v2
Thank xbox and korn, they did 95% of the work.
- Eaton
- Posts: 608
- Joined: Mon Apr 21, 2008 7:44 pm
- Location: USA
- Contact:
Re: Standalone RTH v2
Still not working on Vista. >.<
- OwnZ joO
- Posts: 1197
- Joined: Sun Dec 09, 2007 4:46 pm
Re: Standalone RTH v2
Yeah I'm not sure why that is, might be YeloDebug, or it could be another problem.
- JacksonCougar
- Huurcat
- Posts: 2460
- Joined: Thu Dec 06, 2007 11:30 pm
- Location: Somewhere in Canada
Re: Standalone RTH v2
Tested some basic things I do.
I have a slight issue: when does it create a comparison of the original map and the changes? Is it when you open the actual .map file and it creates a snapshot of the entire map, or is it taking a snapshot every-time you select a new tag?
Other than that it seems to work fairly well: I just wish I knew the method its using to test changes.
I have a slight issue: when does it create a comparison of the original map and the changes? Is it when you open the actual .map file and it creates a snapshot of the entire map, or is it taking a snapshot every-time you select a new tag?
Other than that it seems to work fairly well: I just wish I knew the method its using to test changes.
- OwnZ joO
- Posts: 1197
- Joined: Sun Dec 09, 2007 4:46 pm
Re: Standalone RTH v2
It creates a snapshot of the tag when you select it in standalone RTH. If you select another tag it will throw away the snapshot and create a new one if you select that same tag again. It's actually somewhat of a hassle to get used to, but it's better than freezing everything. Hopefully this lets people use RTH until another more advanced method comes out.
- Eaton
- Posts: 608
- Joined: Mon Apr 21, 2008 7:44 pm
- Location: USA
- Contact:
Re: Standalone RTH v2
Upon reviewing your source again, I discovered the problem. This code causes the application to fail to start: xbox = new Xbox( );
I remove it and it loads, but none of the RTH features work.
I remove it and it loads, but none of the RTH features work.
- OwnZ joO
- Posts: 1197
- Joined: Sun Dec 09, 2007 4:46 pm
Re: Standalone RTH v2
That means that YeloDebug is not compatible with Vista. Xbox is the connection to the debug xbox.
- Eaton
- Posts: 608
- Joined: Mon Apr 21, 2008 7:44 pm
- Location: USA
- Contact:
Re: Standalone RTH v2
I guess I'll have to make a RTH class myself.
- OwnZ joO
- Posts: 1197
- Joined: Sun Dec 09, 2007 4:46 pm
Re: Standalone RTH v2
Eaton check the RTH for vista one. I made it using the rth dll from entity, so it will only work as good as that will. Hopefully it's not too buggy, and hopefully I got everything that I could done right. Tell me if it gives you any problems too.
- NotZachary82
- Posts: 1846
- Joined: Thu Dec 20, 2007 8:39 pm
Re: Standalone RTH v2
Luckily this one loads, but I don't have time to test it out. Thanks for the fix though.
- Eaton
- Posts: 608
- Joined: Mon Apr 21, 2008 7:44 pm
- Location: USA
- Contact:
- OwnZ joO
- Posts: 1197
- Joined: Sun Dec 09, 2007 4:46 pm
Re: Standalone RTH v2
I didn't test it at all, because I really have no need to, I will try to get it working for you later though.
- Eaton
- Posts: 608
- Joined: Mon Apr 21, 2008 7:44 pm
- Location: USA
- Contact:
Re: Standalone RTH v2
Thanks a lot!OwnZ joO wrote:I didn't test it at all, because I really have no need to, I will try to get it working for you later though.
- OwnZ joO
- Posts: 1197
- Joined: Sun Dec 09, 2007 4:46 pm
Re: Standalone RTH v2
Who knows, maybe I'll ask either Tural(I think he wrote the dll for entity) or xbox7887 on just the basic commands of how to communicate with a debug xbox and implement them on my own. I'm pretty sure you just send commands on TCP 731, but I don't know which ones to send.
- Eaton
- Posts: 608
- Joined: Mon Apr 21, 2008 7:44 pm
- Location: USA
- Contact:
Re: Standalone RTH v2
Tural? I'm pretty sure it was Shalted. Also, Detox told me you want to learn how to use Sockets and Telnet if you want to communicate with an Xbox.OwnZ joO wrote:Who knows, maybe I'll ask either Tural(I think he wrote the dll for entity) or xbox7887 on just the basic commands of how to communicate with a debug xbox and implement them on my own. I'm pretty sure you just send commands on TCP 731, but I don't know which ones to send.
- OwnZ joO
- Posts: 1197
- Joined: Sun Dec 09, 2007 4:46 pm
Re: Standalone RTH v2
Yeah, I knew you needed sockets to communicate with it, but I don't know what commands to send, eventually I will probably get more interested in it, but I think I'm just gonna take a break for a while.
- Dr Flatulator
- Posts: 51
- Joined: Sat Aug 02, 2008 2:42 pm
- Location: England
- Contact:
Re: Standalone RTH v2
Doesn't work on Xp x32 for me.
It says it can't connect, it's just this app, minirth works fine. But minirth syncs the whole tag, so it takes ages to do even the most basic swap.
Then it started to say something like "Disconnect before starting a new connection"
So it would seem it was connected, but it wasn't. When I make a change and click sync, it says the sync was succesful, but there are no changes to be seen. Again, minirth works fine, it is just this app.
So basically it's not finding the xbox, or something, I tried with firewall off, no difference.
Any ideas?
It says it can't connect, it's just this app, minirth works fine. But minirth syncs the whole tag, so it takes ages to do even the most basic swap.
Then it started to say something like "Disconnect before starting a new connection"
So it would seem it was connected, but it wasn't. When I make a change and click sync, it says the sync was succesful, but there are no changes to be seen. Again, minirth works fine, it is just this app.
So basically it's not finding the xbox, or something, I tried with firewall off, no difference.
Any ideas?
-
- Posts: 1974
- Joined: Sun Jan 27, 2008 4:50 am
Re: Standalone RTH v2
It works for me but not all changes to the map work through RTH. Its good for effect swapping but for markers and bones it doesn't seem to do anything 90% of the time.
In Soviet Russia, DS touches you. Say it again and I'll do more than touch. ~DS -Oh babyDemonicSandwich wrote:See that? You see that how it is highlighted down here but it's not highlighted right there? Ah, I guess that's what I get for pirating it.
A cat was licking itself to the sound of potato chips.
- neodos
- Posts: 1493
- Joined: Sun Dec 09, 2007 8:58 pm
Re: Standalone RTH v2
That's because some tags are already loaded into memory in order to reload them you would need to restart the map with the Yelo checkpoints thingy.
- DemonicSandwich
- Trollwich
- Posts: 1620
- Joined: Sat Dec 08, 2007 9:47 pm
- Location: I...huh...I don't really know. x.x
Re: Standalone RTH v2
Here's a little rule of thumb for RTH:
Pretty much all the values; Floats, Shorts, Bytes, Enum8-16-32, Bitmask8-16-32, SID; will take effect immediately.
Others like Idents require a respawn of the object. (Yelo restart respawns everything)
There are exceptions to this. For example: I've been able to swap attachment Idents instantly. When I did that gothic candle stand, I was able to swap the attachment Ident from a [ligh] tag type to a [lens] without respawn. However swaping it the other way was no possible.
Another example is physical attachments like a turret on the hog. You can move the marker the turret is attached to but the turret itself will remain in place until the Warthog is respawned.
Pretty much all the values; Floats, Shorts, Bytes, Enum8-16-32, Bitmask8-16-32, SID; will take effect immediately.
Others like Idents require a respawn of the object. (Yelo restart respawns everything)
There are exceptions to this. For example: I've been able to swap attachment Idents instantly. When I did that gothic candle stand, I was able to swap the attachment Ident from a [ligh] tag type to a [lens] without respawn. However swaping it the other way was no possible.
Another example is physical attachments like a turret on the hog. You can move the marker the turret is attached to but the turret itself will remain in place until the Warthog is respawned.
Model Customization Pt.01|Model Customization Pt.02|Bipd Attachments|True Marker Rotations
"I'm the h4x man! Skibby Dibby Dib YoDahDubDub, YoDahDubDub"
"I'm the h4x man! Skibby Dibby Dib YoDahDubDub, YoDahDubDub"
- Eaton
- Posts: 608
- Joined: Mon Apr 21, 2008 7:44 pm
- Location: USA
- Contact:
Re: Standalone RTH v2
Minirth?Dr Flatulator wrote:minirth works fine, it is just this app.
- Dr Flatulator
- Posts: 51
- Joined: Sat Aug 02, 2008 2:42 pm
- Location: England
- Contact:
Re: Standalone RTH v2
oh, I don't think it was supposed to be released publically.
I think it was yamagushi but don't quote me on it.
I think it was yamagushi but don't quote me on it.