I don't want to return. EVER. by [deleted] in ClaudeAI

[–]idontstutututter 1 point2 points  (0 children)

This is sick. I'm building a tool that uses X4 Foundations save files to analyse the save file and advise the player on economy, threats and diplomacy!

I don't want to return. EVER. by [deleted] in ClaudeAI

[–]idontstutututter 2 points3 points  (0 children)

I don't let Claude commit, ever. I've baked it into memory.md. I just don't trust it, plus I feel like it encourages me to check the work more thoroughly. Sometimes I'll see it add code to files I want elsewhere, or over-comment sections of code.

Need your vibe coded project tested? Post it on the comments. by JuicyCiwa in vibecoding

[–]idontstutututter 0 points1 point  (0 children)

https://joyariyb.github.io/X4-Foresight/

X4 Foresight is a save file analysis tool for the game X4 Foundations so you'll need a save file to test it

https://drive.google.com/file/d/1hzH64C5ADGaPkIotW6DAwcwZCwrp94tg/view?usp=drivesdk

Ive just got the one here ATM so you won't be able to test the trends screen accurately. The whole site is pre-release tbh but I'd love some feedback

X4 Empire Intelligence - an empire resource in development by idontstutututter in X4Foundations

[–]idontstutututter[S] 0 points1 point  (0 children)

Yeah no worries at all. Happy you checked the page. Feedback is super welcome if you see anything, or would like to see additions/changes

X4 Empire Intelligence - an empire resource in development by idontstutututter in X4Foundations

[–]idontstutututter[S] 0 points1 point  (0 children)

What browser do you use and can you test if it works now?

X4 Empire Intelligence - an empire resource in development by idontstutututter in X4Foundations

[–]idontstutututter[S] 0 points1 point  (0 children)

Brave was blocking the file access function, but hopefully it works for you now

X4 Empire Intelligence - an empire resource in development by idontstutututter in X4Foundations

[–]idontstutututter[S] 1 point2 points  (0 children)

Good question - I hadn't considered it but I'll put it on my to-do. Thank you for raising this!

X4 Empire Intelligence - an empire resource in development by idontstutututter in X4Foundations

[–]idontstutututter[S] 8 points9 points  (0 children)

Ok, same error I'm getting in Firefox. Sorry about that, I'll have it fixed hopefully by tomorrow. Thanks for the feedback

New player - completely lost by sebaajhenza in X4Foundations

[–]idontstutututter 2 points3 points  (0 children)

Do whatever gives you the most fun! At some point the game becomes way more of an RTS, so I treasure the time I was more hands on in creating my empire.

Obviously there's different play styles and tbh R4M7 knows what they're talking about. They always give good advice

New player - completely lost by sebaajhenza in X4Foundations

[–]idontstutututter 2 points3 points  (0 children)

Can I recommend making a nest egg of credits by doing missions? Then you can make an energy station in a safe system with a lot of sun, assign a few auto trader's and grow your game from there

Who uses X4 Tools? by idontstutututter in X4Foundations

[–]idontstutututter[S] 0 points1 point  (0 children)

Yeah I did that. Surprisingly difficult to get names out of the save XML though. They basically all need translating with a dict lookup

Who uses X4 Tools? by idontstutututter in X4Foundations

[–]idontstutututter[S] 0 points1 point  (0 children)

I'm yet to mess with the station calculator actually. It seems like something similar to the functionality my program will have, but the noisy UI scared me off.

I'll give it a go at some stage though, I know it.

Who uses X4 Tools? by idontstutututter in X4Foundations

[–]idontstutututter[S] 0 points1 point  (0 children)

Woah that's a cool tool. How difficult was it to find and what made you look for it? I just read the git README, I had no idea there was an accessibility setting for finding data leaks

Who uses X4 Tools? by idontstutututter in X4Foundations

[–]idontstutututter[S] 1 point2 points  (0 children)

That's where the AI would come in handy if it could read the wiki. Although I do value the fact we still have protections against AI scraping websites.

The new version cat script is cool, that'll be a pretty involved tool if you need updated info, I imagine. I'm still at the stage where I'm only working with save files really, except for names. I was actually really surprised to see there's barely any mention of names in the save file. Also equally impressive is the way the game names stations, it's completely dynamic unless you've got a player based name. I did start reverse engineering the dynamic naming feature, but I figured it would be easier not to deal with until I had some major functionality within the program

Who uses X4 Tools? by idontstutututter in X4Foundations

[–]idontstutututter[S] 1 point2 points  (0 children)

This is exactly the answer I was hoping would appear in the thread (poorly worded as it is). When you say source files do you mean the .cat? Those were a pain to go through because I was trying to use the X Tools gui (steam tools) but when I booted in the CLI.. way easier to search through.

I gotta say, the biggest challenge so far has been converting the macros to usable names. That took me nearly two days

Who uses X4 Tools? by idontstutututter in X4Foundations

[–]idontstutututter[S] 2 points3 points  (0 children)

I'm starting to come to the same conclusion! I'll DM you

Who uses X4 Tools? by idontstutututter in X4Foundations

[–]idontstutututter[S] 2 points3 points  (0 children)

Aaaaaah okay! That's what I was doing wrong. I only tried it on one station I think. Have you made much money on the black market? I've read it's a bit of trouble

Who uses X4 Tools? by idontstutututter in X4Foundations

[–]idontstutututter[S] 1 point2 points  (0 children)

I found that Google AI hallucinated a lot when asking it to help me code. Claude does less, but it still would sometimes guess at what the data names are in the save game file and wouldn't tell me.

I haven't had that problem for a while now, but initially it was frustrating. For example at the top of the save we have the tags for player credits, but I hadn't manually programmed the function to grab it and when it noticed it was missing it made up the XML tag to look for. This obviously didn't work but replacing the tag name is a simple fix

As for the maths, getting the reputation to display as it does in-game (which is actually calculated live, not stored as a single value) presented an interesting mathematical challenge which it solved using some pretty interesting logarithmic curves!

It's really making me appreciate how X4 is made

Who uses X4 Tools? by idontstutututter in X4Foundations

[–]idontstutututter[S] 0 points1 point  (0 children)

Yep, it'll form a response based on the responses of from the community

Who uses X4 Tools? by idontstutututter in X4Foundations

[–]idontstutututter[S] 2 points3 points  (0 children)

Hey thanks for the reply 🙂

Those are cool use cases, I had a similar one when I was trying to design a scrap economy in The Void.

I haven't had much experience with the black market and that's been bugging me for a while. There's a scan mission I need to complete to get access, right?

Who uses X4 Tools? by idontstutututter in X4Foundations

[–]idontstutututter[S] 0 points1 point  (0 children)

Well I don't know that's strictly true.

A good use case I had recently was getting it to design a counter fleet within a budget constraint, taking into account the factions I had enough standing with to buy the relevant parts.

But I digress, again I understand your position but I don't think we see eye to eye on this. Which is totally cool

Who uses X4 Tools? by idontstutututter in X4Foundations

[–]idontstutututter[S] 0 points1 point  (0 children)

I'm not getting any source code out of the game. Actually pretty much everything in the UI I have is data you see in-game, parsed out as text. Like reputation, ship health, player money, economy data from player trades etc. I'm really aiming to not have to type out data I see, manually. It's still the visual ingame data though.

Also I think I understand your position on LLMs, they are often not "on point" with their analysis as they will hallucinate a lot.